Searched refs:TLV_HDR_LEN (Results 1 – 2 of 2) sorted by relevance
1564 *buflen -= (TLV_HDR_LEN + len); in bcm_next_tlv()1588 while (totlen >= TLV_HDR_LEN) { in bcm_parse_tlvs()1593 (totlen >= (len + TLV_HDR_LEN))) in bcm_parse_tlvs()1596 elt = (bcm_tlv_t*)((uint8*)elt + (len + TLV_HDR_LEN)); in bcm_parse_tlvs()1597 totlen -= (len + TLV_HDR_LEN); in bcm_parse_tlvs()1619 while (totlen >= TLV_HDR_LEN) { in bcm_parse_ordered_tlvs()1629 (totlen >= (len + TLV_HDR_LEN))) in bcm_parse_ordered_tlvs()1632 elt = (bcm_tlv_t*)((uint8*)elt + (len + TLV_HDR_LEN)); in bcm_parse_ordered_tlvs()1633 totlen -= (len + TLV_HDR_LEN); in bcm_parse_ordered_tlvs()
1174 #define TLV_HDR_LEN 2 /* header length */ macro