Lines Matching refs:addr_str
107 char *addr_str = "10.0.0.1/16"; in START_TEST() local
110 fail_if(nl_addr_parse(addr_str, AF_INET6, &addr4) == 0, in START_TEST()
113 fail_if(nl_addr_parse(addr_str, AF_UNSPEC, &addr4) != 0, in START_TEST()
114 "Should be able to parse \"%s\"", addr_str); in START_TEST()
135 fail_if(strcmp(nl_addr2str(addr4, buf, sizeof(buf)), addr_str), in START_TEST()
148 char *addr_str = "2001:1:2::3/64"; in START_TEST() local
151 fail_if(nl_addr_parse(addr_str, AF_INET, &addr6) == 0, in START_TEST()
154 fail_if(nl_addr_parse(addr_str, AF_UNSPEC, &addr6) != 0, in START_TEST()
155 "Should be able to parse \"%s\"", addr_str); in START_TEST()
176 fail_if(strcmp(nl_addr2str(addr6, buf, sizeof(buf)), addr_str), in START_TEST()
187 char *addr_str = "127.0.0.1"; in START_TEST() local
190 fail_if(nl_addr_parse(addr_str, AF_UNSPEC, &addr) != 0, in START_TEST()