Home
last modified time | relevance | path

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

/dragonfly/sys/net/ipfw3_basic/
HDip_fw3_table.c90 struct ipfw3_table_context *table_ctx; in table_create_dispatch() local
94 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 …]
HDip_fw3_basic.c301 struct ipfw3_table_context *table_ctx; in check_from_lookup() local
311 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() local
404 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()
/dragonfly/sys/net/ipfw3_layer2/
HDip_fw3_layer2.c114 struct ipfw3_table_context *table_ctx; in check_mac_from_lookup() local
118 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() local
161 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()
/dragonfly/sys/net/ipfw3/
HDip_fw3.h486 struct ipfw3_table_context *table_ctx; member