Lines Matching refs:act_ptr

752     const ips_act_props_t *act_ptr)  in ips_act_props_to_action()  argument
761 ATTR(ap, SPD_ATTR_TYPE, act_ptr->iap_action); in ips_act_props_to_action()
763 if (act_ptr->iap_action == SPD_ACTTYPE_PASS) in ips_act_props_to_action()
767 if (act_ptr->iap_attr != 0) in ips_act_props_to_action()
769 ATTR(ap, SPD_ATTR_FLAGS, act_ptr->iap_attr); in ips_act_props_to_action()
772 if (act_ptr->iap_attr & SPD_APPLY_ESP) { in ips_act_props_to_action()
776 ap = emit_alg(ap, ESP_ENCR, &act_ptr->iap_eencr, in ips_act_props_to_action()
781 ap = emit_alg(ap, ESP_AUTH, &act_ptr->iap_eauth, in ips_act_props_to_action()
787 if (act_ptr->iap_attr & SPD_APPLY_AH) { in ips_act_props_to_action()
790 ap = emit_alg(ap, AH_AUTH, &act_ptr->iap_aauth, in ips_act_props_to_action()
796 if (act_ptr->iap_life_soft_time != 0) in ips_act_props_to_action()
798 ATTR(ap, SPD_ATTR_LIFE_SOFT_TIME, act_ptr->iap_life_soft_time); in ips_act_props_to_action()
799 if (act_ptr->iap_life_hard_time != 0) in ips_act_props_to_action()
801 ATTR(ap, SPD_ATTR_LIFE_HARD_TIME, act_ptr->iap_life_hard_time); in ips_act_props_to_action()
802 if (act_ptr->iap_life_soft_bytes != 0) in ips_act_props_to_action()
805 act_ptr->iap_life_soft_bytes); in ips_act_props_to_action()
806 if (act_ptr->iap_life_hard_bytes != 0) in ips_act_props_to_action()
809 act_ptr->iap_life_hard_bytes); in ips_act_props_to_action()
864 const ips_act_props_t *act_ptr) in ips_act_wild_props_to_action() argument
866 ips_act_props_t tact = *act_ptr; in ips_act_wild_props_to_action()
873 use_ah = !!(act_ptr->iap_attr & SPD_APPLY_AH); in ips_act_wild_props_to_action()
874 use_esp = !!(act_ptr->iap_attr & SPD_APPLY_ESP); in ips_act_wild_props_to_action()
875 use_espa = !!(act_ptr->iap_attr & SPD_APPLY_ESPA); in ips_act_wild_props_to_action()
876 auth_alg = act_ptr->iap_aauth.alg_id; in ips_act_wild_props_to_action()
877 eauth_alg = act_ptr->iap_eauth.alg_id; in ips_act_wild_props_to_action()
878 encr_alg = act_ptr->iap_eencr.alg_id; in ips_act_wild_props_to_action()
911 !alg_rangecheck(ESP_ENCR, encr_alg, &act_ptr->iap_eencr)) in ips_act_wild_props_to_action()
921 &act_ptr->iap_aauth)) in ips_act_wild_props_to_action()
932 &act_ptr->iap_eauth)) in ips_act_wild_props_to_action()
993 ips_act_props_t *act_ptr; in ips_conf_to_pfpol_msg() local
1186 act_ptr = conf->ips_acts; in ips_conf_to_pfpol_msg()
1191 for (act_ptr = conf->ips_acts; act_ptr != NULL; in ips_conf_to_pfpol_msg()
1192 act_ptr = act_ptr->iap_next) { in ips_conf_to_pfpol_msg()
1194 &act_cnt, act_ptr); in ips_conf_to_pfpol_msg()