Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
A Dtest_tc_tunnel.c203 struct vxlanhdr *vxlan_hdr = (struct vxlanhdr *)l2_hdr; in __encap_ipv4() local
205 vxlan_hdr->vx_flags = VXLAN_FLAGS; in __encap_ipv4()
206 vxlan_hdr->vx_vni = bpf_htonl((VXLAN_VNI & VXLAN_VNI_MASK) << 8); in __encap_ipv4()
333 struct vxlanhdr *vxlan_hdr = (struct vxlanhdr *)l2_hdr; in __encap_ipv6() local
335 vxlan_hdr->vx_flags = VXLAN_FLAGS; in __encap_ipv6()
336 vxlan_hdr->vx_vni = bpf_htonl((VXLAN_VNI & VXLAN_VNI_MASK) << 8); in __encap_ipv6()
/linux/include/net/
A Dvxlan.h335 static inline struct vxlanhdr *vxlan_hdr(struct sk_buff *skb) in vxlan_hdr() function
/linux/drivers/net/
A Dvxlan.c1703 skb_remcsum_process(skb, (void *)(vxlan_hdr(skb) + 1), start, offset, in vxlan_remcsum()
1844 unparsed = *vxlan_hdr(skb); in vxlan_rcv()
1848 ntohl(vxlan_hdr(skb)->vx_flags), in vxlan_rcv()
1849 ntohl(vxlan_hdr(skb)->vx_vni)); in vxlan_rcv()
1860 vni = vxlan_vni(vxlan_hdr(skb)->vx_vni); in vxlan_rcv()
1967 hdr = vxlan_hdr(skb); in vxlan_err_lookup()

Completed in 14 milliseconds