Home
last modified time | relevance | path

Searched refs:vxlan_hdr (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_tc_tunnel.c207 struct vxlanhdr *vxlan_hdr = (struct vxlanhdr *)l2_hdr; in __encap_ipv4() local
209 vxlan_hdr->vx_flags = VXLAN_FLAGS; in __encap_ipv4()
210 vxlan_hdr->vx_vni = bpf_htonl((VXLAN_VNI & VXLAN_VNI_MASK) << 8); in __encap_ipv4()
337 struct vxlanhdr *vxlan_hdr = (struct vxlanhdr *)l2_hdr; in __encap_ipv6() local
339 vxlan_hdr->vx_flags = VXLAN_FLAGS; in __encap_ipv6()
340 vxlan_hdr->vx_vni = bpf_htonl((VXLAN_VNI & VXLAN_VNI_MASK) << 8); in __encap_ipv6()
/linux-6.6.21/include/net/
Dvxlan.h399 static inline struct vxlanhdr *vxlan_hdr(struct sk_buff *skb) in vxlan_hdr() function
/linux-6.6.21/drivers/net/vxlan/
Dvxlan_core.c1565 skb_remcsum_process(skb, (void *)(vxlan_hdr(skb) + 1), start, offset, in vxlan_remcsum()
1678 unparsed = *vxlan_hdr(skb); in vxlan_rcv()
1682 ntohl(vxlan_hdr(skb)->vx_flags), in vxlan_rcv()
1683 ntohl(vxlan_hdr(skb)->vx_vni)); in vxlan_rcv()
1694 vni = vxlan_vni(vxlan_hdr(skb)->vx_vni); in vxlan_rcv()
1807 hdr = vxlan_hdr(skb); in vxlan_err_lookup()