implement hydra_get_next_packettype()