MCPcopy Create free account
hub / github.com/apache/trafficserver / isAnyAddr

Method isAnyAddr

include/tscore/ink_inet.h:1500–1504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1498}
1499
1500inline bool
1501IpAddr::isAnyAddr() const
1502{
1503 return (AF_INET == _family && INADDR_ANY == _addr._ip4) || (AF_INET6 == _family && IN6_IS_ADDR_UNSPECIFIED(&_addr._ip6));
1504}
1505
1506/// Assign sockaddr storage.
1507inline IpAddr &

Callers 1

operator==Method · 0.80

Calls 1

IN6_IS_ADDR_UNSPECIFIEDFunction · 0.85

Tested by

no test coverage detected