Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/tcp_ao/
H A Dconnect-deny.c107 if (inet_pton(TEST_FAMILY, TEST_WRONG_IP, &wrong_addr) != 1) in server_fn()
145 if (inet_pton(TEST_FAMILY, TEST_NETWORK, &network_addr) != 1) in server_fn()
221 if (inet_pton(TEST_FAMILY, TEST_WRONG_IP, &wrong_addr) != 1) in client_fn()
265 if (inet_pton(TEST_FAMILY, TEST_NETWORK, &network_addr) != 1) in client_fn()
H 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()
H 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()
H A Dunsigned-md5.c30 err = ip_route_add_vrf(veth_name, TEST_FAMILY, in setup_vrfs()
121 int family = TEST_FAMILY; in server_add_routes()
500 int err, family = TEST_FAMILY; in client_add_ip()
H A Dsetsockopt-closed.c238 if (inet_pton(TEST_FAMILY, TEST_NETWORK, &net) != 1) in test_optmem_limit()
788 if (inet_pton(TEST_FAMILY, TEST_NETWORK, &network_dup) != 1) in duplicate_tests()
818 if (inet_pton(TEST_FAMILY, __TEST_CLIENT_IP(2), &tcp_md5_client) != 1) in client_fn()
H 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()
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Daolib.h208 # define TEST_FAMILY AF_INET6 macro
218 # define TEST_FAMILY AF_INET macro
258 test_init2(ntests, peer1, peer2, TEST_FAMILY, TEST_PREFIX, in test_init()
710 err = __trace_event_expect(type, TEST_FAMILY, src, dst, in trace_hash_event_expect()
726 err = __trace_event_expect(type, TEST_FAMILY, src, dst, in trace_ao_event_expect()
741 err = __trace_event_expect(type, TEST_FAMILY, src, dst, in trace_ao_event_sk_expect()
755 err = __trace_event_expect(type, TEST_FAMILY, src, dst, in trace_ao_event_sne_expect()