Searched refs:included_length (Results 1 – 2 of 2) sorted by relevance
50 size_t included_length = btsnoop_calculate_packet_length(type, data, length); in btsnoop_cb() local51 if (included_length == 0) return; in btsnoop_cb()58 (included_length + sizeof(btsnooz_header_t))) { in btsnoop_cb()65 header.length = included_length + 1; // +1 for type byte in btsnoop_cb()72 ringbuffer_insert(buffer, data, included_length); in btsnoop_cb()
122 size_t included_length = 0; in get_btsnooz_packet_length_to_write() local126 included_length = packet.size(); in get_btsnooz_packet_length_to_write()147 included_length = std::min(len_hci_acl, packet.size()); in get_btsnooz_packet_length_to_write()157 return std::min(included_length, kDefaultBtSnoozMaxPayloadBytesPerPacket); in get_btsnooz_packet_length_to_write()286 size_t included_length = get_btsnooz_packet_length_to_write(packet, type); in Capture() local287 header.length_captured = htonl(included_length + /* type byte */ 1); in Capture()291 if (!ss.write(reinterpret_cast<const char*>(packet.data()), included_length)) { in Capture()