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

Method get_gate_batch

core/task.h:160–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158 bess::PacketBatch *dead_batch() const { return &dead_batch_; }
159
160 bess::PacketBatch *get_gate_batch(bess::Gate *gate) const {
161 return gate_batch_[gate->global_gate_index()];
162 }
163
164 void set_gate_batch(bess::Gate *gate, bess::PacketBatch *batch) const {
165 gate_batch_[gate->global_gate_index()] = batch;

Callers 2

EmitPacketMethod · 0.80
ProcessOGatesMethod · 0.80

Calls 1

global_gate_indexMethod · 0.80

Tested by

no test coverage detected