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

Method get_family_string

src/iocore/net/NetVConnection.cc:116–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116std::string_view
117NetVCOptions::get_family_string() const
118{
119 switch (ip_family) {
120 case AF_INET:
121 return IP_PROTO_TAG_IPV4;
122 case AF_INET6:
123 return IP_PROTO_TAG_IPV6;
124 default:
125 break;
126 }
127 return {};
128}

Callers 2

populate_protocolMethod · 0.80
protocol_containsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected