Lines Matching refs:accept_fd
111 int accept_fd = do_accept(listen_fd, accept_sa, len); in main() local
112 if (accept_fd < 0) in main()
114 unsigned long accept_inode = inode_of_sockfd(accept_fd); in main()
119 accept_fd, accept_inode); in main()
140 assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, NULL) in main()
144 accept_fd, accept_inode, text, in main()
147 assert(close(accept_fd) == 0); in main()
148 printf("close(%d<socket:[%lu]>) = 0\n", accept_fd, accept_inode); in main()
182 accept_fd = do_accept(listen_fd, accept_sa, len); in main()
183 if (accept_fd < 0) in main()
185 accept_inode = inode_of_sockfd(accept_fd); in main()
192 accept_fd, accept_inode); in main()
222 assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, NULL) in main()
226 accept_fd, accept_inode, text, in main()
229 assert(close(accept_fd) == 0); in main()
230 printf("close(%d<socket:[%lu]>) = 0\n", accept_fd, accept_inode); in main()