Home
last modified time | relevance | path

Searched refs:veth_name (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dsetup.c155 const char veth_name[] = "ktst-veth"; variable
257 if (add_veth(veth_name, nsfd_parent, nsfd_child)) in __test_init()
261 link_init(veth_name, family, prefix, addr2, addr1); in __test_init()
274 link_init(veth_name, family, prefix, addr1, addr2); in __test_init()
H A Daolib.h277 extern const char veth_name[];
345 return __test_connect_socket(sk, veth_name, in _test_connect_socket()
627 __test_sock_restore(sk, veth_name, state, saddr, &addr, sizeof(addr)); in test_sock_restore()
H A Dsock.c19 err = setsockopt(sk, SOL_SOCKET, SO_BINDTODEVICE, veth_name, in __test_listen_socket()
20 strlen(veth_name) + 1); in __test_listen_socket()
/linux/tools/testing/selftests/net/tcp_ao/
H A Dbench-lookups.c51 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 Dunsigned-md5.c30 err = ip_route_add_vrf(veth_name, TEST_FAMILY, in setup_vrfs()
125 if (ip_route_add(veth_name, family, this_ip_addr, client2)) in server_add_routes()
127 if (ip_route_add(veth_name, family, this_ip_addr, client3)) in server_add_routes()
505 err = ip_addr_add(veth_name, family, *client, TEST_PREFIX); in client_add_ip()
H A Dkey-management.c31 err = ip_route_add_vrf(veth_name, TEST_FAMILY, in setup_vrfs()