Lines Matching refs:buflen
62 #define bcm_valid_tlv(elt, buflen) (\ argument
63 ((int)(buflen) >= (int)BCM_TLV_HDR_SIZE) && \
64 ((int)(buflen) >= (int)(BCM_TLV_HDR_SIZE + (elt)->len)))
88 bcm_tlv_t *bcm_next_tlv(const bcm_tlv_t *elt, uint *buflen);
91 void bcm_tlv_buffer_advance_to(const bcm_tlv_t *elt, const uint8 **buffer, uint *buflen);
94 void bcm_tlv_buffer_advance_past(const bcm_tlv_t *elt, const uint8 **buffer, uint *buflen);
97 bcm_tlv_t *bcm_parse_tlvs(const void *buf, uint buflen, uint key);
103 bcm_tlv_t *bcm_parse_tlvs_min_bodylen(const void *buf, int buflen, uint key, int min_bodylen);
106 bcm_tlv_t *bcm_parse_tlvs_dot11(const void *buf, int buflen, uint key, bool id_ext);
109 const bcm_tlv_t *bcm_parse_ordered_tlvs(const void *buf, int buflen, uint key);
247 int bcm_pack_xtlv_entry(uint8 **buf, uint16 *buflen, uint16 type, uint16 len,
276 int bcm_unpack_xtlv_buf(void *ctx, const uint8 *buf, uint16 buflen,
280 int bcm_unpack_xtlv_buf_to_mem(uint8 *buf, int *buflen, xtlv_desc_t *items,
284 int bcm_pack_xtlv_buf_from_mem(uint8 **buf, uint16 *buflen,
290 const uint8* bcm_get_data_from_xtlv_buf(const uint8 *tlv_buf, uint16 buflen,
303 int bcm_pack_xtlv_buf(void *ctx, uint8 *tlv_buf, uint16 buflen,