Lines Matching defs:cid
86 /* Connect to <cid, port> and return the file descriptor. */
87 static int vsock_connect(unsigned int cid, unsigned int port, int type)
96 .svm_cid = cid,
123 int vsock_stream_connect(unsigned int cid, unsigned int port)
125 return vsock_connect(cid, port, SOCK_STREAM);
128 int vsock_seqpacket_connect(unsigned int cid, unsigned int port)
130 return vsock_connect(cid, port, SOCK_SEQPACKET);
133 /* Listen on <cid, port> and return the first incoming connection. The remote
136 static int vsock_accept(unsigned int cid, unsigned int port,
146 .svm_cid = cid,
202 int vsock_stream_accept(unsigned int cid, unsigned int port,
205 return vsock_accept(cid, port, clientaddrp, SOCK_STREAM);
208 int vsock_seqpacket_accept(unsigned int cid, unsigned int port,
211 return vsock_accept(cid, port, clientaddrp, SOCK_SEQPACKET);