de-globalized dump_packet_data