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

Function pfsync_bulk_start

freebsd/netpfil/pf/if_pfsync.c:2133–2149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2131}
2132
2133static void
2134pfsync_bulk_start(void)
2135{
2136 struct pfsync_softc *sc = V_pfsyncif;
2137
2138 if (V_pf_status.debug >= PF_DEBUG_MISC)
2139 printf("pfsync: received bulk update request\n");
2140
2141 PFSYNC_BLOCK(sc);
2142
2143 sc->sc_ureq_received = time_uptime;
2144 sc->sc_bulk_hashid = 0;
2145 sc->sc_bulk_stateid = 0;
2146 pfsync_bulk_status(PFSYNC_BUS_START);
2147 callout_reset(&sc->sc_bulk_tmo, 1, pfsync_bulk_update, sc);
2148 PFSYNC_BUNLOCK(sc);
2149}
2150
2151static void
2152pfsync_bulk_update(void *arg)

Callers 1

pfsync_in_ureqFunction · 0.85

Calls 2

pfsync_bulk_statusFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected