I recommend that you implement your protocol using OMNET++ (https://omnetpp.org/ & https://omnetpp.org/doc/omnetpp/manual/usman.html).
It supports all kinds of networks and routing protocols (Wired, Wireless, Mobile and Internet of Things). It's also well documented and easy to integrate with other libraries and simulators.
I recommend NS-2 or 3, because all types of data and documentations are available. It support all ad hoc, wired networks. GlomoSIM is difficult and hard to learn for new implememntation.