Lines Matching refs:wpabuf_len
378 msg->hdr->length = host_to_be16(wpabuf_len(msg->buf)); in radius_msg_finish()
380 wpabuf_len(msg->buf), (u8 *) (attr + 1)); in radius_msg_finish()
382 msg->hdr->length = host_to_be16(wpabuf_len(msg->buf)); in radius_msg_finish()
384 if (wpabuf_len(msg->buf) > 0xffff) { in radius_msg_finish()
386 (unsigned long) wpabuf_len(msg->buf)); in radius_msg_finish()
408 msg->hdr->length = host_to_be16(wpabuf_len(msg->buf)); in radius_msg_finish_srv()
412 wpabuf_len(msg->buf), (u8 *) (attr + 1)); in radius_msg_finish_srv()
420 len[2] = wpabuf_len(msg->buf) - sizeof(struct radius_hdr); in radius_msg_finish_srv()
425 if (wpabuf_len(msg->buf) > 0xffff) { in radius_msg_finish_srv()
427 (unsigned long) wpabuf_len(msg->buf)); in radius_msg_finish_srv()
451 msg->hdr->length = host_to_be16(wpabuf_len(msg->buf)); in radius_msg_finish_das_resp()
454 wpabuf_len(msg->buf), (u8 *) (attr + 1)); in radius_msg_finish_das_resp()
458 len[0] = wpabuf_len(msg->buf); in radius_msg_finish_das_resp()
464 if (wpabuf_len(msg->buf) > 0xffff) { in radius_msg_finish_das_resp()
466 (unsigned long) wpabuf_len(msg->buf)); in radius_msg_finish_das_resp()
479 msg->hdr->length = host_to_be16(wpabuf_len(msg->buf)); in radius_msg_finish_acct()
482 len[0] = wpabuf_len(msg->buf); in radius_msg_finish_acct()
487 if (wpabuf_len(msg->buf) > 0xffff) { in radius_msg_finish_acct()
489 (unsigned long) wpabuf_len(msg->buf)); in radius_msg_finish_acct()
500 msg->hdr->length = host_to_be16(wpabuf_len(msg->buf)); in radius_msg_finish_acct_resp()
503 len[0] = wpabuf_len(msg->buf); in radius_msg_finish_acct_resp()
508 if (wpabuf_len(msg->buf) > 0xffff) { in radius_msg_finish_acct_resp()
510 (unsigned long) wpabuf_len(msg->buf)); in radius_msg_finish_acct_resp()
529 len[2] = wpabuf_len(msg->buf) - sizeof(struct radius_hdr); in radius_msg_verify_acct_req()
556 len[2] = wpabuf_len(msg->buf) - sizeof(struct radius_hdr); in radius_msg_verify_das_req()
588 wpabuf_len(msg->buf), auth); in radius_msg_verify_das_req()
699 end = wpabuf_mhead_u8(msg->buf) + wpabuf_len(msg->buf); in radius_msg_parse()
819 wpabuf_len(msg->buf), auth); in radius_msg_verify_msg_auth()
859 len[2] = wpabuf_len(msg->buf) - sizeof(struct radius_hdr); in radius_msg_verify()