| /src/crypto/dist/ipsec-tools/src/racoon/ |
| admin.c | 488 struct ph2handle *iph2; local 516 iph2 = getph2byid(src, dst, sp_out->id); 517 if (iph2 != NULL) { 518 event_list = &iph2->evt_listeners; 519 if (iph2->status == PHASE2ST_ESTABLISHED) 549 iph2 = newph2(); 550 if (iph2 == NULL) { 555 iph2->side = INITIATOR; 556 iph2->satype = admin2pfkey_proto(com->ac_proto); 557 iph2->spid = sp_out->id [all...] |
| handler.c | 642 struct ph2handle *iph2; local 645 LIST_FOREACH(iph2, &ph2tree, chain) { 646 if (iph2->proposal == NULL && iph2->approval == NULL) 648 if (iph2->approval != NULL) { 649 for (pr = iph2->approval->head; pr != NULL; 654 return iph2; 656 } else if (iph2->proposal != NULL) { 657 for (pr = iph2->proposal->head; pr != NULL; 662 return iph2; 676 struct ph2handle *iph2 = NULL; local 863 struct ph2handle *iph2, *next; local 1423 struct ph2handle *iph2, *iph2_next; local [all...] |
| isakmp_inf.c | 607 isakmp_info_send_d2( struct ph2handle *iph2) 617 if (iph2->status != PHASE2ST_ESTABLISHED) 624 iph1 = getph1byaddr(iph2->src, iph2->dst, 0); 632 for (pr = iph2->approval->head; pr != NULL; pr = pr->next) { 804 isakmp_info_send_n2(struct ph2handle *iph2, int type, vchar_t *data) 806 struct ph1handle *iph1 = iph2->ph1; 813 if (!iph2->approval) 816 pr = iph2->approval->head; 840 iph2->flags |= ISAKMP_FLAG_E; /* XXX Should we do FLAG_A ? * 854 struct ph2handle *iph2 = NULL; local 1054 struct ph2handle *iph2; local 1184 struct ph2handle *iph2; local [all...] |
| isakmp_cfg.c | 1118 struct ph2handle *iph2 = NULL; local 1137 iph2 = newph2(); 1138 if (iph2 == NULL) 1141 iph2->dst = dupsaddr(iph1->remote); 1142 if (iph2->dst == NULL) { 1143 delph2(iph2); 1146 iph2->src = dupsaddr(iph1->local); 1147 if (iph2->src == NULL) { 1148 delph2(iph2); 1152 iph2->side = INITIATOR [all...] |
| racoonctl.c | 1101 struct ph2handle *iph2; local 1124 iph2 = (struct ph2handle *)buf; 1125 addr = (struct sockaddr *)(++iph2);
|
| isakmp.c | 653 struct ph2handle *iph2; local 688 iph2 = getph2bymsgid(iph1, msgid); 689 if (iph2 == NULL) { 705 iph2->flags |= ISAKMP_FLAG_C; 708 if (quick_main(iph2, msg) < 0) { 711 remph2(iph2); 712 delph2(iph2); 958 quick_main(struct ph2handle *iph2, vchar_t *msg) 967 if (iph2->status == PHASE2ST_ESTABLISHED 968 || iph2->status == PHASE2ST_GETSPISENT 1308 struct ph2handle *iph2 = 0; local 1865 struct ph2handle *iph2 = container_of(p, struct ph2handle, scr); local 3165 struct ph2handle *iph2; local [all...] |
| pfkey.c | 873 pk_sendgetspi(struct ph2handle *iph2) 883 if (iph2->side == INITIATOR) 884 pp = iph2->proposal; 886 pp = iph2->approval; 888 if (iph2->sa_src && iph2->sa_dst) { 890 src = dupsaddr(iph2->sa_src); 891 dst = dupsaddr(iph2->sa_dst); 894 src = dupsaddr(iph2->src); 895 dst = dupsaddr(iph2->dst) 979 struct ph2handle *iph2; local 1231 struct ph2handle *iph2; local 1509 struct ph2handle *iph2; local 1574 struct ph2handle *iph2; local 1693 struct ph2handle *iph2; local 1956 struct ph2handle *iph2 = NULL; local 3322 struct ph2handle *iph2; local [all...] |