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

Method ClearHooks

core/gate.cc:207–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207void Gate::ClearHooks() {
208 for (auto &hook : hooks_) {
209 delete hook;
210 }
211 hooks_.clear();
212}
213
214void IGate::PushOgate(OGate *og) {
215 ogates_upstream_.push_back(og);

Callers 2

DisconnectGateMethod · 0.80

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected