Hello all,
I added a new protocol in NS-2, there I want to "divide
traffic of packets via node". How to do it ?
"Condition is like this I am checking buffer status of every node in primary
path,If a buffer status of node will be more than a threshold it will
declared congested, and then congested node will inform it's neighbours,
then previous node in primary path immediately search for bypass path for
bypassing congested node and some packet let's say via probability p will
send via congested node and remaining packets via probability (1-p) via
bypass node by a destination next non congested node in primary path with
final destination"
Would I change
"rt_resolve(Packet* p)" " forward(rt, p)". For any help I will be
very grateful.
--
Thanks & Regards
Ashish Kumar Tiwari
M.Tech CSE NITK SURATHKAL
MANGALORE,KARNATAKA
www.nitk.ac.in