Home
last modified time | relevance | path

Searched refs:scounters (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/netpfil/pf/
H A Dpf.h277 uint64_t scounters[SCNT_MAX]; member
H A Dpf_ioctl.c422 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 Dpf.c974 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 Dpf_nl.c1202 V_pf_status.scounters); in pf_handle_get_status()
/freebsd/lib/libpfctl/
H A Dlibpfctl.h64 struct pfctl_status_counters scounters; member
H A Dlibpfctl.c390 { .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 Dpfctl_parser.c598 TAILQ_FOREACH(c, &s->scounters, entry) { in print_status()
/freebsd/sys/net/
H A Dpfvar.h1720 counter_u64_t scounters[SCNT_MAX]; /* src_node operation counters */ member