Home
last modified time | relevance | path

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

/freebsd/lib/librt/
H A Dsigev_thread.c201 sn->sn_type = type; in __sigev_alloc()
251 if (sn->sn_type == type && sn->sn_id == id) in __sigev_find()
260 int chain = HASH(sn->sn_type, sn->sn_id); in __sigev_register()
H A Dsigev_thread.h44 int sn_type; member
/freebsd/sys/netpfil/pf/
H A Dpf.c1004 struct pf_srchash **sh, pf_sn_types_t sn_type, bool returnlocked) in pf_find_src_node() argument
1013 if (n->rule == rule && n->af == af && n->type == sn_type && in pf_find_src_node()
1061 struct pfi_kkif *rkif, pf_sn_types_t sn_type) in pf_insert_src_node() argument
1065 struct pf_ksrc_node **sn = &(sns[sn_type]); in pf_insert_src_node()
1066 struct pf_srchash **sh = &(snhs[sn_type]); in pf_insert_src_node()
1068 KASSERT(sn_type != PF_SN_LIMIT || (raddr == NULL && rkif == NULL), in pf_insert_src_node()
1071 KASSERT(sn_type != PF_SN_LIMIT || (rule->rule_flag & PFRULE_SRCTRACK), in pf_insert_src_node()
1088 *sn = pf_find_src_node(src, r_track, af, sh, sn_type, true); in pf_insert_src_node()
1093 if (sn_type == PF_SN_LIMIT && rule->max_src_nodes && in pf_insert_src_node()
1094 counter_u64_fetch(r_track->src_nodes[sn_type]) >= rule->max_src_nodes) { in pf_insert_src_node()
[all …]
H A Dpf_lb.c223 struct pf_udp_mapping **udp_mapping, pf_sn_types_t sn_type) in pf_get_sport() argument
255 pd->af, sh, sn_type, false); in pf_get_sport()
269 sn, sh, rpool, sn_type)) in pf_get_sport()
393 &init_addr, sn, sh, rpool, sn_type)) in pf_get_sport()
694 pf_sn_types_t sn_type) in pf_map_addr_sn() argument
707 *sn = pf_find_src_node(saddr, r, af, sh, sn_type, false); in pf_map_addr_sn()
H A Dpf_ioctl.c355 for (pf_sn_types_t sn_type = 0; sn_type<PF_SN_MAX; sn_type++) in pfattach_vnet() local
356 V_pf_default_rule.src_nodes[sn_type] = counter_u64_alloc(M_WAITOK); in pfattach_vnet()
1858 for (pf_sn_types_t sn_type=0; sn_type<PF_SN_MAX; sn_type++) in pf_krule_free() local
1859 counter_u64_free(rule->src_nodes[sn_type]); in pf_krule_free()
2095 for (pf_sn_types_t sn_type=0; sn_type<PF_SN_MAX; sn_type++) in pf_ioctl_addrule() local
2096 rule->src_nodes[sn_type] = counter_u64_alloc(M_WAITOK); in pf_ioctl_addrule()
3663 for (pf_sn_types_t sn_type=0; sn_type<PF_SN_MAX; sn_type++) in pfioctl() local
3664 newrule->src_nodes[sn_type] = counter_u64_alloc(M_WAITOK); in pfioctl()
6024 for(pf_sn_types_t sn_type=0; sn_type<PF_SN_MAX; in pf_kill_srcnodes() local
6025 sn_type++) { in pf_kill_srcnodes()
[all …]
H A Dpf_nv.c763 for (pf_sn_types_t sn_type=0; sn_type<PF_SN_MAX; sn_type++) in pf_krule_to_nvrule() local
764 src_nodes_total += counter_u64_fetch(rule->src_nodes[sn_type]); in pf_krule_to_nvrule()
H A Dpf_nl.c1000 for (pf_sn_types_t sn_type=0; sn_type<PF_SN_MAX; sn_type++) in pf_handle_getrule() local
1001 src_nodes_total += counter_u64_fetch(rule->src_nodes[sn_type]); in pf_handle_getrule()
/freebsd/crypto/openssl/crypto/bio/
H A Dbss_dgram.c1061 if (snp.sn_header.sn_type == SCTP_SENDER_DRY_EVENT) { in dgram_sctp_read()
1101 if (snp.sn_header.sn_type == SCTP_AUTHENTICATION_EVENT) in dgram_sctp_read()
1682 if (snp.sn_header.sn_type == SCTP_SENDER_DRY_EVENT) { in dgram_sctp_wait_for_dry()
1712 if (snp.sn_header.sn_type == SCTP_AUTHENTICATION_EVENT) in dgram_sctp_wait_for_dry()
1791 if (snp.sn_header.sn_type == SCTP_AUTHENTICATION_EVENT) in dgram_sctp_msg_waiting()
/freebsd/sys/netinet/
H A Dsctp_uio.h513 uint16_t sn_type; member