Lines Matching refs:accept_fd
109 int accept_fd = accept(listen_fd, accept_sa, len); in main() local
110 if (accept_fd < 0) in main()
112 unsigned long accept_inode = inode_of_sockfd(accept_fd); in main()
117 accept_fd, accept_inode); in main()
138 assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, NULL) in main()
142 accept_fd, accept_inode, text, in main()
145 assert(close(accept_fd) == 0); in main()
146 printf("close(%d<socket:[%lu]>) = 0\n", accept_fd, accept_inode); in main()
180 accept_fd = accept(listen_fd, accept_sa, len); in main()
181 if (accept_fd < 0) in main()
183 accept_inode = inode_of_sockfd(accept_fd); in main()
190 accept_fd, accept_inode); in main()
220 assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, NULL) in main()
224 accept_fd, accept_inode, text, in main()
227 assert(close(accept_fd) == 0); in main()
228 printf("close(%d<socket:[%lu]>) = 0\n", accept_fd, accept_inode); in main()