/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | mptcp.c | 85 static int start_mptcp_server(int family, const char *addr_str, __u16 port, argument
|
H A D | select_reuseport.c | 49 sa_family_t family; member in union:sa46 140 static void sa46_init_loopback(union sa46 *sa, sa_family_t family) argument 150 static void sa46_init_inany(union sa46 *sa, sa_family_t family) argument 237 static void check_data(int type, sa_family_t family, cons argument 374 send_data(int type, sa_family_t family, void *data, size_t len, enum result expected) argument 396 do_test(int type, sa_family_t family, struct cmd *cmd, enum result expected) argument 454 test_err_inner_map(int type, sa_family_t family) argument 465 test_err_skb_data(int type, sa_family_t family) argument 471 test_err_sk_select_port(int type, sa_family_t family) argument 482 test_pass(int type, sa_family_t family) argument 495 test_syncookie(int type, sa_family_t family) argument 530 test_pass_on_err(int type, sa_family_t family) argument 541 test_detach_bpf(int type, sa_family_t family) argument 594 prepare_sk_fds(int type, sa_family_t family, bool inany) argument 668 setup_per_test(int type, sa_family_t family, bool inany, bool no_inner_map) argument 752 family_str(sa_family_t family) argument 778 test_config(int sotype, sa_family_t family, bool inany) argument 823 sa_family_t family; member in struct:config [all...] |
H A D | setget_sockopt.c | 42 static void test_tcp(int family) argument 70 static void test_udp(int family) argument 87 static void test_ktls(int family) argument
|
H A D | sk_assign.c | 170 prepare_addr(struct sockaddr *addr, int family, __u16 port, bool rewrite_addr) argument 202 int family; member in struct:test_sk_cfg [all...] |
H A D | sk_lookup.c | 115 int err, family, fd; local
|
H A D | sock_addr.c | 249 int kernel_start_server(int family, int type, const char *addr_str, __u16 port, argument
|
H A D | sockmap_helpers.h | 275 static inline void init_addr_loopback(int family, struct sockaddr_storage *ss, argument 315 static inline int create_pair(int s, int family, int sotype, int *c, int *p) argument 346 static inline int create_socket_pairs(int s, int family, int sotype, argument 378 socket_loopback_reuseport(int family, int sotype, int progfd) argument 410 socket_loopback(int family, int sotype) argument [all...] |
H A D | sockmap_ktls.c | 13 static int tcp_server(int family) argument 36 static void test_sockmap_ktls_disconnect_after_delete(int family, int map) argument 79 static void test_sockmap_ktls_update_fails_when_sock_has_ulp(int family, int map) argument 135 fmt_test_name(const char *subtest_name, int family, enum bpf_map_type map_type) argument 149 run_tests(int family, enum bpf_map_type map_type) argument [all...] |
H A D | sockmap_listen.c | 32 test_insert_invalid(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument 50 test_insert_opened(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument 72 test_insert_bound(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument 100 test_insert(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument 117 test_delete_after_insert(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument 135 test_delete_after_close(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument 159 test_lookup_after_insert(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument 188 test_lookup_after_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument 212 test_lookup_32_bit_value(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument 243 test_update_existing(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument 272 do_destroy_orphan_child(int family, int sotype, int mapfd) argument 303 test_destroy_orphan_child(struct test_sockmap_listen *skel, int family, int sotype, int mapfd) argument 333 test_clone_after_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument 370 test_accept_after_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument 425 test_accept_before_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument 487 int family, socktype; local 535 test_syn_recv_insert_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument 599 test_race_insert_listen(struct test_sockmap_listen *skel __always_unused, int family, int socktype, int mapfd) argument 674 redir_to_connected(int family, int sotype, int sock_mapfd, int verd_mapfd, enum redir_mode mode) argument 727 test_skb_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) argument 752 test_msg_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) argument 770 test_msg_redir_to_connected_with_link(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) argument 788 redir_to_listening(int family, int sotype, int sock_mapfd, int verd_mapfd, enum redir_mode mode) argument 847 test_skb_redir_to_listening(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) argument 872 test_msg_redir_to_listening(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) argument 890 test_msg_redir_to_listening_with_link(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) argument 908 redir_partial(int family, int sotype, int sock_map, int parser_map) argument 954 test_skb_redir_partial(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) argument 979 test_reuseport_select_listening(int family, int sotype, int sock_map, int verd_map, int reuseport_prog) argument 1048 test_reuseport_select_connected(int family, int sotype, int sock_map, int verd_map, int reuseport_prog) argument 1154 test_reuseport_mixed_groups(int family, int sotype, int sock_map, int verd_map, int reuseport_prog) argument 1240 family_str(sa_family_t family) argument 1286 test_ops(struct test_sockmap_listen *skel, struct bpf_map *map, int family, int sotype) argument 1343 test_redir(struct test_sockmap_listen *skel, struct bpf_map *map, int family, int sotype) argument 1630 test_reuseport(struct test_sockmap_listen *skel, struct bpf_map *map, int family, int sotype) argument 1670 inet_socketpair(int family, int type, int *s, int *c) argument 1712 udp_redir_to_connected(int family, int sock_mapfd, int verd_mapfd, enum redir_mode mode) argument 1734 udp_skb_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family) argument 1754 test_udp_redir(struct test_sockmap_listen *skel, struct bpf_map *map, int family) argument 1768 inet_unix_redir_to_connected(int family, int type, int sock_mapfd, int verd_mapfd, enum redir_mode mode) argument 1792 inet_unix_skb_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family) argument 1818 unix_inet_redir_to_connected(int family, int type, int sock_mapfd, int nop_mapfd, int verd_mapfd, enum redir_mode mode) argument 1846 unix_inet_skb_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family) argument 1891 test_udp_unix_redir(struct test_sockmap_listen *skel, struct bpf_map *map, int family) argument 1906 run_tests(struct test_sockmap_listen *skel, struct bpf_map *map, int family) argument [all...] |
H A D | tc_redirect.c | 392 static void test_tcp(int family, const char *addr, __u16 port) argument 441 static int test_ping(int family, const char *addr) argument 608 static void test_inet_dtime(int family, int type, const char *addr, __u16 port) argument 839 static void test_tcp_dtime(struct test_tc_dtime *skel, int family, bool bpf_fwd) argument 871 static void test_udp_dtime(struct test_tc_dtime *skel, int family, boo argument [all...] |
H A D | tcp_custom_syncookie.c | 15 int family, type; member in struct:test_tcp_custom_syncookie_case
|
H A D | test_tunnel.c | 359 static int test_ping(int family, const char *addr) argument
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bench_local_storage_create.c | 61 int BPF_PROG(socket_post_create, struct socket *sock, int family, int type, argument
|
H A D | bind_perm.c | 10 static __always_inline int bind_prog(struct bpf_sock_addr *ctx, int family) argument
|
H A D | local_storage.c | 184 int BPF_PROG(socket_post_create, struct socket *sock, int family, int type, argument
|
H A D | lsm_cgroup.c | 51 static __always_inline int real_create(struct socket *sock, int family, argument 85 int BPF_PROG(socket_post_create, struct socket *sock, int family, argument 94 int BPF_PROG(socket_post_create2, struct socket *sock, int family, argument 148 int BPF_PROG(socket_alloc, struct sock *sk, int family, gfp_t priority) argument
|
H A D | mptcpify.c | 12 int BPF_PROG(mptcpify, int family, int type, int protocol) argument
|
H A D | setget_sockopt.c | 247 __u16 family, proto; local 345 int BPF_PROG(socket_post_create, struct socket *sock, int family, argument
|
H A D | task_storage_nodeadlock.c | 25 int BPF_PROG(socket_post_create, struct socket *sock, int family, int type, argument
|
H A D | test_sk_lookup_kern.c | 98 __u32 family = 0; local
|
H A D | test_xdp_noinline.c | 141 __u16 family; member in struct:vip_definition
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_flow_dissector.c | 268 static int l3_length(int family) argument 396 int family, fd, ret; local 236 build_udp_header(void *header, int payload_len, uint16_t dport, int family) argument 591 parse_addr(int family, void *addr, const char *optarg) argument [all...] |
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | pmu_event_filter_test.c | 356 static bool is_zen1(uint32_t family, uint32_t model) argument 361 static bool is_zen2(uint32_t family, uint32_t model) argument 366 static bool is_zen3(uint32_t family, uint32_t model) argument 381 uint32_t family = kvm_cpu_family(); local [all...] |
/linux-master/tools/testing/selftests/net/af_unix/ |
H A D | unix_connect.c | 18 int family; local
|
/linux-master/tools/testing/selftests/net/ |
H A D | bind_wildcard.c | 43 sa_family_t family[2]; local [all...] |