Home
last modified time | relevance | path

Searched refs:tcfg (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/netpfil/ipfw/
H A Dip_fw_table_value.c180 struct tables_config *tcfg; in resize_shared_value_storage() local
195 tcfg = CHAIN_TO_TCFG(ch); in resize_shared_value_storage()
197 val_size = tcfg->val_size * 2; in resize_shared_value_storage()
210 if (tcfg->val_size >= val_size) in resize_shared_value_storage()
217 memcpy(valuestate, pval, sizeof(struct table_value) * tcfg->val_size); in resize_shared_value_storage()
227 val_size_old = tcfg->val_size; in resize_shared_value_storage()
228 tcfg->val_size = val_size; in resize_shared_value_storage()
654 struct tables_config *tcfg; in ipfw_table_value_init() local
659 tcfg = ch->tblcfg; in ipfw_table_value_init()
661 tcfg->val_size = VALDATA_START_SIZE; in ipfw_table_value_init()
[all …]
H A Dip_fw_table.c1998 find_table_algo(struct tables_config *tcfg, struct tid_info *ti, char *name) in find_table_algo() argument
2008 if (ti->atype > tcfg->algo_count) in find_table_algo()
2010 return (tcfg->algo[ti->atype]); in find_table_algo()
2015 return (tcfg->def_algo[ti->type]); in find_table_algo()
2020 for (i = 1; i <= tcfg->algo_count; i++) { in find_table_algo()
2021 ta = tcfg->algo[i]; in find_table_algo()
2055 struct tables_config *tcfg; in ipfw_add_table_algo() local
2073 tcfg = CHAIN_TO_TCFG(ch); in ipfw_add_table_algo()
2075 KASSERT(tcfg->algo_count < 255, ("Increase algo array size")); in ipfw_add_table_algo()
2077 tcfg->algo[++tcfg->algo_count] = ta_new; in ipfw_add_table_algo()
[all …]
H A Dip_fw_nat.c495 struct cfg_nat *ptr, *tcfg; in nat44_config() local
545 tcfg = NULL; in nat44_config()
547 tcfg = lookup_nat_name(&chain->nat, ucfg->name); in nat44_config()
549 if (tcfg != NULL) in nat44_config()
550 LIST_REMOVE(tcfg, _next); in nat44_config()
557 if (tcfg != NULL) in nat44_config()
/freebsd/sys/dev/bxe/
H A Dbxe.c9942 struct tstorm_eth_function_common_config *tcfg, in storm_memset_func_cfg() argument
9951 ecore_storm_memset_struct(sc, addr, size, (uint32_t *)tcfg); in storm_memset_func_cfg()
9958 struct tstorm_eth_function_common_config tcfg = { 0 }; in bxe_func_init() local
9961 storm_memset_func_cfg(sc, &tcfg, p->func_id); in bxe_func_init()