Home
last modified time | relevance | path

Searched refs:gso_size (Results 1 – 10 of 10) sorted by relevance

/include/linux/
Dvirtio_net.h79 if (hdr->gso_size == 0) in virtio_net_hdr_to_skb()
143 u16 gso_size = __virtio16_to_cpu(little_endian, hdr->gso_size); in virtio_net_hdr_to_skb() local
152 if (gso_size == GSO_BY_FRAGS) in virtio_net_hdr_to_skb()
156 if (skb->len - nh_off > gso_size) { in virtio_net_hdr_to_skb()
157 shinfo->gso_size = gso_size; in virtio_net_hdr_to_skb()
183 hdr->gso_size = __cpu_to_virtio16(little_endian, in virtio_net_hdr_from_skb()
184 sinfo->gso_size); in virtio_net_hdr_from_skb()
Dudp.h62 __u16 gso_size; member
127 int gso_size; in udp_cmsg_recv() local
130 gso_size = skb_shinfo(skb)->gso_size; in udp_cmsg_recv()
131 put_cmsg(msg, SOL_UDP, UDP_GRO, sizeof(gso_size), &gso_size); in udp_cmsg_recv()
Dskbuff.h561 unsigned short gso_size; member
4663 return skb_shinfo(skb)->gso_size; in skb_is_gso()
4686 skb_shinfo(skb)->gso_size = 0; in skb_gso_reset()
4694 if (WARN_ON_ONCE(shinfo->gso_size == GSO_BY_FRAGS)) in skb_increase_gso_size()
4696 shinfo->gso_size += increment; in skb_increase_gso_size()
4702 if (WARN_ON_ONCE(shinfo->gso_size == GSO_BY_FRAGS)) in skb_decrease_gso_size()
4704 shinfo->gso_size -= decrement; in skb_decrease_gso_size()
4715 if (skb_is_nonlinear(skb) && shinfo->gso_size != 0 && in skb_warn_if_lro()
/include/trace/events/
Dnet.h35 __field( u16, gso_size )
56 __entry->gso_size = skb_shinfo(skb)->gso_size;
68 __entry->gso_size, __entry->gso_segs, __entry->gso_type)
188 __field( u16, gso_size )
214 __entry->gso_size = skb_shinfo(skb)->gso_size;
225 __entry->nr_frags, __entry->gso_size, __entry->gso_type)
/include/uapi/linux/
Dvirtio_net.h136 __virtio16 gso_size; /* Bytes to append to hdr_len per frame */ member
188 __virtio16 gso_size; /* Bytes to append to hdr_len per frame */ member
Dbpf.h5315 __u32 gso_size; member
/include/net/
Dinet_sock.h174 __u16 gso_size; member
Dudp.h297 int udp_cmsg_send(struct sock *sk, struct msghdr *msg, u16 *gso_size);
Dip.h83 __u16 gso_size; member
Dipv6.h350 __u16 gso_size; member