Lines Matching refs:ip_fw_chain

75 typedef int (ta_init)(struct ip_fw_chain *ch, void **ta_state,
78 typedef int (ta_prepare_add)(struct ip_fw_chain *ch, struct tentry_info *tei,
80 typedef int (ta_prepare_del)(struct ip_fw_chain *ch, struct tentry_info *tei,
86 typedef void (ta_flush_entry)(struct ip_fw_chain *ch, struct tentry_info *tei,
145 int ipfw_add_table_algo(struct ip_fw_chain *ch, struct table_algo *ta,
147 void ipfw_del_table_algo(struct ip_fw_chain *ch, int idx);
149 void ipfw_table_algo_init(struct ip_fw_chain *chain);
150 void ipfw_table_algo_destroy(struct ip_fw_chain *chain);
154 int add_table_entry(struct ip_fw_chain *ch, struct tid_info *ti,
156 int del_table_entry(struct ip_fw_chain *ch, struct tid_info *ti,
158 int flush_table(struct ip_fw_chain *ch, struct tid_info *ti);
163 void ipfw_table_value_init(struct ip_fw_chain *ch, int first);
164 void ipfw_table_value_destroy(struct ip_fw_chain *ch, int last);
165 int ipfw_link_table_values(struct ip_fw_chain *ch, struct tableop_state *ts,
167 void ipfw_garbage_table_values(struct ip_fw_chain *ch, struct table_config *tc,
171 void ipfw_unref_table_values(struct ip_fw_chain *ch, struct table_config *tc,
175 int ipfw_rewrite_table_uidx(struct ip_fw_chain *chain,
177 int ipfw_mark_table_kidx(struct ip_fw_chain *chain, struct ip_fw *rule,
179 int ipfw_export_table_ntlv(struct ip_fw_chain *ch, uint32_t kidx,
181 void ipfw_unref_rule_tables(struct ip_fw_chain *chain, struct ip_fw *rule);
182 struct namedobj_instance *ipfw_get_table_objhash(struct ip_fw_chain *ch);
185 int ipfw_move_tables_sets(struct ip_fw_chain *ch, ipfw_range_tlv *rt,
187 void ipfw_swap_tables_sets(struct ip_fw_chain *ch, uint32_t old_set,
189 int ipfw_foreach_table_tentry(struct ip_fw_chain *ch, uint32_t kidx,
205 struct ip_fw_chain *ch;
215 void add_toperation_state(struct ip_fw_chain *ch, struct tableop_state *ts);
216 void del_toperation_state(struct ip_fw_chain *ch, struct tableop_state *ts);
217 void rollback_toperation_state(struct ip_fw_chain *ch, void *object);