• Home
  • Raw
  • Download

Lines Matching refs:pa

257 	struct isakmp_parse_t *pa;  local
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 handle_vendorid(iph1, pa->ptr);
309 pa->type);
428 struct isakmp_parse_t *pa; local
450 for (pa = (struct isakmp_parse_t *)pbuf->v;
451 pa->type != ISAKMP_NPTYPE_NONE;
452 pa++) {
454 switch (pa->type) {
456 if (isakmp_p2ph(&iph1->dhpub_p, pa->ptr) < 0)
460 if (isakmp_p2ph(&iph1->nonce_p, pa->ptr) < 0)
464 handle_vendorid(iph1, pa->ptr);
467 if (oakley_savecr(iph1, pa->ptr) < 0)
472 if (isakmp_p2ph(&gsstoken, pa->ptr) < 0)
482 pa->type == iph1->natt_options->payload_nat_d) {
484 if (isakmp_p2ph (&natd_received, pa->ptr) < 0)
512 pa->type);
672 struct isakmp_parse_t *pa; local
705 for (pa = (struct isakmp_parse_t *)pbuf->v;
706 pa->type != ISAKMP_NPTYPE_NONE;
707 pa++) {
709 switch (pa->type) {
711 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0)
715 iph1->pl_hash = (struct isakmp_pl_hash *)pa->ptr;
718 if (oakley_savecert(iph1, pa->ptr) < 0)
722 if (isakmp_p2ph(&iph1->sig_p, pa->ptr) < 0)
727 if (isakmp_p2ph(&gsstoken, pa->ptr) < 0)
733 handle_vendorid(iph1, pa->ptr);
736 isakmp_check_notify(pa->ptr, iph1);
743 pa->type);
862 struct isakmp_parse_t *pa; local
880 pa = (struct isakmp_parse_t *)pbuf->v;
883 if (pa->type != ISAKMP_NPTYPE_SA) {
887 pa->type, ISAKMP_NPTYPE_SA);
890 if (isakmp_p2ph(&iph1->sa, pa->ptr) < 0)
892 pa++;
895 pa->type != ISAKMP_NPTYPE_NONE;
896 pa++) {
898 switch (pa->type) {
900 vid_numeric = handle_vendorid(iph1, pa->ptr);
903 (vendorid_frag_cap(pa->ptr) & VENDORID_FRAG_IDENT))
918 pa->type);
1124 struct isakmp_parse_t *pa; local
1145 for (pa = (struct isakmp_parse_t *)pbuf->v;
1146 pa->type != ISAKMP_NPTYPE_NONE;
1147 pa++) {
1148 switch (pa->type) {
1150 if (isakmp_p2ph(&iph1->dhpub_p, pa->ptr) < 0)
1154 if (isakmp_p2ph(&iph1->nonce_p, pa->ptr) < 0)
1158 handle_vendorid(iph1, pa->ptr);
1167 if (isakmp_p2ph(&gsstoken, pa->ptr) < 0)
1177 pa->type == iph1->natt_options->payload_nat_d)
1182 if (isakmp_p2ph (&natd_received, pa->ptr) < 0)
1206 pa->type);
1344 struct isakmp_parse_t *pa; local
1376 for (pa = (struct isakmp_parse_t *)pbuf->v;
1377 pa->type != ISAKMP_NPTYPE_NONE;
1378 pa++) {
1380 switch (pa->type) {
1382 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0)
1386 iph1->pl_hash = (struct isakmp_pl_hash *)pa->ptr;
1389 if (oakley_savecr(iph1, pa->ptr) < 0)
1393 if (oakley_savecert(iph1, pa->ptr) < 0)
1397 if (isakmp_p2ph(&iph1->sig_p, pa->ptr) < 0)
1402 if (isakmp_p2ph(&gsstoken, pa->ptr) < 0)
1408 handle_vendorid(iph1, pa->ptr);
1411 isakmp_check_notify(pa->ptr, iph1);
1418 pa->type);