tcfg
struct tstorm_eth_function_common_config *tcfg,
ecore_storm_memset_struct(sc, addr, size, (uint32_t *)tcfg);
struct tstorm_eth_function_common_config tcfg = { 0 };
storm_memset_func_cfg(sc, &tcfg, p->func_id);
struct cfg_nat *ptr, *tcfg;
tcfg = NULL;
tcfg = lookup_nat_name(&chain->nat, ucfg->name);
if (tcfg != NULL)
LIST_REMOVE(tcfg, _next);
if (tcfg != NULL)
find_table_algo(struct tables_config *tcfg, struct tid_info *ti, char *name)
if (ti->atype > tcfg->algo_count)
return (tcfg->algo[ti->atype]);
return (tcfg->def_algo[ti->type]);
for (i = 1; i <= tcfg->algo_count; i++) {
ta = tcfg->algo[i];
struct tables_config *tcfg;
tcfg = CHAIN_TO_TCFG(ch);
KASSERT(tcfg->algo_count < 255, ("Increase algo array size"));
tcfg->algo[++tcfg->algo_count] = ta_new;
ta_new->idx = tcfg->algo_count;
tcfg->def_algo[ta_new->type] == NULL)
tcfg->def_algo[ta_new->type] = ta_new;
struct tables_config *tcfg;
tcfg = CHAIN_TO_TCFG(ch);
KASSERT(idx <= tcfg->algo_count, ("algo idx %d out of range 1..%d",
idx, tcfg->algo_count));
ta = tcfg->algo[idx];
if (tcfg->def_algo[ta->type] == ta)
tcfg->def_algo[ta->type] = NULL;
struct tables_config *tcfg;
tcfg = CHAIN_TO_TCFG(ch);
count = tcfg->algo_count;
ta = tcfg->algo[n];
struct tables_config *tcfg;
tcfg = malloc(sizeof(struct tables_config), M_IPFW, M_WAITOK | M_ZERO);
tcfg->namehash = ipfw_objhash_create(V_fw_tables_max,
ch->tblcfg = tcfg;
struct tables_config *tcfg;
tcfg = CHAIN_TO_TCFG(ch);
val_size = tcfg->val_size * 2;
if (tcfg->val_size >= val_size)
memcpy(valuestate, pval, sizeof(struct table_value) * tcfg->val_size);
val_size_old = tcfg->val_size;
tcfg->val_size = val_size;
struct tables_config *tcfg;
tcfg = ch->tblcfg;
tcfg->val_size = VALDATA_START_SIZE;
tcfg->valhash = ipfw_objhash_create(tcfg->val_size, VALDATA_HASH_SIZE);
ipfw_objhash_set_funcs(tcfg->valhash, hash_table_value,