[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[manet] Re: [Aodvimpl] Deleting packets from the interface queue
Hi,
i'm using the version ns-2.1b9.
I think it's the same because rt->rt_nexthop() = ih-> saddr() (See the if
condition)
"Zhenqiang(Frank) Ye" wrote:
> Which version are you using?
> In my program it is
>
> while((pkt = ifqueue->filter(rt->rt_nexthop)))
>
> The version is ns-2.1b8a.
>
> Frank
>
> On Thu, 19 Sep 2002, Riadh Marrakchi wrote:
>
> > Hello,
> > i found this line in the recvError function in the aodv implementation
> > of ns-2:
> >
> > // Not sure whether this is the right thing to do
> > Packet *pkt;
> > while((pkt = ifqueue->filter(ih->saddr()))) {
> > drop(pkt, DROP_RTR_MAC_CALLBACK);
> > }
> >
> > I think this step is false, because every packet from the queue, which
> > has saddr() as a next hop will be deletet without taking into account,
> > which (final) destination it has. For example, a data packet can have
> > the node sending the error as next hop, but its destination is not one
> > of the unreachable destinations in the error message. So with that code
> > above this packet will be deleted, although it uses the node forwarding
> > the error message only as next hop for a destination which is yet
> > reachable.
> > I hope i'm not misunderstanding some stuff. If so, just let me know
> > please.
> > Best regards
> > Riadh
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Aodvimpl-public mailing list
> > Aodvimpl-public@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/aodvimpl-public
> >
>
> --
>
> ****************************************
> Zhenqiang(Frank) Ye
> Ph.D Student
> Department of Electrical Engineering
> University of California, Riverside
> Phone: (909)-787-2434
> email: zye@cs.ucr.edu
> ****************************************
_______________________________________________
manet mailing list
manet@ietf.org
https://www1.ietf.org/mailman/listinfo/manet