Lines Matching refs:iph2
1032 set_proposal_from_policy(iph2, sp_main, sp_sub) in set_proposal_from_policy() argument
1033 struct ph2handle *iph2; in set_proposal_from_policy()
1047 newpp->lifetime = iph2->sainfo->lifetime;
1048 newpp->lifebyte = iph2->sainfo->lifebyte;
1049 newpp->pfs_group = iph2->sainfo->pfs_group;
1064 if (iph2->ph1 && (iph2->ph1->natt_flags & NAT_DETECTED))
1065 encmodesv += iph2->ph1->natt_options->mode_udp_diff;
1088 if (iph2->side == INITIATOR)
1110 if (iph2->ph1 && (iph2->ph1->natt_flags & NAT_DETECTED))
1112 iph2->ph1->natt_options->mode_udp_diff;
1118 if (iph2->side == INITIATOR)
1123 if (set_satrnsbysainfo(newpr, iph2->sainfo) < 0) {
1141 if (iph2->side == INITIATOR)
1155 iph2->proposal = newpp;
1171 set_proposal_from_proposal(iph2) in set_proposal_from_proposal() argument
1172 struct ph2handle *iph2; in set_proposal_from_proposal()
1181 pair = get_proppair(iph2->sa, IPSECDOI_TYPE_PH2);
1207 pp0->lifetime = iph2->sainfo->lifetime;
1208 pp0->lifebyte = iph2->sainfo->lifebyte;
1209 pp0->pfs_group = iph2->sainfo->pfs_group;
1247 conf = getrmconf(iph2->dst);
1264 if (set_satrnsbysainfo(newpr, iph2->sainfo) < 0)
1281 iph2->proposal = newpp;