Lines Matching full:cid
34 /* Parse a CID in string representation */
43 fprintf(stderr, "malformed CID \"%s\"\n", str); in parse_cid()
86 /* Connect to <cid, port> and return the file descriptor. */
87 static int vsock_connect(unsigned int cid, unsigned int port, int type) in vsock_connect() argument
96 .svm_cid = cid, in vsock_connect()
123 int vsock_stream_connect(unsigned int cid, unsigned int port) in vsock_stream_connect() argument
125 return vsock_connect(cid, port, SOCK_STREAM); in vsock_stream_connect()
128 int vsock_seqpacket_connect(unsigned int cid, unsigned int port) in vsock_seqpacket_connect() argument
130 return vsock_connect(cid, port, SOCK_SEQPACKET); in vsock_seqpacket_connect()
133 /* Listen on <cid, port> and return the first incoming connection. The remote
136 static int vsock_accept(unsigned int cid, unsigned int port, in vsock_accept() argument
146 .svm_cid = cid, in vsock_accept()
202 int vsock_stream_accept(unsigned int cid, unsigned int port, in vsock_stream_accept() argument
205 return vsock_accept(cid, port, clientaddrp, SOCK_STREAM); in vsock_stream_accept()
208 int vsock_seqpacket_accept(unsigned int cid, unsigned int port, in vsock_seqpacket_accept() argument
211 return vsock_accept(cid, port, clientaddrp, SOCK_SEQPACKET); in vsock_seqpacket_accept()