Searched refs:gso_type (Results 1 – 9 of 9) sorted by relevance
12 static inline bool virtio_net_hdr_match_proto(__be16 protocol, __u8 gso_type) in virtio_net_hdr_match_proto() argument14 switch (gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in virtio_net_hdr_match_proto()34 switch (hdr->gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in virtio_net_hdr_set_proto()55 unsigned int gso_type = 0; in virtio_net_hdr_to_skb() local60 if (hdr->gso_type != VIRTIO_NET_HDR_GSO_NONE) { in virtio_net_hdr_to_skb()61 switch (hdr->gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in virtio_net_hdr_to_skb()63 gso_type = SKB_GSO_TCPV4; in virtio_net_hdr_to_skb()68 gso_type = SKB_GSO_TCPV6; in virtio_net_hdr_to_skb()74 gso_type = SKB_GSO_UDP; in virtio_net_hdr_to_skb()79 gso_type = SKB_GSO_UDP_L4; in virtio_net_hdr_to_skb()[all …]
147 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) { in udp_cmsg_recv()176 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4 && in udp_unexpected_gso()180 if (skb_shinfo(skb)->gso_type & SKB_GSO_FRAGLIST && in udp_unexpected_gso()190 !(skb_shinfo(skb)->gso_type & in udp_unexpected_gso()
605 unsigned int gso_type; member5054 return skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6; in skb_is_gso_v6()5060 return skb_shinfo(skb)->gso_type & SKB_GSO_SCTP; in skb_is_gso_sctp()5066 return skb_shinfo(skb)->gso_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6); in skb_is_gso_tcp()5073 skb_shinfo(skb)->gso_type = 0; in skb_gso_reset()5101 unlikely(shinfo->gso_type == 0)) { in skb_warn_if_lro()
5044 static inline bool net_gso_ok(netdev_features_t features, int gso_type) in net_gso_ok() argument5046 netdev_features_t feature = (netdev_features_t)gso_type << NETIF_F_GSO_SHIFT; in net_gso_ok()5074 return net_gso_ok(features, skb_shinfo(skb)->gso_type) && in skb_gso_ok()
37 __field( u16, gso_type )59 __entry->gso_type = skb_shinfo(skb)->gso_type;69 __entry->gso_size, __entry->gso_segs, __entry->gso_type)190 __field( u16, gso_type )216 __entry->gso_type = skb_shinfo(skb)->gso_type;226 __entry->nr_frags, __entry->gso_size, __entry->gso_type)
141 __u8 gso_type; member193 __u8 gso_type; member
133 !(skb_shinfo(skb)->gso_type & in gre_build_header()
470 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP) { in udp_rcv_segment()
612 skb_shinfo(skb)->gso_type &= ~(NETIF_F_GSO_ENCAP_ALL >> in iptunnel_pull_offloads()