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

Method append_block

src/iocore/net/UnixUDPNet.cc:139–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void
140UDPPacket::append_block(IOBufferBlock *block)
141{
142 if (block) {
143 if (p.chain) { // append to end
144 IOBufferBlock *last = p.chain.get();
145 while (last->next) {
146 last = last->next.get();
147 }
148 last->next = block;
149 } else {
150 p.chain = block;
151 }
152 }
153}
154
155int64_t
156UDPPacket::getPktLength()

Callers 15

openReadMainMethod · 0.45
_ssl_acceptMethod · 0.45
setup_server_transferMethod · 0.45
write_toMethod · 0.45
encodeMethod · 0.45
_write_duplicateMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected