Home
last modified time | relevance | path

Searched refs:VIRTIO_NET_HDR_F_NEEDS_CSUM (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/include/linux/
Dvirtio_net.h96 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()
/linux-6.6.21/include/uapi/linux/
Dvirtio_net.h130 #define VIRTIO_NET_HDR_F_NEEDS_CSUM 1 /* Use csum_start, csum_offset */ macro
/linux-6.6.21/tools/testing/selftests/net/
Dpsock_snd.c83 vh->flags |= VIRTIO_NET_HDR_F_NEEDS_CSUM; in build_vnet_header()
Dtap.c312 vh->flags = VIRTIO_NET_HDR_F_NEEDS_CSUM; in build_test_packet_valid_udp_gso()
Dcsum.c421 vh.flags = VIRTIO_NET_HDR_F_NEEDS_CSUM; in send_packet()
/linux-6.6.21/drivers/net/
Dtap.c666 if ((vnet_hdr.flags & VIRTIO_NET_HDR_F_NEEDS_CSUM) && in tap_get_user()
Dtun.c1787 if ((gso.flags & VIRTIO_NET_HDR_F_NEEDS_CSUM) && in tun_get_user()
/linux-6.6.21/drivers/vhost/
Dnet.c738 if ((gso->flags & VIRTIO_NET_HDR_F_NEEDS_CSUM) && in vhost_net_build_xdp()
/linux-6.6.21/net/packet/
Daf_packet.c2540 if ((vnet_hdr->flags & VIRTIO_NET_HDR_F_NEEDS_CSUM) && in __packet_snd_vnet_parse()