[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] packet buffering
Thanks for your reply. Let me make my problem clearer.
I am implementing a buffering scheme for Mobile IP. I want to buffer
incoming packets destinated to the mobile host at a Gateway Foreign Agent
while the mobile host is making handoff. After the mobile host has moved the
new point of attachment (i.e., a regional FA), the buffered packets then be
forwarded.
I found that I can only initialize the queue which is part of the link,
such as the queue length , queue decipline before the simulation starts.
But, the queue only works when the downlink has exceeded the link bandwidth.
I can not control the queueing or dequeing at the time during the
simulation. Is rtqueue.cc can be used for real-time queueing control? If
so, it would be great! can you send me some sample code for packet buffering
using rtqueue.cc. Many Thanks!
>From: "Madhan Mohan" <[email protected]>
>To: "m m" <[email protected]>
>Subject: Re: [ns] packet buffering
>Date: Thu, 10 Jan 2002 16:23:50 -0700
>
>Hi
>
>I not fully able to understand your problem. But I have used rtqueue.cc
>files provided in ns2 for my routing protocol. I buffer packets which do
>not
>have a route and I then forward the packets after finding the route. This
>works fine. But what do you mean when you say "issue a queuing command
>during simulation"?
>Do you wish to control parameters like queue length during simulation ?
>
>If you mail me the details , I might be able to help you
>
>Madhan Mohan
>Anna University
>Chennai India
>
>
>
>
>----- Original Message -----
>From: m m <[email protected]>
>To: <[email protected]>
>Sent: Wednesday, January 09, 2002 6:30 PM
>Subject: [ns] packet buffering
>
>
> > Hi ns users,
> >
> > I am simulating a buffering scheme, which needs to buffer the incoming
> > packets for a short period at a node and forwards the buffered packets
> > later. I have tried to use the Queue provided by ns-2, but it only can
>be
> > controlled at the beginning of the simulation, i.e., I can not issue
> > queueing or dequeueing command during the simulations. Is there any one
>can
> > give me some advice ? Thank you!
> >
> > _________________________________________________________________
> > Send and receive Hotmail on your mobile device: http://mobile.msn.com
> >
>
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx