[ns] ARP drop packets in AODV, SRD 5/23/99
Ko Chun Ho, Dennis
chko@eee.hku.hk
Mon Jan 5 00:40:04 2004
Dear all,
I have changed the code of aodv.cc in ns2.26 and I found that there are
a lot of ARP packet drop after running a simulation.
I think it may be due to the delay of packets forwarding as sometime I
chanaged the delay of some forwarding pakcets, ARP packet drop disappears.
Also, I have read a commnet in aodv.cc as follows
....
....
Packet *buf_pkt;
while((buf_pkt = rqueue.deque(rt->rt_dst))) {
if(rt->rt_hops != INFINITY2) {
assert (rt->rt_flags == RTF_UP);
// Delay them a little to help ARP.
Otherwise ARP
// may drop packets. -SRD 5/23/99
forward(rt, buf_pkt, delay);
delay += ARP_DELAY;
...
...
that the delay of the forwarding packets is related to ARP packet drop.
However, I don't know the reason.
Would you mind to give me some advice in the matter of ARP packet drop?
Thanks,
Dennis