Lines Matching refs:vxlanhdr

630 static bool vxlan_parse_gpe_proto(const struct vxlanhdr *hdr, __be16 *protocol)  in vxlan_parse_gpe_proto()
656 static struct vxlanhdr *vxlan_gro_remcsum(struct sk_buff *skb, in vxlan_gro_remcsum()
658 struct vxlanhdr *vh, size_t hdrlen, in vxlan_gro_remcsum()
682 static struct vxlanhdr *vxlan_gro_prepare_receive(struct sock *sk, in vxlan_gro_prepare_receive()
688 struct vxlanhdr *vh, *vh2; in vxlan_gro_prepare_receive()
701 skb_gro_postpull_rcsum(skb, vh, sizeof(struct vxlanhdr)); in vxlan_gro_prepare_receive()
706 vh = vxlan_gro_remcsum(skb, off_vx, vh, sizeof(struct vxlanhdr), in vxlan_gro_prepare_receive()
715 skb_gro_pull(skb, sizeof(struct vxlanhdr)); /* pull vxlan header */ in vxlan_gro_prepare_receive()
721 vh2 = (struct vxlanhdr *)(p->data + off_vx); in vxlan_gro_prepare_receive()
755 struct vxlanhdr *vh; in vxlan_gpe_gro_receive()
779 return eth_gro_complete(skb, nhoff + sizeof(struct vxlanhdr)); in vxlan_gro_complete()
784 struct vxlanhdr *vh = (struct vxlanhdr *)(skb->data + nhoff); in vxlan_gpe_gro_complete()
793 err = ptype->callbacks.gro_complete(skb, nhoff + sizeof(struct vxlanhdr)); in vxlan_gpe_gro_complete()
1567 const struct vxlanhdr *vh = vxlan_hdr(skb); in vxlan_remcsum()
1589 const struct vxlanhdr *vh = vxlan_hdr(skb); in vxlan_parse_gbp_hdr()
1677 const struct vxlanhdr *vh; in vxlan_rcv()
1847 struct vxlanhdr *hdr; in vxlan_err_lookup()
2191 static int vxlan_build_gpe_hdr(struct vxlanhdr *vxh, __be16 protocol) in vxlan_build_gpe_hdr()
2207 struct vxlanhdr *vxh; in vxlan_build_skb()
2243 start = skb_checksum_start_offset(skb) - sizeof(struct vxlanhdr); in vxlan_build_skb()
3440 [IFLA_VXLAN_RESERVED_BITS] = NLA_POLICY_EXACT_LEN(sizeof(struct vxlanhdr)),
4076 struct vxlanhdr used_bits = { in vxlan_nl2conf()
4329 struct vxlanhdr reserved_bits; in vxlan_nl2conf()
4360 conf->reserved_bits = (struct vxlanhdr) { in vxlan_nl2conf()
4568 nla_total_size(sizeof(struct vxlanhdr)) + in vxlan_get_size()