Lines Matching refs:gso_size
929 if (cork->gso_size) { in udp_send_skb()
933 if (hlen + cork->gso_size > cork->fragsize) { in udp_send_skb()
937 if (datalen > cork->gso_size * UDP_MAX_SEGMENTS) { in udp_send_skb()
951 if (datalen > cork->gso_size) { in udp_send_skb()
952 skb_shinfo(skb)->gso_size = cork->gso_size; in udp_send_skb()
955 cork->gso_size); in udp_send_skb()
1022 static int __udp_cmsg_send(struct cmsghdr *cmsg, u16 *gso_size) in __udp_cmsg_send() argument
1028 *gso_size = *(__u16 *)CMSG_DATA(cmsg); in __udp_cmsg_send()
1035 int udp_cmsg_send(struct sock *sk, struct msghdr *msg, u16 *gso_size) in udp_cmsg_send() argument
1050 err = __udp_cmsg_send(cmsg, gso_size); in udp_cmsg_send()
1137 ipc.gso_size = READ_ONCE(up->gso_size); in udp_sendmsg()
1140 err = udp_cmsg_send(sk, msg, &ipc.gso_size); in udp_sendmsg()
2734 WRITE_ONCE(up->gso_size, val); in udp_lib_setsockopt()
2827 val = READ_ONCE(up->gso_size); in udp_lib_getsockopt()