/dports/multimedia/libv4l/linux-5.13-rc2/include/linux/ |
H A D | virtio_net.h | 32 unsigned int gso_type = 0; in virtio_net_hdr_to_skb() local 40 gso_type = SKB_GSO_TCPV4; in virtio_net_hdr_to_skb() 45 gso_type = SKB_GSO_TCPV6; in virtio_net_hdr_to_skb() 50 gso_type = SKB_GSO_UDP; in virtio_net_hdr_to_skb() 59 gso_type |= SKB_GSO_TCP_ECN; in virtio_net_hdr_to_skb() 85 if (gso_type && skb->network_header) { in virtio_net_hdr_to_skb() 100 if (gso_type & SKB_GSO_UDP && in virtio_net_hdr_to_skb() 114 } else if (gso_type) { in virtio_net_hdr_to_skb() 128 shinfo->gso_type = gso_type; in virtio_net_hdr_to_skb() 131 shinfo->gso_type |= SKB_GSO_DODGY; in virtio_net_hdr_to_skb() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/linux/ |
H A D | virtio_net.h | 32 unsigned int gso_type = 0; in virtio_net_hdr_to_skb() local 40 gso_type = SKB_GSO_TCPV4; in virtio_net_hdr_to_skb() 45 gso_type = SKB_GSO_TCPV6; in virtio_net_hdr_to_skb() 50 gso_type = SKB_GSO_UDP; in virtio_net_hdr_to_skb() 59 gso_type |= SKB_GSO_TCP_ECN; in virtio_net_hdr_to_skb() 85 if (gso_type && skb->network_header) { in virtio_net_hdr_to_skb() 100 if (gso_type & SKB_GSO_UDP && in virtio_net_hdr_to_skb() 114 } else if (gso_type) { in virtio_net_hdr_to_skb() 128 shinfo->gso_type = gso_type; in virtio_net_hdr_to_skb() 131 shinfo->gso_type |= SKB_GSO_DODGY; in virtio_net_hdr_to_skb() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/linux/ |
H A D | virtio_net.h | 32 unsigned int gso_type = 0; in virtio_net_hdr_to_skb() local 40 gso_type = SKB_GSO_TCPV4; in virtio_net_hdr_to_skb() 45 gso_type = SKB_GSO_TCPV6; in virtio_net_hdr_to_skb() 50 gso_type = SKB_GSO_UDP; in virtio_net_hdr_to_skb() 59 gso_type |= SKB_GSO_TCP_ECN; in virtio_net_hdr_to_skb() 85 if (gso_type && skb->network_header) { in virtio_net_hdr_to_skb() 100 if (gso_type & SKB_GSO_UDP && in virtio_net_hdr_to_skb() 114 } else if (gso_type) { in virtio_net_hdr_to_skb() 128 shinfo->gso_type = gso_type; in virtio_net_hdr_to_skb() 131 shinfo->gso_type |= SKB_GSO_DODGY; in virtio_net_hdr_to_skb() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/net/ipv6/ |
H A D | ip6_offload.c | 106 skb_shinfo(skb)->gso_type & (SKB_GSO_IPXIP4 | SKB_GSO_IPXIP6)) in ipv6_gso_segment() 108 (skb_shinfo(skb)->gso_type & SKB_GSO_UDP); in ipv6_gso_segment() 111 (skb_shinfo(skb)->gso_type & SKB_GSO_UDP); in ipv6_gso_segment() 122 gso_partial = !!(skb_shinfo(segs)->gso_type & SKB_GSO_PARTIAL); in ipv6_gso_segment() 352 skb_shinfo(skb)->gso_type |= SKB_GSO_IPXIP4; in sit_gro_complete() 359 skb_shinfo(skb)->gso_type |= SKB_GSO_IPXIP6; in ip6ip6_gro_complete() 366 skb_shinfo(skb)->gso_type |= SKB_GSO_IPXIP6; in ip4ip6_gro_complete() 382 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_IPXIP4)) in sit_gso_segment() 391 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_IPXIP6)) in ip4ip6_gso_segment() 400 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_IPXIP6)) in ip6ip6_gso_segment()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/ipv6/ |
H A D | ip6_offload.c | 106 skb_shinfo(skb)->gso_type & (SKB_GSO_IPXIP4 | SKB_GSO_IPXIP6)) in ipv6_gso_segment() 108 (skb_shinfo(skb)->gso_type & SKB_GSO_UDP); in ipv6_gso_segment() 111 (skb_shinfo(skb)->gso_type & SKB_GSO_UDP); in ipv6_gso_segment() 122 gso_partial = !!(skb_shinfo(segs)->gso_type & SKB_GSO_PARTIAL); in ipv6_gso_segment() 352 skb_shinfo(skb)->gso_type |= SKB_GSO_IPXIP4; in sit_gro_complete() 359 skb_shinfo(skb)->gso_type |= SKB_GSO_IPXIP6; in ip6ip6_gro_complete() 366 skb_shinfo(skb)->gso_type |= SKB_GSO_IPXIP6; in ip4ip6_gro_complete() 382 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_IPXIP4)) in sit_gso_segment() 391 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_IPXIP6)) in ip4ip6_gso_segment() 400 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_IPXIP6)) in ip6ip6_gso_segment()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/ipv6/ |
H A D | ip6_offload.c | 106 skb_shinfo(skb)->gso_type & (SKB_GSO_IPXIP4 | SKB_GSO_IPXIP6)) in ipv6_gso_segment() 108 (skb_shinfo(skb)->gso_type & SKB_GSO_UDP); in ipv6_gso_segment() 111 (skb_shinfo(skb)->gso_type & SKB_GSO_UDP); in ipv6_gso_segment() 122 gso_partial = !!(skb_shinfo(segs)->gso_type & SKB_GSO_PARTIAL); in ipv6_gso_segment() 352 skb_shinfo(skb)->gso_type |= SKB_GSO_IPXIP4; in sit_gro_complete() 359 skb_shinfo(skb)->gso_type |= SKB_GSO_IPXIP6; in ip6ip6_gro_complete() 366 skb_shinfo(skb)->gso_type |= SKB_GSO_IPXIP6; in ip4ip6_gro_complete() 382 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_IPXIP4)) in sit_gso_segment() 391 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_IPXIP6)) in ip4ip6_gso_segment() 400 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_IPXIP6)) in ip6ip6_gso_segment()
|
/dports/multimedia/libv4l/linux-5.13-rc2/include/trace/events/ |
H A D | net.h | 37 __field( u16, gso_type ) 58 __entry->gso_type = skb_shinfo(skb)->gso_type; 68 __entry->gso_size, __entry->gso_segs, __entry->gso_type) 189 __field( u16, gso_type ) 215 __entry->gso_type = skb_shinfo(skb)->gso_type; 225 __entry->nr_frags, __entry->gso_size, __entry->gso_type)
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/trace/events/ |
H A D | net.h | 37 __field( u16, gso_type ) 58 __entry->gso_type = skb_shinfo(skb)->gso_type; 68 __entry->gso_size, __entry->gso_segs, __entry->gso_type) 189 __field( u16, gso_type ) 215 __entry->gso_type = skb_shinfo(skb)->gso_type; 225 __entry->nr_frags, __entry->gso_size, __entry->gso_type)
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/trace/events/ |
H A D | net.h | 37 __field( u16, gso_type ) 58 __entry->gso_type = skb_shinfo(skb)->gso_type; 68 __entry->gso_size, __entry->gso_segs, __entry->gso_type) 189 __field( u16, gso_type ) 215 __entry->gso_type = skb_shinfo(skb)->gso_type; 225 __entry->nr_frags, __entry->gso_size, __entry->gso_type)
|
/dports/multimedia/libv4l/linux-5.13-rc2/net/ipv4/ |
H A D | udp_offload.c | 40 if (skb_shinfo(skb)->gso_type & SKB_GSO_PARTIAL) in __skb_udp_tunnel_segment() 56 need_csum = !!(skb_shinfo(skb)->gso_type & SKB_GSO_UDP_TUNNEL_CSUM); in __skb_udp_tunnel_segment() 59 remcsum = !!(skb_shinfo(skb)->gso_type & SKB_GSO_TUNNEL_REMCSUM); in __skb_udp_tunnel_segment() 92 gso_partial = !!(skb_shinfo(segs)->gso_type & SKB_GSO_PARTIAL); in __skb_udp_tunnel_segment() 275 if (skb_shinfo(gso_skb)->gso_type & SKB_GSO_FRAGLIST) in __udp_gso_segment() 377 (skb_shinfo(skb)->gso_type & in udp4_ufo_fragment() 389 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) in udp4_ufo_fragment() 624 skb_shinfo(skb)->gso_type |= SKB_GSO_UDP_L4; in udp_gro_complete_segment() 642 skb_shinfo(skb)->gso_type = uh->check ? SKB_GSO_UDP_TUNNEL_CSUM in udp_gro_complete() 662 skb_shinfo(skb)->gso_type |= SKB_GSO_TUNNEL_REMCSUM; in udp_gro_complete() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/ipv4/ |
H A D | udp_offload.c | 40 if (skb_shinfo(skb)->gso_type & SKB_GSO_PARTIAL) in __skb_udp_tunnel_segment() 56 need_csum = !!(skb_shinfo(skb)->gso_type & SKB_GSO_UDP_TUNNEL_CSUM); in __skb_udp_tunnel_segment() 59 remcsum = !!(skb_shinfo(skb)->gso_type & SKB_GSO_TUNNEL_REMCSUM); in __skb_udp_tunnel_segment() 92 gso_partial = !!(skb_shinfo(segs)->gso_type & SKB_GSO_PARTIAL); in __skb_udp_tunnel_segment() 275 if (skb_shinfo(gso_skb)->gso_type & SKB_GSO_FRAGLIST) in __udp_gso_segment() 377 (skb_shinfo(skb)->gso_type & in udp4_ufo_fragment() 389 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) in udp4_ufo_fragment() 624 skb_shinfo(skb)->gso_type |= SKB_GSO_UDP_L4; in udp_gro_complete_segment() 642 skb_shinfo(skb)->gso_type = uh->check ? SKB_GSO_UDP_TUNNEL_CSUM in udp_gro_complete() 662 skb_shinfo(skb)->gso_type |= SKB_GSO_TUNNEL_REMCSUM; in udp_gro_complete() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/ipv4/ |
H A D | udp_offload.c | 40 if (skb_shinfo(skb)->gso_type & SKB_GSO_PARTIAL) in __skb_udp_tunnel_segment() 56 need_csum = !!(skb_shinfo(skb)->gso_type & SKB_GSO_UDP_TUNNEL_CSUM); in __skb_udp_tunnel_segment() 59 remcsum = !!(skb_shinfo(skb)->gso_type & SKB_GSO_TUNNEL_REMCSUM); in __skb_udp_tunnel_segment() 92 gso_partial = !!(skb_shinfo(segs)->gso_type & SKB_GSO_PARTIAL); in __skb_udp_tunnel_segment() 275 if (skb_shinfo(gso_skb)->gso_type & SKB_GSO_FRAGLIST) in __udp_gso_segment() 377 (skb_shinfo(skb)->gso_type & in udp4_ufo_fragment() 389 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) in udp4_ufo_fragment() 624 skb_shinfo(skb)->gso_type |= SKB_GSO_UDP_L4; in udp_gro_complete_segment() 642 skb_shinfo(skb)->gso_type = uh->check ? SKB_GSO_UDP_TUNNEL_CSUM in udp_gro_complete() 662 skb_shinfo(skb)->gso_type |= SKB_GSO_TUNNEL_REMCSUM; in udp_gro_complete() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_trace.h | 27 __field(unsigned int, gso_type) 38 __entry->gso_type = skb_shinfo(skb)->gso_type; 51 __entry->gso_type, __entry->fraglist, __entry->nr_frags,
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_trace.h | 27 __field(unsigned int, gso_type) 38 __entry->gso_type = skb_shinfo(skb)->gso_type; 51 __entry->gso_type, __entry->fraglist, __entry->nr_frags,
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_trace.h | 27 __field(unsigned int, gso_type) 38 __entry->gso_type = skb_shinfo(skb)->gso_type; 51 __entry->gso_type, __entry->fraglist, __entry->nr_frags,
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/sfc/ |
H A D | tx.h | 36 !(skb_shinfo(skb)->gso_type & SKB_GSO_PARTIAL) && in efx_tx_csum_type_skb() 37 (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_TUNNEL_CSUM)) in efx_tx_csum_type_skb()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/sfc/ |
H A D | tx.h | 36 !(skb_shinfo(skb)->gso_type & SKB_GSO_PARTIAL) && in efx_tx_csum_type_skb() 37 (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_TUNNEL_CSUM)) in efx_tx_csum_type_skb()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/sfc/ |
H A D | tx.h | 36 !(skb_shinfo(skb)->gso_type & SKB_GSO_PARTIAL) && in efx_tx_csum_type_skb() 37 (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_TUNNEL_CSUM)) in efx_tx_csum_type_skb()
|
/dports/emulators/qemu42/qemu-4.2.1/hw/net/ |
H A D | net_tx_pkt.c | 114 uint8_t gso_type = pkt->virt_hdr.gso_type & ~VIRTIO_NET_HDR_GSO_ECN; in net_tx_pkt_update_ip_checksums() local 122 if (gso_type == VIRTIO_NET_HDR_GSO_TCPV4 || in net_tx_pkt_update_ip_checksums() 123 gso_type == VIRTIO_NET_HDR_GSO_UDP) { in net_tx_pkt_update_ip_checksums() 130 } else if (gso_type == VIRTIO_NET_HDR_GSO_TCPV6) { in net_tx_pkt_update_ip_checksums() 316 pkt->virt_hdr.gso_type = net_tx_pkt_get_gso_type(pkt, tso_enable); in net_tx_pkt_build_vheader() 318 switch (pkt->virt_hdr.gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in net_tx_pkt_build_vheader() 610 if (VIRTIO_NET_HDR_GSO_NONE != pkt->virt_hdr.gso_type) { in net_tx_pkt_send() 619 pkt->virt_hdr.gso_type == VIRTIO_NET_HDR_GSO_NONE) { in net_tx_pkt_send()
|
/dports/emulators/qemu/qemu-6.2.0/hw/net/ |
H A D | net_tx_pkt.c | 114 uint8_t gso_type = pkt->virt_hdr.gso_type & ~VIRTIO_NET_HDR_GSO_ECN; in net_tx_pkt_update_ip_checksums() local 122 if (gso_type == VIRTIO_NET_HDR_GSO_TCPV4 || in net_tx_pkt_update_ip_checksums() 123 gso_type == VIRTIO_NET_HDR_GSO_UDP) { in net_tx_pkt_update_ip_checksums() 130 } else if (gso_type == VIRTIO_NET_HDR_GSO_TCPV6) { in net_tx_pkt_update_ip_checksums() 316 pkt->virt_hdr.gso_type = net_tx_pkt_get_gso_type(pkt, tso_enable); in net_tx_pkt_build_vheader() 318 switch (pkt->virt_hdr.gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in net_tx_pkt_build_vheader() 624 if (VIRTIO_NET_HDR_GSO_NONE != pkt->virt_hdr.gso_type) { in net_tx_pkt_send() 633 pkt->virt_hdr.gso_type == VIRTIO_NET_HDR_GSO_NONE) { in net_tx_pkt_send()
|
/dports/emulators/qemu60/qemu-6.0.0/hw/net/ |
H A D | net_tx_pkt.c | 114 uint8_t gso_type = pkt->virt_hdr.gso_type & ~VIRTIO_NET_HDR_GSO_ECN; in net_tx_pkt_update_ip_checksums() local 122 if (gso_type == VIRTIO_NET_HDR_GSO_TCPV4 || in net_tx_pkt_update_ip_checksums() 123 gso_type == VIRTIO_NET_HDR_GSO_UDP) { in net_tx_pkt_update_ip_checksums() 130 } else if (gso_type == VIRTIO_NET_HDR_GSO_TCPV6) { in net_tx_pkt_update_ip_checksums() 316 pkt->virt_hdr.gso_type = net_tx_pkt_get_gso_type(pkt, tso_enable); in net_tx_pkt_build_vheader() 318 switch (pkt->virt_hdr.gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in net_tx_pkt_build_vheader() 622 if (VIRTIO_NET_HDR_GSO_NONE != pkt->virt_hdr.gso_type) { in net_tx_pkt_send() 631 pkt->virt_hdr.gso_type == VIRTIO_NET_HDR_GSO_NONE) { in net_tx_pkt_send()
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/hw/net/ |
H A D | net_tx_pkt.c | 114 uint8_t gso_type = pkt->virt_hdr.gso_type & ~VIRTIO_NET_HDR_GSO_ECN; in net_tx_pkt_update_ip_checksums() local 122 if (gso_type == VIRTIO_NET_HDR_GSO_TCPV4 || in net_tx_pkt_update_ip_checksums() 123 gso_type == VIRTIO_NET_HDR_GSO_UDP) { in net_tx_pkt_update_ip_checksums() 130 } else if (gso_type == VIRTIO_NET_HDR_GSO_TCPV6) { in net_tx_pkt_update_ip_checksums() 316 pkt->virt_hdr.gso_type = net_tx_pkt_get_gso_type(pkt, tso_enable); in net_tx_pkt_build_vheader() 318 switch (pkt->virt_hdr.gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in net_tx_pkt_build_vheader() 610 if (VIRTIO_NET_HDR_GSO_NONE != pkt->virt_hdr.gso_type) { in net_tx_pkt_send() 619 pkt->virt_hdr.gso_type == VIRTIO_NET_HDR_GSO_NONE) { in net_tx_pkt_send()
|
/dports/emulators/qemu-utils/qemu-4.2.1/hw/net/ |
H A D | net_tx_pkt.c | 114 uint8_t gso_type = pkt->virt_hdr.gso_type & ~VIRTIO_NET_HDR_GSO_ECN; in net_tx_pkt_update_ip_checksums() local 122 if (gso_type == VIRTIO_NET_HDR_GSO_TCPV4 || in net_tx_pkt_update_ip_checksums() 123 gso_type == VIRTIO_NET_HDR_GSO_UDP) { in net_tx_pkt_update_ip_checksums() 130 } else if (gso_type == VIRTIO_NET_HDR_GSO_TCPV6) { in net_tx_pkt_update_ip_checksums() 316 pkt->virt_hdr.gso_type = net_tx_pkt_get_gso_type(pkt, tso_enable); in net_tx_pkt_build_vheader() 318 switch (pkt->virt_hdr.gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in net_tx_pkt_build_vheader() 610 if (VIRTIO_NET_HDR_GSO_NONE != pkt->virt_hdr.gso_type) { in net_tx_pkt_send() 619 pkt->virt_hdr.gso_type == VIRTIO_NET_HDR_GSO_NONE) { in net_tx_pkt_send()
|
/dports/emulators/qemu5/qemu-5.2.0/hw/net/ |
H A D | net_tx_pkt.c | 114 uint8_t gso_type = pkt->virt_hdr.gso_type & ~VIRTIO_NET_HDR_GSO_ECN; in net_tx_pkt_update_ip_checksums() local 122 if (gso_type == VIRTIO_NET_HDR_GSO_TCPV4 || in net_tx_pkt_update_ip_checksums() 123 gso_type == VIRTIO_NET_HDR_GSO_UDP) { in net_tx_pkt_update_ip_checksums() 130 } else if (gso_type == VIRTIO_NET_HDR_GSO_TCPV6) { in net_tx_pkt_update_ip_checksums() 316 pkt->virt_hdr.gso_type = net_tx_pkt_get_gso_type(pkt, tso_enable); in net_tx_pkt_build_vheader() 318 switch (pkt->virt_hdr.gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in net_tx_pkt_build_vheader() 622 if (VIRTIO_NET_HDR_GSO_NONE != pkt->virt_hdr.gso_type) { in net_tx_pkt_send() 631 pkt->virt_hdr.gso_type == VIRTIO_NET_HDR_GSO_NONE) { in net_tx_pkt_send()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/hw/net/ |
H A D | net_tx_pkt.c | 114 uint8_t gso_type = pkt->virt_hdr.gso_type & ~VIRTIO_NET_HDR_GSO_ECN; in net_tx_pkt_update_ip_checksums() local 122 if (gso_type == VIRTIO_NET_HDR_GSO_TCPV4 || in net_tx_pkt_update_ip_checksums() 123 gso_type == VIRTIO_NET_HDR_GSO_UDP) { in net_tx_pkt_update_ip_checksums() 130 } else if (gso_type == VIRTIO_NET_HDR_GSO_TCPV6) { in net_tx_pkt_update_ip_checksums() 316 pkt->virt_hdr.gso_type = net_tx_pkt_get_gso_type(pkt, tso_enable); in net_tx_pkt_build_vheader() 318 switch (pkt->virt_hdr.gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in net_tx_pkt_build_vheader() 610 if (VIRTIO_NET_HDR_GSO_NONE != pkt->virt_hdr.gso_type) { in net_tx_pkt_send() 619 pkt->virt_hdr.gso_type == VIRTIO_NET_HDR_GSO_NONE) { in net_tx_pkt_send()
|