Lines Matching refs:accept_fd
247 static void check_sk_pkt_out_cnt(int accept_fd, int cli_fd) in check_sk_pkt_out_cnt() argument
254 err = bpf_map_lookup_elem(sk_pkt_out_cnt_fd, &accept_fd, &pkt_out_cnt); in check_sk_pkt_out_cnt()
256 err = bpf_map_lookup_elem(sk_pkt_out_cnt10_fd, &accept_fd, in check_sk_pkt_out_cnt()
310 int listen_fd, cli_fd, accept_fd, epfd, err; in test() local
375 accept_fd = accept(listen_fd, NULL, NULL); in test()
376 CHECK(accept_fd == -1, "accept(listen_fd)", "accept_fd:%d errno:%d", in test()
377 accept_fd, errno); in test()
385 init_sk_storage(accept_fd, 2); in test()
389 err = send(accept_fd, DATA, DATA_LEN, 0); in test()
403 check_sk_pkt_out_cnt(accept_fd, cli_fd); in test()
406 close(accept_fd); in test()