codv.cc in ns2, changed from aodv