Searched refs:listenfd (Results 1 – 3 of 3) sorted by relevance
88 int listenfd; in main() local92 listenfd = open_port(0, 0); in main()93 if (listenfd < 0) in main()
308 static int do_accept(int listenfd) in do_accept() argument318 connfd = accept(listenfd, (struct sockaddr *)&ss, &len); in do_accept()342 int process_request(int listenfd) in process_request() argument347 connfd = do_accept(listenfd); in process_request()352 close(listenfd); in process_request()
392 [see setsockopt(listenfd, SOL_TCP, TCP_CONGESTION, "name" ...) ]