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_lb.c294 struct pf_udp_mapping **udp_mapping, pf_sn_types_t sn_type) in pf_get_sport() argument
335 pd->af, &sh, sn_type, false); in pf_get_sport()
349 &init_addr, rpool, sn_type)) in pf_get_sport()
498 &(pd->naf), NULL, &init_addr, rpool, sn_type)) in pf_get_sport()
942 struct pf_addr *init_addr, struct pf_kpool *rpool, pf_sn_types_t sn_type) in pf_map_addr_sn() argument
953 sn = pf_find_src_node(saddr, r, saf, &sh, sn_type, false); in pf_map_addr_sn()
969 __func__, sn_type); in pf_map_addr_sn()
H A Dpf.c1235 struct pf_srchash **sh, pf_sn_types_t sn_type, bool returnlocked) in pf_find_src_node() argument
1244 if (n->rule == rule && n->af == af && n->type == sn_type && in pf_find_src_node()
1293 struct pfi_kkif *rkif, sa_family_t raf, pf_sn_types_t sn_type) in pf_insert_src_node() argument
1297 struct pf_ksrc_node **sn = &(sns[sn_type]); in pf_insert_src_node()
1298 struct pf_srchash **sh = &(snhs[sn_type]); in pf_insert_src_node()
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()
1320 *sn = pf_find_src_node(src, r_track, af, sh, sn_type, true); in pf_insert_src_node()
1325 if (sn_type == PF_SN_LIMIT && rule->max_src_nodes && in pf_insert_src_node()
1326 counter_u64_fetch(r_track->src_nodes[sn_type]) >= rule->max_src_nodes) { in pf_insert_src_node()
[all …]
H A Dpf_ioctl.c362 for (pf_sn_types_t sn_type = 0; sn_type<PF_SN_MAX; sn_type++) in pfattach_vnet() local
363 V_pf_default_rule.src_nodes[sn_type] = counter_u64_alloc(M_WAITOK); in pfattach_vnet()
2670 for (pf_sn_types_t sn_type=0; sn_type<PF_SN_MAX; sn_type++) in pf_krule_free() local
2671 counter_u64_free(rule->src_nodes[sn_type]); in pf_krule_free()
2975 for (pf_sn_types_t sn_type=0; sn_type<PF_SN_MAX; sn_type++) in pf_ioctl_addrule() local
2976 rule->src_nodes[sn_type] = counter_u64_alloc(M_WAITOK); in pf_ioctl_addrule()
4634 for (pf_sn_types_t sn_type=0; sn_type<PF_SN_MAX; sn_type++) in pfioctl() local
4635 newrule->src_nodes[sn_type] = counter_u64_alloc(M_WAITOK); in pfioctl()
7040 for(pf_sn_types_t sn_type=0; sn_type<PF_SN_MAX; in pf_kill_srcnodes() local
7041 sn_type++) { in pf_kill_srcnodes()
[all …]
H A Dpf_nv.c766 for (pf_sn_types_t sn_type=0; sn_type<PF_SN_MAX; sn_type++) in pf_krule_to_nvrule() local
767 src_nodes_total += counter_u64_fetch(rule->src_nodes[sn_type]); in pf_krule_to_nvrule()
H A Dpf_nl.c1040 for (pf_sn_types_t sn_type=0; sn_type<PF_SN_MAX; sn_type++) in pf_handle_getrule() local
1041 src_nodes_total += counter_u64_fetch(rule->src_nodes[sn_type]); in pf_handle_getrule()
/freebsd/crypto/openssl/crypto/bio/
H A Dbss_dgram.c2045 if (snp.sn_header.sn_type == SCTP_SENDER_DRY_EVENT) { in dgram_sctp_read()
2085 if (snp.sn_header.sn_type == SCTP_AUTHENTICATION_EVENT) in dgram_sctp_read()
2652 if (snp.sn_header.sn_type == SCTP_SENDER_DRY_EVENT) { in dgram_sctp_wait_for_dry()
2679 if (snp.sn_header.sn_type == SCTP_AUTHENTICATION_EVENT) in dgram_sctp_wait_for_dry()
2758 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