Lines Matching refs:in_addr
26 _cleanup_free_ struct in_addr *addresses = NULL;
28 struct in_addr a, b, c;
45 assert_se(!memcmp(&a, &addresses[0], sizeof(struct in_addr)));
46 assert_se(!memcmp(&b, &addresses[1], sizeof(struct in_addr)));
47 assert_se(!memcmp(&c, &addresses[2], sizeof(struct in_addr)));
159 assert_se(inet_pton(AF_INET, "192.168.3.9", &a1->in_addr.in));
161 assert_se(inet_pton(AF_INET, "192.168.3.9", &a2->in_addr.in));
176 assert_se(inet_pton(AF_INET6, "2001:4ca0:4f01::2", &a1->in_addr.in6));
177 assert_se(inet_pton(AF_INET6, "2001:4ca0:4f01::2", &a2->in_addr.in6));
183 assert_se(inet_pton(AF_INET6, "2001:4ca0:4f01::1", &a2->in_addr.in6));