Packet drop in aodv ns2 ?
> Packet drop can be done in two ways,
i) drop(p) or drop(p , DROP_RTR_NO_ROUTE)
> In cmu-trace.h ( ns-2.35/trace ), you can find different kind of packet drop.
ii) Packet::free(p)
> In packet.h ( ns-2.35/common ), you can find the free() function.
> Note, free() is not the same as drop(). If you use free() function to drop a packet then you cannot see a packet drop in nam.
No comments:
Post a Comment