| H A D | util.c | 1 // SPDX-License-Identifier: GPL-2.0-only 62 /* Parse a port in string representation */ 65 return parse_uint(str, "port"); in parse_port() 75 if (epollfd == -1) { in vsock_wait_remote_close() 82 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) { in vsock_wait_remote_close() 88 if (nfds == -1) { in vsock_wait_remote_close() 140 /* Create socket <type>, bind to <cid, port> 143 vsock_bind_try(unsigned int cid,unsigned int port,int type) vsock_bind_try() argument 169 vsock_bind(unsigned int cid,unsigned int port,int type) vsock_bind() argument 182 vsock_connect_fd(int fd,unsigned int cid,unsigned int port) vsock_connect_fd() argument 202 vsock_bind_connect(unsigned int cid,unsigned int port,unsigned int bind_port,int type) vsock_bind_connect() argument 217 vsock_connect(unsigned int cid,unsigned int port,int type) vsock_connect() argument 240 vsock_stream_connect(unsigned int cid,unsigned int port) vsock_stream_connect() argument 245 vsock_seqpacket_connect(unsigned int cid,unsigned int port) vsock_seqpacket_connect() argument 251 vsock_listen(unsigned int cid,unsigned int port,int type) vsock_listen() argument 268 vsock_accept(unsigned int cid,unsigned int port,struct sockaddr_vm * clientaddrp,int type) vsock_accept() argument 312 vsock_stream_accept(unsigned int cid,unsigned int port,struct sockaddr_vm * clientaddrp) vsock_stream_accept() argument 318 vsock_stream_listen(unsigned int cid,unsigned int port) vsock_stream_listen() argument 323 vsock_seqpacket_accept(unsigned int cid,unsigned int port,struct sockaddr_vm * clientaddrp) vsock_seqpacket_accept() argument 720 setsockopt_ull_check(int fd,int level,int optname,unsigned long long val,char const * errmsg) setsockopt_ull_check() argument 763 setsockopt_int_check(int fd,int level,int optname,int val,char const * errmsg) setsockopt_int_check() argument 812 setsockopt_timeval_check(int fd,int level,int optname,struct timeval val,char const * errmsg) setsockopt_timeval_check() argument [all...] |