Lines Matching defs:ms
152 struct eap_mschapv2_hdr *ms;
167 ms_len = sizeof(*ms) + 1 + sizeof(*r) + identity_len;
173 ms = wpabuf_put(resp, sizeof(*ms));
174 ms->op_code = MSCHAPV2_OP_RESPONSE;
175 ms->mschapv2_id = mschapv2_id;
183 ms->mschapv2_id++;
185 WPA_PUT_BE16(ms->ms_length, ms_len);
223 "(response)", id, ms->mschapv2_id);
523 struct eap_mschapv2_hdr *ms;
541 ms_len = sizeof(*ms) + sizeof(*cp);
547 ms = wpabuf_put(resp, sizeof(*ms));
548 ms->op_code = MSCHAPV2_OP_CHANGE_PASSWORD;
549 ms->mschapv2_id = req->mschapv2_id + 1;
550 WPA_PUT_BE16(ms->ms_length, ms_len);
629 "(change pw)", id, ms->mschapv2_id);
731 const struct eap_mschapv2_hdr *ms)
733 size_t ms_len = WPA_GET_BE16(ms->ms_length);
781 const struct eap_mschapv2_hdr *ms;
804 if (pos == NULL || len < sizeof(*ms) + 1) {
809 ms = (const struct eap_mschapv2_hdr *) pos;
810 if (eap_mschapv2_check_mslen(sm, len, ms)) {
817 id, ms->mschapv2_id);
819 switch (ms->op_code) {
823 return eap_mschapv2_challenge(sm, data, ret, ms, len, id);
825 return eap_mschapv2_success(sm, data, ret, ms, len, id);
827 return eap_mschapv2_failure(sm, data, ret, ms, len, id);
830 ms->op_code);