Searched refs:passive_fd (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | tcp_hdr_options.c | 37 int passive_fd; member 93 close(sk_fds->passive_fd); in sk_fds_close() 102 ret = read(sk_fds->passive_fd, &abyte, sizeof(abyte)); in sk_fds_shutdown() 108 shutdown(sk_fds->passive_fd, SHUT_WR); in sk_fds_shutdown() 154 sk_fds->passive_fd = accept(sk_fds->srv_fd, NULL, 0); in sk_fds_connect() 155 if (CHECK(sk_fds->passive_fd == -1, "accept(srv_fd)", "%s (%d)\n", in sk_fds_connect() 163 ret = read(sk_fds->passive_fd, bytes_in, sizeof(bytes_in)); in sk_fds_connect() 166 close(sk_fds->passive_fd); in sk_fds_connect() 256 if (check_hdr_stg(&exp_passive_hdr_stg, sk_fds->passive_fd, in check_hdr_and_close_fds() 529 ret = read(sk_fds.passive_fd, recv_msg, sizeof(recv_msg)); in misc()
|