Home
last modified time | relevance | path

Searched refs:lcounters (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/netpfil/pf/
H A Dpf_syncookies.c303 counter_u64_add(V_pf_status.lcounters[KLCNT_SYNCOOKIES_SENT], 1); in pf_syncookie_send()
346 counter_u64_add(V_pf_status.lcounters[KLCNT_SYNCOOKIES_VALID], 1); in pf_syncookie_validate()
H A Dpf.h275 uint64_t lcounters[LCNT_MAX]; member
H A Dpf.c834 counter_u64_add(V_pf_status.lcounters[LCNT_SRCCONN], 1); in pf_src_connlimit()
840 counter_u64_add(V_pf_status.lcounters[LCNT_SRCCONNRATE], 1); in pf_src_connlimit()
888 counter_u64_add(V_pf_status.lcounters[LCNT_OVERLOAD_TABLE], 1); in pf_overload_task()
925 V_pf_status.lcounters[LCNT_OVERLOAD_FLUSH], 1); in pf_overload_task()
1023 counter_u64_add(V_pf_status.lcounters[LCNT_SRCNODES], 1); in pf_insert_src_node()
1069 counter_u64_add(V_pf_status.lcounters[LCNT_SRCSTATES], in pf_insert_src_node()
5364 counter_u64_add(V_pf_status.lcounters[LCNT_STATES], 1); in pf_create_state()
H A Dpf_ioctl.c418 V_pf_status.lcounters[i] = counter_u64_alloc(M_WAITOK); in pfattach_vnet()
2455 counter_u64_zero(V_pf_status.lcounters[i]); in pf_ioctl_clear_status()
5816 error = pf_add_status_counters(nvl, "lcounters", V_pf_status.lcounters, in pf_getstatus()
6799 counter_u64_free(V_pf_status.lcounters[i]); in pf_unload_vnet()
H A Dpf_nl.c1198 V_pf_status.lcounters); in pf_handle_get_status()
/freebsd/lib/libpfctl/
H A Dlibpfctl.h62 struct pfctl_status_counters lcounters; member
H A Dlibpfctl.c388 { .type = PF_GS_LCOUNTERS, .off = _OUT(lcounters), .cb = snl_attr_get_counters },
430 TAILQ_INIT(&status->lcounters); in pfctl_get_status_h()
480 &status->lcounters); in pfctl_get_status()
523 return (_pfctl_status_counter(&status->lcounters, id)); in pfctl_status_lcounter()
550 TAILQ_FOREACH_SAFE(c, &status->lcounters, entry, tmp) { in pfctl_free_status()
/freebsd/sbin/pfctl/
H A Dpfctl_parser.c618 TAILQ_FOREACH(c, &s->lcounters, entry) { in print_status()
/freebsd/sys/net/
H A Dpfvar.h1718 counter_u64_t lcounters[KLCNT_MAX]; /* limit counters */ member