Home | History | Annotate | Download | only in racoon

Lines Matching refs:pa

257 	struct isakmp_parse_t *pa;
282 pa = (struct isakmp_parse_t *)pbuf->v;
285 if (pa->type != ISAKMP_NPTYPE_SA) {
289 pa->type, ISAKMP_NPTYPE_SA);
292 if (isakmp_p2ph(&satmp, pa->ptr) < 0)
294 pa++;
297 pa->type != ISAKMP_NPTYPE_NONE;
298 pa++) {
300 switch (pa->type) {
302 vid_numeric = check_vendorid(pa->ptr);
333 pa->type);
452 struct isakmp_parse_t *pa;
474 for (pa = (struct isakmp_parse_t *)pbuf->v;
475 pa->type != ISAKMP_NPTYPE_NONE;
476 pa++) {
478 switch (pa->type) {
480 if (isakmp_p2ph(&iph1->dhpub_p, pa->ptr) < 0)
484 if (isakmp_p2ph(&iph1->nonce_p, pa->ptr) < 0)
488 (void)check_vendorid(pa->ptr);
491 if (oakley_savecr(iph1, pa->ptr) < 0)
496 if (isakmp_p2ph(&gsstoken, pa->ptr) < 0)
506 pa->type == iph1->natt_options->payload_nat_d) {
508 if (isakmp_p2ph (&natd_received, pa->ptr) < 0)
536 pa->type);
696 struct isakmp_parse_t *pa;
729 for (pa = (struct isakmp_parse_t *)pbuf->v;
730 pa->type != ISAKMP_NPTYPE_NONE;
731 pa++) {
733 switch (pa->type) {
735 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0)
739 iph1->pl_hash = (struct isakmp_pl_hash *)pa->ptr;
742 if (oakley_savecert(iph1, pa->ptr) < 0)
746 if (isakmp_p2ph(&iph1->sig_p, pa->ptr) < 0)
751 if (isakmp_p2ph(&gsstoken, pa->ptr) < 0)
757 (void)check_vendorid(pa->ptr);
760 isakmp_check_notify(pa->ptr, iph1);
767 pa->type);
886 struct isakmp_parse_t *pa;
904 pa = (struct isakmp_parse_t *)pbuf->v;
907 if (pa->type != ISAKMP_NPTYPE_SA) {
911 pa->type, ISAKMP_NPTYPE_SA);
914 if (isakmp_p2ph(&iph1->sa, pa->ptr) < 0)
916 pa++;
919 pa->type != ISAKMP_NPTYPE_NONE;
920 pa++) {
922 switch (pa->type) {
924 vid_numeric = check_vendorid(pa->ptr);
931 (vendorid_frag_cap(pa->ptr) & VENDORID_FRAG_IDENT))
966 pa->type);
1172 struct isakmp_parse_t *pa;
1193 for (pa = (struct isakmp_parse_t *)pbuf->v;
1194 pa->type != ISAKMP_NPTYPE_NONE;
1195 pa++) {
1196 switch (pa->type) {
1198 if (isakmp_p2ph(&iph1->dhpub_p, pa->ptr) < 0)
1202 if (isakmp_p2ph(&iph1->nonce_p, pa->ptr) < 0)
1206 (void)check_vendorid(pa->ptr);
1215 if (isakmp_p2ph(&gsstoken, pa->ptr) < 0)
1225 pa->type == iph1->natt_options->payload_nat_d)
1230 if (isakmp_p2ph (&natd_received, pa->ptr) < 0)
1254 pa->type);
1392 struct isakmp_parse_t *pa;
1424 for (pa = (struct isakmp_parse_t *)pbuf->v;
1425 pa->type != ISAKMP_NPTYPE_NONE;
1426 pa++) {
1428 switch (pa->type) {
1430 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0)
1434 iph1->pl_hash = (struct isakmp_pl_hash *)pa->ptr;
1437 if (oakley_savecr(iph1, pa->ptr) < 0)
1441 if (oakley_savecert(iph1, pa->ptr) < 0)
1445 if (isakmp_p2ph(&iph1->sig_p, pa->ptr) < 0)
1450 if (isakmp_p2ph(&gsstoken, pa->ptr) < 0)
1456 (void)check_vendorid(pa->ptr);
1459 isakmp_check_notify(pa->ptr, iph1);
1466 pa->type);