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

Method protocol_contains

src/iocore/net/UnixNetVConnection.cc:1487–1498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1485}
1486
1487const char *
1488UnixNetVConnection::protocol_contains(std::string_view tag) const
1489{
1490 std::string_view retval = options.get_proto_string();
1491 if (!IsNoCasePrefixOf(tag, retval)) { // didn't match IP level, check TCP level
1492 retval = options.get_family_string();
1493 if (!IsNoCasePrefixOf(tag, retval)) { // no match here either, return empty.
1494 ink_zero(retval);
1495 }
1496 }
1497 return retval.data();
1498}
1499
1500int
1501UnixNetVConnection::set_tcp_congestion_control([[maybe_unused]] tcp_congestion_control_side side)

Callers

nothing calls this directly

Calls 5

IsNoCasePrefixOfFunction · 0.85
ink_zeroFunction · 0.85
get_proto_stringMethod · 0.80
get_family_stringMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected