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

/linux-4.4.14/arch/um/include/shared/
H A Dnet_user.h44 extern int net_sendto(int fd, void *buf, int len, void *to, int sock_len);
/linux-4.4.14/arch/um/drivers/
H A Dnet_user.c151 int net_sendto(int fd, void *buf, int len, void *to, int sock_len) net_sendto() argument
156 sock_len)); net_sendto()
/linux-4.4.14/drivers/vhost/
H A Dnet.c538 size_t vhost_len, sock_len; handle_rx() local
556 while ((sock_len = peek_head_len(sock->sk))) { handle_rx()
557 sock_len += sock_hlen; handle_rx()
558 vhost_len = sock_len + vhost_hlen; handle_rx()
570 pr_debug("Discarded rx packet: len %zd\n", sock_len); handle_rx()
595 sock_len, MSG_DONTWAIT | MSG_TRUNC); handle_rx()
599 if (unlikely(err != sock_len)) { handle_rx()
601 " len %d, expected %zd\n", err, sock_len); handle_rx()

Completed in 215 milliseconds