Searched refs:length_to_send (Results 1 – 1 of 1) sorted by relevance
141 …int length_to_send = (length_sent + (acl_size - 4) < total_length) ? (acl_size - 4) : (total_lengt… in manufacture_packet_and_then_reassemble() local142 BT_HDR *packet = (BT_HDR *)osi_malloc(length_to_send + 4 + sizeof(BT_HDR)); in manufacture_packet_and_then_reassemble()143 packet->len = length_to_send + 4; in manufacture_packet_and_then_reassemble()151 UINT16_TO_STREAM(packet_data, length_to_send); in manufacture_packet_and_then_reassemble()153 memcpy(packet_data, data, length_to_send - 2); in manufacture_packet_and_then_reassemble()156 UINT16_TO_STREAM(packet_data, length_to_send); in manufacture_packet_and_then_reassemble()157 memcpy(packet_data, data + length_sent - 2, length_to_send); in manufacture_packet_and_then_reassemble()160 length_sent += length_to_send; in manufacture_packet_and_then_reassemble()