[ns] help for NS packet switching
Luiz Henrique Bonani
bonani@dsif.fee.unicamp.br
Tue Apr 30 11:00:01 2002
Hello!
I've already looked at the RouteLogic code, but I couldn't understand
where routingTable is constructed. The instance procedure
compute-rotes{} calls get-routelogic{}, that calls instvar
routingTable.
My question is: How Routelogic is placed at the routingTable var???
Some suggestion??
Thanks,
Luiz
Debojyoti Dutta wrote:
>
> Maybe you should look at the RouteLogic code.
>
> Debo
>
> On Fri, 26 Apr 2002, Luiz Henrique Bonani wrote:
>
> >
> > Hi Everyone!
> > I hope somebody can help me, because I didn't reach the answer from NS
> > manual...
> > How can I tell NS to compute a complete Routing Table, from all nodes
> > to all the others, such that it stay independent of the existence or
> > not of agents in the pairs source-destination??
> > I'm implementing a module to provide the packet switching, and each
> > node should have the information of the next node that takes the
> > packet to its shortest path destination.
> > Thanks in advance...
> > Luiz
> >
> >
--
___________________________________
Luiz Henrique Bonani do Nascimento
Electrical Engineering Ms. Student
DSIF/FEEC/Unicamp - CPqD Foundation
email: bonani@cpqd.com.br