Home
last modified time | relevance | path

Searched refs:states_cur (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/netpfil/pf/
H A Dpf.h542 counter_u64_t states_cur; member
H A Dpf.c466 counter_u64_add(s->rule->states_cur, 1); \
469 counter_u64_add(s->anchor->states_cur, 1); \
473 counter_u64_add(s->nat_rule->states_cur, 1);\
477 counter_u64_add(mrm->r->states_cur, 1); \
486 counter_u64_add(s->nat_rule->states_cur, -1);\
488 counter_u64_add(s->anchor->states_cur, -1); \
489 counter_u64_add(s->rule->states_cur, -1); \
491 counter_u64_add(mrm->r->states_cur, -1); \
2496 states = counter_u64_fetch(state->rule->states_cur); in pf_state_expires()
5363 (counter_u64_fetch(r->states_cur) >= r->max_states)) { in pf_create_state()
H A Dpf_ioctl.c354 V_pf_default_rule.states_cur = counter_u64_alloc(M_WAITOK); in pfattach_vnet()
1859 counter_u64_free(rule->states_cur); in pf_krule_free()
2093 rule->states_cur = counter_u64_alloc(M_WAITOK); in pf_ioctl_addrule()
3623 newrule->states_cur = counter_u64_alloc(M_WAITOK); in pfioctl()
6791 counter_u64_free(V_pf_default_rule.states_cur); in pf_unload_vnet()
H A Dpf_nv.c759 counter_u64_fetch(rule->states_cur)); in pf_krule_to_nvrule()
H A Dif_pfsync.c560 counter_u64_fetch(r->states_cur) >= r->max_states)) in pfsync_state_import()
719 counter_u64_add(r->states_cur, 1); in pfsync_state_import()
H A Dpf_nl.c988 nlattr_add_u64(nw, PF_RT_STATES_CUR, counter_u64_fetch(rule->states_cur)); in pf_handle_getrule()
/freebsd/lib/libpfctl/
H A Dlibpfctl.h210 uint64_t states_cur; member
H A Dlibpfctl.c806 rule->states_cur = nvlist_get_number(nvl, "states_cur"); in pf_nvrule_to_rule()
1657 { .type = PF_RT_STATES_CUR, .off = _OUT(r.states_cur), .cb = snl_attr_get_uint64 },
/freebsd/sbin/pfctl/
H A Dpfctl_optimize.c186 PF_RULE_FIELD(states_cur, DC),
H A Dpfctl.c1066 rule->bytes[1]), (uintmax_t)rule->states_cur); in pfctl_print_rule_counters()
/freebsd/sys/net/
H A Dpfvar.h817 counter_u64_t states_cur; member