Home
last modified time | relevance | path

Searched defs:sotype (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dassign_reuse.c82 void run_assign_reuse(int family, int sotype, const char *ip, __u16 port) in run_assign_reuse() argument
H A Dvrf_socket_lookup.c62 static int make_socket(int sotype, const char *ip, int port, in make_socket() argument
84 static int make_server(int sotype, const char *ip, int port, const char *ifname) in make_server() argument
201 static int test_lookup(struct vrf_socket_lookup *skel, int sotype, in test_lookup() argument
236 static void _test_vrf_socket_lookup(struct vrf_socket_lookup *skel, int sotype, in _test_vrf_socket_lookup() argument
[all...]
H A Dsockmap_helpers.h315 static inline int create_pair(int s, int family, int sotype, int *c, int *p) in create_pair() argument
346 static inline int create_socket_pairs(int s, int family, int sotype, in create_socket_pairs() argument
378 static inline int socket_loopback_reuseport(int family, int sotype, int progfd) in socket_loopback_reuseport() argument
410 socket_loopback(int family, int sotype) socket_loopback() argument
[all...]
H A Dselect_reuseport.c764 static const char *sotype_str(int sotype) in sotype_str() argument
778 static void test_config(int sotype, sa_family_t family, bool inany) in test_config() argument
822 int sotype; in test_all() member
[all...]
H A Dsk_lookup.c73 int sotype; member
111 static int make_socket(int sotype, const char *ip, int port, in make_socket() argument
145 static int make_server(int sotype, const char *ip, int port, in make_server() argument
222 static int make_client(int sotype, cons argument
1147 run_sk_assign_connected(struct test_sk_lookup *skel, int sotype) run_sk_assign_connected() argument
[all...]
H A Dsockmap_listen.c32 test_insert_invalid(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_insert_invalid() argument
50 test_insert_opened(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_insert_opened() argument
72 test_insert_bound(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_insert_bound() argument
100 test_insert(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_insert() argument
117 test_delete_after_insert(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_delete_after_insert() argument
135 test_delete_after_close(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_delete_after_close() argument
159 test_lookup_after_insert(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_lookup_after_insert() argument
188 test_lookup_after_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_lookup_after_delete() argument
212 test_lookup_32_bit_value(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_lookup_32_bit_value() argument
243 test_update_existing(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_update_existing() argument
272 do_destroy_orphan_child(int family, int sotype, int mapfd) do_destroy_orphan_child() argument
303 test_destroy_orphan_child(struct test_sockmap_listen *skel, int family, int sotype, int mapfd) test_destroy_orphan_child() argument
333 test_clone_after_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_clone_after_delete() argument
370 test_accept_after_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_accept_after_delete() argument
425 test_accept_before_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_accept_before_delete() argument
535 test_syn_recv_insert_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_syn_recv_insert_delete() argument
674 redir_to_connected(int family, int sotype, int sock_mapfd, int verd_mapfd, enum redir_mode mode) redir_to_connected() argument
727 test_skb_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) test_skb_redir_to_connected() argument
752 test_msg_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) test_msg_redir_to_connected() argument
770 redir_to_listening(int family, int sotype, int sock_mapfd, int verd_mapfd, enum redir_mode mode) redir_to_listening() argument
829 test_skb_redir_to_listening(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) test_skb_redir_to_listening() argument
854 test_msg_redir_to_listening(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) test_msg_redir_to_listening() argument
872 redir_partial(int family, int sotype, int sock_map, int parser_map) redir_partial() argument
918 test_skb_redir_partial(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) test_skb_redir_partial() argument
943 test_reuseport_select_listening(int family, int sotype, int sock_map, int verd_map, int reuseport_prog) test_reuseport_select_listening() argument
1012 test_reuseport_select_connected(int family, int sotype, int sock_map, int verd_map, int reuseport_prog) test_reuseport_select_connected() argument
1118 test_reuseport_mixed_groups(int family, int sotype, int sock_map, int verd_map, int reuseport_prog) test_reuseport_mixed_groups() argument
1238 sotype_str(int sotype) sotype_str() argument
1250 test_ops(struct test_sockmap_listen *skel, struct bpf_map *map, int family, int sotype) test_ops() argument
1257 int sotype; test_ops() member
1307 test_redir(struct test_sockmap_listen *skel, struct bpf_map *map, int family, int sotype) test_redir() argument
1339 unix_redir_to_connected(int sotype, int sock_mapfd, int verd_mapfd, enum redir_mode mode) unix_redir_to_connected() argument
1393 unix_skb_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int sotype) unix_skb_redir_to_connected() argument
1413 test_unix_redir(struct test_sockmap_listen *skel, struct bpf_map *map, int sotype) test_unix_redir() argument
1428 vsock_socketpair_connectible(int sotype, int *v0, int *v1) vsock_socketpair_connectible() argument
1475 vsock_unix_redir_connectible(int sock_mapfd, int verd_mapfd, enum redir_mode mode, int sotype) vsock_unix_redir_connectible() argument
1543 vsock_unix_skb_redir_connectible(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int sotype) vsock_unix_skb_redir_connectible() argument
1579 test_reuseport(struct test_sockmap_listen *skel, struct bpf_map *map, int family, int sotype) test_reuseport() argument
1586 int sotype; test_reuseport() member
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dselect_reuseport.c773 static const char *sotype_str(int sotype) in sotype_str() argument
787 static void test_config(int sotype, sa_family_t family, bool inany) in test_config() argument
831 int sotype; in test_all() member
[all...]
H A Dsk_lookup.c74 int sotype; member
112 static int make_socket(int sotype, const char *ip, int port, in make_socket() argument
146 static int make_server(int sotype, const char *ip, int port, in make_server() argument
223 static int make_client(int sotype, cons argument
1117 run_sk_assign_connected(struct test_sk_lookup *skel, int sotype) run_sk_assign_connected() argument
[all...]
H A Dsockmap_listen.c287 static int socket_loopback_reuseport(int family, int sotype, int progfd) in socket_loopback_reuseport() argument
319 static int socket_loopback(int family, int sotype) in socket_loopback() argument
324 static void test_insert_invalid(int family, int sotype, int mapfd) in test_insert_invalid() argument
341 static void test_insert_opened(int family, int sotype, int mapfd) in test_insert_opened() argument
360 test_insert_bound(int family, int sotype, int mapfd) test_insert_bound() argument
387 test_insert(int family, int sotype, int mapfd) test_insert() argument
403 test_delete_after_insert(int family, int sotype, int mapfd) test_delete_after_insert() argument
420 test_delete_after_close(int family, int sotype, int mapfd) test_delete_after_close() argument
443 test_lookup_after_insert(int family, int sotype, int mapfd) test_lookup_after_insert() argument
471 test_lookup_after_delete(int family, int sotype, int mapfd) test_lookup_after_delete() argument
494 test_lookup_32_bit_value(int family, int sotype, int mapfd) test_lookup_32_bit_value() argument
524 test_update_existing(int family, int sotype, int mapfd) test_update_existing() argument
552 test_destroy_orphan_child(int family, int sotype, int mapfd) test_destroy_orphan_child() argument
586 test_clone_after_delete(int family, int sotype, int mapfd) test_clone_after_delete() argument
622 test_accept_after_delete(int family, int sotype, int mapfd) test_accept_after_delete() argument
676 test_accept_before_delete(int family, int sotype, int mapfd) test_accept_before_delete() argument
785 test_syn_recv_insert_delete(int family, int sotype, int mapfd) test_syn_recv_insert_delete() argument
922 redir_to_connected(int family, int sotype, int sock_mapfd, int verd_mapfd, enum redir_mode mode) redir_to_connected() argument
1013 test_skb_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) test_skb_redir_to_connected() argument
1038 test_msg_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) test_msg_redir_to_connected() argument
1056 redir_to_listening(int family, int sotype, int sock_mapfd, int verd_mapfd, enum redir_mode mode) redir_to_listening() argument
1124 test_skb_redir_to_listening(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) test_skb_redir_to_listening() argument
1149 test_msg_redir_to_listening(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) test_msg_redir_to_listening() argument
1167 test_reuseport_select_listening(int family, int sotype, int sock_map, int verd_map, int reuseport_prog) test_reuseport_select_listening() argument
1236 test_reuseport_select_connected(int family, int sotype, int sock_map, int verd_map, int reuseport_prog) test_reuseport_select_connected() argument
1342 test_reuseport_mixed_groups(int family, int sotype, int sock_map, int verd_map, int reuseport_prog) test_reuseport_mixed_groups() argument
1467 sotype_str(int sotype) sotype_str() argument
1479 test_ops(struct test_sockmap_listen *skel, struct bpf_map *map, int family, int sotype) test_ops() argument
1485 int sotype; test_ops() member
1535 test_redir(struct test_sockmap_listen *skel, struct bpf_map *map, int family, int sotype) test_redir() argument
1566 test_reuseport(struct test_sockmap_listen *skel, struct bpf_map *map, int family, int sotype) test_reuseport() argument
1573 int sotype; test_reuseport() member
[all...]

Completed in 10 milliseconds