Lines Matching refs:vxlanhdr
515 static struct vxlanhdr *vxlan_gro_remcsum(struct sk_buff *skb, in vxlan_gro_remcsum()
517 struct vxlanhdr *vh, size_t hdrlen, in vxlan_gro_remcsum()
547 struct vxlanhdr *vh, *vh2; in vxlan_gro_receive()
566 skb_gro_postpull_rcsum(skb, vh, sizeof(struct vxlanhdr)); in vxlan_gro_receive()
571 vh = vxlan_gro_remcsum(skb, off_vx, vh, sizeof(struct vxlanhdr), in vxlan_gro_receive()
580 skb_gro_pull(skb, sizeof(struct vxlanhdr)); /* pull vxlan header */ in vxlan_gro_receive()
588 vh2 = (struct vxlanhdr *)(p->data + off_vx); in vxlan_gro_receive()
610 return eth_gro_complete(skb, nhoff + sizeof(struct vxlanhdr)); in vxlan_gro_complete()
1125 static struct vxlanhdr *vxlan_remcsum(struct sk_buff *skb, struct vxlanhdr *vh, in vxlan_remcsum()
1143 vh = (struct vxlanhdr *)(udp_hdr(skb) + 1); in vxlan_remcsum()
1250 struct vxlanhdr *vxh; in vxlan_udp_encap_recv()
1259 vxh = (struct vxlanhdr *)(udp_hdr(skb) + 1); in vxlan_udp_encap_recv()
1272 vxh = (struct vxlanhdr *)(udp_hdr(skb) + 1); in vxlan_udp_encap_recv()
1279 vxh = vxlan_remcsum(skb, vxh, sizeof(struct vxlanhdr), vni, in vxlan_udp_encap_recv()
1663 static void vxlan_build_gbp_hdr(struct vxlanhdr *vxh, u32 vxflags, in vxlan_build_gbp_hdr()
1691 struct vxlanhdr *vxh; in vxlan6_xmit_skb()
1696 u16 hdrlen = sizeof(struct vxlanhdr); in vxlan6_xmit_skb()
1736 vxh = (struct vxlanhdr *) __skb_push(skb, sizeof(*vxh)); in vxlan6_xmit_skb()
1776 struct vxlanhdr *vxh; in vxlan_xmit_skb()
1781 u16 hdrlen = sizeof(struct vxlanhdr); in vxlan_xmit_skb()
1815 vxh = (struct vxlanhdr *) __skb_push(skb, sizeof(*vxh)); in vxlan_xmit_skb()