Lines Matching refs:etype
361 switch (isakmp->etype) {
394 isakmp->etype) < 0)
416 if (iph1->etype != isakmp->etype) {
420 s_isakmp_etype(iph1->etype),
421 s_isakmp_etype(isakmp->etype));
438 isakmp->etype);
534 isakmp->etype, saddr2str(remote));
562 if (ph1exchange[etypesw1(iph1->etype)]
569 error = (ph1exchange[etypesw1(iph1->etype)]
592 if ((ph1exchange[etypesw1(iph1->etype)]
603 "phase1", s_isakmp_state(iph1->etype, iph1->side, iph1->status),
611 "phase1", s_isakmp_etype(iph1->etype),
668 if (ph2exchange[etypesw2(isakmp->etype)]
675 error = (ph2exchange[etypesw2(isakmp->etype)]
706 if ((ph2exchange[etypesw2(isakmp->etype)]
759 iph1->etype = rmconf->etypes->type;
773 s_isakmp_etype(iph1->etype));
780 if ((ph1exchange[etypesw1(iph1->etype)]
794 s_isakmp_state(iph1->etype, iph1->side, iph1->status),
803 isakmp_ph1begin_r(msg, remote, local, etype)
806 u_int8_t etype;
826 etypeok = check_etypeok(rmconf, etype);
829 "not acceptable %s mode\n", s_isakmp_etype(etype));
843 iph1->etype = etypeok->type;
868 "begin %s mode.\n", s_isakmp_etype(etype));
875 if ((ph1exchange[etypesw1(iph1->etype)]
878 || (ph1exchange[etypesw1(iph1->etype)]
891 s_isakmp_state(iph1->etype, iph1->side, iph1->status),
1047 if ((ph2exchange[etypesw2(isakmp->etype)]
2041 isakmp->etype = iph1->etype;
2068 isakmp->etype = ISAKMP_ETYPE_QUICK;
2102 etypesw1(etype)
2103 int etype;
2105 switch (etype) {
2119 etypesw2(etype)
2120 int etype;
2122 switch (etype) {