Lines Matching refs:addr_str
105 char *addr_str = "10.0.0.1/16"; in START_TEST() local
108 fail_if(nl_addr_parse(addr_str, AF_INET6, &addr4) == 0, in START_TEST()
111 fail_if(nl_addr_parse(addr_str, AF_UNSPEC, &addr4) != 0, in START_TEST()
112 "Should be able to parse \"%s\"", addr_str); in START_TEST()
133 fail_if(strcmp(nl_addr2str(addr4, buf, sizeof(buf)), addr_str), in START_TEST()
146 char *addr_str = "2001:1:2::3/64"; in START_TEST() local
149 fail_if(nl_addr_parse(addr_str, AF_INET, &addr6) == 0, in START_TEST()
152 fail_if(nl_addr_parse(addr_str, AF_UNSPEC, &addr6) != 0, in START_TEST()
153 "Should be able to parse \"%s\"", addr_str); in START_TEST()
174 fail_if(strcmp(nl_addr2str(addr6, buf, sizeof(buf)), addr_str), in START_TEST()
185 char *addr_str = "127.0.0.1"; in START_TEST() local
188 fail_if(nl_addr_parse(addr_str, AF_UNSPEC, &addr) != 0, in START_TEST()