Searched refs:gso_type (Results 1 – 18 of 18) sorted by relevance
2226 unsigned short gso_type = 0; in packet_snd() local2284 if (vnet_hdr.gso_type != VIRTIO_NET_HDR_GSO_NONE) { in packet_snd()2285 switch (vnet_hdr.gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in packet_snd()2287 gso_type = SKB_GSO_TCPV4; in packet_snd()2290 gso_type = SKB_GSO_TCPV6; in packet_snd()2293 gso_type = SKB_GSO_UDP; in packet_snd()2299 if (vnet_hdr.gso_type & VIRTIO_NET_HDR_GSO_ECN) in packet_snd()2300 gso_type |= SKB_GSO_TCP_ECN; in packet_snd()2317 if (!gso_type && (len > dev->mtu + reserve + VLAN_HLEN + extra_len)) in packet_snd()2342 if (!gso_type && (len > dev->mtu + reserve + extra_len)) { in packet_snd()[all …]
78 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV6; in tcp6_gro_complete()
62 int type = skb_shinfo(skb)->gso_type; in udp6_ufo_fragment()
95 if (unlikely(skb_shinfo(skb)->gso_type & in ipv6_gso_segment()
1074 skb_shinfo(skb)->gso_type = SKB_GSO_UDP; in ip6_ufo_append_data()
128 if (unlikely(skb_shinfo(skb)->gso_type & in gre_gso_segment()
355 skb_shinfo(skb)->gso_type |= SKB_GSO_GRE; in handle_offloads()396 !(skb_shinfo(skb)->gso_type & SKB_GSO_GRE)) { in gre_build_header()
341 skb_shinfo(skb)->gso_type |= SKB_GSO_TCP_ECN; in TCP_ECN_send()365 skb_shinfo(skb)->gso_type = 0; in tcp_init_nondata_skb()986 skb_shinfo(skb)->gso_type = 0; in tcp_set_skb_tso_segs()990 skb_shinfo(skb)->gso_type = sk->sk_gso_type; in tcp_set_skb_tso_segs()
788 skb_shinfo(skb)->gso_type = SKB_GSO_UDP; in ip_ufo_append_data()1163 skb_shinfo(skb)->gso_type = SKB_GSO_UDP; in ip_append_page()
2391 int type = skb_shinfo(skb)->gso_type; in udp4_ufo_fragment()2408 if (skb->encapsulation && skb_shinfo(skb)->gso_type & SKB_GSO_UDP_TUNNEL) in udp4_ufo_fragment()
2931 int type = skb_shinfo(skb)->gso_type; in tcp_tso_segment()3130 skb_shinfo(skb)->gso_type |= SKB_GSO_TCP_ECN; in tcp_gro_complete()
1310 if (unlikely(skb_shinfo(skb)->gso_type & in inet_gso_segment()
1240 skb_shinfo(prev)->gso_type = sk->sk_gso_type; in tcp_shifted_skb()1246 skb_shinfo(skb)->gso_type = 0; in tcp_shifted_skb()
2853 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV4; in tcp4_gro_complete()
319 unsigned short gso_type = skb_shinfo(skb)->gso_type; in queue_gso_packets() local336 if (skb == segs && gso_type & SKB_GSO_UDP) { in queue_gso_packets()
665 skb_shinfo(skb)->gso_type & SKB_GSO_UDP) in ovs_flow_extract()729 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP) in ovs_flow_extract()
2194 skb_shinfo(skb)->gso_type, skb->ip_summed); in skb_warn_bad_offload()2641 if (likely(shinfo->gso_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6))) in qdisc_pkt_len_init()2646 if (shinfo->gso_type & SKB_GSO_DODGY) in qdisc_pkt_len_init()
932 skb_shinfo(new)->gso_type = skb_shinfo(old)->gso_type; in copy_skb_header()