Lines Matching refs:host_to_be16
527 nak->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | EAP_TLV_NAK_TLV); in eap_fast_tlv_nak()
528 nak->length = host_to_be16(6); in eap_fast_tlv_nak()
530 nak->nak_type = host_to_be16(tlv_type); in eap_fast_tlv_nak()
545 result->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_tlv_result()
549 result->length = host_to_be16(2); in eap_fast_tlv_result()
550 result->status = host_to_be16(status); in eap_fast_tlv_result()
567 ack->tlv_type = host_to_be16(EAP_TLV_PAC_TLV | in eap_fast_tlv_pac_ack()
569 ack->length = host_to_be16(sizeof(*ack) - sizeof(struct eap_tlv_hdr)); in eap_fast_tlv_pac_ack()
570 ack->pac_type = host_to_be16(PAC_TYPE_PAC_ACKNOWLEDGEMENT); in eap_fast_tlv_pac_ack()
571 ack->pac_len = host_to_be16(2); in eap_fast_tlv_pac_ack()
572 ack->result = host_to_be16(EAP_TLV_RESULT_SUCCESS); in eap_fast_tlv_pac_ack()
646 rbind->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_write_crypto_binding()
648 rbind->length = host_to_be16(sizeof(*rbind) - in eap_fast_write_crypto_binding()
746 act->tlv_type = host_to_be16(EAP_TLV_REQUEST_ACTION_TLV); in eap_fast_write_pac_request()
747 act->length = host_to_be16(2); in eap_fast_write_pac_request()
748 act->action = host_to_be16(EAP_TLV_ACTION_PROCESS_TLV); in eap_fast_write_pac_request()
751 pac->tlv_type = host_to_be16(EAP_TLV_PAC_TLV); in eap_fast_write_pac_request()
752 pac->length = host_to_be16(sizeof(*type)); in eap_fast_write_pac_request()
755 type->tlv_type = host_to_be16(PAC_TYPE_PAC_TYPE); in eap_fast_write_pac_request()
756 type->length = host_to_be16(2); in eap_fast_write_pac_request()
757 type->pac_type = host_to_be16(pac_type); in eap_fast_write_pac_request()
1421 ehdr->tlv_type = host_to_be16(PAC_TYPE_PAC_OPAQUE); in eap_fast_use_pac_opaque()
1422 ehdr->length = host_to_be16(olen); in eap_fast_use_pac_opaque()