[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's exactly going on when a packet is received at a node?



On Fri, 19 Feb 1999 15:29:55 +0100, Urs Thuermann wrote: 
>I'd like to know, what's going on when a packet is received at a
>node before it is forwarded to the outgoing link's Queue object by
>invoking Queue::enque(p).
>
>I assume that there is at least some object that does the routing
>decision and then calls Queue::enque(p) for the selected queue or that
>passes the packet to some other object that finally calls
>Queue::enque().
>
>Is this correct, and if so, what is the chain of objects and functions
>involved in passing a packet through the node?  And can I put
>something inbetween this chain?
>
>I'd like to process some of the packet header's fields before it is
>sent to the outgoing queue.
>
>What source files of ns-2 should I read?

Packet flow in a network is pretty well described in "ns notes and
documentation" on the web page.  That should lead you to particular
source files.

   -John Heidemann