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

Method head_data

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

Source from the content-addressed store, hash-verified

83
84 template <typename T = void *>
85 const T head_data(uint16_t offset = 0) const {
86 return reinterpret_cast<T>(static_cast<char *>(buf_addr_) + data_off_ +
87 offset);
88 }
89
90 template <typename T = void *>
91 T head_data(uint16_t offset = 0) {

Callers 10

copyMethod · 0.80
DumpMethod · 0.80
RunTaskMethod · 0.80
RunTaskMethod · 0.80
RunTaskMethod · 0.80
SetUpMethod · 0.80
ProcessBatchMethod · 0.80
ProcessBatchMethod · 0.80
GatherDataMethod · 0.80
SendPacketsMethod · 0.80

Calls

no outgoing calls

Tested by 1

SetUpMethod · 0.64