Lines Matching refs:vh
517 struct vxlanhdr *vh, size_t hdrlen, in vxlan_gro_remcsum() argument
524 return vh; in vxlan_gro_remcsum()
534 vh = skb_gro_remcsum_process(skb, (void *)vh, off, hdrlen, in vxlan_gro_remcsum()
539 return vh; in vxlan_gro_remcsum()
547 struct vxlanhdr *vh, *vh2; in vxlan_gro_receive() local
558 hlen = off_vx + sizeof(*vh); in vxlan_gro_receive()
559 vh = skb_gro_header_fast(skb, off_vx); in vxlan_gro_receive()
561 vh = skb_gro_header_slow(skb, hlen, off_vx); in vxlan_gro_receive()
562 if (unlikely(!vh)) in vxlan_gro_receive()
566 skb_gro_postpull_rcsum(skb, vh, sizeof(struct vxlanhdr)); in vxlan_gro_receive()
568 flags = ntohl(vh->vx_flags); in vxlan_gro_receive()
571 vh = vxlan_gro_remcsum(skb, off_vx, vh, sizeof(struct vxlanhdr), in vxlan_gro_receive()
572 ntohl(vh->vx_vni), &grc, in vxlan_gro_receive()
576 if (!vh) in vxlan_gro_receive()
589 if (vh->vx_flags != vh2->vx_flags || in vxlan_gro_receive()
590 vh->vx_vni != vh2->vx_vni) { in vxlan_gro_receive()
1125 static struct vxlanhdr *vxlan_remcsum(struct sk_buff *skb, struct vxlanhdr *vh, in vxlan_remcsum() argument
1131 return vh; in vxlan_remcsum()
1143 vh = (struct vxlanhdr *)(udp_hdr(skb) + 1); in vxlan_remcsum()
1145 skb_remcsum_process(skb, (void *)vh + hdrlen, start, offset, in vxlan_remcsum()
1148 return vh; in vxlan_remcsum()