Home
last modified time | relevance | path

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

12

/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.c150 int tlv_type, u8 *pos, size_t len) in eap_fast_parse_tlv() argument
152 switch (tlv_type) { in eap_fast_parse_tlv()
Deap_fast_common.h105 int tlv_type, u8 *pos, size_t len);
/external/tcpdump/
Dprint-ospf.c186 u_int tlv_type, tlv_length; in ospf_print_grace_lsa() local
195 tlv_type = EXTRACT_16BITS(tptr); in ospf_print_grace_lsa()
201 tok2str(lsa_opaque_grace_tlv_values,"unknown",tlv_type), in ospf_print_grace_lsa()
202 tlv_type, in ospf_print_grace_lsa()
212 if (tlv_type == 0 || tlv_length ==0) { in ospf_print_grace_lsa()
217 switch(tlv_type) { in ospf_print_grace_lsa()
269 u_int tlv_type, tlv_length, subtlv_type, subtlv_length; in ospf_print_te_lsa() local
282 tlv_type = EXTRACT_16BITS(tptr); in ospf_print_te_lsa()
288 tok2str(lsa_opaque_te_tlv_values,"unknown",tlv_type), in ospf_print_te_lsa()
289 tlv_type, in ospf_print_te_lsa()
[all …]
Dprint-ldp.c245 u_short tlv_type,tlv_len,tlv_tlen,af,ft_flags; in ldp_tlv_print() local
259 tlv_type=LDP_MASK_TLV_TYPE(EXTRACT_16BITS(ldp_tlv_header->type)); in ldp_tlv_print()
265 tlv_type), in ldp_tlv_print()
266 tlv_type, in ldp_tlv_print()
273 switch(tlv_type) { in ldp_tlv_print()
Dprint-lldp.c1111 u_int tlen, tlv_type, tlv_len; in lldp_private_dcbx_print() local
1136 tlv_type = LLDP_EXTRACT_TYPE(tlv); in lldp_private_dcbx_print()
1144 if (!tlv_type || !tlv_len) { in lldp_private_dcbx_print()
1154 switch (tlv_type) { in lldp_private_dcbx_print()
1380 u_int oui, tlen, hexdump, tlv_type, tlv_len; in lldp_print() local
1395 tlv_type = LLDP_EXTRACT_TYPE(tlv); in lldp_print()
1404 tok2str(lldp_tlv_values, "Unknown", tlv_type), in lldp_print()
1405 tlv_type, tlv_len)); in lldp_print()
1409 if (!tlv_type || !tlv_len) { in lldp_print()
1418 switch (tlv_type) { in lldp_print()
Dprint-juniper.c1094 juniper_read_tlv_value(const u_char *p, u_int tlv_type, u_int tlv_len) in juniper_read_tlv_value() argument
1099 if (tlv_type < 128) { in juniper_read_tlv_value()
1146 uint8_t tlv_type,tlv_len; in juniper_parse_header() local
1199 tlv_type = *(tptr++); in juniper_parse_header()
1204 if (tlv_type == 0 || tlv_len == 0) in juniper_parse_header()
1209 tok2str(jnx_ext_tlv_values,"Unknown",tlv_type), in juniper_parse_header()
1210 tlv_type, in juniper_parse_header()
1213 tlv_value = juniper_read_tlv_value(tptr, tlv_type, tlv_len); in juniper_parse_header()
1214 switch (tlv_type) { in juniper_parse_header()
Dprint-babel.c274 const u_char *cp, const u_char *ep, const uint8_t tlv_type) in subtlvs_print() argument
308 if(tlv_type != MESSAGE_UPDATE) in subtlvs_print()
313 if(tlv_type == MESSAGE_HELLO) { in subtlvs_print()
318 } else if(tlv_type == MESSAGE_IHU) { in subtlvs_print()
Dprint-isoclns.c1871 const uint8_t *tptr, const char *ident, int tlv_type) in isis_print_ext_is_reach() argument
1883 if (tlv_type != ISIS_TLV_IS_ALIAS_ID) { /* the Alias TLV Metric field is implicit 0 */ in isis_print_ext_is_reach()
2081 uint8_t pdu_type, max_area, id_length, tlv_type, tlv_len, tmp, alen, lan_alen, prefix_len; in isis_print() local
2435 tlv_type = *pptr++; in isis_print()
2448 tlv_type), in isis_print()
2449 tlv_type, in isis_print()
2456 switch (tlv_type) { in isis_print()
2513 ext_is_len = isis_print_ext_is_reach(ndo, tptr, "\n\t ", tlv_type); in isis_print()
2524 ext_is_len = isis_print_ext_is_reach(ndo, tptr, "\n\t ", tlv_type); in isis_print()
2534 ext_is_len = isis_print_ext_is_reach(ndo, tptr, "\n\t ", tlv_type); in isis_print()
Dprint-nflog.c123 if (tlv->tlv_type == NFULA_PAYLOAD) { in nflog_if_print()
Dprint-bgp.c968 int plen,tlen,strlen,tlv_type,tlv_len,ttlv_len; in decode_labeled_vpn_l2() local
1011 tlv_type=*pptr++; in decode_labeled_vpn_l2()
1016 switch(tlv_type) { in decode_labeled_vpn_l2()
1020 tlv_type, in decode_labeled_vpn_l2()
1037 tlv_type, in decode_labeled_vpn_l2()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_peap.c417 u16 tlv_type; in eap_peap_build_phase2_tlv() local
441 tlv_type = EAP_TLV_CRYPTO_BINDING_TLV; in eap_peap_build_phase2_tlv()
442 wpabuf_put_be16(buf, tlv_type); in eap_peap_build_phase2_tlv()
662 int tlv_type, mandatory, tlv_len; in eap_peap_process_phase2_tlv() local
674 tlv_type = pos[0] & 0x3f; in eap_peap_process_phase2_tlv()
675 tlv_type = (tlv_type << 8) | pos[1]; in eap_peap_process_phase2_tlv()
686 switch (tlv_type) { in eap_peap_process_phase2_tlv()
697 "%d%s", tlv_type, in eap_peap_process_phase2_tlv()
782 int tlv_type, mandatory, tlv_len, vtlv_len; in eap_peap_process_phase2_soh() local
797 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()
1136 int mandatory, tlv_type, res; in eap_fast_parse_tlvs() local
1146 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_fast_parse_tlvs()
1156 tlv_type, (unsigned int) len, in eap_fast_parse_tlvs()
1159 res = eap_fast_parse_tlv(tlv, tlv_type, pos, len); in eap_fast_parse_tlvs()
1165 "mandatory TLV type %d", tlv_type); in eap_fast_parse_tlvs()
[all …]
/external/kernel-headers/original/uapi/linux/
Dtipc_config.h244 __be16 tlv_type; /* TLV identifier */ member
272 (ntohs(((struct tlv_desc *)tlv)->tlv_type) == exp_type); in TLV_CHECK()
287 return (ntohs(tlv->tlv_type) == type); in TLV_CHECK_TYPE()
292 tlv->tlv_type = htons(type); in TLV_SET_TYPE()
302 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()
735 act->tlv_type = host_to_be16(EAP_TLV_REQUEST_ACTION_TLV); in eap_fast_write_pac_request()
740 pac->tlv_type = host_to_be16(EAP_TLV_PAC_TLV); in eap_fast_write_pac_request()
744 type->tlv_type = host_to_be16(PAC_TYPE_PAC_TYPE); in eap_fast_write_pac_request()
1089 int mandatory, tlv_type, res; in eap_fast_parse_decrypted() local
[all …]
Deap_peap.c319 u16 tlv_type; in eap_tlv_add_cryptobinding() local
327 tlv_type = EAP_TLV_CRYPTO_BINDING_TLV; in eap_tlv_add_cryptobinding()
328 wpabuf_put_be16(buf, tlv_type); in eap_tlv_add_cryptobinding()
477 int tlv_type, mandatory; in eap_tlv_process() local
486 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_tlv_process()
498 switch (tlv_type) { in eap_tlv_process()
509 "%d%s", tlv_type, in eap_tlv_process()
515 tlv_type); in eap_tlv_process()
/external/libpcap/pcap/
Dnflog.h50 u_int16_t tlv_type; /* tlv type */ member
/external/libnfc-nci/src/nfc/tags/
Drw_t2t_ndef.c2847 tNFC_STATUS RW_T2tLocateTlv (UINT8 tlv_type) in RW_T2tLocateTlv() argument
2859 …if ((tlv_type != TAG_LOCK_CTRL_TLV) && (tlv_type != TAG_MEM_CTRL_TLV) && (tlv_type != TAG_NDEF_TLV… in RW_T2tLocateTlv()
2861 RW_TRACE_API1 ("RW_T2tLocateTlv - Cannot search TLV: 0x%02x", tlv_type); in RW_T2tLocateTlv()
2865 if ( (tlv_type == TAG_LOCK_CTRL_TLV) in RW_T2tLocateTlv()
2874 if ( (tlv_type == TAG_NDEF_TLV) in RW_T2tLocateTlv()
2884 p_t2t->tlv_detect = tlv_type; in RW_T2tLocateTlv()
2887 if (tlv_type == TAG_LOCK_CTRL_TLV) in RW_T2tLocateTlv()
2892 else if (tlv_type == TAG_MEM_CTRL_TLV) in RW_T2tLocateTlv()
2896 else if (tlv_type == TAG_NDEF_TLV) in RW_T2tLocateTlv()
Drw_i93.c1667 p_i93->tlv_type = *(p + xx); in rw_i93_sm_detect_ndef()
1675 p_i93->tlv_type = I93_ICODE_TLV_TYPE_TERM; in rw_i93_sm_detect_ndef()
1698 if (p_i93->tlv_type == I93_ICODE_TLV_TYPE_NDEF) in rw_i93_sm_detect_ndef()
1717 if (p_i93->tlv_type == I93_ICODE_TLV_TYPE_NDEF) in rw_i93_sm_detect_ndef()
1742 if ( (p_i93->tlv_type == I93_ICODE_TLV_TYPE_NDEF) in rw_i93_sm_detect_ndef()
3895 if ( (rw_cb.tcb.i93.tlv_type == I93_ICODE_TLV_TYPE_NDEF) in RW_I93ReadNDef()
3948 if (rw_cb.tcb.i93.tlv_type == I93_ICODE_TLV_TYPE_NDEF) in RW_I93UpdateNDef()
4067 if (rw_cb.tcb.i93.tlv_type == I93_ICODE_TLV_TYPE_NDEF) in RW_I93SetTagReadOnly()
/external/libnfc-nci/src/nfa/rw/
Dnfa_rw_api.c330 tNFA_STATUS NFA_RwLocateTlv (UINT8 tlv_type) in NFA_RwLocateTlv() argument
340 if (tlv_type == TAG_LOCK_CTRL_TLV) in NFA_RwLocateTlv()
344 else if (tlv_type == TAG_MEM_CTRL_TLV) in NFA_RwLocateTlv()
348 else if (tlv_type == TAG_NDEF_TLV) in NFA_RwLocateTlv()
/external/libpcap/
Dpcap-common.c1337 tlv->tlv_type = SWAPSHORT(tlv->tlv_type); in swap_nflog_header()
/external/libnfc-nci/src/nfc/include/
Drw_api.h375 NFC_API extern tNFC_STATUS RW_T1tLocateTlv (UINT8 tlv_type);
476 NFC_API extern tNFC_STATUS RW_T2tLocateTlv(UINT8 tlv_type);
/external/libnfc-nci/src/nfa/include/
Dnfa_rw_api.h215 NFC_API extern tNFA_STATUS NFA_RwLocateTlv (UINT8 tlv_type);
/external/libnfc-nci/src/nfc/int/
Drw_int.h544 UINT8 tlv_type; /* currently detected type */ member

12