Home
last modified time | relevance | path

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

/freebsd-head/sbin/pfctl/
HDpf_print_state.c410 printf(", %s", sn_type_names[PF_SN_LIMIT]); in print_state()
HDpfctl.c1073 (uintmax_t)rule->src_nodes_type[PF_SN_LIMIT], in pfctl_print_rule_counters()
/freebsd-head/sys/netpfil/pf/
HDpf_nl.c189 if (s->sns[PF_SN_LIMIT] != NULL) in dump_state()
214 if (s->sns[PF_SN_LIMIT] != NULL) { in dump_state()
216 if (s->sns[PF_SN_LIMIT]->rule == &V_pf_default_rule) in dump_state()
1003 nlattr_add_u64(nw, PF_RT_SRC_NODES_LIMIT, counter_u64_fetch(rule->src_nodes[PF_SN_LIMIT])); in pf_handle_getrule()
HDpf.c828 struct pf_ksrc_node *src_node = state->sns[PF_SN_LIMIT]; in pf_src_connlimit()
1044 KASSERT(sn_type != PF_SN_LIMIT || (raddr == NULL && rkif == NULL), in pf_insert_src_node()
1047 KASSERT(sn_type != PF_SN_LIMIT || (rule->rule_flag & PFRULE_SRCTRACK), in pf_insert_src_node()
1069 if (sn_type == PF_SN_LIMIT && rule->max_src_nodes && in pf_insert_src_node()
1093 if (sn_type == PF_SN_LIMIT) in pf_insert_src_node()
1114 if (sn_type == PF_SN_LIMIT && rule->max_src_states && in pf_insert_src_node()
2717 if (sn_type == PF_SN_LIMIT && s->src.tcp_est) in pf_src_tree_remove_state()
6013 NULL, NULL, PF_SN_LIMIT)) != 0) { in pf_create_state()
6674 state->sns[PF_SN_LIMIT] != NULL && in pf_tcp_track_full()
6833 state->sns[PF_SN_LIMIT] != NULL && in pf_tcp_track_sloppy()
[all …]
HDpf_nv.c998 if (s->sns[PF_SN_LIMIT] != NULL) in pf_state_to_nvstate()
HDpf_ioctl.c5710 if (st->sns[PF_SN_LIMIT] != NULL) in pfsync_state_export()
5776 if (st->sns[PF_SN_LIMIT] != NULL) in pf_state_export()
/freebsd-head/sys/net/
HDpfvar.h645 enum pf_sn_types { PF_SN_LIMIT, PF_SN_NAT, PF_SN_ROUTE, PF_SN_MAX }; enumerator
/freebsd-head/lib/libpfctl/
HDlibpfctl.c1668 …{ .type = PF_RT_SRC_NODES_LIMIT, .off = _OUT(r.src_nodes_type[PF_SN_LIMIT]), .cb = snl_attr_get_ui…