Home
last modified time | relevance | path

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

/freebsd/sys/netpfil/pf/
H A Dpf.h672 struct pf_threshold conn_rate; member
H A Dpf_ioctl.c1573 diff = secs - in->conn_rate.last; in pf_src_node_copy()
1574 if (diff >= in->conn_rate.seconds) in pf_src_node_copy()
1575 out->conn_rate.count = 0; in pf_src_node_copy()
1577 out->conn_rate.count -= in pf_src_node_copy()
1578 in->conn_rate.count * diff / in pf_src_node_copy()
1579 in->conn_rate.seconds; in pf_src_node_copy()
H A Dpf_nl.c1773 nlattr_add_pf_threshold(nw, PF_SN_CONNECTION_RATE, &n->conn_rate); in pf_handle_get_srcnodes()
H A Dpf.c829 pf_add_threshold(&(*state)->src_node->conn_rate); in pf_src_connlimit()
839 pf_check_threshold(&(*state)->src_node->conn_rate)) { in pf_src_connlimit()
1048 pf_init_threshold(&(*sn)->conn_rate, in pf_insert_src_node()
/freebsd/lib/libpfctl/
H A Dlibpfctl.h408 struct pfctl_threshold conn_rate; member
H A Dlibpfctl.c3026 …{ .type = PF_SN_CONNECTION_RATE, .off = _OUT(conn_rate), .arg = &pfctl_threshold_parser, .cb = snl…
/freebsd/sbin/pfctl/
H A Dpfctl_parser.c669 sn->conn, sn->conn_rate.count / 1000, in print_src_node()
670 (sn->conn_rate.count % 1000) / 100, sn->conn_rate.seconds); in print_src_node()
/freebsd/sys/net/
H A Dpfvar.h893 struct pf_threshold conn_rate; member