Searched refs:totlen (Results 1 – 2 of 2) sorted by relevance
1413 int totlen; in bcm_parse_tlvs() local1416 totlen = buflen; in bcm_parse_tlvs()1419 while (totlen >= 2) { in bcm_parse_tlvs()1423 if ((elt->id == key) && (totlen >= (len + 2))) in bcm_parse_tlvs()1427 totlen -= (len + 2); in bcm_parse_tlvs()1443 int totlen; in bcm_parse_ordered_tlvs() local1446 totlen = buflen; in bcm_parse_ordered_tlvs()1449 while (totlen >= 2) { in bcm_parse_ordered_tlvs()1458 if ((id == key) && (totlen >= (len + 2))) in bcm_parse_ordered_tlvs()1462 totlen -= (len + 2); in bcm_parse_ordered_tlvs()
1522 int totlen; in bcm_parse_tlvs() local1525 totlen = buflen; in bcm_parse_tlvs()1528 while (totlen >= TLV_HDR_LEN) { in bcm_parse_tlvs()1533 (totlen >= (len + TLV_HDR_LEN))) in bcm_parse_tlvs()1537 totlen -= (len + TLV_HDR_LEN); in bcm_parse_tlvs()1553 int totlen; in bcm_parse_ordered_tlvs() local1556 totlen = buflen; in bcm_parse_ordered_tlvs()1559 while (totlen >= TLV_HDR_LEN) { in bcm_parse_ordered_tlvs()1569 (totlen >= (len + TLV_HDR_LEN))) in bcm_parse_ordered_tlvs()1573 totlen -= (len + TLV_HDR_LEN); in bcm_parse_ordered_tlvs()