Lines Matching refs:next
412 struct ph1handle *p, *next;
414 for (p = LIST_FIRST(&ph1tree); p; p = next) {
415 next = LIST_NEXT(p, chain);
551 pr = pr->next) {
559 pr = pr->next) {
608 for (pr = iph2->proposal->head; pr != NULL; pr = pr->next)
709 struct ph2handle *p, *next;
714 for (p = LIST_FIRST(&ph2tree); p; p = next) {
715 next = LIST_NEXT(p, chain);
744 struct ph2handle *iph2, *next;
747 for (iph2 = LIST_FIRST(&ph2tree); iph2 != NULL; iph2 = next) {
748 next = LIST_NEXT(iph2, chain);
753 pr = pr->next) {
759 pr = pr->next) {
1014 struct recvdpkt *r, *next;
1023 for (r = LIST_FIRST(&rcptree); r; r = next) {
1024 next = LIST_NEXT(r, chain);
1198 for (alg = sainfo->algs[algclass_ipsec_auth]; alg; alg = alg->next) {
1210 (found == 0 && alg != NULL); alg = alg->next) {
1212 "Reload: next ph2 enc alg...\n");
1320 struct ph1handle *p, *next;
1323 for (p = LIST_FIRST(&ph1tree); p; p = next) {
1324 next = LIST_NEXT(p, chain);
1367 for (e = iph1->rmconf->etypes; e != NULL; e = e->next){
1385 for (p=iph1->rmconf->proposal; p != NULL; p=p->next){
1387 "Reload: Trying next proposal...\n");
1488 struct ph1handle *p, *next;
1490 for (p = LIST_FIRST(&ph1tree); p; p = next) {
1491 next = LIST_NEXT(p, chain);
1504 struct ph2handle *p, *next;
1506 for (p = LIST_FIRST(&ph2tree); p; p = next) {
1507 next = LIST_NEXT(p, chain);