Home
last modified time | relevance | path

Searched refs:p1_in6 (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/unbound/util/
H A Dnet_help.c664 struct sockaddr_in6* p1_in6 = (struct sockaddr_in6*)addr1; in sockaddr_cmp() local
685 } else if (p1_in6->sin6_family == AF_INET6) { in sockaddr_cmp()
687 if(p1_in6->sin6_port < p2_in6->sin6_port) in sockaddr_cmp()
689 if(p1_in6->sin6_port > p2_in6->sin6_port) in sockaddr_cmp()
691 log_assert(p1_in6->sin6_port == p2_in6->sin6_port); in sockaddr_cmp()
692 return memcmp(&p1_in6->sin6_addr, &p2_in6->sin6_addr, in sockaddr_cmp()
706 struct sockaddr_in6* p1_in6 = (struct sockaddr_in6*)addr1; in sockaddr_cmp_addr() local
721 } else if (p1_in6->sin6_family == AF_INET6) { in sockaddr_cmp_addr()
722 return memcmp(&p1_in6->sin6_addr, &p2_in6->sin6_addr, in sockaddr_cmp_addr()