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

Function rl_init

freebsd/netinet/in_pcb.c:3701–3707  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3699
3700#ifdef INET
3701static void
3702rl_init(void *st)
3703{
3704 rate_limit_active = counter_u64_alloc(M_WAITOK);
3705 rate_limit_alloc_fail = counter_u64_alloc(M_WAITOK);
3706 rate_limit_set_ok = counter_u64_alloc(M_WAITOK);
3707}
3708
3709SYSINIT(rl, SI_SUB_PROTO_DOMAININIT, SI_ORDER_ANY, rl_init, NULL);
3710#endif

Callers

nothing calls this directly

Calls 1

counter_u64_allocFunction · 0.85

Tested by

no test coverage detected