Home
last modified time | relevance | path

Searched refs:V_pf_default_rule (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/netpfil/pf/
H A Dpf_ioctl.c324 u_int32_t *my_timeout = V_pf_default_rule.timeout; in pfattach_vnet()
343 V_pf_default_rule.entries.tqe_prev = &V_pf_default_rule.entries.tqe_next; in pfattach_vnet()
344 V_pf_default_rule.action = V_default_to_drop ? PF_DROP : PF_PASS; in pfattach_vnet()
345 V_pf_default_rule.nr = -1; in pfattach_vnet()
346 V_pf_default_rule.rtableid = -1; in pfattach_vnet()
348 pf_counter_u64_init(&V_pf_default_rule.evaluations, M_WAITOK); in pfattach_vnet()
350 pf_counter_u64_init(&V_pf_default_rule.packets[i], M_WAITOK); in pfattach_vnet()
351 pf_counter_u64_init(&V_pf_default_rule.bytes[i], M_WAITOK); in pfattach_vnet()
353 V_pf_default_rule.states_cur = counter_u64_alloc(M_WAITOK); in pfattach_vnet()
354 V_pf_default_rule.states_tot = counter_u64_alloc(M_WAITOK); in pfattach_vnet()
[all …]
H A Dif_pfsync.c562 r = &V_pf_default_rule; in pfsync_state_import()
576 if (r != &V_pf_default_rule) { in pfsync_state_import()
694 timeout = V_pf_default_rule.timeout[sp->pfs_1301.timeout]; in pfsync_state_import()
716 if (r == &V_pf_default_rule) { in pfsync_state_import()
H A Dpf_norm.c231 V_pf_default_rule.timeout[PFTM_FRAG]; in pf_purge_expired_fragments()
1776 ts_fudge = V_pf_default_rule.timeout[PFTM_TS_DIFF]; in pf_normalize_tcp_stateful()
H A Dpf.c1065 r_track = &V_pf_default_rule; in pf_insert_src_node()
2574 (V_pf_default_rule.timeout[PFTM_INTERVAL] * 10)); in pf_purge_thread()
2647 timeout = V_pf_default_rule.timeout[state->timeout]; in pf_state_expires()
2649 if (start && state->rule != &V_pf_default_rule) { in pf_state_expires()
2653 start = V_pf_default_rule.timeout[PFTM_ADAPTIVE_START]; in pf_state_expires()
2654 end = V_pf_default_rule.timeout[PFTM_ADAPTIVE_END]; in pf_state_expires()
2701 V_pf_default_rule.timeout[PFTM_SRC_NODE]; in pf_src_tree_remove_state()
7266 struct pf_krule *r = &V_pf_default_rule; in pf_sctp_multihome_delayed()
10171 r == &V_pf_default_rule) in pf_counters_inc()
10216 struct pf_krule *a = NULL, *r = &V_pf_default_rule; in pf_test()
H A Dpf_nl.c216 if (s->sns[PF_SN_LIMIT]->rule == &V_pf_default_rule) in dump_state()
/freebsd/sys/net/
H A Dpfvar.h2426 #define V_pf_default_rule VNET(pf_default_rule) macro