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

Function is_ipmap_allowed

plugins/stats_over_http/stats_over_http.cc:916–928  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

914}
915
916static bool
917is_ipmap_allowed(const config_t *config, const struct sockaddr *addr)
918{
919 if (!addr) {
920 return true;
921 }
922
923 if (config->addrs.contains(swoc::IPAddr(addr))) {
924 return true;
925 }
926
927 return false;
928}
929static void
930parseIpMap(config_t *config, swoc::TextView txt)
931{

Callers 1

stats_originFunction · 0.85

Calls 2

IPAddrClass · 0.50
containsMethod · 0.45

Tested by

no test coverage detected