Searched refs:two_in (Results 1 – 1 of 1) sorted by relevance
124 const sockaddr_in* two_in = in is_match_ipv4() local126 return memcmp(&one_in->sin_addr, &two_in->sin_addr, sizeof(uint32_t)) == 0; in is_match_ipv4()134 const sockaddr_in6* two_in = in is_match_ipv6() local136 return memcmp(&one_in->sin6_addr, &two_in->sin6_addr, 16) == 0; in is_match_ipv6()161 const sockaddr_in* two_in = in compare_ipv4() local164 const uint32_t s_addr_two = ntohl(two_in->sin_addr.s_addr); in compare_ipv4()179 const sockaddr_in6* two_in = in compare_ipv6() local181 int ret = memcmp(&one_in->sin6_addr, &two_in->sin6_addr, 16); in compare_ipv6()