Searched refs:states_cur (Results 1 – 11 of 11) sorted by relevance
/freebsd/sys/netpfil/pf/ |
H A D | pf.h | 542 counter_u64_t states_cur; member
|
H A D | pf.c | 466 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 D | pf_ioctl.c | 354 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 D | pf_nv.c | 759 counter_u64_fetch(rule->states_cur)); in pf_krule_to_nvrule()
|
H A D | if_pfsync.c | 560 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 D | pf_nl.c | 988 nlattr_add_u64(nw, PF_RT_STATES_CUR, counter_u64_fetch(rule->states_cur)); in pf_handle_getrule()
|
/freebsd/lib/libpfctl/ |
H A D | libpfctl.h | 210 uint64_t states_cur; member
|
H A D | libpfctl.c | 806 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 D | pfctl_optimize.c | 186 PF_RULE_FIELD(states_cur, DC),
|
H A D | pfctl.c | 1066 rule->bytes[1]), (uintmax_t)rule->states_cur); in pfctl_print_rule_counters()
|
/freebsd/sys/net/ |
H A D | pfvar.h | 817 counter_u64_t states_cur; member
|