Home | History | Annotate | Download | only in eap_peer

Lines Matching full:lastid

168 	sm->lastId = -1; /* new session - make sure this does not match with
432 sm->lastId = sm->reqId;
566 static int eap_success_workaround(struct eap_sm *sm, int reqId, int lastId)
570 lastId + 1 even though RFC 3748 and
571 * RFC 4137 require that reqId == lastId. In addition, it looks like
572 * Ringmaster v2.1.2.0 would be using lastId + 2 in EAP-Success.
578 if (sm->workaround && (reqId == ((lastId + 1) & 0xff) ||
579 reqId == ((lastId + 2) & 0xff))) {
582 "reqId=%d lastId=%d (these are supposed to be "
583 "same)", reqId, lastId);
587 "lastId=%d", reqId, lastId);
632 duplicate = (sm->reqId == sm->lastId) && sm->rxReq;
636 * RFC 4137 uses (reqId == lastId) as the only verification for
664 (sm->reqId == sm->lastId ||
665 eap_success_workaround(sm, sm->reqId, sm->lastId)))
673 (sm->reqId == sm->lastId ||
674 eap_success_workaround(sm, sm->reqId, sm->lastId)))