Lines Matching refs:eaction_id

185     const char *name, uint16_t *eaction_id)  in create_eaction_obj()  argument
225 if (eaction_id != NULL) in create_eaction_obj()
226 *eaction_id = obj->no.kidx; in create_eaction_obj()
252 reset_eaction_rules(struct ip_fw_chain *ch, uint16_t eaction_id, in reset_eaction_rules() argument
264 if (eaction_id == no->kidx) in reset_eaction_rules()
267 EACTION_DEBUG("Going to replace id %u with %u", eaction_id, no->kidx); in reset_eaction_rules()
281 if (ipfw_reset_eaction(ch, ch->map[i], eaction_id, in reset_eaction_rules()
291 ipfw_dyn_reset_eaction(ch, eaction_id, no->kidx, instance_id); in reset_eaction_rules()
339 uint16_t eaction_id; in ipfw_add_eaction() local
341 eaction_id = 0; in ipfw_add_eaction()
343 create_eaction_obj(ch, handler, name, &eaction_id); in ipfw_add_eaction()
345 name, eaction_id); in ipfw_add_eaction()
347 return (eaction_id); in ipfw_add_eaction()
354 ipfw_del_eaction(struct ip_fw_chain *ch, uint16_t eaction_id) in ipfw_del_eaction() argument
359 no = ipfw_objhash_lookup_kidx(CHAIN_TO_SRV(ch), eaction_id); in ipfw_del_eaction()
364 reset_eaction_rules(ch, eaction_id, 0, (no->refcnt > 1)); in ipfw_del_eaction()
366 no->name, eaction_id); in ipfw_del_eaction()
374 uint16_t eaction_id, uint16_t default_id, uint16_t instance_id) in ipfw_reset_eaction() argument
388 cmd->arg1 != eaction_id) in ipfw_reset_eaction()
432 ipfw_reset_eaction_instance(struct ip_fw_chain *ch, uint16_t eaction_id, in ipfw_reset_eaction_instance() argument
438 no = ipfw_objhash_lookup_kidx(CHAIN_TO_SRV(ch), eaction_id); in ipfw_reset_eaction_instance()
442 reset_eaction_rules(ch, eaction_id, kidx, 0); in ipfw_reset_eaction_instance()