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

Method Drop

core/utils/codel.h:205–209  ·  view source on GitHub ↗

Calls the drop_func on the object if the drop function exists

Source from the content-addressed store, hash-verified

203 private:
204 // Calls the drop_func on the object if the drop function exists
205 void Drop(Wrapper w) {
206 if (drop_func_ != NULL) {
207 drop_func_(w.second);
208 }
209 }
210
211 // Takes the relative time to determine the next time to drop.
212 // returns the next time to drop a object.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected