TEST_FAMILY
if (inet_pton(TEST_FAMILY, TEST_NETWORK, &net) != 1)
ret = ip_addr_add(veth_name, TEST_FAMILY, taddr, TEST_PREFIX);
ret = ip_route_add(veth_name, TEST_FAMILY, taddr, this_ip_dest);
err = ip_route_add(veth_name, TEST_FAMILY, this_ip_addr, *p);
if (inet_pton(TEST_FAMILY, TEST_WRONG_IP, &wrong_addr) != 1)
if (inet_pton(TEST_FAMILY, TEST_NETWORK, &network_addr) != 1)
if (inet_pton(TEST_FAMILY, TEST_WRONG_IP, &wrong_addr) != 1)
if (inet_pton(TEST_FAMILY, TEST_NETWORK, &network_addr) != 1)
if (inet_pton(TEST_FAMILY, TEST_WRONG_IP, &wrong_addr) != 1)
err = ip_route_add_vrf(veth_name, TEST_FAMILY,
test_init2(ntests, peer1, peer2, TEST_FAMILY, TEST_PREFIX,
err = __trace_event_expect(type, TEST_FAMILY, src, dst,
err = __trace_event_expect(type, TEST_FAMILY, src, dst,
err = __trace_event_expect(type, TEST_FAMILY, src, dst,
err = __trace_event_expect(type, TEST_FAMILY, src, dst,
if (inet_pton(TEST_FAMILY, addr_str, &local_addr) != 1)
if (ip_addr_add(lo_intf, TEST_FAMILY, local_addr, prefix))
if (ip_route_add(lo_intf, TEST_FAMILY, local_addr, local_addr))
if (inet_pton(TEST_FAMILY, TEST_NETWORK, &net) != 1)
if (inet_pton(TEST_FAMILY, TEST_NETWORK, &network_dup) != 1)
if (inet_pton(TEST_FAMILY, __TEST_CLIENT_IP(2), &tcp_md5_client) != 1)
int family = TEST_FAMILY;
err = ip_route_add_vrf(veth_name, TEST_FAMILY,
int err, family = TEST_FAMILY;