Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
207
void Gate::ClearHooks() {
208
for (auto &hook : hooks_) {
209
delete hook;
210
}
211
hooks_.clear();
212
}
213
214
void IGate::PushOgate(OGate *og) {
215
ogates_upstream_.push_back(og);
Callers
2
DisconnectGate
Method · 0.80
DisconnectModulesUpstream
Method · 0.80
Calls
1
clear
Method · 0.80
Tested by
no test coverage detected