Searched refs:vxlan_hdr (Results 1 – 3 of 3) sorted by relevance
207 struct vxlanhdr *vxlan_hdr = (struct vxlanhdr *)l2_hdr; in __encap_ipv4() local209 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() local339 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()
399 static inline struct vxlanhdr *vxlan_hdr(struct sk_buff *skb) in vxlan_hdr() function
1565 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()