Ping packet handler