Home
last modified time | relevance | path

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

/freebsd/sbin/pfctl/
H A Dpf_print_state.c391 printf(", %s", sn_type_names[PF_SN_LIMIT]); in print_state()
H A Dpfctl.c1229 (uintmax_t)rule->src_nodes_type[PF_SN_LIMIT], in pfctl_print_rule_counters()
/freebsd/sys/netpfil/pf/
H A Dpf_nl.c215 if (s->sns[PF_SN_LIMIT] != NULL) in dump_state()
240 if (s->sns[PF_SN_LIMIT] != NULL) { in dump_state()
242 if (s->sns[PF_SN_LIMIT]->rule == &V_pf_default_rule) in dump_state()
1005 nlattr_add_u64(nw, PF_RT_SRC_NODES_LIMIT, counter_u64_fetch(rule->src_nodes[PF_SN_LIMIT])); in nlattr_add_rule()
H A Dpf.c1084 struct pf_ksrc_node *src_node = state->sns[PF_SN_LIMIT]; in pf_src_connlimit()
1300 KASSERT(sn_type != PF_SN_LIMIT || (raddr == NULL && rkif == NULL), in pf_insert_src_node()
1303 KASSERT(sn_type != PF_SN_LIMIT || (rule->rule_flag & PFRULE_SRCTRACK), in pf_insert_src_node()
1325 if (sn_type == PF_SN_LIMIT && rule->max_src_nodes && in pf_insert_src_node()
1349 if (sn_type == PF_SN_LIMIT) in pf_insert_src_node()
1375 if (sn_type == PF_SN_LIMIT && rule->max_src_states && in pf_insert_src_node()
3051 if (sn_type == PF_SN_LIMIT && s->src.tcp_est) in pf_src_tree_remove_state()
6654 NULL, NULL, pd->af, PF_SN_LIMIT)) != 0) { in pf_create_state()
7457 state->sns[PF_SN_LIMIT] != NULL && in pf_tcp_track_full()
7616 state->sns[PF_SN_LIMIT] != NULL && in pf_tcp_track_sloppy()
[all …]
H A Dpf_nv.c1001 if (s->sns[PF_SN_LIMIT] != NULL) in pf_state_to_nvstate()
H A Dpf_lb.c576 if (sn->type == PF_SN_LIMIT) { in pf_check_src_node_valid()
H A Dpf_ioctl.c6688 if (st->sns[PF_SN_LIMIT] != NULL) in pfsync_state_export()
6720 if (st->sns[PF_SN_LIMIT] != NULL) in pfsync_state_export()
6847 if (st->sns[PF_SN_LIMIT] != NULL) in pf_state_export()
/freebsd/sys/net/
H A Dpfvar.h635 enum pf_sn_types { PF_SN_LIMIT, PF_SN_NAT, PF_SN_ROUTE, PF_SN_MAX }; enumerator
/freebsd/lib/libpfctl/
H A Dlibpfctl.c1707 …{ .type = PF_RT_SRC_NODES_LIMIT, .off = _OUT(r.src_nodes_type[PF_SN_LIMIT]), .cb = snl_attr_get_ui…