Home
last modified time | relevance | path

Searched refs:KMALLOCS (Results 1 – 24 of 24) sorted by relevance

/netbsd/src/sys/external/bsd/ipf/netinet/
Dip_compat.h247 # define KMALLOCS(a, b, c) (a) = (b)malloc((c), _M_IPF, M_NOWAIT) macro
435 # define KMALLOCS(a,b,c) (a) = (b)malloc(c) macro
579 # if !defined(KMALLOCS)
580 # define KMALLOCS(a, b, c) (a) = (b)malloc((c), _M_IPF, M_NOWAIT) macro
667 # define KMALLOCS(a,b,c) (a) = (b)new_kmem_alloc((c), KMEM_NOSLEEP) macro
Dip_proxy.c439 KMALLOCS(softp->ips_sess_tab, ap_session_t **, size); in ipf_proxy_soft_init()
726 KMALLOCS(ptr, void *, ctl.apc_dsize); in ipf_proxy_ioctl()
1314 KMALLOCS(ipn, ipnat_t *, size); in ipf_proxy_rule_rev()
1401 KMALLOCS(ipn, ipnat_t *, size); in ipf_proxy_rule_fwd()
Dip_sync.c194 KMALLOCS(softs->synclog, synclogent_t *, in ipf_sync_soft_init()
201 KMALLOCS(softs->syncupd, syncupdent_t *, in ipf_sync_soft_init()
208 KMALLOCS(softs->syncstatetab, synclist_t **, in ipf_sync_soft_init()
215 KMALLOCS(softs->syncnattab, synclist_t **, in ipf_sync_soft_init()
Dip_dstlist.c510 KMALLOCS(node, ipf_dstnode_t *, sizeof(*node) + dest.fd_name); in ipf_dstlist_node_add()
540 KMALLOCS(nodes, ipf_dstnode_t **, in ipf_dstlist_node_add()
656 KMALLOCS(temp, frdest_t *, size); in ipf_dstlist_node_del()
Dip_frag.c246 KMALLOCS(softf->ipfr_heads, ipfr_t **, in ipf_frag_soft_init()
253 KMALLOCS(softf->ipfr_nattab, ipfr_t **, in ipf_frag_soft_init()
260 KMALLOCS(softf->ipfr_ipidtab, ipfr_t **, in ipf_frag_soft_init()
Dip_nat.c391 KMALLOCS(softn->ipf_nat_table[0], nat_t **, \ in ipf_nat_soft_init()
401 KMALLOCS(softn->ipf_nat_table[1], nat_t **, \ in ipf_nat_soft_init()
411 KMALLOCS(softn->ipf_nat_map_rules, ipnat_t **, \ in ipf_nat_soft_init()
421 KMALLOCS(softn->ipf_nat_rdr_rules, ipnat_t **, \ in ipf_nat_soft_init()
431 KMALLOCS(softn->ipf_hm_maptable, hostmap_t **, \ in ipf_nat_soft_init()
442 KMALLOCS(softn->ipf_nat_stats.ns_side[0].ns_bucketlen, u_int *, in ipf_nat_soft_init()
451 KMALLOCS(softn->ipf_nat_stats.ns_side[1].ns_bucketlen, u_int *, in ipf_nat_soft_init()
1039 KMALLOCS(nt, ipnat_t *, natd->in_size); in ipf_nat_ioctl()
1790 KMALLOCS(ipn, nat_save_t *, ipns.ipn_dsize); in ipf_nat_getent()
1949 KMALLOCS(ipnn, nat_save_t *, ipn->ipn_dsize); in ipf_nat_putent()
[all …]
Dip_raudio_pxy.c65 KMALLOCS(aps->aps_data, void *, sizeof(raudio_t)); in ipf_p_raudio_new()
Dip_dns_pxy.c190 KMALLOCS(di, dnsinfo_t *, sizeof(dnsinfo_t)); in ipf_p_dns_new()
Dip_auth.c249 KMALLOCS(softa->ipf_auth, frauth_t *, in ipf_auth_soft_init()
256 KMALLOCS(softa->ipf_auth_pkts, mb_t **, in ipf_auth_soft_init()
Dip_ipsec_pxy.c172 KMALLOCS(ipn, ipnat_t *, size); in ipf_p_ipsec_new()
Dip_tftp_pxy.c172 KMALLOCS(ipn, ipnat_t *, size); in ipf_p_tftp_new()
Dip_pptp_pxy.c144 KMALLOCS(ipn, ipnat_t *, size); in ipf_p_pptp_new()
Dip_log.c583 KMALLOCS(buf, char *, len); in ipf_log_items()
Dip_state.c306 KMALLOCS(state_seed, u_long *, state_size * sizeof(*state_seed)); in ipf_state_seed_alloc()
349 KMALLOCS(softs->ipf_state_table, in ipf_state_soft_init()
362 KMALLOCS(softs->ipf_state_stats.iss_bucketlen, u_int *, in ipf_state_soft_init()
5164 KMALLOCS(newtab, ipstate_t **, newsize * sizeof(ipstate_t *)); in ipf_state_rehash()
5170 KMALLOCS(bucketlens, u_int *, newsize * sizeof(u_int)); in ipf_state_rehash()
Dip_htable.c352 KMALLOCS(iph->iph_table, iphtent_t **, in ipf_htable_create()
Dradix_ipf.c866 KMALLOCS(softr->zeros, u_char *, 3 * sizeof(addrfamily_t)); in ipf_rx_create()
Dfil.c4433 KMALLOCS(f, frentry_t *, fp->fr_size); in frrequest()
4657 KMALLOCS(ptr, void *, fp->fr_dsize); in frrequest()
6955 KMALLOCS(copy, ipftuneable_t *, size); in ipf_tune_array_copy()
8442 KMALLOCS(array, int *, arraysize); in ipf_matcharray_load()
/netbsd/src/external/bsd/ipf/dist/
Dip_sync.c193 KMALLOCS(softs->synclog, synclogent_t *,
200 KMALLOCS(softs->syncupd, syncupdent_t *,
207 KMALLOCS(softs->syncstatetab, synclist_t **,
214 KMALLOCS(softs->syncnattab, synclist_t **,
Dip_dstlist.c534 KMALLOCS(node, ipf_dstnode_t *, sizeof(*node) + dest.fd_name);
564 KMALLOCS(nodes, ipf_dstnode_t **,
685 KMALLOCS(temp, frdest_t *, size);
Dip_dns_pxy.c200 KMALLOCS(di, dnsinfo_t *, sizeof(dnsinfo_t));
Dip_pptp_pxy.c144 KMALLOCS(ipn, ipnat_t *, size);
Dip_tftp_pxy.c187 KMALLOCS(ipn, ipnat_t *, size);
Dip_htable.c353 KMALLOCS(iph->iph_table, iphtent_t **,
Dradix_ipf.c893 KMALLOCS(softr->zeros, u_char *, 3 * sizeof(addrfamily_t)); in ipf_rx_create()