• Home
  • Raw
  • Download

Lines Matching refs:ph1

115 	iph2->msgid = isakmp_newmsgid2(iph2->ph1);
116 iph2->ivm = oakley_newiv2(iph2->ph1, iph2->msgid);
179 iph2->nonce = eay_set_random(iph2->ph1->rmconf->nonce_size);
225 && iph2->ph1->rmconf->support_proxy == 0
277 hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, body);
287 iph2->retry_counter = iph2->ph1->rmconf->retry_counter;
334 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
338 msg = oakley_do_decrypt(iph2->ph1, msg0, iph2->ivm->iv, iph2->ivm->ive);
356 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
372 plog(LLV_WARNING, LOCATION, iph2->ph1->remote,
451 isakmp_check_notify(pa->ptr, iph2->ph1);
463 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
478 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
502 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, hbuf);
510 plog(LLV_DEBUG, LOCATION, iph2->ph1->remote,
585 hash = oakley_compute_hash3(iph2->ph1, iph2->msgid, tmp);
611 isakmp_printpacket(buf, iph2->ph1->local, iph2->ph1->remote, 1);
615 iph2->sendbuf = oakley_do_encrypt(iph2->ph1, buf, iph2->ivm->ive, iph2->ivm->iv);
622 iph2->retry_counter = iph2->ph1->rmconf->retry_counter;
627 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0)
632 if (add_recvdpkt(iph2->ph1->remote, iph2->ph1->local,
711 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
715 msg = oakley_do_decrypt(iph2->ph1, msg0, iph2->ivm->iv, iph2->ivm->ive);
738 isakmp_check_notify(pa->ptr, iph2->ph1);
749 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
759 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
776 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, notify);
785 plog(LLV_DEBUG, LOCATION, iph2->ph1->remote,
858 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
864 msg = oakley_do_decrypt(iph2->ph1, msg0, iph2->ivm->iv, iph2->ivm->ive);
882 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
899 plog(LLV_WARNING, LOCATION, iph2->ph1->remote,
994 isakmp_check_notify(pa->ptr, iph2->ph1);
1005 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1021 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1050 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, hbuf);
1058 plog(LLV_DEBUG, LOCATION, iph2->ph1->remote,
1214 iph2->nonce = eay_set_random(iph2->ph1->rmconf->nonce_size);
1340 hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, tmp);
1353 iph2->retry_counter = iph2->ph1->rmconf->retry_counter;
1358 if (add_recvdpkt(iph2->ph1->remote, iph2->ph1->local, iph2->sendbuf, iph2->msg1) == -1) {
1402 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1406 msg = oakley_do_decrypt(iph2->ph1, msg0, iph2->ivm->iv, iph2->ivm->ive);
1424 isakmp_check_notify(pa->ptr, iph2->ph1);
1428 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1438 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1465 my_hash = oakley_compute_hash3(iph2->ph1, iph2->msgid, tmp);
1474 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1543 myhash = oakley_compute_hash1(iph2->ph1, iph2->msgid, notify);
1570 isakmp_printpacket(buf, iph2->ph1->local, iph2->ph1->remote, 1);
1574 iph2->sendbuf = oakley_do_encrypt(iph2->ph1, buf, iph2->ivm->ive, iph2->ivm->iv);
1579 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0)
1583 if (add_recvdpkt(iph2->ph1->remote, iph2->ph1->local, iph2->sendbuf, msg0) == -1) {
1773 isakmp_printpacket(buf, iph2->ph1->local, iph2->ph1->remote, 1);
1777 new = oakley_do_encrypt(iph2->ph1, buf, iph2->ivm->ive, iph2->ivm->iv);
1870 iph2->sainfo = getsainfo(idsrc, iddst, iph2->ph1->id_p, remoteid);
1880 if(group_check(iph2->ph1,&iph2->sainfo->group->v,1))
2106 if (iph2->ph1->rmconf->gen_policy) {
2126 if (iph2->ph1->rmconf->gen_policy) {