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

Method CommandClear

sample_plugin/modules/sequential_update.cc:114–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114CommandResponse SequentialUpdate::CommandClear(const bess::pb::EmptyArg &) {
115 num_vars_ = 0;
116 return CommandSuccess();
117}
118
119void SequentialUpdate::ProcessBatch(bess::PacketBatch *batch) {
120 int cnt = batch->cnt();

Callers

nothing calls this directly

Calls 1

CommandSuccessFunction · 0.85

Tested by

no test coverage detected