Home
last modified time | relevance | path

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

/include/linux/
Dvirtio_net.h10 static inline bool virtio_net_hdr_match_proto(__be16 protocol, __u8 gso_type) in virtio_net_hdr_match_proto() argument
12 switch (gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in virtio_net_hdr_match_proto()
31 switch (hdr->gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in virtio_net_hdr_set_proto()
50 unsigned int gso_type = 0; in virtio_net_hdr_to_skb() local
55 if (hdr->gso_type != VIRTIO_NET_HDR_GSO_NONE) { in virtio_net_hdr_to_skb()
56 switch (hdr->gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in virtio_net_hdr_to_skb()
58 gso_type = SKB_GSO_TCPV4; in virtio_net_hdr_to_skb()
63 gso_type = SKB_GSO_TCPV6; in virtio_net_hdr_to_skb()
68 gso_type = SKB_GSO_UDP; in virtio_net_hdr_to_skb()
76 if (hdr->gso_type & VIRTIO_NET_HDR_GSO_ECN) in virtio_net_hdr_to_skb()
[all …]
Dudp.h129 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) { in udp_cmsg_recv()
140 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4 && !udp_sk(sk)->accept_udp_l4) in udp_unexpected_gso()
143 if (skb_shinfo(skb)->gso_type & SKB_GSO_FRAGLIST && !udp_sk(sk)->accept_udp_fraglist) in udp_unexpected_gso()
Dskbuff.h566 unsigned int gso_type; member
4678 return skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6; in skb_is_gso_v6()
4684 return skb_shinfo(skb)->gso_type & SKB_GSO_SCTP; in skb_is_gso_sctp()
4690 return skb_shinfo(skb)->gso_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6); in skb_is_gso_tcp()
4697 skb_shinfo(skb)->gso_type = 0; in skb_gso_reset()
4725 unlikely(shinfo->gso_type == 0)) { in skb_warn_if_lro()
Dnetdevice.h5134 static inline bool net_gso_ok(netdev_features_t features, int gso_type) in net_gso_ok() argument
5136 netdev_features_t feature = (netdev_features_t)gso_type << NETIF_F_GSO_SHIFT; in net_gso_ok()
5164 return net_gso_ok(features, skb_shinfo(skb)->gso_type) && in skb_gso_ok()
/include/trace/events/
Dnet.h37 __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)
/include/uapi/linux/
Dvirtio_net.h134 __u8 gso_type; member
186 __u8 gso_type; member
/include/net/
Dgre.h135 !(skb_shinfo(skb)->gso_type & in gre_build_header()
Dip_tunnels.h439 skb_shinfo(skb)->gso_type &= ~(NETIF_F_GSO_ENCAP_ALL >> in iptunnel_pull_offloads()