Lines Matching refs:in_addr_from_string
27 assert_se(in_addr_from_string(AF_INET, "0:0:0:0:0:FFFF:204.152.189.116", &a) < 0); in test_deserialize_in_addr()
28 assert_se(in_addr_from_string(AF_INET6, "192.168.0.1", &d) < 0); in test_deserialize_in_addr()
30 assert_se(in_addr_from_string(AF_INET, "192.168.0.1", &a) >= 0); in test_deserialize_in_addr()
31 assert_se(in_addr_from_string(AF_INET, "192.168.0.2", &b) >= 0); in test_deserialize_in_addr()
32 assert_se(in_addr_from_string(AF_INET, "192.168.0.3", &c) >= 0); in test_deserialize_in_addr()
33 assert_se(in_addr_from_string(AF_INET6, "0:0:0:0:0:FFFF:204.152.189.116", &d) >= 0); in test_deserialize_in_addr()
34 assert_se(in_addr_from_string(AF_INET6, "::1", &e) >= 0); in test_deserialize_in_addr()
35 assert_se(in_addr_from_string(AF_INET6, "1:0:0:0:0:0:0:8", &f) >= 0); in test_deserialize_in_addr()
206 assert_se(in_addr_from_string(AF_INET, "192.168.3.9", &a1->in_addr) >= 0); in test_address_equality()
208 assert_se(in_addr_from_string(AF_INET, "192.168.3.9", &a2->in_addr) >= 0); in test_address_equality()
210 assert_se(in_addr_from_string(AF_INET, "192.168.3.10", &a1->in_addr_peer) >= 0); in test_address_equality()
212 assert_se(in_addr_from_string(AF_INET, "192.168.3.11", &a2->in_addr_peer) >= 0); in test_address_equality()
214 assert_se(in_addr_from_string(AF_INET, "192.168.3.10", &a2->in_addr_peer) >= 0); in test_address_equality()
225 assert_se(in_addr_from_string(AF_INET6, "2001:4ca0:4f01::2", &a1->in_addr) >= 0); in test_address_equality()
226 assert_se(in_addr_from_string(AF_INET6, "2001:4ca0:4f01::2", &a2->in_addr) >= 0); in test_address_equality()
233 assert_se(in_addr_from_string(AF_INET6, "2001:4ca0:4f01::1", &a2->in_addr) >= 0); in test_address_equality()