Searched refs:conn_rate (Results 1 – 8 of 8) sorted by relevance
672 struct pf_threshold conn_rate; member
1573 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()
1773 nlattr_add_pf_threshold(nw, PF_SN_CONNECTION_RATE, &n->conn_rate); in pf_handle_get_srcnodes()
829 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()
408 struct pfctl_threshold conn_rate; member
3026 …{ .type = PF_SN_CONNECTION_RATE, .off = _OUT(conn_rate), .arg = &pfctl_threshold_parser, .cb = snl…
669 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()
893 struct pf_threshold conn_rate; member