Searched refs:listenfd (Results 1 – 4 of 4) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/connect/ |
D | connect02.c | 39 static int listenfd = -1, fd = -1, confd1 = -1, confd2 = -1, confd3 = -1; variable 53 listenfd = SAFE_SOCKET(AF_INET6, SOCK_STREAM, IPPROTO_TCP); in setup() 54 SAFE_BIND(listenfd, (struct sockaddr *)&bind_addr, sizeof(bind_addr)); in setup() 55 SAFE_LISTEN(listenfd, 5); in setup() 56 SAFE_GETSOCKNAME(listenfd, (struct sockaddr *)&bind_addr, &size); in setup() 75 if (listenfd >= 0) in cleanup() 76 SAFE_CLOSE(listenfd); in cleanup() 89 fd = SAFE_ACCEPT(listenfd, NULL, NULL); in run()
|
/third_party/curl/tests/server/ |
D | mqttd.c | 716 static bool incoming(curl_socket_t listenfd) in incoming() argument 739 curl_socket_t sockfd = listenfd; in incoming()
|
D | socksd.c | 630 static bool incoming(curl_socket_t listenfd) in incoming() argument 656 curl_socket_t sockfd = listenfd; in incoming()
|
D | sockfilt.c | 909 curl_socket_t listenfd, in juggle() argument 954 sockfd = listenfd; in juggle()
|