Searched refs:VIRTIO_NET_HDR_F_NEEDS_CSUM (Results 1 – 9 of 9) sorted by relevance
96 if (hdr->flags & VIRTIO_NET_HDR_F_NEEDS_CSUM) { in virtio_net_hdr_to_skb()165 if (!(hdr->flags & VIRTIO_NET_HDR_F_NEEDS_CSUM)) in virtio_net_hdr_to_skb()224 hdr->flags = VIRTIO_NET_HDR_F_NEEDS_CSUM; in virtio_net_hdr_from_skb()
130 #define VIRTIO_NET_HDR_F_NEEDS_CSUM 1 /* Use csum_start, csum_offset */ macro
83 vh->flags |= VIRTIO_NET_HDR_F_NEEDS_CSUM; in build_vnet_header()
312 vh->flags = VIRTIO_NET_HDR_F_NEEDS_CSUM; in build_test_packet_valid_udp_gso()
421 vh.flags = VIRTIO_NET_HDR_F_NEEDS_CSUM; in send_packet()
666 if ((vnet_hdr.flags & VIRTIO_NET_HDR_F_NEEDS_CSUM) && in tap_get_user()
1787 if ((gso.flags & VIRTIO_NET_HDR_F_NEEDS_CSUM) && in tun_get_user()
738 if ((gso->flags & VIRTIO_NET_HDR_F_NEEDS_CSUM) && in vhost_net_build_xdp()
2540 if ((vnet_hdr->flags & VIRTIO_NET_HDR_F_NEEDS_CSUM) && in __packet_snd_vnet_parse()