Because I have been coding for an aodv-based module for a while, I think I can answer your question regarding aodv.
There are two queues can store packets: routing queue, and interface queue. After an application generates a packet, it will be sent to routing agent (aodv here). If the routing agent finds a route for this packet, it is passed to the interface queue immediately. If the interface queue is full now, it will be dropped and written to the trace file. On the other hand, if the routing agent cannot find a route for this packet, it will store it in the routing queue temporarily. If the routing queue is full (because your application is generating packets too fast), the packet will be dropped and written to the trace file. The packets in routing queue may have two different results: if a route if finally found, the packet goes to the interface queue; if the route cannot be found for a specific time, the packet gets aged and finally purged (removed from routing queue). In this case, no trace will be written. Check files in ./queue and ./mac for detail implementation of routing queues and mac interface queue. Please correct me if I am wrong. Song Luo On 4/11/07, suhaib obeidat <[EMAIL PROTECTED]> wrote: > > > Dear All, > > When a source is generating traffic faster than they can be transmitted. > Where are these packets stored ? Is it in the LL or somewhere else. To > make > my question more specific, I would like to constantly know the fill level > of > this buffer/queue. > > Please, do not spare typing couple of sentences if you know, I really need > this. > > Thanks >
