Hi All,

I am developing a routing protocol for MANET. My protocol needs to save packets 
for a specific time and then decide if they should be send or dropped. To 
achieve this I keep an array of pending packets at each node and installed a 
timer on each one of them, then I schedule the timer for the specified time. 
This sometimes works fine,however , most of the times I get different kinds of 
errors like "Segmentation Fault", "check_pktRTS type .....", " Classifier: 
no-slot {} default handler { tcl/lib/ ns-lib.tcl} ", and other errors, I think 
what causes these errors is that between the time I save the packet and the 
time I reschedule it, the packet's contents changes somehow. Does anybody have 
a better way to save packets and reschedule them after a specific time?.

Any help will be greatly appreciated...

Abdulla

       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Reply via email to