Home | History | Annotate | Download | only in eap_peer

Lines Matching refs:lastId

157 	sm->lastId = -1; /* new session - make sure this does not match with
394 sm->lastId = sm->reqId;
524 static int eap_success_workaround(struct eap_sm *sm, int reqId, int lastId)
528 * EAP-Success/Failure with lastId + 1 even though RFC 3748 and
529 * RFC 4137 require that reqId == lastId. In addition, it looks like
530 * Ringmaster v2.1.2.0 would be using lastId + 2 in EAP-Success.
536 if (sm->workaround && (reqId == ((lastId + 1) & 0xff) ||
537 reqId == ((lastId + 2) & 0xff))) {
540 "reqId=%d lastId=%d (these are supposed to be "
541 "same)", reqId, lastId);
545 "lastId=%d", reqId, lastId);
590 duplicate = (sm->reqId == sm->lastId) && sm->rxReq;
594 * RFC 4137 uses (reqId == lastId) as the only verification for
622 (sm->reqId == sm->lastId ||
623 eap_success_workaround(sm, sm->reqId, sm->lastId)))
631 (sm->reqId == sm->lastId ||
632 eap_success_workaround(sm, sm->reqId, sm->lastId)))