Searched refs:M_IPFW (Results 1 - 14 of 14) sorted by relevance

/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_fw_eaction.c196 obj = malloc(sizeof(*obj), M_IPFW, M_WAITOK | M_ZERO);
210 free(obj, M_IPFW);
217 free(obj, M_IPFW);
248 free(obj, M_IPFW);
H A Dip_fw_dynamic.c672 obj = malloc(sizeof(*obj), M_IPFW, M_WAITOK | M_ZERO);
688 free(obj, M_IPFW);
695 free(obj, M_IPFW);
725 free(obj, M_IPFW);
2607 bucket_lock = malloc(new * sizeof(struct mtx), M_IPFW,
2609 ipv4 = malloc(new * sizeof(struct dyn_ipv4ck_slist), M_IPFW,
2611 ipv4_parent = malloc(new * sizeof(struct dyn_ipv4ck_slist), M_IPFW,
2613 ipv4_add = malloc(new * sizeof(uint32_t), M_IPFW, M_WAITOK | M_ZERO);
2614 ipv4_del = malloc(new * sizeof(uint32_t), M_IPFW, M_WAITOK | M_ZERO);
2615 ipv4_parent_add = malloc(new * sizeof(uint32_t), M_IPFW,
[all...]
H A Dip_fw_table_value.c204 valuestate = malloc(sizeof(struct table_value) * val_size, M_IPFW,
242 free(valuestate, M_IPFW);
267 free(ptvl, M_IPFW);
543 ptei->ptv = malloc(sizeof(struct table_val_link), M_IPFW,
778 M_IPFW, M_WAITOK | M_ZERO);
795 free(no, M_IPFW);
805 free(ch->valuestate, M_IPFW);
H A Dip_fw_iface.c259 free(no, M_IPFW);
329 iif = malloc(sizeof(struct ipfw_iface), M_IPFW, M_WAITOK | M_ZERO);
349 free(iif, M_IPFW);
H A Dip_fw_nat.c175 free(s, M_IPFW);
177 free(r->alink, M_IPFW);
179 free(r, M_IPFW);
201 r = malloc(sizeof(*r), M_IPFW, M_WAITOK | M_ZERO);
217 M_IPFW, M_WAITOK | M_ZERO);
249 free(r->alink, M_IPFW);
250 free(r, M_IPFW);
256 s = malloc(sizeof(*s), M_IPFW, M_WAITOK | M_ZERO);
278 free(ptr, M_IPFW);
504 ptr = malloc(sizeof(struct cfg_nat), M_IPFW, M_WAITO
[all...]
H A Dip_fw_sockopt.c110 MALLOC_DEFINE(M_IPFW, "IpFw/IpAcct", "IpFw/IpAcct chain's");
206 rule = malloc(rulesize, M_IPFW, M_WAITOK | M_ZERO);
226 free(rule, M_IPFW);
309 idxmap = malloc(65536 * sizeof(int), M_IPFW, M_WAITOK | M_ZERO);
310 idxmap_back = malloc(65536 * sizeof(int), M_IPFW, M_WAITOK);
321 free(idxmap, M_IPFW);
322 free(idxmap_back, M_IPFW);
345 free(chain->idxmap, M_IPFW);
347 free(chain->idxmap_back, M_IPFW);
366 map = malloc(i * sizeof(struct ip_fw *), M_IPFW, mflag
[all...]
H A Dip_fw_table_algo.c450 cfg = malloc(sizeof(struct radix_cfg), M_IPFW, M_WAITOK | M_ZERO);
487 free(cfg, M_IPFW);
1280 cfg = malloc(sizeof(struct chash_cfg), M_IPFW, M_WAITOK | M_ZERO);
1286 free(cfg, M_IPFW);
1293 cfg->head4 = malloc(sizeof(struct chashbhead) * cfg->size4, M_IPFW,
1295 cfg->head6 = malloc(sizeof(struct chashbhead) * cfg->size6, M_IPFW,
1344 free(cfg->head4, M_IPFW);
1345 free(cfg->head6, M_IPFW);
1347 free(cfg, M_IPFW);
1754 M_IPFW, M_WAITO
[all...]
H A Dip_fw_table.c468 free(ptei->ptv, M_IPFW);
1553 M_IPFW, M_WAITOK | M_ZERO);
1603 free(old_tablestate, M_IPFW);
2641 ta_new = malloc(sizeof(struct table_algo), M_IPFW, M_WAITOK | M_ZERO);
2683 free(ta, M_IPFW);
3180 tc = malloc(sizeof(struct table_config), M_IPFW, M_WAITOK | M_ZERO);
3193 free(tc, M_IPFW);
3215 free(tc, M_IPFW);
3326 free(ch->tablestate, M_IPFW);
3332 free(CHAIN_TO_TCFG(ch), M_IPFW); local
[all...]
H A Dip_fw2.c3355 free(chain->map, M_IPFW);
3356 free(rule, M_IPFW);
3431 free(chain->map, M_IPFW);
H A Dip_fw_private.h128 MALLOC_DECLARE(M_IPFW); variable
/freebsd-11-stable/sys/netpfil/ipfw/nat64/
H A Dnat64lsn.c1243 free(ji, M_IPFW);
1278 ji = malloc(sizeof(struct nat64lsn_job_item), M_IPFW,
1715 cfg = malloc(sizeof(struct nat64lsn_cfg), M_IPFW, M_WAITOK | M_ZERO);
1722 cfg->ih = malloc(sizeof(void *) * cfg->ihsize, M_IPFW,
1725 cfg->pg = malloc(sizeof(void *) * numaddr * _ADDR_PG_COUNT, M_IPFW,
1769 free(cfg->ih, M_IPFW);
1770 free(cfg->pg, M_IPFW);
1771 free(cfg, M_IPFW);
H A Dnat64clat_control.c79 cfg = malloc(sizeof(struct nat64clat_cfg), M_IPFW, M_WAITOK | M_ZERO);
93 free(cfg, M_IPFW);
H A Dnat64stl_control.c80 cfg = malloc(sizeof(struct nat64stl_cfg), M_IPFW, M_WAITOK | M_ZERO);
94 free(cfg, M_IPFW);
/freebsd-11-stable/sys/netpfil/ipfw/nptv6/
H A Dnptv6.c422 cfg = malloc(sizeof(struct nptv6_cfg), M_IPFW, M_WAITOK | M_ZERO);
436 free(cfg, M_IPFW);

Completed in 228 milliseconds