Searched refs:hdr_len (Results 1 – 3 of 3) sorted by relevance
532 UINT8 hdr_len; in avct_lcb_send_msg() local561 hdr_len = avct_lcb_pkt_type_len[pkt_type]; in avct_lcb_send_msg()564 if (p_data->ul_msg.p_buf->len > (p_lcb->peer_mtu - hdr_len)) in avct_lcb_send_msg()570 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len; in avct_lcb_send_msg()571 p_buf->len = p_lcb->peer_mtu - hdr_len; in avct_lcb_send_msg()587 p_buf->len += hdr_len; in avct_lcb_send_msg()588 p_buf->offset -= hdr_len; in avct_lcb_send_msg()
1202 UINT8 hdr_len; in avdt_msg_send() local1235 hdr_len = AVDT_LEN_TYPE_SINGLE; in avdt_msg_send()1243 hdr_len = AVDT_LEN_TYPE_START; in avdt_msg_send()1251 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len; in avdt_msg_send()1252 p_buf->len = p_tbl->peer_mtu - hdr_len; in avdt_msg_send()1261 hdr_len = AVDT_LEN_TYPE_CONT; in avdt_msg_send()1267 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len; in avdt_msg_send()1268 p_buf->len = p_tbl->peer_mtu - hdr_len; in avdt_msg_send()1276 hdr_len = AVDT_LEN_TYPE_END; in avdt_msg_send()1326 p_buf->len += hdr_len; in avdt_msg_send()[all …]
41 static UINT8 *bnepu_init_hdr (BT_HDR *p_buf, UINT16 hdr_len, UINT8 pkt_type);528 static UINT8 *bnepu_init_hdr (BT_HDR *p_buf, UINT16 hdr_len, UINT8 pkt_type) in bnepu_init_hdr() argument533 if (p_buf->offset < (hdr_len + L2CAP_MIN_OFFSET)) in bnepu_init_hdr()544 p_buf->len += hdr_len; in bnepu_init_hdr()545 p_buf->offset -= hdr_len; in bnepu_init_hdr()546 p -= hdr_len; in bnepu_init_hdr()