MCPcopy Create free account
hub / github.com/NetSys/bess / append

Method append

core/packet.h:169–169  ·  view source on GitHub ↗

add bytes to the end

Source from the content-addressed store, hash-verified

167
168 // add bytes to the end
169 void *append(uint16_t len) { return rte_pktmbuf_append(&mbuf_, len); }
170
171 // remove bytes from the end
172 void trim(uint16_t to_remove) {

Callers 15

docker_mount_argsFunction · 0.80
find_current_pluginsFunction · 0.80
find_current_pluginsFunction · 0.80
dedupFunction · 0.80
copyMethod · 0.80
timestamp_packetFunction · 0.80
TESTFunction · 0.80
RecvPacketsMethod · 0.80
RecvPacketsMethod · 0.80
replace_rarrowsFunction · 0.80
matchMethod · 0.80
list_matchedMethod · 0.80

Calls

no outgoing calls

Tested by 6

TESTFunction · 0.64
run_forMethod · 0.64
get_all_pktsMethod · 0.64
test_bufferMethod · 0.64