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

Function ipsec_kmod_exit

freebsd/netipsec/subr_ipsec.c:143–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143static void
144ipsec_kmod_exit(volatile u_int *cntr)
145{
146 u_int old, new;
147
148 do {
149 old = *cntr;
150 new = old - IPSEC_MODULE_INCR;
151 } while (atomic_cmpset_rel_int(cntr, old, new) == 0);
152}
153
154static void
155ipsec_kmod_drain(volatile u_int *cntr)

Callers 1

xform_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected