Home
last modified time | relevance | path

Searched defs:sock_fd (Results 1 – 23 of 23) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_getset_retval.c19 static void test_setsockopt_set(int cgroup_fd, int sock_fd) in test_setsockopt_set()
55 static void test_setsockopt_set_and_get(int cgroup_fd, int sock_fd) in test_setsockopt_set_and_get()
98 static void test_setsockopt_default_zero(int cgroup_fd, int sock_fd) in test_setsockopt_default_zero()
134 static void test_setsockopt_default_zero_and_set(int cgroup_fd, int sock_fd) in test_setsockopt_default_zero_and_set()
178 static void test_setsockopt_override(int cgroup_fd, int sock_fd) in test_setsockopt_override()
228 static void test_setsockopt_legacy_eperm(int cgroup_fd, int sock_fd) in test_setsockopt_legacy_eperm()
273 static void test_setsockopt_legacy_no_override(int cgroup_fd, int sock_fd) in test_setsockopt_legacy_no_override()
325 static void test_getsockopt_get(int cgroup_fd, int sock_fd) in test_getsockopt_get()
367 static void test_getsockopt_override(int cgroup_fd, int sock_fd) in test_getsockopt_override()
405 static void test_getsockopt_retval_sync(int cgroup_fd, int sock_fd) in test_getsockopt_retval_sync()
[all …]
H A Dsockopt_multi.c8 int cg_child, int sock_fd) in run_getsockopt_test()
159 int cg_child, int sock_fd) in run_setsockopt_test()
257 int sock_fd = -1; in test_sockopt_multi() local
H A Dsockopt_qos_to_cc.c7 static void run_setsockopt_test(int cg_fd, int sock_fd) in run_setsockopt_test()
34 int sock_fd = -1; in test_sockopt_qos_to_cc() local
H A Dconnect_ping.c34 int sock_fd; in subtest() local
H A Dprobe_user.c16 int err, results_map_fd, sock_fd, duration = 0; in serial_test_probe_user() local
H A Dxdp_metadata.c207 int sock_fd, err = 0; in generate_packet_inet() local
363 int sock_fd; test_xdp_metadata() local
H A Dassign_reuse.c16 static int attach_reuseport(int sock_fd, int prog_fd) in attach_reuseport()
H A Dbpf_iter.c1199 int sock_fd = -1; in test_bpf_sk_storage_get() local
1131 int sock_fd = -1; test_bpf_sk_storage_delete() local
1258 int sock_fd[3] = {-1, -1, -1}; test_bpf_sk_storage_map() local
[all...]
H A Dtoken.c285 child(int sock_fd,struct bpffs_opts * opts,child_callback_fn callback) child() argument
429 parent(int child_pid,struct bpffs_opts * bpffs_opts,int sock_fd) parent() argument
[all...]
H A Dsk_lookup.c90 static int attach_reuseport(int sock_fd, struct bpf_program *reuseport_prog) in attach_reuseport()
433 static int update_lookup_map(struct bpf_map *map, int index, int sock_fd) in update_lookup_map()
H A Dsockopt.c1075 int sock_fd, err, prog_fd, link_fd = -1; in run_test() local
H A Dsockmap_basic.c290 __s64 *sock_fd = NULL; in test_sockmap_copy() local
/linux/tools/testing/selftests/net/
H A Dbind_bhash.c33 int sock_fd, reuse = 1, err; in bind_socket() local
74 int sock_fd, i; in setup() local
91 int listener_fd, sock_fd, i, j; in main() local
/linux/tools/testing/selftests/drivers/net/
H A Dxdp_helper.c
/linux/tools/testing/selftests/landlock/
H A Dnet_test.c185 static int bind_variant_addrlen(const int sock_fd, in bind_variant_addrlen()
215 static int bind_variant(const int sock_fd, in bind_variant()
221 static int connect_variant_addrlen(const int sock_fd, in connect_variant_addrlen()
251 static int connect_variant(const int sock_fd, in connect_variant()
1954 int ruleset_fd, sock_fd; in TEST_F() local
1982 int ruleset_fd, sock_fd; in TEST_F() local
/linux/tools/testing/selftests/bpf/
H A Dtest_progs.c1486 if (dispatch_thread_read_log(sock_fd, in dispatch_thread() local
1407 int sock_fd; global() member
1410 read_prog_test_msg(int sock_fd,struct msg * msg,enum msg_type type) read_prog_test_msg() argument
1423 dispatch_thread_read_log(int sock_fd,char ** log_buf,size_t * log_cnt) dispatch_thread_read_log() argument
1451 dispatch_thread_send_subtests(int sock_fd,struct test_state * state) dispatch_thread_send_subtests() argument
[all...]
H A Dxdp_hw_metadata.c865 int sock_fd = xsk_socket__fd(rx_xsk[i].socket); in main() local
H A Dxsk.c450 int map_fd, sock_fd; in xsk_update_xskmap() local
H A Dnetwork_helpers.c579 get_socket_local_port(int sock_fd) get_socket_local_port() argument
/linux/drivers/infiniband/hw/usnic/
H A Dusnic_transport.c144 struct socket *usnic_transport_get_socket(int sock_fd) in usnic_transport_get_socket()
H A Dusnic_ib_qp_grp.c266 int sock_fd; in create_udp_flow() local
/linux/arch/um/drivers/
H A Dport_user.c151 int sock_fd; member
/linux/tools/perf/
H A Dbuiltin-daemon.c810 static int handle_server_socket(struct daemon *daemon, int sock_fd) in handle_server_socket()
1256 int sock_fd = -1, conf_fd = -1, signal_fd = -1; in __cmd_start() local