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

Re: [ns] Routing table contents



On Wed, 14 Mar 2001, Prasad V. Boddupalli wrote:


> Hello,
>     Just before adding the (dest, nextHop) pair,--- which are just node
> numbers-- to the routing table, the classifer does a
>     (NsObject *)TclObject::lookup(nextHop node);
> what exactly is the use of this ?

TclObject::lookup converts the passed tclobject (something that looks like
_o23) to its corresponding C++ pointer (to its shadow object).

--Padma.

>
> thanks,
> Prasad.
>

-- 
------------------------------------------------
Be true to your work, your word, and your friend.
--Thoreau

Padmaparna Haldar