Searched refs:sock_len (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/arch/um/drivers/ |
A 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-6.3-rc2/arch/um/include/shared/ |
A D | net_user.h | 43 extern int net_sendto(int fd, void *buf, int len, void *to, int sock_len);
|
/linux-6.3-rc2/drivers/vhost/ |
A D | net.c | 1131 size_t vhost_len, sock_len; in handle_rx() local 1157 sock_len = vhost_net_rx_peek_head_len(net, sock->sk, in handle_rx() 1159 if (!sock_len) in handle_rx() 1161 sock_len += sock_hlen; in handle_rx() 1162 vhost_len = sock_len + vhost_hlen; in handle_rx() 1191 pr_debug("Discarded rx packet: len %zd\n", sock_len); in handle_rx() 1204 sock_len, MSG_DONTWAIT | MSG_TRUNC); in handle_rx() 1208 if (unlikely(err != sock_len)) { in handle_rx() 1210 " len %d, expected %zd\n", err, sock_len); in handle_rx() 1249 else if (!sock_len) in handle_rx()
|
Completed in 16 milliseconds