MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ip_drain

Function ip_drain

freebsd/netinet/ip_input.c:854–866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

852}
853
854void
855ip_drain(void)
856{
857 VNET_ITERATOR_DECL(vnet_iter);
858
859 VNET_LIST_RLOCK_NOSLEEP();
860 VNET_FOREACH(vnet_iter) {
861 CURVNET_SET(vnet_iter);
862 ipreass_drain();
863 CURVNET_RESTORE();
864 }
865 VNET_LIST_RUNLOCK_NOSLEEP();
866}
867
868/*
869 * The protocol to be inserted into ip_protox[] must be already registered

Callers

nothing calls this directly

Calls 1

ipreass_drainFunction · 0.85

Tested by

no test coverage detected