Home
last modified time | relevance | path

Searched refs:V_pf_hashmask (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/netpfil/pf/
H A Dpf.c701 return (h & V_pf_hashmask); in pf_hashkey()
933 for (int i = 0; i <= V_pf_hashmask; i++) { in pf_overload_task()
1162 V_pf_hashmask = V_pf_hashsize - 1; in pf_initialize()
1163 for (i = 0, kh = V_pf_keyhash, ih = V_pf_idhash; i <= V_pf_hashmask; in pf_initialize()
1254 i <= V_pf_hashmask; in pf_cleanup()
1740 ih = &V_pf_idhash[(be64toh(id) % (V_pf_hashmask + 1))]; in pf_find_state_byid()
2418 pf_purge_expired_states(V_pf_purge_idx, V_pf_hashmask / in pf_purge_thread()
2463 pf_purge_expired_states(0, V_pf_hashmask); in pf_unload_vnet_purge()
2702 if (++i > V_pf_hashmask) { in pf_purge_expired_states()
H A Dpf_ioctl.c3911 for (i = 0; i <= V_pf_hashmask; i++) { in pfioctl()
3990 for (i = 0; i <= V_pf_hashmask; i++) { in pfioctl()
5898 for (i = 0; i <= V_pf_hashmask; i++) { in pf_clear_all_states()
5958 for (int i = 0; i <= V_pf_hashmask; i++) { in pf_kill_srcnodes()
6021 for (unsigned int i = 0; i <= V_pf_hashmask; i++) { in pf_clear_states()
6096 for (unsigned int i = 0; i <= V_pf_hashmask; i++) in pf_killstates()
H A Dpf_nl.c234 for (int i = 0; i <= V_pf_hashmask; i++) { in handle_dumpstates()
349 for (int i = 0; i < V_pf_hashmask; i++) { in pf_handle_getcreators()
H A Dif_pfsync.c982 for (int i = 0; i <= V_pf_hashmask; i++) { in pfsync_in_clr()
2490 for (; i <= V_pf_hashmask; i++) { in pfsync_bulk_update()
/freebsd/sys/net/
H A Dpfvar.h2164 #define V_pf_hashmask VNET(pf_hashmask) macro
2181 #define PF_IDHASH(s) (be64toh((s)->id) % (V_pf_hashmask + 1))