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

Method get_proto_string

src/iocore/net/NetVConnection.cc:102–114  ·  view source on GitHub ↗

/ NetVCOptions

Source from the content-addressed store, hash-verified

100// NetVCOptions
101//
102std::string_view
103NetVCOptions::get_proto_string() const
104{
105 switch (ip_proto) {
106 case USE_TCP:
107 return IP_PROTO_TAG_TCP;
108 case USE_UDP:
109 return IP_PROTO_TAG_UDP;
110 default:
111 break;
112 }
113 return {};
114}
115
116std::string_view
117NetVCOptions::get_family_string() const

Callers 2

populate_protocolMethod · 0.80
protocol_containsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected