/linux-master/net/ipv4/ |
H A D | tcp_output.c | 385 skb_shinfo(skb)->gso_type |= SKB_GSO_TCP_ECN; 1397 skb_shinfo(skb)->gso_type = sk->sk_gso_type;
|
H A D | udp_offload.c | 42 if (skb_shinfo(skb)->gso_type & SKB_GSO_PARTIAL) 58 need_csum = !!(skb_shinfo(skb)->gso_type & SKB_GSO_UDP_TUNNEL_CSUM); 61 remcsum = !!(skb_shinfo(skb)->gso_type & SKB_GSO_TUNNEL_REMCSUM); 94 gso_partial = !!(skb_shinfo(segs)->gso_type & SKB_GSO_PARTIAL); 288 if (skb_shinfo(gso_skb)->gso_type & SKB_GSO_FRAGLIST) 386 (skb_shinfo(skb)->gso_type & 392 if (!(skb_shinfo(skb)->gso_type & (SKB_GSO_UDP | SKB_GSO_UDP_L4))) 398 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) 683 skb_shinfo(skb)->gso_type |= SKB_GSO_UDP_L4; 704 skb_shinfo(skb)->gso_type [all...] |
H A D | udp.c | 938 skb_shinfo(skb)->gso_type = SKB_GSO_UDP_L4;
|
H A D | af_inet.c | 1409 udpfrag = !!(skb_shinfo(skb)->gso_type & SKB_GSO_UDP); 1410 fixedid = !!(skb_shinfo(skb)->gso_type & SKB_GSO_TCP_FIXEDID); 1427 gso_partial = !!(skb_shinfo(segs)->gso_type & SKB_GSO_PARTIAL); 1470 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_IPXIP4)) 1680 skb_shinfo(skb)->gso_type |= SKB_GSO_IPXIP4;
|
/linux-master/include/linux/ |
H A D | skbuff.h | 238 * is implied by the SKB_GSO_* flags in gso_type. Most obviously, if the 239 * gso_type is %SKB_GSO_TCPV4 or %SKB_GSO_TCPV6, TCP checksum offload as 599 unsigned int gso_type; member in struct:skb_shared_info 4985 return skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6; 4991 return skb_shinfo(skb)->gso_type & SKB_GSO_SCTP; 4997 return skb_shinfo(skb)->gso_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6); 5004 skb_shinfo(skb)->gso_type = 0; 5027 /* LRO sets gso_size but not gso_type, whereas if GSO is really 5028 * wanted then gso_type will be set. */ 5032 unlikely(shinfo->gso_type [all...] |
H A D | udp.h | 147 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) { 176 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4 && 180 if (skb_shinfo(skb)->gso_type & SKB_GSO_FRAGLIST && 190 !(skb_shinfo(skb)->gso_type &
|
/linux-master/net/ipv6/ |
H A D | udp_offload.c | 33 if (skb->encapsulation && skb_shinfo(skb)->gso_type & 40 if (!(skb_shinfo(skb)->gso_type & (SKB_GSO_UDP | SKB_GSO_UDP_L4))) 46 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) 175 skb_shinfo(skb)->gso_type |= (SKB_GSO_FRAGLIST|SKB_GSO_UDP_L4);
|
H A D | udp.c | 1258 skb_shinfo(skb)->gso_type = SKB_GSO_UDP_L4;
|
H A D | ip6_offload.c | 142 skb_shinfo(skb)->gso_type & (SKB_GSO_IPXIP4 | SKB_GSO_IPXIP6)) 144 (skb_shinfo(skb)->gso_type & SKB_GSO_UDP); 147 (skb_shinfo(skb)->gso_type & SKB_GSO_UDP); 160 gso_partial = !!(skb_shinfo(segs)->gso_type & SKB_GSO_PARTIAL); 405 skb_shinfo(skb)->gso_type |= SKB_GSO_IPXIP4; 412 skb_shinfo(skb)->gso_type |= SKB_GSO_IPXIP6; 419 skb_shinfo(skb)->gso_type |= SKB_GSO_IPXIP6; 427 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_IPXIP4)) 436 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_IPXIP6)) 445 if (!(skb_shinfo(skb)->gso_type [all...] |
/linux-master/net/core/ |
H A D | skbuff.c | 1345 sh->gso_size, sh->gso_type, sh->gso_segs, 2096 skb_shinfo(new)->gso_type = skb_shinfo(old)->gso_type; 2130 if (WARN_ON_ONCE(skb_shinfo(skb)->gso_type & SKB_GSO_FRAGLIST)) 2468 if (WARN_ON_ONCE(skb_shinfo(skb)->gso_type & SKB_GSO_FRAGLIST)) 2859 skb_shinfo(skb)->gso_type |= SKB_GSO_DODGY; 4621 if ((skb_shinfo(head_skb)->gso_type & SKB_GSO_DODGY) && 4656 !net_gso_ok(features, skb_shinfo(head_skb)->gso_type)) 4911 int type = skb_shinfo(head_skb)->gso_type; 4924 skb_shinfo(iter)->gso_type [all...] |
H A D | gro.c | 480 (skb_shinfo(skb)->gso_type & SKB_GSO_DODGY)) 638 skb_shinfo(skb)->gso_type = 0;
|
H A D | filter.c | 3304 if (shinfo->gso_type & SKB_GSO_TCPV4) { 3305 shinfo->gso_type &= ~SKB_GSO_TCPV4; 3306 shinfo->gso_type |= SKB_GSO_TCPV6; 3334 if (shinfo->gso_type & SKB_GSO_TCPV6) { 3335 shinfo->gso_type &= ~SKB_GSO_TCPV6; 3336 shinfo->gso_type |= SKB_GSO_TCPV4; 3452 unsigned int gso_type = SKB_GSO_DODGY; local 3457 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) || 3511 gso_type |= SKB_GSO_UDP_TUNNEL; 3513 gso_type | [all...] |
H A D | dev.c | 3461 if (!skb_shinfo(skb)->gso_type) { 3472 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_PARTIAL)) 3478 if (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV4) { 3696 if (likely(shinfo->gso_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6))) { 3712 if (shinfo->gso_type & SKB_GSO_DODGY)
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 738 } else if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) { 785 } else if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) { 1372 if (ssi->gso_type & SKB_GSO_TCPV6) 1597 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) 1604 if (ssi->gso_size && !(ssi->gso_type & SKB_GSO_UDP_L4)) { 1925 bool v6 = (ssi->gso_type & SKB_GSO_TCPV6) != 0; 2166 !(skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4)) 2202 !(skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4)) 2363 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4)
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 633 bool udp_gso = !!(skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4); 1462 tpa_info->gso_type = SKB_GSO_TCPV4; 1464 tpa_info->gso_type = SKB_GSO_TCPV6; 1468 tpa_info->gso_type = SKB_GSO_TCPV6; 1473 tpa_info->gso_type = 0; 1518 skb_shinfo(skb)->gso_type |= SKB_GSO_UDP_TUNNEL_CSUM; 1520 skb_shinfo(skb)->gso_type |= SKB_GSO_UDP_TUNNEL; 1634 if (tpa_info->gso_type == SKB_GSO_TCPV4) { 1645 } else if (tpa_info->gso_type == SKB_GSO_TCPV6) { 1684 skb_shinfo(skb)->gso_type [all...] |
/linux-master/drivers/net/ |
H A D | tun.c | 1693 if (hdr->gso_type || !xdp_prog) { 2131 sinfo->gso_type, tun16_to_cpu(tun, gso.gso_size), 2456 if (gso->gso_type) {
|
H A D | virtio_net.c | 1225 if (unlikely(hdr->hdr.gso_type)) 1542 if (unlikely(hdr->hdr.gso_type)) 1840 dev->name, hdr->hdr.gso_type,
|
H A D | xen-netfront.c | 813 gso->u.gso.type = (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6) ? 1146 skb_shinfo(skb)->gso_type = 1152 skb_shinfo(skb)->gso_type |= SKB_GSO_DODGY;
|
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_main.c | 4254 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) { 4507 int gso = skb_shinfo(skb)->gso_type; 6268 int gso = skb_shinfo(skb)->gso_type;
|
/linux-master/include/net/ |
H A D | ip_tunnels.h | 513 skb_shinfo(skb)->gso_type &= ~(NETIF_F_GSO_ENCAP_ALL >>
|
/linux-master/drivers/net/ethernet/realtek/ |
H A D | r8169_main.c | 4259 if (shinfo->gso_type & SKB_GSO_TCPV4) { 4261 } else if (shinfo->gso_type & SKB_GSO_TCPV6) { 4431 else if (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV4 &&
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tx.c | 160 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) {
|
/linux-master/drivers/net/ethernet/microsoft/mana/ |
H A D | mana_en.c | 209 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) {
|
/linux-master/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_txrx.c | 2406 switch (shinfo->gso_type & ~SKB_GSO_DODGY) { 2897 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV4; 2908 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV6;
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx.c | 3164 if (skb_shinfo(skb)->gso_type & (SKB_GSO_GRE | 3170 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_PARTIAL) && 3171 (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_TUNNEL_CSUM)) { 3202 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) { 3385 !(skb_shinfo(skb)->gso_type & SKB_GSO_PARTIAL) && 3386 (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_TUNNEL_CSUM))
|