Searched refs:inet_net_pton (Results 1 - 1 of 1) sorted by relevance

/forgerock/web-agents-v4/tests/
H A Dtest_notenforced_lists.c47 // this is in ip.c, as an alternative to inet_net_pton, which is not protable and seems faulty.
51 int inet_net_pton(int af, const char * src, void * dst, size_t size) function
83 ctl_bits = inet_net_pton(AF_INET6, p, &ctl_addr, sizeof(ctl_addr));
86 //printf("different results: inet_net_pton returns %d\n", ctl_bits);
121 ipv6_compare(28, "2001:20::/28"); // ORCHIDv2 (Overlay Routable Cryptographic Hash Identifiers). inet_net_pton says they are invalid
125 ipv6_compare(-1, "ffff:ffff:ffff/33"); // inet_net_pton allows this
126 ipv6_compare(-1, "ffff:ffff:ffff:/33"); // inet_net_pton allows this
128 ipv6_compare(33, "ffff:ffff:ffff::/33"); // inet_net_pton does not allow this, with contraction
129 ipv6_compare(34, "ffff:ffff:ffff::/34"); // inet_net_pton does not allow this, with contraction
130 ipv6_compare(35, "ffff:ffff:ffff::/35"); // inet_net_pton doe
[all...]

Completed in 164 milliseconds