Searched refs:sock_len (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/arch/um/drivers/ |
D | net_user.c | 151 int net_sendto(int fd, void *buf, int len, void *to, int sock_len) in net_sendto() argument 156 sock_len)); in net_sendto()
|
/Linux-v6.6/arch/um/include/shared/ |
D | net_user.h | 43 extern int net_sendto(int fd, void *buf, int len, void *to, int sock_len);
|
/Linux-v6.6/drivers/vhost/ |
D | net.c | 1136 size_t vhost_len, sock_len; in handle_rx() local 1162 sock_len = vhost_net_rx_peek_head_len(net, sock->sk, in handle_rx() 1164 if (!sock_len) in handle_rx() 1166 sock_len += sock_hlen; in handle_rx() 1167 vhost_len = sock_len + vhost_hlen; in handle_rx() 1196 pr_debug("Discarded rx packet: len %zd\n", sock_len); in handle_rx() 1209 sock_len, MSG_DONTWAIT | MSG_TRUNC); in handle_rx() 1213 if (unlikely(err != sock_len)) { in handle_rx() 1215 " len %d, expected %zd\n", err, sock_len); in handle_rx() 1254 else if (!sock_len) in handle_rx()
|