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