Lines Matching refs:approval

322 	if (iph1->approval) {
323 delisakmpsa(iph1->approval);
324 iph1->approval = NULL;
360 if(iph1->approval != NULL)
361 delisakmpsa(iph1->approval);
547 if (iph2->proposal == NULL && iph2->approval == NULL)
549 if (iph2->approval != NULL) {
550 for (pr = iph2->approval->head; pr != NULL;
613 if (iph2->approval) {
614 flushsaprop(iph2->approval);
615 iph2->approval = NULL;
749 if (iph2->proposal == NULL && iph2->approval == NULL)
751 if (iph2->approval != NULL) {
752 for (pr = iph2->approval->head; pr != NULL;
1080 struct saprop *approval; in revalidate_ph2() local
1091 approval = iph2->approval; in revalidate_ph2()
1103 if (approval == NULL) { in revalidate_ph2()
1119 printsaprop0(LLV_DEBUG, approval); in revalidate_ph2()
1153 if (sainfo->lifetime < approval->lifetime) { in revalidate_ph2()
1162 if (sainfo->lifebyte < approval->lifebyte) { in revalidate_ph2()
1170 sainfo->pfs_group != approval->pfs_group) { in revalidate_ph2()
1178 if (sainfo->lifetime != approval->lifetime || in revalidate_ph2()
1182 sainfo->lifebyte != approval->lifebyte || in revalidate_ph2()
1184 sainfo->pfs_group != iph2->approval->pfs_group) { in revalidate_ph2()
1199 if (alg->alg == approval->head->head->authtype) in revalidate_ph2()
1214 if (alg->alg != approval->head->head->trns_id){ in revalidate_ph2()
1217 alg->alg, approval->head->head->trns_id); in revalidate_ph2()
1224 if (alg->encklen != approval->head->head->encklen) { in revalidate_ph2()
1234 if (alg->encklen > approval->head->head->encklen) { in revalidate_ph2()
1280 if(iph2->approval != NULL && iph2->approval->head != NULL){ in remove_ph2()
1281 spis[0]=iph2->approval->head->spi; in remove_ph2()
1282 spis[1]=iph2->approval->head->spi_p; in remove_ph2()
1289 purge_ipsec_spi(iph2->dst, iph2->approval->head->proto_id, in remove_ph2()
1337 if(p->approval != NULL){ in revalidate_ph1tree_rmconf()
1340 tmpsa=dupisakmpsa(p->approval); in revalidate_ph1tree_rmconf()
1342 delisakmpsa(p->approval); in revalidate_ph1tree_rmconf()
1343 p->approval=tmpsa; in revalidate_ph1tree_rmconf()
1344 p->approval->rmconf=newrmconf; in revalidate_ph1tree_rmconf()
1357 struct isakmpsa *p, *approval; in revalidate_ph1() local
1361 iph1->approval == NULL || in revalidate_ph1()
1365 approval=iph1->approval; in revalidate_ph1()
1379 approval->dh_group != iph1->rmconf->dh_group){ in revalidate_ph1()
1389 if(approval->authmethod != p->authmethod){ in revalidate_ph1()
1395 if(approval->enctype != p->enctype){ in revalidate_ph1()
1411 if (approval->encklen < p->encklen) { in revalidate_ph1()
1417 if (approval->lifetime > p->lifetime) { in revalidate_ph1()
1426 if (approval->lifebyte > p->lifebyte) { in revalidate_ph1()
1435 if (approval->encklen != p->encklen) { in revalidate_ph1()
1441 if (approval->lifetime != p->lifetime) { in revalidate_ph1()
1450 if (approval->lifebyte != p->lifebyte) { in revalidate_ph1()
1465 if (approval->hashtype != p->hashtype) { in revalidate_ph1()
1472 approval->dh_group != p->dh_group) { in revalidate_ph1()