Lines Matching defs:ms
102 struct eap_mschapv2_hdr *ms;
113 ms_len = sizeof(*ms) + 1 + CHALLENGE_LEN + sm->server_id_len;
123 ms = wpabuf_put(req, sizeof(*ms));
124 ms->op_code = MSCHAPV2_OP_CHALLENGE;
125 ms->mschapv2_id = id;
126 WPA_PUT_BE16(ms->ms_length, ms_len);
145 struct eap_mschapv2_hdr *ms;
150 ms_len = sizeof(*ms) + 2 + 2 * sizeof(data->auth_response) + 1 + 2 +
161 ms = wpabuf_put(req, sizeof(*ms));
162 ms->op_code = MSCHAPV2_OP_SUCCESS;
163 ms->mschapv2_id = data->resp_mschapv2_id;
164 WPA_PUT_BE16(ms->ms_length, ms_len);
165 msg = (u8 *) (ms + 1);
179 msg, ms_len - sizeof(*ms));
189 struct eap_mschapv2_hdr *ms;
194 ms_len = sizeof(*ms) + os_strlen(message);
204 ms = wpabuf_put(req, sizeof(*ms));
205 ms->op_code = MSCHAPV2_OP_FAILURE;
206 ms->mschapv2_id = data->resp_mschapv2_id;
207 WPA_PUT_BE16(ms->ms_length, ms_len);