Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/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_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_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.h105 int tlv_type, u8 *pos, size_t len);
/external/tcpdump/
Dprint-ospf.c187 u_int tlv_type, tlv_length; in ospf_print_grace_lsa() local
196 tlv_type = EXTRACT_16BITS(tptr); in ospf_print_grace_lsa()
202 tok2str(lsa_opaque_grace_tlv_values,"unknown",tlv_type), in ospf_print_grace_lsa()
203 tlv_type, in ospf_print_grace_lsa()
213 if (tlv_type == 0 || tlv_length ==0) { in ospf_print_grace_lsa()
218 switch(tlv_type) { in ospf_print_grace_lsa()
270 u_int tlv_type, tlv_length, subtlv_type, subtlv_length; in ospf_print_te_lsa() local
283 tlv_type = EXTRACT_16BITS(tptr); in ospf_print_te_lsa()
289 tok2str(lsa_opaque_te_tlv_values,"unknown",tlv_type), in ospf_print_te_lsa()
290 tlv_type, in ospf_print_te_lsa()
[all …]
Dprint-nsh.c61 uint8_t tlv_type; in nsh_print() local
130 tlv_type = *bp; in nsh_print()
136 tlv_class, tlv_type, tlv_len)); in nsh_print()
Dprint-ldp.c246 u_short tlv_type,tlv_len,tlv_tlen,af,ft_flags; in ldp_tlv_print() local
260 tlv_type=LDP_MASK_TLV_TYPE(EXTRACT_16BITS(ldp_tlv_header->type)); in ldp_tlv_print()
266 tlv_type), in ldp_tlv_print()
267 tlv_type, in ldp_tlv_print()
274 switch(tlv_type) { in ldp_tlv_print()
Dprint-lldp.c1156 u_int tlen, tlv_type, tlv_len; in lldp_private_dcbx_print() local
1181 tlv_type = LLDP_EXTRACT_TYPE(tlv); in lldp_private_dcbx_print()
1189 if (!tlv_type || !tlv_len) { in lldp_private_dcbx_print()
1199 switch (tlv_type) { in lldp_private_dcbx_print()
1425 u_int oui, tlen, hexdump, tlv_type, tlv_len; in lldp_print() local
1440 tlv_type = LLDP_EXTRACT_TYPE(tlv); in lldp_print()
1449 tok2str(lldp_tlv_values, "Unknown", tlv_type), in lldp_print()
1450 tlv_type, tlv_len)); in lldp_print()
1454 if (!tlv_type || !tlv_len) { in lldp_print()
1463 switch (tlv_type) { in lldp_print()
Dprint-juniper.c1132 juniper_read_tlv_value(const u_char *p, u_int tlv_type, u_int tlv_len) in juniper_read_tlv_value() argument
1137 if (tlv_type < 128) { in juniper_read_tlv_value()
1184 uint8_t tlv_type,tlv_len; in juniper_parse_header() local
1237 tlv_type = *(tptr++); in juniper_parse_header()
1242 if (tlv_type == 0 || tlv_len == 0) in juniper_parse_header()
1249 tok2str(jnx_ext_tlv_values,"Unknown",tlv_type), in juniper_parse_header()
1250 tlv_type, in juniper_parse_header()
1253 tlv_value = juniper_read_tlv_value(tptr, tlv_type, tlv_len); in juniper_parse_header()
1254 switch (tlv_type) { in juniper_parse_header()
Dprint-babel.c270 const u_char *cp, const u_char *ep, const uint8_t tlv_type) in subtlvs_print() argument
304 if(tlv_type != MESSAGE_UPDATE && in subtlvs_print()
305 tlv_type != MESSAGE_UPDATE_SRC_SPECIFIC) in subtlvs_print()
310 if(tlv_type == MESSAGE_HELLO) { in subtlvs_print()
315 } else if(tlv_type == MESSAGE_IHU) { in subtlvs_print()
Dprint-nflog.c124 if (tlv->tlv_type == NFULA_PAYLOAD) { in nflog_if_print()
Dprint-isoclns.c1976 const uint8_t *tptr, const char *ident, int tlv_type) in isis_print_ext_is_reach() argument
1988 if (tlv_type != ISIS_TLV_IS_ALIAS_ID) { /* the Alias TLV Metric field is implicit 0 */ in isis_print_ext_is_reach()
2188 uint8_t pdu_type, max_area, id_length, tlv_type, tlv_len, tmp, alen, lan_alen, prefix_len; in isis_print() local
2546 tlv_type = *pptr++; in isis_print()
2556 tlv_type), in isis_print()
2557 tlv_type, in isis_print()
2567 switch (tlv_type) { in isis_print()
2621 ext_is_len = isis_print_ext_is_reach(ndo, tptr, "\n\t ", tlv_type); in isis_print()
2632 ext_is_len = isis_print_ext_is_reach(ndo, tptr, "\n\t ", tlv_type); in isis_print()
2642 ext_is_len = isis_print_ext_is_reach(ndo, tptr, "\n\t ", tlv_type); in isis_print()
Dprint-bgp.c1028 int plen,tlen,stringlen,tlv_type,tlv_len,ttlv_len; in decode_labeled_vpn_l2() local
1070 tlv_type=*pptr++; in decode_labeled_vpn_l2()
1075 switch(tlv_type) { in decode_labeled_vpn_l2()
1079 tlv_type, in decode_labeled_vpn_l2()
1096 tlv_type, in decode_labeled_vpn_l2()
/external/kernel-headers/original/uapi/linux/
Dtipc_config.h250 __be16 tlv_type; /* TLV identifier */ member
278 (ntohs(((struct tlv_desc *)tlv)->tlv_type) == exp_type); in TLV_CHECK()
293 return (ntohs(tlv->tlv_type) == type); in TLV_CHECK_TYPE()
298 tlv->tlv_type = htons(type); in TLV_SET_TYPE()
308 tlv_ptr->tlv_type = htons(type); in TLV_SET()
/external/wpa_supplicant_8/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 …]
/external/wpa_supplicant_8/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()
/external/adhd/cros_alsa/src/
Dcontrol_tlv.rs118 pub fn new(tlv_type: u32, tlv_value: Vec<u32>) -> Self { in new()
120 data[Self::TYPE_OFFSET] = tlv_type; in new()
127 pub fn tlv_type(&self) -> u32 { in tlv_type() method
/external/libpcap/pcap/
Dnflog.h52 uint16_t tlv_type; /* tlv type */ member
/external/libpcap/
Dpcap-common.c1623 tlv->tlv_type = SWAPSHORT(tlv->tlv_type); in swap_nflog_header()