Searched refs:tcp_addr (Results 1 – 12 of 12) sorted by relevance
/linux-6.14.4/tools/testing/selftests/net/tcp_ao/ |
D | bench-lookups.c | 16 static void gen_test_ips(union tcp_addr *ips, size_t ips_nr, bool use_rand) in gen_test_ips() 18 union tcp_addr net = {}; in gen_test_ips() 35 if (!memcmp(&ips[i], &ips[j], sizeof(union tcp_addr))) { in gen_test_ips() 43 static void test_add_routes(union tcp_addr *ips, size_t ips_nr) in test_add_routes() 48 union tcp_addr *p = (union tcp_addr *)&ips[i]; in test_add_routes() 57 static void server_apply_keys(int lsk, union tcp_addr *ips, size_t ips_nr) in server_apply_keys() 62 union tcp_addr *p = (union tcp_addr *)&ips[i]; in server_apply_keys() 70 static union tcp_addr *test_ips; 138 union tcp_addr *p = arg; in add_back_mkt() 146 union tcp_addr *ips, size_t ips_nr, in bench_delete() [all …]
|
D | unsigned-md5.c | 10 static union tcp_addr client2; 11 static union tcp_addr client3; 37 union tcp_addr *md5_addr, uint8_t md5_prefix, in try_accept() 38 union tcp_addr *ao_addr, uint8_t ao_prefix, in try_accept() 133 union tcp_addr addr_any = {}; in server_add_fail_tests() 152 union tcp_addr addr_any = {}; in server_fn() 238 static int client_bind(int sk, union tcp_addr bind_addr) in client_bind() 257 union tcp_addr *md5_addr, uint8_t md5_prefix, in try_connect() 258 union tcp_addr *ao_addr, uint8_t ao_prefix, in try_connect() 260 fault_t inj, int needs_tcp_md5, union tcp_addr *bind_addr) in try_connect() [all …]
|
D | connect-deny.c | 9 union tcp_addr in_addr, uint8_t prefix, in test_add_key_maclen() 32 union tcp_addr addr, uint8_t prefix, in try_accept() 104 union tcp_addr wrong_addr, network_addr; in server_fn() 162 const char *pwd, union tcp_addr addr, uint8_t prefix, in try_connect() 218 union tcp_addr wrong_addr, network_addr, addr_any = {}; in client_fn()
|
D | key-management.c | 10 union tcp_addr wrong_addr; 38 static int prepare_sk(union tcp_addr *addr, uint8_t sndid, uint8_t rcvid) in prepare_sk() 56 static int prepare_lsk(union tcp_addr *addr, uint8_t sndid, uint8_t rcvid) in prepare_lsk() 169 union tcp_addr in_addr, uint8_t prefix, in test_add_current_rnext_key() 192 union tcp_addr in_addr, uint8_t prefix, in __try_add_current_rnext_key() 215 union tcp_addr in_addr, uint8_t prefix, in try_add_current_rnext_key() 522 union tcp_addr addr, uint8_t vrf, in test_add_key_cr() 594 union tcp_addr *addr = &wrong_addr; in key_collection_socket()
|
D | self-connect.c | 6 static union tcp_addr local_addr;
|
D | setsockopt-closed.c | 7 static union tcp_addr tcp_md5_client; 237 union tcp_addr net = {}; in test_optmem_limit() 246 union tcp_addr key_peer; in test_optmem_limit() 766 union tcp_addr network_dup; in duplicate_tests()
|
D | seq-ext.c | 42 const union tcp_addr daddr, unsigned int dport, in test_sk_restore()
|
/linux-6.14.4/tools/testing/selftests/net/tcp_ao/lib/ |
D | aolib.h | 162 union tcp_addr { union 170 union tcp_addr addr1, union tcp_addr addr2, 178 union tcp_addr taddr1, taddr2; in test_init2() 224 static inline union tcp_addr gen_tcp_addr(union tcp_addr net, size_t n) in gen_tcp_addr() 226 union tcp_addr ret = net; in gen_tcp_addr() 239 const union tcp_addr *src, in tcp_addr_to_sockaddr_in() 267 extern __thread union tcp_addr this_ip_addr; 268 extern __thread union tcp_addr this_ip_dest; 281 union tcp_addr addr, uint8_t prefix); 283 union tcp_addr src, union tcp_addr dst); [all …]
|
D | setup.c | 165 union tcp_addr addr, union tcp_addr dest) in link_init() 199 __thread union tcp_addr this_ip_addr; 200 __thread union tcp_addr this_ip_dest; 205 union tcp_addr my_ip; 206 union tcp_addr dest_ip; 228 union tcp_addr addr1, union tcp_addr addr2, in __test_init()
|
D | netlink.c | 198 int family, union tcp_addr addr, uint8_t prefix) in __ip_addr_add() 230 union tcp_addr addr, uint8_t prefix) in ip_addr_add() 246 union tcp_addr src, union tcp_addr dst, uint8_t vrf) in __ip_route_add() 287 union tcp_addr src, union tcp_addr dst, uint8_t vrf) in ip_route_add_vrf() 303 union tcp_addr src, union tcp_addr dst) in ip_route_add()
|
D | ftrace-tcp.c | 30 union tcp_addr src; 31 union tcp_addr dst; 58 union tcp_addr src, union tcp_addr dst, in __trace_event_expect() 120 union tcp_addr src; 121 union tcp_addr dst; 267 union tcp_addr *dst, unsigned int *port) in tracer_scan_address()
|
D | kconfig.c | 75 union tcp_addr addr_any = {}; in has_tcp_md5()
|