Home
last modified time | relevance | path

Searched refs:sock_len (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/arch/um/drivers/
Dnet_user.c151 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-v5.10/arch/um/include/shared/
Dnet_user.h44 extern int net_sendto(int fd, void *buf, int len, void *to, int sock_len);
/Linux-v5.10/drivers/vhost/
Dnet.c1119 size_t vhost_len, sock_len; in handle_rx() local
1145 sock_len = vhost_net_rx_peek_head_len(net, sock->sk, in handle_rx()
1147 if (!sock_len) in handle_rx()
1149 sock_len += sock_hlen; in handle_rx()
1150 vhost_len = sock_len + vhost_hlen; in handle_rx()
1179 pr_debug("Discarded rx packet: len %zd\n", sock_len); in handle_rx()
1192 sock_len, MSG_DONTWAIT | MSG_TRUNC); in handle_rx()
1196 if (unlikely(err != sock_len)) { in handle_rx()
1198 " len %d, expected %zd\n", err, sock_len); in handle_rx()
1237 else if (!sock_len) in handle_rx()