Home | History | Annotate | Download | only in racoon

Lines Matching refs:ph1

116 	iph2->msgid = isakmp_newmsgid2(iph2->ph1);
117 iph2->ivm = oakley_newiv2(iph2->ph1, iph2->msgid);
180 iph2->nonce = eay_set_random(iph2->ph1->rmconf->nonce_size);
226 && iph2->ph1->rmconf->support_proxy == 0
278 hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, body);
288 iph2->retry_counter = iph2->ph1->rmconf->retry_counter;
335 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
339 msg = oakley_do_decrypt(iph2->ph1, msg0, iph2->ivm->iv, iph2->ivm->ive);
357 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
373 plog(LLV_WARNING, LOCATION, iph2->ph1->remote,
452 isakmp_check_notify(pa->ptr, iph2->ph1);
464 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
479 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
503 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, hbuf);
511 plog(LLV_DEBUG, LOCATION, iph2->ph1->remote,
586 hash = oakley_compute_hash3(iph2->ph1, iph2->msgid, tmp);
612 isakmp_printpacket(buf, iph2->ph1->local, iph2->ph1->remote, 1);
616 iph2->sendbuf = oakley_do_encrypt(iph2->ph1, buf, iph2->ivm->ive, iph2->ivm->iv);
623 iph2->retry_counter = iph2->ph1->rmconf->retry_counter;
628 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0)
633 if (add_recvdpkt(iph2->ph1->remote, iph2->ph1->local,
712 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
716 msg = oakley_do_decrypt(iph2->ph1, msg0, iph2->ivm->iv, iph2->ivm->ive);
739 isakmp_check_notify(pa->ptr, iph2->ph1);
750 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
760 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
777 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, notify);
786 plog(LLV_DEBUG, LOCATION, iph2->ph1->remote,
859 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
865 msg = oakley_do_decrypt(iph2->ph1, msg0, iph2->ivm->iv, iph2->ivm->ive);
883 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
900 plog(LLV_WARNING, LOCATION, iph2->ph1->remote,
995 isakmp_check_notify(pa->ptr, iph2->ph1);
1006 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1022 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1051 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, hbuf);
1059 plog(LLV_DEBUG, LOCATION, iph2->ph1->remote,
1215 iph2->nonce = eay_set_random(iph2->ph1->rmconf->nonce_size);
1341 hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, tmp);
1354 iph2->retry_counter = iph2->ph1->rmconf->retry_counter;
1359 if (add_recvdpkt(iph2->ph1->remote, iph2->ph1->local, iph2->sendbuf, iph2->msg1) == -1) {
1403 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1407 msg = oakley_do_decrypt(iph2->ph1, msg0, iph2->ivm->iv, iph2->ivm->ive);
1425 isakmp_check_notify(pa->ptr, iph2->ph1);
1429 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1439 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1466 my_hash = oakley_compute_hash3(iph2->ph1, iph2->msgid, tmp);
1475 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1544 myhash = oakley_compute_hash1(iph2->ph1, iph2->msgid, notify);
1571 isakmp_printpacket(buf, iph2->ph1->local, iph2->ph1->remote, 1);
1575 iph2->sendbuf = oakley_do_encrypt(iph2->ph1, buf, iph2->ivm->ive, iph2->ivm->iv);
1580 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0)
1584 if (add_recvdpkt(iph2->ph1->remote, iph2->ph1->local, iph2->sendbuf, msg0) == -1) {
1774 isakmp_printpacket(buf, iph2->ph1->local, iph2->ph1->remote, 1);
1778 new = oakley_do_encrypt(iph2->ph1, buf, iph2->ivm->ive, iph2->ivm->iv);
1871 iph2->sainfo = getsainfo(idsrc, iddst, iph2->ph1->id_p, remoteid);
1881 if(group_check(iph2->ph1,&iph2->sainfo->group->v,1))
2107 if (iph2->ph1->rmconf->gen_policy) {
2127 if (iph2->ph1->rmconf->gen_policy) {