Lines Matching refs:packet_data
78 uint8_t *packet_data = packet->data; in manufacture_packet_for_fragmentation() local
81 UINT16_TO_STREAM(packet_data, test_handle_start); in manufacture_packet_for_fragmentation()
82 UINT16_TO_STREAM(packet_data, data_length); in manufacture_packet_for_fragmentation()
85 memcpy(packet_data, data, data_length); in manufacture_packet_for_fragmentation()
148 uint8_t *packet_data = packet->data; in manufacture_packet_and_then_reassemble() local
150 UINT16_TO_STREAM(packet_data, test_handle_start); in manufacture_packet_and_then_reassemble()
151 UINT16_TO_STREAM(packet_data, length_to_send); in manufacture_packet_and_then_reassemble()
152 UINT16_TO_STREAM(packet_data, l2cap_length); in manufacture_packet_and_then_reassemble()
153 memcpy(packet_data, data, length_to_send - 2); in manufacture_packet_and_then_reassemble()
155 UINT16_TO_STREAM(packet_data, test_handle_continuation); 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()