[ns] classifier current tcl object/node

Erico Augusto ericosign at gmail.com
Mon Mar 16 21:34:02 PDT 2009


Hi,

Which exactly file are you tuning(and ns version)?
If you can do it at your file:

Node* node = Node::get_node_by_address(addr);

maybe can help you.

Erico.


2009/3/16 muralikrishna g <muralikrishna4g at gmail.com>

>
> hi to all..
>
> in classifier i have to add a function.. that have to check for which
> node currently classifier is running..
>
> if(current->node_id==node-id) //node-id, id of the node for which i am
> going to add new function
> { i do add a new function here}
>
> please help how will be this if function, i dont know how to get
> current tcl object/node and the correct position of this if function
> in classifier, please help me regarding this.
>
> by
>
> Muralikrishna Gaddam
>
>


More information about the Ns-users mailing list