Home
last modified time | relevance | path

Searched refs:TEST_FAMILY (Results 1 – 7 of 7) sorted by relevance

/tools/testing/selftests/net/tcp_ao/
A Dself-connect.c11 if (inet_pton(TEST_FAMILY, addr_str, &local_addr) != 1) in __setup_lo_intf()
14 if (ip_addr_add(lo_intf, TEST_FAMILY, local_addr, prefix)) in __setup_lo_intf()
20 if (ip_route_add(lo_intf, TEST_FAMILY, local_addr, local_addr)) in __setup_lo_intf()
A Dconnect-deny.c111 if (inet_pton(TEST_FAMILY, TEST_WRONG_IP, &wrong_addr) != 1) in server_fn()
150 if (inet_pton(TEST_FAMILY, TEST_NETWORK, &network_addr) != 1) in server_fn()
226 if (inet_pton(TEST_FAMILY, TEST_WRONG_IP, &wrong_addr) != 1) in client_fn()
275 if (inet_pton(TEST_FAMILY, TEST_NETWORK, &network_addr) != 1) in client_fn()
A Dbench-lookups.c21 if (inet_pton(TEST_FAMILY, TEST_NETWORK, &net) != 1) in gen_test_ips()
51 err = ip_route_add(veth_name, TEST_FAMILY, this_ip_addr, *p); in test_add_routes()
281 ret = ip_addr_add(veth_name, TEST_FAMILY, taddr, TEST_PREFIX); in client_addr_setup()
284 ret = ip_route_add(veth_name, TEST_FAMILY, taddr, this_ip_dest); in client_addr_setup()
A Dunsigned-md5.c31 err = ip_route_add_vrf(veth_name, TEST_FAMILY, in setup_vrfs()
125 int family = TEST_FAMILY; in server_add_routes()
502 int err, family = TEST_FAMILY; in client_add_ip()
A Dsetsockopt-closed.c240 if (inet_pton(TEST_FAMILY, TEST_NETWORK, &net) != 1) in test_optmem_limit()
790 if (inet_pton(TEST_FAMILY, TEST_NETWORK, &network_dup) != 1) in duplicate_tests()
997 if (inet_pton(TEST_FAMILY, __TEST_CLIENT_IP(2), &tcp_md5_client) != 1) in client_fn()
A Dkey-management.c31 err = ip_route_add_vrf(veth_name, TEST_FAMILY, in setup_vrfs()
1186 if (inet_pton(TEST_FAMILY, TEST_WRONG_IP, &wrong_addr) != 1) in client_fn()
/tools/testing/selftests/net/tcp_ao/lib/
A Daolib.h209 # define TEST_FAMILY AF_INET6 macro
219 # define TEST_FAMILY AF_INET macro
259 test_init2(ntests, peer1, peer2, TEST_FAMILY, TEST_PREFIX, in test_init()
777 err = __trace_event_expect(type, TEST_FAMILY, src, dst, in trace_hash_event_expect()
793 err = __trace_event_expect(type, TEST_FAMILY, src, dst, in trace_ao_event_expect()
808 err = __trace_event_expect(type, TEST_FAMILY, src, dst, in trace_ao_event_sk_expect()
822 err = __trace_event_expect(type, TEST_FAMILY, src, dst, in trace_ao_event_sne_expect()

Completed in 16 milliseconds