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

Method is_ip4

lib/swoc/include/swoc/IPRange.h:915–918  ·  view source on GitHub ↗

@return @c true if network is IPv4.

Source from the content-addressed store, hash-verified

913
914 /// @return @c true if network is IPv4.
915 bool
916 is_ip4() const {
917 return _addr.is_ip4();
918 }
919
920 /// @return @c true if network is IPv6.
921 bool

Callers

nothing calls this directly

Calls 1

is_ip4Method · 0.45

Tested by

no test coverage detected