Lines Matching refs:vxlanhdr
625 static bool vxlan_parse_gpe_proto(struct vxlanhdr *hdr, __be16 *protocol) in vxlan_parse_gpe_proto()
651 static struct vxlanhdr *vxlan_gro_remcsum(struct sk_buff *skb, in vxlan_gro_remcsum()
653 struct vxlanhdr *vh, size_t hdrlen, in vxlan_gro_remcsum()
677 static struct vxlanhdr *vxlan_gro_prepare_receive(struct sock *sk, in vxlan_gro_prepare_receive()
683 struct vxlanhdr *vh, *vh2; in vxlan_gro_prepare_receive()
696 skb_gro_postpull_rcsum(skb, vh, sizeof(struct vxlanhdr)); in vxlan_gro_prepare_receive()
701 vh = vxlan_gro_remcsum(skb, off_vx, vh, sizeof(struct vxlanhdr), in vxlan_gro_prepare_receive()
710 skb_gro_pull(skb, sizeof(struct vxlanhdr)); /* pull vxlan header */ in vxlan_gro_prepare_receive()
716 vh2 = (struct vxlanhdr *)(p->data + off_vx); in vxlan_gro_prepare_receive()
750 struct vxlanhdr *vh; in vxlan_gpe_gro_receive()
774 return eth_gro_complete(skb, nhoff + sizeof(struct vxlanhdr)); in vxlan_gro_complete()
779 struct vxlanhdr *vh = (struct vxlanhdr *)(skb->data + nhoff); in vxlan_gpe_gro_complete()
788 err = ptype->callbacks.gro_complete(skb, nhoff + sizeof(struct vxlanhdr)); in vxlan_gpe_gro_complete()
1554 static bool vxlan_remcsum(struct vxlanhdr *unparsed, in vxlan_remcsum()
1576 static void vxlan_parse_gbp_hdr(struct vxlanhdr *unparsed, in vxlan_parse_gbp_hdr()
1670 struct vxlanhdr unparsed; in vxlan_rcv()
1824 struct vxlanhdr *hdr; in vxlan_err_lookup()
2168 static int vxlan_build_gpe_hdr(struct vxlanhdr *vxh, __be16 protocol) in vxlan_build_gpe_hdr()
2184 struct vxlanhdr *vxh; in vxlan_build_skb()
2220 start = skb_checksum_start_offset(skb) - sizeof(struct vxlanhdr); in vxlan_build_skb()