Lines Matching refs:accept_fd
112 int accept_fd = do_accept(listen_fd, accept_sa, len); in main() local
113 if (accept_fd < 0) in main()
115 unsigned long accept_inode = inode_of_sockfd(accept_fd); in main()
120 accept_fd, accept_inode, connect_inode, TEST_SOCKET); in main()
139 assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, NULL) in main()
143 accept_fd, accept_inode, connect_inode, TEST_SOCKET, text, in main()
150 assert(close(accept_fd) == 0); in main()
152 accept_fd, accept_inode, connect_inode, TEST_SOCKET); in main()
185 accept_fd = do_accept(listen_fd, accept_sa, len); in main()
186 if (accept_fd < 0) in main()
188 accept_inode = inode_of_sockfd(accept_fd); in main()
195 accept_fd, accept_inode, connect_inode, TEST_SOCKET); in main()
212 assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, NULL) in main()
216 accept_fd, accept_inode, connect_inode, TEST_SOCKET, text, in main()
223 assert(close(accept_fd) == 0); in main()
225 accept_fd, accept_inode, connect_inode, TEST_SOCKET); in main()