Searched refs:vxlan_hdr (Results 1 – 3 of 3) sorted by relevance
210 struct vxlanhdr *vxlan_hdr = (struct vxlanhdr *)l2_hdr; in __encap_ipv4() local212 vxlan_hdr->vx_flags = VXLAN_FLAGS; in __encap_ipv4()213 vxlan_hdr->vx_vni = bpf_htonl((VXLAN_VNI & VXLAN_VNI_MASK) << 8); in __encap_ipv4()340 struct vxlanhdr *vxlan_hdr = (struct vxlanhdr *)l2_hdr; in __encap_ipv6() local342 vxlan_hdr->vx_flags = VXLAN_FLAGS; in __encap_ipv6()343 vxlan_hdr->vx_vni = bpf_htonl((VXLAN_VNI & VXLAN_VNI_MASK) << 8); in __encap_ipv6()
400 static inline struct vxlanhdr *vxlan_hdr(struct sk_buff *skb) in vxlan_hdr() function
1568 skb_remcsum_process(skb, (void *)(vxlan_hdr(skb) + 1), start, offset, in vxlan_remcsum()1683 unparsed = *vxlan_hdr(skb); in vxlan_rcv()1687 ntohl(vxlan_hdr(skb)->vx_flags), in vxlan_rcv()1688 ntohl(vxlan_hdr(skb)->vx_vni)); in vxlan_rcv()1699 vni = vxlan_vni(vxlan_hdr(skb)->vx_vni); in vxlan_rcv()1830 hdr = vxlan_hdr(skb); in vxlan_err_lookup()