Home
last modified time | relevance | path

Searched refs:elt (Results 1 – 2 of 2) sorted by relevance

/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c1553 bcm_next_tlv(bcm_tlv_t *elt, int *buflen) in bcm_next_tlv() argument
1558 if (!bcm_valid_tlv(elt, *buflen)) in bcm_next_tlv()
1562 len = elt->len; in bcm_next_tlv()
1563 elt = (bcm_tlv_t*)(elt->data + len); in bcm_next_tlv()
1567 if (!bcm_valid_tlv(elt, *buflen)) in bcm_next_tlv()
1570 return elt; in bcm_next_tlv()
1581 bcm_tlv_t *elt; in bcm_parse_tlvs() local
1584 elt = (bcm_tlv_t*)buf; in bcm_parse_tlvs()
1589 int len = elt->len; in bcm_parse_tlvs()
1592 if ((elt->id == key) && in bcm_parse_tlvs()
[all …]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmutils.h754 #define bcm_valid_tlv(elt, buflen) ((buflen) >= 2 && (int)(buflen) >= (int)(2 + (elt)->len)) argument
810 extern bcm_tlv_t *bcm_next_tlv(bcm_tlv_t *elt, int *buflen);