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

Function pfsync_get_bucket

freebsd/netpfil/pf/if_pfsync.c:1870–1875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1868}
1869
1870static struct pfsync_bucket*
1871pfsync_get_bucket(struct pfsync_softc *sc, struct pf_state *st)
1872{
1873 int c = PF_IDHASH(st) % pfsync_buckets;
1874 return &sc->sc_buckets[c];
1875}
1876
1877static void
1878pfsync_update_state(struct pf_state *st)

Callers 9

pfsync_insert_stateFunction · 0.85
pfsync_deferFunction · 0.85
pfsync_undeferFunction · 0.85
pfsync_defer_tmoFunction · 0.85
pfsync_undefer_stateFunction · 0.85
pfsync_update_stateFunction · 0.85
pfsync_update_state_reqFunction · 0.85
pfsync_delete_stateFunction · 0.85
pfsync_q_insFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected