Home | History | Annotate | Download | only in eap_peer

Lines Matching refs:lastId

156 	sm->lastId = -1; /* new session - make sure this does not match with
385 sm->lastId = sm->reqId;
515 static int eap_success_workaround(struct eap_sm *sm, int reqId, int lastId)
519 * EAP-Success/Failure with lastId + 1 even though RFC 3748 and
520 * RFC 4137 require that reqId == lastId. In addition, it looks like
521 * Ringmaster v2.1.2.0 would be using lastId + 2 in EAP-Success.
527 if (sm->workaround && (reqId == ((lastId + 1) & 0xff) ||
528 reqId == ((lastId + 2) & 0xff))) {
531 "reqId=%d lastId=%d (these are supposed to be "
532 "same)", reqId, lastId);
536 "lastId=%d", reqId, lastId);
581 duplicate = (sm->reqId == sm->lastId) && sm->rxReq;
585 * RFC 4137 uses (reqId == lastId) as the only verification for
613 (sm->reqId == sm->lastId ||
614 eap_success_workaround(sm, sm->reqId, sm->lastId)))
622 (sm->reqId == sm->lastId ||
623 eap_success_workaround(sm, sm->reqId, sm->lastId)))