Home | History | Annotate | Download | only in racoon

Lines Matching defs:pa

343 	struct isakmp_parse_t *pa;
378 pa = (struct isakmp_parse_t *)pbuf->v;
383 if (pa->type != ISAKMP_NPTYPE_SA) {
387 pa->type, ISAKMP_NPTYPE_SA);
391 if (isakmp_p2ph(&satmp, pa->ptr) < 0)
393 pa++;
396 pa->type != ISAKMP_NPTYPE_NONE;
397 pa++) {
399 switch (pa->type) {
401 if (isakmp_p2ph(&iph1->dhpub_p, pa->ptr) < 0)
405 if (isakmp_p2ph(&iph1->nonce_p, pa->ptr) < 0)
409 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0)
413 iph1->pl_hash = (struct isakmp_pl_hash *)pa->ptr;
416 if (oakley_savecr(iph1, pa->ptr) < 0)
420 if (oakley_savecert(iph1, pa->ptr) < 0)
424 if (isakmp_p2ph(&iph1->sig_p, pa->ptr) < 0)
428 handle_vendorid(iph1, pa->ptr);
431 isakmp_check_notify(pa->ptr, iph1);
435 if (isakmp_p2ph(&gsstoken, pa->ptr) < 0)
445 pa->type == iph1->natt_options->payload_nat_d) {
453 if (isakmp_p2ph (&natd->payload, pa->ptr) < 0)
469 pa->type);
783 struct isakmp_parse_t *pa;
800 pa = (struct isakmp_parse_t *)pbuf->v;
803 if (pa->type != ISAKMP_NPTYPE_SA) {
807 pa->type, ISAKMP_NPTYPE_SA);
810 if (isakmp_p2ph(&iph1->sa, pa->ptr) < 0)
812 pa++;
815 pa->type != ISAKMP_NPTYPE_NONE;
816 pa++) {
820 s_isakmp_nptype(pa->type));
822 switch (pa->type) {
824 if (isakmp_p2ph(&iph1->dhpub_p, pa->ptr) < 0)
828 if (isakmp_p2ph(&iph1->nonce_p, pa->ptr) < 0)
832 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0)
836 vid_numeric = handle_vendorid(iph1, pa->ptr);
839 (vendorid_frag_cap(pa->ptr) & VENDORID_FRAG_AGG))
845 if (oakley_savecr(iph1, pa->ptr) < 0)
851 if (isakmp_p2ph(&gsstoken, pa->ptr) < 0)
861 pa->type);
1323 struct isakmp_parse_t *pa;
1355 for (pa = (struct isakmp_parse_t *)pbuf->v;
1356 pa->type != ISAKMP_NPTYPE_NONE;
1357 pa++) {
1359 switch (pa->type) {
1361 iph1->pl_hash = (struct isakmp_pl_hash *)pa->ptr;
1364 handle_vendorid(iph1, pa->ptr);
1367 if (oakley_savecert(iph1, pa->ptr) < 0)
1371 if (isakmp_p2ph(&iph1->sig_p, pa->ptr) < 0)
1375 isakmp_check_notify(pa->ptr, iph1);
1382 pa->type == iph1->natt_options->payload_nat_d)
1387 if (isakmp_p2ph (&natd_received, pa->ptr) < 0)
1411 pa->type);