Lines Matching refs:vh
551 struct vxlanhdr *vh, size_t hdrlen, in vxlan_gro_remcsum() argument
572 vh = skb_gro_header_slow(skb, off + plen, off); in vxlan_gro_remcsum()
573 if (!vh) in vxlan_gro_remcsum()
577 skb_gro_remcsum_process(skb, (void *)vh + hdrlen, in vxlan_gro_remcsum()
582 return vh; in vxlan_gro_remcsum()
590 struct vxlanhdr *vh, *vh2; in vxlan_gro_receive() local
601 hlen = off_vx + sizeof(*vh); in vxlan_gro_receive()
602 vh = skb_gro_header_fast(skb, off_vx); in vxlan_gro_receive()
604 vh = skb_gro_header_slow(skb, hlen, off_vx); in vxlan_gro_receive()
605 if (unlikely(!vh)) in vxlan_gro_receive()
610 skb_gro_postpull_rcsum(skb, vh, sizeof(struct vxlanhdr)); in vxlan_gro_receive()
612 flags = ntohl(vh->vx_flags); in vxlan_gro_receive()
615 vh = vxlan_gro_remcsum(skb, off_vx, vh, sizeof(struct vxlanhdr), in vxlan_gro_receive()
616 ntohl(vh->vx_vni), &grc, in vxlan_gro_receive()
620 if (!vh) in vxlan_gro_receive()
631 if (vh->vx_flags != vh2->vx_flags || in vxlan_gro_receive()
632 vh->vx_vni != vh2->vx_vni) { in vxlan_gro_receive()
1141 static struct vxlanhdr *vxlan_remcsum(struct sk_buff *skb, struct vxlanhdr *vh, in vxlan_remcsum() argument
1156 vh = (struct vxlanhdr *)(udp_hdr(skb) + 1); in vxlan_remcsum()
1158 skb_remcsum_process(skb, (void *)vh + hdrlen, start, offset, in vxlan_remcsum()
1161 return vh; in vxlan_remcsum()