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

Re: [ns] ns Qs (fwd)



The lan node object is indexed independent of the node id. 
its specified in the class Mac int index_ variable. 

The recv function of the mac identifies the direction of the packet based
on the presence of a handle. If there is a handle then the packet is
outgoing else its incoming. The ns manual section 13.5.3 has more
information on it. 

-alefiya

On Mon, 12 Jun 2000, Yan Yu wrote:

> hi, there,
> 
>   I have some ns questions, if you could clarify me on these, that would
> be very helpful:
> 1. Is the Lan Interface indexed by the node object itself instead of the
> node id?
> 
> 2. Is the node address and its MAC address different or same?
> 
> 3. Is the handler h=1 means travel up the stack, h=-1 means travel down
> the stack??
> 
> was it used to be h=0 means travel up, h != 0 means travel down the
> stack??
> 
> Thanks!!!
> yan
>  
> 
> 
>