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

Method CompareGatehookName

core/gate.h:129–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127
128struct CompareGatehookName : public std::unary_function<GateHook, GateHook> {
129 explicit CompareGatehookName(const std::string &name) : name_(name) {}
130 bool operator()(const GateHook *gatehook) {
131 return name_ == gatehook->name();
132 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected