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

Re: [ns] Classifiers



> class from the address classifier. The only method defined is recv() which
> is just calling AddressClassifier::recv(). I set up a new Tcl class
> Classifier/Addr/my and haven't been able to get any further. When I set
> classifier_ in Tcl to [new Classifier/Addr/my]  all the packets get
> dropped.

When I worked with new classifiers, I created new node classes (in TCL)
where I instanciated them.
A classifier need some configuration in order to work properly. See Node
class in tcl.

Carlos


>
> I've seen a couple of references to this in the archives, but haven't been
> able to find a solution. Does anyone have some example Tcl code for changing
> the classifier?
>
> Thanks,
>   Adrian
>
>
>
>