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

Function div_init

freebsd/netinet/ip_divert.c:148–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148static void
149div_init(void)
150{
151
152 /*
153 * XXX We don't use the hash list for divert IP, but it's easier to
154 * allocate one-entry hash lists than it is to check all over the
155 * place for hashbase == NULL.
156 */
157 in_pcbinfo_init(&V_divcbinfo, "div", &V_divcb, 1, 1, "divcb",
158 div_inpcb_init, IPI_HASHFIELDS_NONE);
159}
160
161static void
162div_destroy(void *unused __unused)

Callers

nothing calls this directly

Calls 1

in_pcbinfo_initFunction · 0.85

Tested by

no test coverage detected