/external/wpa_supplicant_8/src/eap_common/ |
eap_common.c | 215 u8 tlv_type, tlv_len; local 241 tlv_len = *pos++; 242 if (tlv_len > (unsigned) (end - pos)) { 253 tlvs->keyname_len = tlv_len; 258 tlvs->domain_len = tlv_len; 260 pos += tlv_len; 270 tlv_len = *pos++; 271 if (tlv_len > (unsigned) (end - pos)) { 276 pos += tlv_len;
|
/external/tcpdump/ |
print-nsh.c | 62 uint8_t tlv_len; local 132 tlv_len = *bp; 136 tlv_class, tlv_type, tlv_len)); 140 if (length - 2 < n + tlv_len) { 145 for (vn = 0; vn < tlv_len; vn++) { 150 n += tlv_len;
|
print-vtp.c | 122 int type, len, tlv_len, tlv_value, mgmtd_len; local 291 tlv_len = *(tptr+1); 297 if (len < tlv_len * 2 + 2) { 301 ND_TCHECK2(*tptr, tlv_len * 2 +2); 307 if (tlv_len != 1) { 308 ND_PRINT((ndo, " (invalid TLV length %u != 1)", tlv_len)); 353 print_unknown_data(ndo, tptr, "\n\t\t ", 2 + tlv_len*2); 357 len -= 2 + tlv_len*2; 358 tptr += 2 + tlv_len*2;
|
print-ldp.c | 246 u_short tlv_type,tlv_len,tlv_tlen,af,ft_flags; local 254 tlv_len=EXTRACT_16BITS(ldp_tlv_header->length); 255 if (tlv_len + 4 > msg_tlen) { 259 tlv_tlen=tlv_len; 268 tlv_len, 414 return(tlv_len+4); /* Type & Length fields not included */ 534 return(tlv_len+4); /* Type & Length fields not included */ 542 return(tlv_len+4); /* Type & Length fields not included */
|
print-slow.c | 355 u_int tlv_len, tlv_tlen; local 371 tlv_len = tlv_header->length; 378 tlv_len)); 389 if (tlv_len < sizeof(struct tlv_header_t)) { 396 if (tlen < tlv_len) 399 ND_TCHECK2(*tptr, tlv_len); 402 tlv_tlen=tlv_len-sizeof(struct tlv_header_t); 473 tlv_len-sizeof(struct tlv_header_t)); 476 tptr+=tlv_len; 477 tlen-=tlv_len; [all...] |
print-juniper.c | 1184 uint8_t tlv_type,tlv_len; local [all...] |
print-bgp.c | 1028 int plen,tlen,stringlen,tlv_type,tlv_len,ttlv_len; local [all...] |
print-lldp.c | 649 const u_char *tptr, u_int tlv_len) 656 if (tlv_len < 4) { 667 if (tlv_len < 6) { 674 if (tlv_len < 7) { 683 if (tlv_len < 6) { 687 if (tlv_len < 7) { 691 if (tlv_len < 7+sublen) { 698 if (tlv_len < 5) { 702 if (tlv_len < 5+sublen) { 709 if(tlv_len<LLDP_PRIVATE_8021_SUBTYPE_CONGESTION_NOTIFICATION_LENGTH) 1156 u_int tlen, tlv_type, tlv_len; local 1425 u_int oui, tlen, hexdump, tlv_type, tlv_len; local [all...] |
print-isoclns.c | 2188 uint8_t pdu_type, max_area, id_length, tlv_type, tlv_len, tmp, alen, lan_alen, prefix_len; local [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_peap.c | 476 size_t left, tlv_len; local 491 tlv_len = WPA_GET_BE16(pos); 494 if (tlv_len > left) { 496 "(tlv_len=%lu left=%lu)", 497 (unsigned long) tlv_len, 504 result_tlv_len = tlv_len; 508 crypto_tlv_len = tlv_len; 525 pos += tlv_len; 526 left -= tlv_len; [all...] |
eap_fast.c | 1403 size_t tlv_len, olen; local [all...] |
tncc.c | 1173 u8 *tlv_len, *tlv_len2, *outer_len, *inner_len, *ssoh_len, *end; local 1189 tlv_len = wpabuf_put(buf, 2); /* Length */ 1274 WPA_PUT_BE16(tlv_len, end - tlv_len - 2);
|
/bionic/libc/kernel/uapi/linux/ |
tipc_config.h | 126 __be16 tlv_len; member in struct:tlv_desc
|
/external/kernel-headers/original/uapi/linux/ |
tipc_config.h | 249 __be16 tlv_len; /* TLV length (descriptor + value) */ member in struct:tlv_desc 272 (ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space); 283 return ntohs(tlv->tlv_len); 288 tlv->tlv_len = htons(len); 304 int tlv_len; local 306 tlv_len = TLV_LENGTH(len); 309 tlv_ptr->tlv_len = htons(tlv_len); 311 memcpy(TLV_DATA(tlv_ptr), data, tlv_len); local 349 __u16 tlv_space = TLV_ALIGN(ntohs(list->tlv_ptr->tlv_len)); [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_peap.c | 666 int tlv_type, mandatory, tlv_len; local 680 tlv_len = ((int) pos[2] << 8) | pos[3]; 683 if ((size_t) tlv_len > left) { 685 "(tlv_len=%d left=%lu)", tlv_len, 693 result_tlv_len = tlv_len; 697 crypto_tlv_len = tlv_len; 711 pos += tlv_len; 712 left -= tlv_len; 786 int tlv_type, mandatory, tlv_len, vtlv_len local [all...] |
/external/wpa_supplicant_8/src/ap/ |
wpa_auth_ft.c | 137 u16 type, size_t *tlv_len, const u8 **tlv_data) 160 *tlv_len = len; 306 size_t tlv_len = 0; local 313 tlv_len += sizeof(struct ft_rrb_tlv); 314 tlv_len += tlvs[i].len; 317 return tlv_len; 325 size_t tlv_len; local 332 tlv_len = 0; 335 if (tlv_len + sizeof(*hdr) > (size_t) (endpos - start)) 336 return tlv_len; 358 size_t tlv_len = 0; local 380 size_t tlv_len; local 437 size_t tlv_len; local [all...] |