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

Re: [ns] new classifiers!



> I have written a new type of Node in NS and I want to add new classifiers
> and packet forwarding behavior on to this Node. 
> 
> Can someone give me examples of those "methods" where these 
> functionalities are defined.  Having asked that, is the classifier
> specified in the OTcl level in NS?  I couldn't quite figure out if this
> is true from looking at ns-node.tcl file.
> 
> Any kind of suggestion re: the above will be greatly appreciated.

You may want to look at the diagrams in ns manual chapter 5, which covers
basic node structure and classifiers.

Classifiers are split objects. Packet classification is done inside c++,
in OTcl different classifiers are composed into a node to form packet
forwarding paths. 

- Haobo