Searched refs:table_ctx (Results 1 – 4 of 4) sorted by relevance
90 struct ipfw3_table_context *table_ctx; in table_create_dispatch() local94 table_ctx = ctx->table_ctx; in table_create_dispatch()95 table_ctx += id; in table_create_dispatch()96 table_ctx->type = ioc_table->type; in table_create_dispatch()97 table_ctx->count = 0; in table_create_dispatch()98 strlcpy(table_ctx->name , ioc_table->name, IPFW_TABLE_NAME_LEN); in table_create_dispatch()99 if (table_ctx->type == 1) { in table_create_dispatch()100 rn_inithead(&table_ctx->mask, NULL, 0); in table_create_dispatch()101 rn_inithead(&table_ctx->node, table_ctx->mask, in table_create_dispatch()103 } else if (table_ctx->type == 2) { in table_create_dispatch()[all …]
301 struct ipfw3_table_context *table_ctx; in check_from_lookup() local311 table_ctx = ctx->table_ctx; in check_from_lookup()312 table_ctx += cmd->arg1; in check_from_lookup()314 if (table_ctx->type != 0) { in check_from_lookup()315 rnh = table_ctx->node; in check_from_lookup()394 struct ipfw3_table_context *table_ctx; in check_to_lookup() local404 table_ctx = ctx->table_ctx; in check_to_lookup()405 table_ctx += cmd->arg1; in check_to_lookup()407 if (table_ctx->type != 0) { in check_to_lookup()408 rnh = table_ctx->node; in check_to_lookup()
114 struct ipfw3_table_context *table_ctx; in check_mac_from_lookup() local118 table_ctx = ctx->table_ctx; in check_mac_from_lookup()119 table_ctx += cmd->arg1; in check_mac_from_lookup()120 rnh = table_ctx->node; in check_mac_from_lookup()157 struct ipfw3_table_context *table_ctx; in check_mac_to_lookup() local161 table_ctx = ctx->table_ctx; in check_mac_to_lookup()162 table_ctx += cmd->arg1; in check_mac_to_lookup()163 rnh = table_ctx->node; in check_mac_to_lookup()
486 struct ipfw3_table_context *table_ctx; member