Can anyone help with a guide in implementing a new routing protocol algorithm in NS2. I am currently working on optimizing the routing performance using CARP, however exploring the codebase of available routing protocols in NS2 is not explanatory enough in developing a routing protocol.