Lines Matching refs:proposal
78 #include "proposal.h"
159 * the pointer to one of isakmpsa in proposal is set into iph1->approval.
173 /* get proposal pair */
214 /* compare proposal and select one */
216 sa = get_ph1approvalx(p, iph1->rmconf->proposal,
225 * if there is no suitable proposal, racoon complains about all of
226 * mismatched items in those proposal.
237 iph1->rmconf->proposal);
242 plog(LLV_ERROR, LOCATION, NULL, "no suitable proposal found.\n");
247 plog(LLV_DEBUG, LOCATION, NULL, "an acceptable proposal found.\n");
271 if (iph1->rmconf->proposal->gssid != NULL)
272 iph1->gi_i = vdup(iph1->rmconf->proposal->gssid);
279 if (iph1->rmconf->proposal->gssid != NULL)
281 vdup(iph1->rmconf->proposal->gssid);
307 * compare peer's single proposal and all of my proposal.
309 * p : one of peer's proposal.
310 * proposal: my proposals.
313 get_ph1approvalx(p, proposal, sap)
315 struct isakmpsa *proposal, *sap;
336 for (s = proposal; s != NULL; s = s->next) {
365 * if responder side and peer's key length in proposal
382 * print all of items in peer's proposal which are mismatched to my proposal.
383 * p : one of peer's proposal.
384 * proposal: my proposals.
387 print_ph1mismatched(p, proposal)
389 struct isakmpsa *proposal;
396 for (s = proposal; s ; s = s->next) {
703 * check phase 2 SA payload and select single proposal.
717 /* get proposal pair */
722 /* check and select a proposal. */
754 /* get proposal pair of SA sent. */
763 /* get proposal pair of SA replyed */
771 /* check proposal is only one ? */
782 "no proposal received.\n");
793 "invalid proposal number:%d received.\n", i);
805 "proposal mismathed.\n");
810 * check and select a proposal.
811 * ensure that there is no modification of the proposal by
859 "proposal #%d mismatched, "
940 /* compare proposal and select one */
954 * compare my proposal and peers just one proposal.
971 for (q2 = iph2->proposal; q2; q2 = q2->next) {
987 /* no proposal matching */
1005 * find a proposal with matching proto_id.
1084 * get proposal pairs from SA payload.
1085 * tiny check for proposal payload.
1093 int num_p = 0; /* number of proposal for use */
1153 "proposal #%u len=%d\n", prop->p_no, proplen);
1157 "invalid proposal with length %d\n", proplen);
1218 "proposal #%u: %d transform\n",
1224 /* bark if no proposal is found. */
1246 int tlen; /* total length of all transform in a proposal */
1380 /* create proposal payloads */
1389 /* create proposal */
1437 /* create proposal payloads */
1440 * find a proposal/transform with matching proto_id/t_id.
1483 /* get proposal pair */
1522 /* create proposal payloads */
1542 /* create proposal */
1690 "SPI size isn't zero, but IKE proposal.\n");
1698 "invalid SPI size=%d for IPSEC proposal.\n",
1707 "invalid SPI size=%d for IPCOMP proposal.\n",
2319 * create phase1 proposal from remote configuration.
2365 /* create proposal */
2393 /* update proposal length */
2566 /* create proposal */
2715 * create phase2 proposal from policy configuration.
2723 struct saprop *proposal, *a;
2730 proposal = iph2->proposal;
2746 for (a = proposal; a; a = a->next) {
2787 for (pp = iph2->proposal; pp; pp = pp->next) {
3556 * set IPsec data attributes into a proposal.
3655 /* lifetime must be equal in a proposal. */
3661 "in a proposal, "
3675 /* lifebyte must be equal in a proposal. */
3681 "in a proposal, "
3708 "in a proposal.\n");