Lines Matching defs:other
321 bool SocketAddress::is_match(const SocketAddress& other) const {
324 switch (other.family()) {
325 case AF_INET: return is_match_ipv4(*this, other);
326 case AF_INET6: return is_match_ipv4_ipv6(*this, other);
330 switch (other.family()) {
331 case AF_INET: return is_match_ipv4_ipv6(other, *this);
332 case AF_INET6: return is_match_ipv6(*this, other);
340 const SocketAddress& other) const {
343 switch (other.family()) {
344 case AF_INET: return compare_ipv4(*this, other);
345 case AF_INET6: return compare_ipv4_ipv6(*this, other);
349 switch (other.family()) {
351 CompareResult c = compare_ipv4_ipv6(other, *this);
364 case AF_INET6: return compare_ipv6(*this, other);
372 const SocketAddress& other,
377 switch (other.family()) {
378 case AF_INET: return in_network_ipv4(*this, other, prefix);
379 case AF_INET6: return in_network_ipv4_ipv6(*this, other, prefix);
383 switch (other.family()) {
384 case AF_INET: return in_network_ipv6_ipv4(*this, other, prefix);
385 case AF_INET6: return in_network_ipv6(*this, other, prefix);