MCPcopy Create free account
hub / github.com/apache/trafficserver / operator==

Method operator==

lib/swoc/src/swoc_ip.cc:1177–1189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1175}
1176
1177bool
1178IPRange::operator==(self_type const &that) const {
1179 if (_family != that._family) {
1180 return false;
1181 }
1182 if (this->is_ip4()) {
1183 return _range._ip4 == that._range._ip4;
1184 }
1185 if (this->is_ip6()) {
1186 return _range._ip6 == that._range._ip6;
1187 }
1188 return true;
1189}
1190
1191IPMask
1192IP6Range::network_mask() const {

Callers

nothing calls this directly

Calls 5

is_ip4Method · 0.95
is_ip6Method · 0.95
familyMethod · 0.45
ip4Method · 0.45
ip6Method · 0.45

Tested by

no test coverage detected