Lines Matching refs:vh
654 struct vxlanhdr *vh, size_t hdrlen, in vxlan_gro_remcsum() argument
662 return vh; in vxlan_gro_remcsum()
670 vh = skb_gro_remcsum_process(skb, (void *)vh, off, hdrlen, in vxlan_gro_remcsum()
675 return vh; in vxlan_gro_remcsum()
684 struct vxlanhdr *vh, *vh2; in vxlan_gro_prepare_receive() local
692 hlen = off_vx + sizeof(*vh); in vxlan_gro_prepare_receive()
693 vh = skb_gro_header(skb, hlen, off_vx); in vxlan_gro_prepare_receive()
694 if (unlikely(!vh)) in vxlan_gro_prepare_receive()
697 skb_gro_postpull_rcsum(skb, vh, sizeof(struct vxlanhdr)); in vxlan_gro_prepare_receive()
699 flags = vh->vx_flags; in vxlan_gro_prepare_receive()
702 vh = vxlan_gro_remcsum(skb, off_vx, vh, sizeof(struct vxlanhdr), in vxlan_gro_prepare_receive()
703 vh->vx_vni, grc, in vxlan_gro_prepare_receive()
707 if (!vh) in vxlan_gro_prepare_receive()
718 if (vh->vx_flags != vh2->vx_flags || in vxlan_gro_prepare_receive()
719 vh->vx_vni != vh2->vx_vni) { in vxlan_gro_prepare_receive()
725 return vh; in vxlan_gro_prepare_receive()
751 struct vxlanhdr *vh; in vxlan_gpe_gro_receive() local
755 vh = vxlan_gro_prepare_receive(sk, head, skb, &grc); in vxlan_gpe_gro_receive()
756 if (vh) { in vxlan_gpe_gro_receive()
757 if (!vxlan_parse_gpe_proto(vh, &protocol)) in vxlan_gpe_gro_receive()
780 struct vxlanhdr *vh = (struct vxlanhdr *)(skb->data + nhoff); in vxlan_gpe_gro_complete() local
785 if (!vxlan_parse_gpe_proto(vh, &protocol)) in vxlan_gpe_gro_complete()