Home
last modified time | relevance | path

Searched refs:tlv_type (Results 1 – 20 of 20) 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_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);
/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-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-nflog.c124 if (tlv->tlv_type == NFULA_PAYLOAD) { in nflog_if_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/wpa_supplicant_8/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 …]
/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_peer/
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()
/external/libpcap/pcap/
Dnflog.h52 uint16_t tlv_type; /* tlv type */ member
/external/libpcap/
Dpcap-common.c1485 tlv->tlv_type = SWAPSHORT(tlv->tlv_type); in swap_nflog_header()