/dragonfly/contrib/wpa_supplicant/src/eap_common/ |
H A D | eap_tlv_common.h | 43 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
|
H A D | eap_common.c | 215 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()
|
H A D | eap_teap_common.h | 50 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);
|
H A D | eap_teap_common.c | 24 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()
|
H A D | eap_fast_common.c | 149 int tlv_type, u8 *pos, size_t len) in eap_fast_parse_tlv() argument 151 switch (tlv_type) { in eap_fast_parse_tlv()
|
H A D | eap_fast_common.h | 105 int tlv_type, u8 *pos, size_t len);
|
/dragonfly/contrib/tcpdump/ |
H A D | print-ospf.c | 185 u_int tlv_type, tlv_length; in ospf_grace_lsa_print() local 194 tlv_type = GET_BE_U_2(tptr); in ospf_grace_lsa_print() 201 tlv_type, in ospf_grace_lsa_print() 211 if (tlv_type == 0 || tlv_length ==0) { in ospf_grace_lsa_print() 216 switch(tlv_type) { in ospf_grace_lsa_print() 281 tlv_type = GET_BE_U_2(tptr); in ospf_te_lsa_print() 288 tlv_type, in ospf_te_lsa_print() 298 if (tlv_type == 0 || tlv_length ==0) { in ospf_te_lsa_print() 302 switch(tlv_type) { in ospf_te_lsa_print() 819 tlv_type, in ospf_print_lsa() [all …]
|
H A D | print-slow.c | 349 u_int tlv_type, tlv_len, tlv_tlen; in slow_marker_lacp_print() local 364 tlv_type = GET_U_1(tlv_header->type); in slow_marker_lacp_print() 370 (proto_subtype << 8) + tlv_type), in slow_marker_lacp_print() 371 tlv_type, in slow_marker_lacp_print() 374 if (tlv_type == LACP_MARKER_TLV_TERMINATOR) { in slow_marker_lacp_print() 398 switch((proto_subtype << 8) + tlv_type) { in slow_marker_lacp_print()
|
H A D | print-nsh.c | 197 uint8_t tlv_type, tlv_len, tlv_len_padded; in nsh_print() local 201 tlv_type = GET_U_1(bp); in nsh_print() 208 tlv_class, tlv_type, tlv_len); in nsh_print()
|
H A D | print-ldp.c | 251 u_short tlv_type,tlv_len,tlv_tlen,af,ft_flags; in ldp_tlv_print() local 265 tlv_type=LDP_MASK_TLV_TYPE(GET_BE_U_2(ldp_tlv_header->type)); in ldp_tlv_print() 271 tlv_type), in ldp_tlv_print() 272 tlv_type, in ldp_tlv_print() 279 switch(tlv_type) { in ldp_tlv_print()
|
H A D | print-lldp.c | 1181 u_int tlen, tlv_type; in lldp_private_dcbx_print() local 1207 tlv_type = LLDP_EXTRACT_TYPE(tlv); in lldp_private_dcbx_print() 1215 if (!tlv_type || !tlv_len) { in lldp_private_dcbx_print() 1225 switch (tlv_type) { in lldp_private_dcbx_print() 1452 u_int oui, tlen, hexdump, tlv_type, tlv_len; in lldp_print() local 1468 tlv_type = LLDP_EXTRACT_TYPE(tlv); in lldp_print() 1477 tok2str(lldp_tlv_values, "Unknown", tlv_type), in lldp_print() 1478 tlv_type, tlv_len); in lldp_print() 1482 if (!tlv_type || !tlv_len) { in lldp_print() 1491 switch (tlv_type) { in lldp_print()
|
H A D | print-juniper.c | 1233 const u_char *p, u_int tlv_type, u_int tlv_len) in juniper_read_tlv_value() argument 1238 if (tlv_type < 128) { in juniper_read_tlv_value() 1285 uint8_t tlv_type,tlv_len; in juniper_parse_header() local 1338 tlv_type = GET_U_1(tptr); in juniper_parse_header() 1345 if (tlv_type == 0 || tlv_len == 0) in juniper_parse_header() 1352 tok2str(jnx_ext_tlv_values,"Unknown",tlv_type), in juniper_parse_header() 1353 tlv_type, in juniper_parse_header() 1356 tlv_value = juniper_read_tlv_value(ndo, tptr, tlv_type, tlv_len); in juniper_parse_header() 1357 switch (tlv_type) { in juniper_parse_header()
|
H A D | print-nflog.c | 62 nd_uint16_t tlv_type; /* tlv type */ member 185 if (GET_HE_U_2(tlv->tlv_type) == NFULA_PAYLOAD) { in nflog_if_print()
|
H A D | print-babel.c | 300 const u_char *cp, const u_char *ep, const uint8_t tlv_type) in subtlvs_print() argument 341 if(tlv_type != MESSAGE_UPDATE && in subtlvs_print() 342 tlv_type != MESSAGE_UPDATE_SRC_SPECIFIC) in subtlvs_print() 347 if(tlv_type == MESSAGE_HELLO) { in subtlvs_print() 352 } else if(tlv_type == MESSAGE_IHU) { in subtlvs_print()
|
H A D | print-isoclns.c | 1951 const uint8_t *tptr, const char *ident, u_int tlv_type, in isis_print_ext_is_reach() argument 1972 if (tlv_type != ISIS_TLV_IS_ALIAS_ID) { /* the Alias TLV Metric field is implicit 0 */ in isis_print_ext_is_reach() 2492 …uint8_t pdu_type, pdu_max_area, max_area, pdu_id_length, id_length, tlv_type, tlv_len, tlen, alen,… in isis_print() local 2861 tlv_type = GET_U_1(pptr); in isis_print() 2872 tlv_type), in isis_print() 2873 tlv_type, in isis_print() 2880 switch (tlv_type) { in isis_print() 2935 ext_is_len = isis_print_ext_is_reach(ndo, tptr, "\n\t ", tlv_type, tlen); in isis_print() 2950 ext_is_len = isis_print_ext_is_reach(ndo, tptr, "\n\t ", tlv_type, tlen); in isis_print() 2965 ext_is_len = isis_print_ext_is_reach(ndo, tptr, "\n\t ", tlv_type, tlen); in isis_print()
|
H A D | print-bgp.c | 1258 u_int plen, tlen, tlv_type, tlv_len, ttlv_len; in decode_labeled_vpn_l2() local 1303 tlv_type = GET_U_1(pptr); in decode_labeled_vpn_l2() 1309 switch(tlv_type) { in decode_labeled_vpn_l2() 1313 tlv_type, in decode_labeled_vpn_l2() 1339 tlv_type, in decode_labeled_vpn_l2()
|
/dragonfly/contrib/wpa_supplicant/src/eap_server/ |
H A D | eap_server_peap.c | 421 u16 tlv_type; in eap_peap_build_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() 801 tlv_type = pos[0] & 0x3f; in eap_peap_process_phase2_soh() 802 tlv_type = (tlv_type << 8) | pos[1]; in eap_peap_process_phase2_soh() 813 switch (tlv_type) { in eap_peap_process_phase2_soh() 835 tlv_type = (tlv_type << 8) | vpos[1]; in eap_peap_process_phase2_soh() 845 if (tlv_type == 1) { in eap_peap_process_phase2_soh() [all …]
|
H A D | eap_server_fast.c | 618 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 …]
|
H A D | eap_server_teap.c | 576 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 …]
|
/dragonfly/contrib/wpa_supplicant/src/eap_peer/ |
H A D | eap_teap.c | 468 vendor_id, tlv_type); in eap_teap_tlv_nak() 1099 u16 tlv_type; in eap_teap_parse_decrypted() local 1121 tlv_type, eap_teap_tlv_type_str(tlv_type), in eap_teap_parse_decrypted() 1132 tlv_type); in eap_teap_parse_decrypted() 1139 tlv_type); in eap_teap_parse_decrypted() 1577 u16 tlv_type, tlv_len; in eap_teap_process_start() local 1584 tlv_type = WPA_GET_BE16(outer_pos); in eap_teap_process_start() 1590 tlv_type &= TEAP_TLV_TYPE_MASK; in eap_teap_process_start() 1593 tlv_type, tlv_len); in eap_teap_process_start() 1597 tlv_type); in eap_teap_process_start() [all …]
|
H A D | eap_fast.c | 509 nak->nak_type = host_to_be16(tlv_type); in eap_fast_tlv_nak() 546 ack->tlv_type = host_to_be16(EAP_TLV_PAC_TLV | in eap_fast_tlv_pac_ack() 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 1101 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_fast_parse_decrypted() 1111 tlv_type, (unsigned int) len, in eap_fast_parse_decrypted() 1114 res = eap_fast_parse_tlv(tlv, tlv_type, pos, len); in eap_fast_parse_decrypted() 1120 "mandatory TLV type %d", tlv_type); in eap_fast_parse_decrypted() 1121 *resp = eap_fast_tlv_nak(0, tlv_type); in eap_fast_parse_decrypted() [all …]
|
H A D | eap_peap.c | 322 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()
|
/dragonfly/sys/net/lagg/ |
H A D | ieee8023ad_lacp.h | 100 uint8_t tlv_type; member 111 (tlv)->tlv_type = (type); \
|
/dragonfly/contrib/libpcap/pcap/ |
H A D | nflog.h | 52 uint16_t tlv_type; /* tlv type */ member
|
/dragonfly/contrib/libpcap/ |
H A D | pcap-common.c | 1623 tlv->tlv_type = SWAPSHORT(tlv->tlv_type); in swap_nflog_header()
|