buffer_packet