Welcome to LQ.
You can read some LQ threads about the protocols / c++ code
that can be added to ns2
http://www.linuxquestions.org/questions/search.php
→ → Tag = <tag name>
Examples of LQ threads tagged with one of the following <tag name> :
aodv-malicious aodv-uu bgp bgp-rfd-mrai bgp-rfd blackhole blackholeaodv
bsfq clustering-ns2 crcn dccp dtn eurane fastbroadcast fhmip fsr gpsr
gpsr-hls gpsr-keliu hcca hwmp lar leach lte malicious mannasim mih
mih-multi-criteria mobiwan nist-mob nrlsensorsim pmip6 olsr pegasis
span tora umolsr+zrp wfq wimax wimax-lwx zrp
-