/external/ipsec-tools/src/racoon/ |
handler.c | 543 struct ph2handle *iph2; local 546 LIST_FOREACH(iph2, &ph2tree, chain) { 547 if (iph2->proposal == NULL && iph2->approval == NULL) 549 if (iph2->approval != NULL) { 550 for (pr = iph2->approval->head; pr != NULL; 555 return iph2; 557 } else if (iph2->proposal != NULL) { 558 for (pr = iph2->proposal->head; pr != NULL; 563 return iph2; 577 struct ph2handle *iph2 = NULL; local 744 struct ph2handle *iph2, *next; local 1299 struct ph2handle *iph2, *iph2_next; local [all...] |
isakmp_inf.c | 458 struct ph2handle *iph2; 622 isakmp_info_send_d2(iph2) 623 struct ph2handle *iph2; 633 if (iph2->status != PHASE2ST_ESTABLISHED) 640 iph1 = getph1byaddr(iph2->src, iph2->dst, 0); 648 for (pr = iph2->approval->head; pr != NULL; pr = pr->next) { 835 isakmp_info_send_n2(iph2, type, data) 836 struct ph2handle *iph2; 840 struct ph1handle *iph1 = iph2->ph1 457 struct ph2handle *iph2; local 891 struct ph2handle *iph2 = NULL; local 1137 struct ph2handle *iph2; local 1292 struct ph2handle *iph2; local [all...] |
isakmp_cfg.c | 1122 struct ph2handle *iph2 = NULL; local 1141 iph2 = newph2(); 1142 if (iph2 == NULL) 1145 iph2->dst = dupsaddr(iph1->remote); 1146 if (iph2->dst == NULL) { 1147 delph2(iph2); 1150 iph2->src = dupsaddr(iph1->local); 1151 if (iph2->src == NULL) { 1152 delph2(iph2); 1157 if (set_port(iph2->dst, 0) == NULL | [all...] |
isakmp.c | 661 struct ph2handle *iph2; local 695 iph2 = getph2bymsgid(iph1, msgid); 696 if (iph2 == NULL) { 712 iph2->flags |= ISAKMP_FLAG_C; 715 if (quick_main(iph2, msg) < 0) { 718 unbindph12(iph2); 719 remph2(iph2); 720 delph2(iph2); 945 quick_main(iph2, msg) 946 struct ph2handle *iph2; 1300 struct ph2handle *iph2 = 0; local 1925 struct ph2handle *iph2; local 3196 struct ph2handle *iph2; local [all...] |
pfkey.c | 811 pfkey_timeover(iph2) 812 struct ph2handle *iph2; 816 saddrwop2str(iph2->dst)); 817 SCHED_KILL(iph2->sce); 820 if (iph2->side == INITIATOR) 821 pk_sendeacquire(iph2); 823 unbindph12(iph2); 824 remph2(iph2); 825 delph2(iph2); 838 pk_sendgetspi(iph2) 933 struct ph2handle *iph2; local 1176 struct ph2handle *iph2; local 1466 struct ph2handle *iph2; local 1531 struct ph2handle *iph2; local 1642 struct ph2handle *iph2[MAXNESTEDSA]; local 1927 struct ph2handle *iph2 = NULL; local [all...] |
racoonctl.c | 1218 struct ph2handle *iph2; local 1241 iph2 = (struct ph2handle *)buf; 1242 addr = (struct sockaddr *)(++iph2); [all...] |