Home | History | Annotate | Download | only in racoon

Lines Matching refs:ph1

150 	iph2->msgid = isakmp_newmsgid2(iph2->ph1);
151 iph2->ivm = oakley_newiv2(iph2->ph1, iph2->msgid);
219 iph2->nonce = eay_set_random(iph2->ph1->rmconf->nonce_size);
267 iph2->ph1->rmconf->support_proxy == 0 &&
280 && (iph2->ph1->natt_flags & NAT_DETECTED)) {
281 natoa = iph2->ph1->natt_options->payload_nat_oa;
361 hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, body);
424 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
428 msg = oakley_do_decrypt(iph2->ph1, msg0, iph2->ivm->iv, iph2->ivm->ive);
446 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
462 plog(LLV_WARNING, LOCATION, iph2->ph1->remote,
500 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
508 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
516 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
530 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
572 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
582 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
597 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
720 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, hbuf);
728 plog(LLV_DEBUG, LOCATION, iph2->ph1->remote,
737 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
819 hash = oakley_compute_hash3(iph2->ph1, iph2->msgid, tmp);
845 isakmp_printpacket(buf, iph2->ph1->local, iph2->ph1->remote, 1);
849 iph2->sendbuf = oakley_do_encrypt(iph2->ph1, buf, iph2->ivm->ive, iph2->ivm->iv);
860 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0)
865 if (add_recvdpkt(iph2->ph1->remote, iph2->ph1->local,
944 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
948 msg = oakley_do_decrypt(iph2->ph1, msg0, iph2->ivm->iv, iph2->ivm->ive);
982 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
992 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1009 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, notify);
1018 plog(LLV_DEBUG, LOCATION, iph2->ph1->remote,
1091 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1097 msg = oakley_do_decrypt(iph2->ph1, msg0, iph2->ivm->iv, iph2->ivm->ive);
1099 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1118 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1135 plog(LLV_WARNING, LOCATION, iph2->ph1->remote,
1187 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1195 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1203 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1274 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1284 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1300 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1329 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, hbuf);
1337 plog(LLV_DEBUG, LOCATION, iph2->ph1->remote,
1369 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1511 iph2->nonce = eay_set_random(iph2->ph1->rmconf->nonce_size);
1537 && (iph2->ph1->natt_flags & NAT_DETECTED)) {
1538 natoa = iph2->ph1->natt_options->payload_nat_oa;
1676 hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, tmp);
1693 if (add_recvdpkt(iph2->ph1->remote, iph2->ph1->local, iph2->sendbuf, iph2->msg1) == -1) {
1744 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1748 msg = oakley_do_decrypt(iph2->ph1, msg0, iph2->ivm->iv, iph2->ivm->ive);
1770 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1780 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1807 my_hash = oakley_compute_hash3(iph2->ph1, iph2->msgid, tmp);
1816 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1885 myhash = oakley_compute_hash1(iph2->ph1, iph2->msgid, notify);
1912 isakmp_printpacket(buf, iph2->ph1->local, iph2->ph1->remote, 1);
1916 iph2->sendbuf = oakley_do_encrypt(iph2->ph1, buf, iph2->ivm->ive, iph2->ivm->iv);
1921 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0)
1925 if (add_recvdpkt(iph2->ph1->remote, iph2->ph1->local, iph2->sendbuf, msg0) == -1) {
2115 isakmp_printpacket(buf, iph2->ph1->local, iph2->ph1->remote, 1);
2119 new = oakley_do_encrypt(iph2->ph1, buf, iph2->ivm->ive, iph2->ivm->iv);
2177 if (iph2->ph1->mode_cfg != NULL) {
2178 if ((iph2->ph1->mode_cfg->flags & ISAKMP_CFG_ADDR4_EXTERN) ||
2179 (iph2->ph1->mode_cfg->flags & ISAKMP_CFG_ADDR4_LOCAL)){
2187 &iph2->ph1->mode_cfg->addr4, sizeof(struct in_addr));
2201 iph2->sainfo = getsainfo(idsrc, iddst, iph2->ph1->id_p, client, iph2->ph1->rmconf->ph1id);
2211 if(group_check(iph2->ph1,&iph2->sainfo->group->v,1))
2455 if (iph2->ph1->rmconf->gen_policy) {
2475 if (iph2->ph1->rmconf->gen_policy) {
2551 struct ph1handle *iph1 = iph2->ph1;
2601 isakmp_log_notify(iph2->ph1, notify, "phase2 exchange");