/external/tcpdump/ |
H A D | print-vtp.c | 126 int type, len, tlv_len, tlv_value; local 272 tlv_len = *(tptr+1); 281 if (type == 0 || tlv_len == 0) { 285 if (!TTEST2(*tptr, tlv_len*2 +2)) 330 print_unknown_data(tptr, "\n\t\t ", 2 + tlv_len*2); 333 len -= 2 + tlv_len*2; 334 tptr += 2 + tlv_len*2;
|
H A D | print-ldp.c | 253 u_short tlv_type,tlv_len,tlv_tlen,af,ft_flags; local 260 tlv_len=EXTRACT_16BITS(ldp_tlv_header->length); 261 tlv_tlen=tlv_len; 270 tlv_len, 535 return(tlv_len+4); /* Type & Length fields not included */ 543 return(tlv_len+4); /* Type & Length fields not included */
|
H A D | print-slow.c | 344 u_int tlv_len, tlv_tlen; local 357 tlv_len = tlv_header->length; 364 tlv_len); 366 if ((tlv_len < sizeof(struct tlv_header_t) || 367 tlv_len > tlen) && 376 tlv_tlen=tlv_len-sizeof(struct tlv_header_t); 379 TCHECK2(*tptr, tlv_len); 423 if (tlv_len == 0) { 424 tlv_len = sizeof(tlv_ptr.lacp_marker_tlv_terminator->pad) + 428 printf(" (=%u)",tlv_len); [all...] |
H A D | print-juniper.c | 1087 juniper_read_tlv_value(const u_char *p, u_int tlv_type, u_int tlv_len) { argument 1093 switch (tlv_len) { 1112 switch (tlv_len) { 1138 u_int8_t tlv_type,tlv_len; local 1193 tlv_len = *(tptr++); 1197 if (tlv_type == 0 || tlv_len == 0) 1204 tlv_len); 1206 tlv_value = juniper_read_tlv_value(tptr, tlv_type, tlv_len); 1240 tptr+=tlv_len; 1241 jnx_ext_len -= tlv_len [all...] |
H A D | print-bgp.c | 960 int plen,tlen,strlen,tlv_type,tlv_len,ttlv_len; local 1004 tlv_len=EXTRACT_16BITS(pptr); 1005 ttlv_len=tlv_len; 1013 tlv_len); 1030 tlv_len); 1035 tlen-=(tlv_len<<3); /* the tlv-length is expressed in bits so lets shift it right */
|
H A D | print-lldp.c | 640 lldp_private_8021_print(const u_char *tptr, u_int tlv_len) argument 647 if (tlv_len < 4) { 658 if (tlv_len < 6) { 665 if (tlv_len < 7) { 674 if (tlv_len < 6) { 679 if (tlv_len < 7) { 683 if (tlv_len < 7+sublen) { 690 if (tlv_len < 5) { 694 if (tlv_len < 5+sublen) { 701 if(tlv_len<LLDP_PRIVATE_8021_SUBTYPE_CONGESTION_NOTIFICATION_LENGT 843 lldp_private_8023_print(const u_char *tptr, u_int tlv_len) argument 921 lldp_private_tia_print(const u_char *tptr, u_int tlv_len) argument 1108 u_int tlen, tlv_type, tlv_len; local 1372 u_int oui, tlen, hexdump, tlv_type, tlv_len; local [all...] |
H A D | print-isoclns.c | 2093 u_int8_t pdu_type, max_area, id_length, tlv_type, tlv_len, tmp, alen, lan_alen, prefix_len; local 2448 tlv_len = *pptr++; 2449 tmp =tlv_len; /* copy temporary len & pointer to packet data */ 2452 if (tlv_len > packet_len) { 2462 tlv_len); 2464 if (tlv_len == 0) /* something is malformed */ 2588 if (!isis_print_tlv_ip_reach(pptr, "\n\t ", tlv_len)) 2671 for(i=1;i<tlv_len;i++) { 2678 for(i=1;i<tlv_len;i++) { 2683 if (tlv_len ! [all...] |
/external/wpa_supplicant_8/hostapd/src/eap_peer/ |
H A D | eap_peap.c | 470 size_t left, tlv_len; local 485 tlv_len = WPA_GET_BE16(pos); 488 if (tlv_len > left) { 490 "(tlv_len=%lu left=%lu)", 491 (unsigned long) tlv_len, 498 result_tlv_len = tlv_len; 502 crypto_tlv_len = tlv_len; 519 pos += tlv_len; 520 left -= tlv_len;
|
H A D | eap_fast.c | 1399 size_t tlv_len, olen; local 1403 tlv_len = sizeof(*ehdr) + olen; 1404 tlv = os_malloc(tlv_len); 1414 tlv, tlv_len) < 0) {
|
H A D | tncc.c | 1172 u8 *tlv_len, *tlv_len2, *outer_len, *inner_len, *ssoh_len, *end; local 1188 tlv_len = wpabuf_put(buf, 2); /* Length */ 1273 WPA_PUT_BE16(tlv_len, end - tlv_len - 2);
|
/external/wpa_supplicant_8/src/eap_peer/ |
H A D | eap_peap.c | 470 size_t left, tlv_len; local 485 tlv_len = WPA_GET_BE16(pos); 488 if (tlv_len > left) { 490 "(tlv_len=%lu left=%lu)", 491 (unsigned long) tlv_len, 498 result_tlv_len = tlv_len; 502 crypto_tlv_len = tlv_len; 519 pos += tlv_len; 520 left -= tlv_len;
|
H A D | eap_fast.c | 1399 size_t tlv_len, olen; local 1403 tlv_len = sizeof(*ehdr) + olen; 1404 tlv = os_malloc(tlv_len); 1414 tlv, tlv_len) < 0) {
|
H A D | tncc.c | 1172 u8 *tlv_len, *tlv_len2, *outer_len, *inner_len, *ssoh_len, *end; local 1188 tlv_len = wpabuf_put(buf, 2); /* Length */ 1273 WPA_PUT_BE16(tlv_len, end - tlv_len - 2);
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/ |
H A D | eap_peap.c | 470 size_t left, tlv_len; local 485 tlv_len = WPA_GET_BE16(pos); 488 if (tlv_len > left) { 490 "(tlv_len=%lu left=%lu)", 491 (unsigned long) tlv_len, 498 result_tlv_len = tlv_len; 502 crypto_tlv_len = tlv_len; 519 pos += tlv_len; 520 left -= tlv_len;
|
H A D | eap_fast.c | 1399 size_t tlv_len, olen; local 1403 tlv_len = sizeof(*ehdr) + olen; 1404 tlv = os_malloc(tlv_len); 1414 tlv, tlv_len) < 0) {
|
H A D | tncc.c | 1172 u8 *tlv_len, *tlv_len2, *outer_len, *inner_len, *ssoh_len, *end; local 1188 tlv_len = wpabuf_put(buf, 2); /* Length */ 1273 WPA_PUT_BE16(tlv_len, end - tlv_len - 2);
|
/external/kernel-headers/original/uapi/linux/ |
H A D | tipc_config.h | 251 __be16 tlv_len; /* TLV length (descriptor + value) */ member in struct:tlv_desc 274 (ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space); 286 int tlv_len; local 288 tlv_len = TLV_LENGTH(len); 291 tlv_ptr->tlv_len = htons(tlv_len); 293 memcpy(TLV_DATA(tlv_ptr), data, tlv_len); local 331 __u16 tlv_space = TLV_ALIGN(ntohs(list->tlv_ptr->tlv_len));
|
/external/libnfc-nci/src/nfa/int/ |
H A D | nfa_dta_int.h | 111 UINT8 tlv_len; member in struct:__anon23323
|
/external/wpa_supplicant_8/hostapd/src/eap_server/ |
H A D | eap_server_peap.c | 619 int tlv_type, mandatory, tlv_len; local 633 tlv_len = ((int) pos[2] << 8) | pos[3]; 636 if ((size_t) tlv_len > left) { 638 "(tlv_len=%d left=%lu)", tlv_len, 646 result_tlv_len = tlv_len; 650 crypto_tlv_len = tlv_len; 664 pos += tlv_len; 665 left -= tlv_len; 737 int tlv_type, mandatory, tlv_len, vtlv_le local [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
H A D | eap_server_peap.c | 619 int tlv_type, mandatory, tlv_len; local 633 tlv_len = ((int) pos[2] << 8) | pos[3]; 636 if ((size_t) tlv_len > left) { 638 "(tlv_len=%d left=%lu)", tlv_len, 646 result_tlv_len = tlv_len; 650 crypto_tlv_len = tlv_len; 664 pos += tlv_len; 665 left -= tlv_len; 737 int tlv_type, mandatory, tlv_len, vtlv_le local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/ |
H A D | eap_server_peap.c | 619 int tlv_type, mandatory, tlv_len; local 633 tlv_len = ((int) pos[2] << 8) | pos[3]; 636 if ((size_t) tlv_len > left) { 638 "(tlv_len=%d left=%lu)", tlv_len, 646 result_tlv_len = tlv_len; 650 crypto_tlv_len = tlv_len; 664 pos += tlv_len; 665 left -= tlv_len; 737 int tlv_type, mandatory, tlv_len, vtlv_le local [all...] |