Searched refs:scounters (Results 1 – 8 of 8) sorted by relevance
/freebsd/sys/netpfil/pf/ |
H A D | pf.h | 277 uint64_t scounters[SCNT_MAX]; member
|
H A D | pf_ioctl.c | 422 V_pf_status.scounters[i] = counter_u64_alloc(M_WAITOK); in pfattach_vnet() 2453 counter_u64_zero(V_pf_status.scounters[i]); in pf_ioctl_clear_status() 5839 error = pf_add_status_counters(nvl, "scounters", V_pf_status.scounters, in pf_getstatus() 6803 counter_u64_free(V_pf_status.scounters[i]); in pf_unload_vnet()
|
H A D | pf.c | 974 counter_u64_add(V_pf_status.scounters[SCNT_SRC_NODE_SEARCH], 1); in pf_find_src_node() 1065 counter_u64_add(V_pf_status.scounters[SCNT_SRC_NODE_INSERT], 1); in pf_insert_src_node() 1100 counter_u64_add(V_pf_status.scounters[SCNT_SRC_NODE_REMOVALS], count); in pf_free_src_nodes() 5587 V_pf_status.scounters[SCNT_SRC_NODE_REMOVALS], 1); in pf_create_state() 5598 V_pf_status.scounters[SCNT_SRC_NODE_REMOVALS], 1); in pf_create_state()
|
H A D | pf_nl.c | 1202 V_pf_status.scounters); in pf_handle_get_status()
|
/freebsd/lib/libpfctl/ |
H A D | libpfctl.h | 64 struct pfctl_status_counters scounters; member
|
H A D | libpfctl.c | 390 { .type = PF_GS_SCOUNTERS, .off = _OUT(scounters), .cb = snl_attr_get_counters }, 432 TAILQ_INIT(&status->scounters); in pfctl_get_status_h() 484 &status->scounters); in pfctl_get_status() 535 return (_pfctl_status_counter(&status->scounters, id)); in pfctl_status_scounter() 558 TAILQ_FOREACH_SAFE(c, &status->scounters, entry, tmp) { in pfctl_free_status()
|
/freebsd/sbin/pfctl/ |
H A D | pfctl_parser.c | 598 TAILQ_FOREACH(c, &s->scounters, entry) { in print_status()
|
/freebsd/sys/net/ |
H A D | pfvar.h | 1720 counter_u64_t scounters[SCNT_MAX]; /* src_node operation counters */ member
|