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

Method init

src/iocore/net/QUICNet.cc:35–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33ClassAllocator<QUICPollEvent, false> quicPollEventAllocator("quicPollEvent");
34
35void
36QUICPollEvent::init(QUICConnection *con, UDPPacket *packet)
37{
38 this->con = con;
39 this->packet = packet;
40 if (con != nullptr) {
41 static_cast<QUICNetVConnection *>(con)->refcount_inc();
42 }
43}
44
45void
46QUICPollEvent::free()

Callers

nothing calls this directly

Calls 1

refcount_incMethod · 0.80

Tested by

no test coverage detected