Lines Matching refs:socket

61 #include <sys/socket.h>
102 static SVCXPRT *svc_vc_create_conn(SVCPOOL *pool, struct socket *so,
104 static int svc_vc_accept(struct socket *head, struct socket **sop);
105 static int svc_vc_soupcall(struct socket *so, void *arg, int waitflag);
106 static int svc_vc_rendezvous_soupcall(struct socket *, void *, int);
144 * not yet connected socket.
151 svc_vc_create(SVCPOOL *pool, struct socket *so, size_t sendsize,
209 * Create a new transport for a socket optained via soaccept().
212 svc_vc_create_conn(SVCPOOL *pool, struct socket *so, struct sockaddr *raddr)
298 * Create a new transport for a backchannel on a clnt_vc socket.
325 svc_vc_accept(struct socket *head, struct socket **sop)
327 struct socket *so;
342 * XXXGL: we want non-blocking semantics. The socket could be a
343 * socket created by kernel as well as socket shared with userland,
345 * toggle it on the socket, since that may surprise userland. So we
370 struct socket *so = NULL;
376 * The socket upcall calls xprt_active() which will eventually
378 * connection from the socket and turn it into a new
462 * If the upcall fails, the socket has
602 * the partial result in cd->mreq and try to read more from the socket.
608 struct socket *so = xprt->xp_socket;
687 struct socket* so = xprt->xp_socket;
696 * Serialise access to the socket and our own record parsing
778 * The socket upcall calls xprt_active() which will eventually
780 * read as much as possible from the socket and put
782 * we have drained both cd->mpending and the socket so
794 * where a new packet arrives on the socket
809 * socket's receive queue, for TLS connections.
851 * EOF - the other end has closed the socket.
1085 svc_vc_soupcall(struct socket *so, void *arg, int waitflag)
1095 svc_vc_rendezvous_soupcall(struct socket *head, void *arg, int waitflag)