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

Method type

src/proxy/http3/Http3Frame.cc:56–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56Http3FrameType
57Http3Frame::type(const uint8_t *buf, size_t buf_len)
58{
59 uint64_t type = 0;
60 size_t type_field_length = 0;
61 int ret = QUICVariableInt::decode(type, type_field_length, buf, buf_len);
62 ink_assert(ret != 1);
63 if (type <= static_cast<uint64_t>(Http3FrameType::X_MAX_DEFINED)) {
64 return static_cast<Http3FrameType>(type);
65 } else {
66 return Http3FrameType::UNKNOWN;
67 }
68}
69
70//
71// Generic Frame

Callers 15

_add_buffer_headerMethod · 0.45
addMethod · 0.45
marshal_lenMethod · 0.45
parse_symbol_stringMethod · 0.45
parseMethod · 0.45
filters_are_equalFunction · 0.45
addMethod · 0.45
on_write_readyMethod · 0.45
handle_frameMethod · 0.45
handle_frameMethod · 0.45
handle_frameMethod · 0.45
handle_frameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected