Home
last modified time | relevance | path

Searched refs:tlv_type (Results 1 – 25 of 25) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
Deap_tlv_common.h43 be16 tlv_type; member
48 be16 tlv_type; member
55 be16 tlv_type; member
62 be16 tlv_type; member
70 be16 tlv_type; member
81 be16 tlv_type; member
90 be16 tlv_type; member
97 be16 tlv_type; /* PAC_TYPE_PAC_TYPE */ member
Deap_common.c215 u8 tlv_type, tlv_len; in erp_parse_tlvs() local
217 tlv_type = *pos++; in erp_parse_tlvs()
218 switch (tlv_type) { in erp_parse_tlvs()
246 if (tlv_type == EAP_ERP_TLV_KEYNAME_NAI) { in erp_parse_tlvs()
256 } else if (tlv_type == EAP_ERP_TLV_DOMAIN_NAME) { in erp_parse_tlvs()
263 if (tlv_type >= 128 && tlv_type <= 191) { in erp_parse_tlvs()
280 tlv_type); in erp_parse_tlvs()
Deap_teap_common.h50 be16 tlv_type; member
56 be16 tlv_type; member
63 be16 tlv_type; member
71 be16 tlv_type; /* TLV Type[14b] and M/R flags */ member
83 be16 tlv_type; member
97 be16 tlv_type; member
211 int tlv_type, u8 *pos, size_t len);
Deap_teap_common.c24 hdr.tlv_type = host_to_be16(type); in eap_teap_put_tlv_hdr()
418 int tlv_type, u8 *pos, size_t len) in eap_teap_parse_tlv() argument
420 switch (tlv_type) { in eap_teap_parse_tlv()
638 result->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_tlv_result()
Deap_fast_common.c149 int tlv_type, u8 *pos, size_t len) in eap_fast_parse_tlv() argument
151 switch (tlv_type) { in eap_fast_parse_tlv()
Deap_fast_common.h105 int tlv_type, u8 *pos, size_t len);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
Deap_tlv_common.h43 be16 tlv_type; member
48 be16 tlv_type; member
55 be16 tlv_type; member
62 be16 tlv_type; member
70 be16 tlv_type; member
81 be16 tlv_type; member
90 be16 tlv_type; member
97 be16 tlv_type; /* PAC_TYPE_PAC_TYPE */ member
Deap_common.c215 u8 tlv_type, tlv_len; in erp_parse_tlvs() local
217 tlv_type = *pos++; in erp_parse_tlvs()
218 switch (tlv_type) { in erp_parse_tlvs()
246 if (tlv_type == EAP_ERP_TLV_KEYNAME_NAI) { in erp_parse_tlvs()
256 } else if (tlv_type == EAP_ERP_TLV_DOMAIN_NAME) { in erp_parse_tlvs()
263 if (tlv_type >= 128 && tlv_type <= 191) { in erp_parse_tlvs()
280 tlv_type); in erp_parse_tlvs()
Deap_teap_common.h50 be16 tlv_type; member
56 be16 tlv_type; member
63 be16 tlv_type; member
71 be16 tlv_type; /* TLV Type[14b] and M/R flags */ member
83 be16 tlv_type; member
97 be16 tlv_type; member
221 int tlv_type, u8 *pos, size_t len);
Deap_teap_common.c27 hdr.tlv_type = host_to_be16(type); in eap_teap_put_tlv_hdr()
427 int tlv_type, u8 *pos, size_t len) in eap_teap_parse_tlv() argument
429 switch (tlv_type) { in eap_teap_parse_tlv()
667 result->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_tlv_result()
Deap_fast_common.c149 int tlv_type, u8 *pos, size_t len) in eap_fast_parse_tlv() argument
151 switch (tlv_type) { in eap_fast_parse_tlv()
Deap_fast_common.h105 int tlv_type, u8 *pos, size_t len);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_server_peap.c421 u16 tlv_type; in eap_peap_build_phase2_tlv() local
445 tlv_type = EAP_TLV_CRYPTO_BINDING_TLV; in eap_peap_build_phase2_tlv()
446 wpabuf_put_be16(buf, tlv_type); in eap_peap_build_phase2_tlv()
666 int tlv_type, mandatory, tlv_len; in eap_peap_process_phase2_tlv() local
678 tlv_type = pos[0] & 0x3f; in eap_peap_process_phase2_tlv()
679 tlv_type = (tlv_type << 8) | pos[1]; in eap_peap_process_phase2_tlv()
690 switch (tlv_type) { in eap_peap_process_phase2_tlv()
701 "%d%s", tlv_type, in eap_peap_process_phase2_tlv()
786 int tlv_type, mandatory, tlv_len, vtlv_len; in eap_peap_process_phase2_soh() local
801 tlv_type = pos[0] & 0x3f; in eap_peap_process_phase2_soh()
[all …]
Deap_server_fast.c618 result->tlv_type = host_to_be16( in eap_fast_build_crypto_binding()
630 result->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_build_crypto_binding()
638 binding->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_build_crypto_binding()
763 WPA_PUT_BE16((u8 *) &result->tlv_type, in eap_fast_build_pac()
771 pac_tlv->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_build_pac()
1134 int mandatory, tlv_type, res; in eap_fast_parse_tlvs() local
1144 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_fast_parse_tlvs()
1154 tlv_type, (unsigned int) len, in eap_fast_parse_tlvs()
1157 res = eap_fast_parse_tlv(tlv, tlv_type, pos, len); in eap_fast_parse_tlvs()
1163 "mandatory TLV type %d", tlv_type); in eap_fast_parse_tlvs()
[all …]
Deap_server_teap.c576 result->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_build_crypto_binding()
587 result->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_build_crypto_binding()
595 cb->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_build_crypto_binding()
735 WPA_PUT_BE16((u8 *) &result->tlv_type, in eap_teap_build_pac()
743 pac_tlv->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | TEAP_TLV_PAC); in eap_teap_build_pac()
1208 u16 tlv_type; in eap_teap_parse_tlvs() local
1219 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_teap_parse_tlvs()
1229 tlv_type, eap_teap_tlv_type_str(tlv_type), in eap_teap_parse_tlvs()
1233 res = eap_teap_parse_tlv(tlv, tlv_type, pos, len); in eap_teap_parse_tlvs()
1240 tlv_type); in eap_teap_parse_tlvs()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_peap.c435 u16 tlv_type; in eap_peap_build_phase2_tlv() local
459 tlv_type = EAP_TLV_CRYPTO_BINDING_TLV; in eap_peap_build_phase2_tlv()
460 wpabuf_put_be16(buf, tlv_type); in eap_peap_build_phase2_tlv()
697 int tlv_type, mandatory, tlv_len; in eap_peap_process_phase2_tlv() local
709 tlv_type = pos[0] & 0x3f; in eap_peap_process_phase2_tlv()
710 tlv_type = (tlv_type << 8) | pos[1]; in eap_peap_process_phase2_tlv()
721 switch (tlv_type) { in eap_peap_process_phase2_tlv()
732 "%d%s", tlv_type, in eap_peap_process_phase2_tlv()
817 int tlv_type, mandatory, tlv_len, vtlv_len; in eap_peap_process_phase2_soh() local
832 tlv_type = pos[0] & 0x3f; in eap_peap_process_phase2_soh()
[all …]
Deap_server_fast.c620 result->tlv_type = host_to_be16( in eap_fast_build_crypto_binding()
632 result->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_build_crypto_binding()
640 binding->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_build_crypto_binding()
765 WPA_PUT_BE16((u8 *) &result->tlv_type, in eap_fast_build_pac()
773 pac_tlv->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_build_pac()
1148 int mandatory, tlv_type, res; in eap_fast_parse_tlvs() local
1158 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_fast_parse_tlvs()
1168 tlv_type, (unsigned int) len, in eap_fast_parse_tlvs()
1171 res = eap_fast_parse_tlv(tlv, tlv_type, pos, len); in eap_fast_parse_tlvs()
1177 "mandatory TLV type %d", tlv_type); in eap_fast_parse_tlvs()
[all …]
Deap_server_teap.c638 result->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_build_crypto_binding()
649 result->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_build_crypto_binding()
657 cb->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_build_crypto_binding()
797 WPA_PUT_BE16((u8 *) &result->tlv_type, in eap_teap_build_pac()
805 pac_tlv->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | TEAP_TLV_PAC); in eap_teap_build_pac()
1333 u16 tlv_type; in eap_teap_parse_tlvs() local
1344 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_teap_parse_tlvs()
1354 tlv_type, eap_teap_tlv_type_str(tlv_type), in eap_teap_parse_tlvs()
1358 res = eap_teap_parse_tlv(tlv, tlv_type, pos, len); in eap_teap_parse_tlvs()
1365 tlv_type); in eap_teap_parse_tlvs()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_teap.c461 static struct wpabuf * eap_teap_tlv_nak(int vendor_id, int tlv_type) in eap_teap_tlv_nak() argument
468 vendor_id, tlv_type); in eap_teap_tlv_nak()
473 nak->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | TEAP_TLV_NAK); in eap_teap_tlv_nak()
476 nak->nak_type = host_to_be16(tlv_type); in eap_teap_tlv_nak()
493 ack->tlv_type = host_to_be16(TEAP_TLV_PAC | TEAP_TLV_MANDATORY); in eap_teap_tlv_pac_ack()
630 rbind->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_write_crypto_binding()
1099 u16 tlv_type; in eap_teap_parse_decrypted() local
1111 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_teap_parse_decrypted()
1121 tlv_type, eap_teap_tlv_type_str(tlv_type), in eap_teap_parse_decrypted()
1125 res = eap_teap_parse_tlv(tlv, tlv_type, pos, len); in eap_teap_parse_decrypted()
[all …]
Deap_fast.c498 static struct wpabuf * eap_fast_tlv_nak(int vendor_id, int tlv_type) in eap_fast_tlv_nak() argument
506 nak->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | EAP_TLV_NAK_TLV); in eap_fast_tlv_nak()
509 nak->nak_type = host_to_be16(tlv_type); in eap_fast_tlv_nak()
524 result->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_tlv_result()
546 ack->tlv_type = host_to_be16(EAP_TLV_PAC_TLV | in eap_fast_tlv_pac_ack()
625 rbind->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_write_crypto_binding()
736 act->tlv_type = host_to_be16(EAP_TLV_REQUEST_ACTION_TLV); in eap_fast_write_pac_request()
741 pac->tlv_type = host_to_be16(EAP_TLV_PAC_TLV); in eap_fast_write_pac_request()
745 type->tlv_type = host_to_be16(PAC_TYPE_PAC_TYPE); in eap_fast_write_pac_request()
1090 int mandatory, tlv_type, res; in eap_fast_parse_decrypted() local
[all …]
Deap_peap.c322 u16 tlv_type; in eap_tlv_add_cryptobinding() local
330 tlv_type = EAP_TLV_CRYPTO_BINDING_TLV; in eap_tlv_add_cryptobinding()
331 wpabuf_put_be16(buf, tlv_type); in eap_tlv_add_cryptobinding()
480 int tlv_type, mandatory; in eap_tlv_process() local
489 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_tlv_process()
501 switch (tlv_type) { in eap_tlv_process()
512 "%d%s", tlv_type, in eap_tlv_process()
518 tlv_type); in eap_tlv_process()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_teap.c494 static struct wpabuf * eap_teap_tlv_nak(int vendor_id, int tlv_type) in eap_teap_tlv_nak() argument
501 vendor_id, tlv_type); in eap_teap_tlv_nak()
506 nak->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | TEAP_TLV_NAK); in eap_teap_tlv_nak()
509 nak->nak_type = host_to_be16(tlv_type); in eap_teap_tlv_nak()
526 ack->tlv_type = host_to_be16(TEAP_TLV_PAC | TEAP_TLV_MANDATORY); in eap_teap_tlv_pac_ack()
683 rbind->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_write_crypto_binding()
1154 u16 tlv_type; in eap_teap_parse_decrypted() local
1166 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_teap_parse_decrypted()
1176 tlv_type, eap_teap_tlv_type_str(tlv_type), in eap_teap_parse_decrypted()
1180 res = eap_teap_parse_tlv(tlv, tlv_type, pos, len); in eap_teap_parse_decrypted()
[all …]
Deap_fast.c518 static struct wpabuf * eap_fast_tlv_nak(int vendor_id, int tlv_type) in eap_fast_tlv_nak() argument
526 nak->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | EAP_TLV_NAK_TLV); in eap_fast_tlv_nak()
529 nak->nak_type = host_to_be16(tlv_type); in eap_fast_tlv_nak()
544 result->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_tlv_result()
566 ack->tlv_type = host_to_be16(EAP_TLV_PAC_TLV | in eap_fast_tlv_pac_ack()
645 rbind->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_write_crypto_binding()
756 act->tlv_type = host_to_be16(EAP_TLV_REQUEST_ACTION_TLV); in eap_fast_write_pac_request()
761 pac->tlv_type = host_to_be16(EAP_TLV_PAC_TLV); in eap_fast_write_pac_request()
765 type->tlv_type = host_to_be16(PAC_TYPE_PAC_TYPE); in eap_fast_write_pac_request()
1110 int mandatory, tlv_type, res; in eap_fast_parse_decrypted() local
[all …]
Deap_peap.c322 u16 tlv_type; in eap_tlv_add_cryptobinding() local
330 tlv_type = EAP_TLV_CRYPTO_BINDING_TLV; in eap_tlv_add_cryptobinding()
331 wpabuf_put_be16(buf, tlv_type); in eap_tlv_add_cryptobinding()
480 int tlv_type, mandatory; in eap_tlv_process() local
489 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_tlv_process()
501 switch (tlv_type) { in eap_tlv_process()
512 "%d%s", tlv_type, in eap_tlv_process()
518 tlv_type); in eap_tlv_process()
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dgstrtpxqtdepay.c399 guint16 tlv_len, tlv_type; in gst_rtp_xqt_depay_process() local
410 tlv_type = (payload[2] << 8) | payload[3]; in gst_rtp_xqt_depay_process()
421 switch (tlv_type) { in gst_rtp_xqt_depay_process()
489 guint16 tlv_len, tlv_type; in gst_rtp_xqt_depay_process() local
500 tlv_type = (payload[2] << 8) | payload[3]; in gst_rtp_xqt_depay_process()
511 switch (tlv_type) { in gst_rtp_xqt_depay_process()