Home
last modified time | relevance | path

Searched refs:gso_type (Results 1 – 18 of 18) sorted by relevance

/net/packet/
Daf_packet.c2226 unsigned short gso_type = 0; in packet_snd() local
2284 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 …]
/net/ipv6/
Dtcpv6_offload.c78 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV6; in tcp6_gro_complete()
Dudp_offload.c62 int type = skb_shinfo(skb)->gso_type; in udp6_ufo_fragment()
Dip6_offload.c95 if (unlikely(skb_shinfo(skb)->gso_type & in ipv6_gso_segment()
Dip6_output.c1074 skb_shinfo(skb)->gso_type = SKB_GSO_UDP; in ip6_ufo_append_data()
/net/ipv4/
Dgre.c128 if (unlikely(skb_shinfo(skb)->gso_type & in gre_gso_segment()
Dip_gre.c355 skb_shinfo(skb)->gso_type |= SKB_GSO_GRE; in handle_offloads()
396 !(skb_shinfo(skb)->gso_type & SKB_GSO_GRE)) { in gre_build_header()
Dtcp_output.c341 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()
Dip_output.c788 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()
Dudp.c2391 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()
Dtcp.c2931 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()
Daf_inet.c1310 if (unlikely(skb_shinfo(skb)->gso_type & in inet_gso_segment()
Dtcp_input.c1240 skb_shinfo(prev)->gso_type = sk->sk_gso_type; in tcp_shifted_skb()
1246 skb_shinfo(skb)->gso_type = 0; in tcp_shifted_skb()
Dtcp_ipv4.c2853 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV4; in tcp4_gro_complete()
/net/openvswitch/
Ddatapath.c319 unsigned short gso_type = skb_shinfo(skb)->gso_type; in queue_gso_packets() local
336 if (skb == segs && gso_type & SKB_GSO_UDP) { in queue_gso_packets()
Dflow.c665 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()
/net/core/
Ddev.c2194 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()
Dskbuff.c932 skb_shinfo(new)->gso_type = skb_shinfo(old)->gso_type; in copy_skb_header()