[ns] how to get node_id in classifier.cc in wired network simulation

Mohammed Abu Hajar mcsist at yahoo.com
Mon Mar 16 02:54:39 PDT 2009


I advice you to implement some simple scenarios with smaller number of nodes also try to analaysis the output file. In wireless environment there are multi node working. 

All the best,

Mohammed AbuHajar


________________________________
From: muralikrishna g <muralikrishna4g at gmail.com>
To: Mohammed Abu Hajar <mcsist at yahoo.com>
Sent: Monday, March 16, 2009 11:49:15 AM
Subject: Re: [ns] how to get node_id in classifier.cc in wired network  simulation

hi sir..

everybody tell me that to use net_id.dump( ), but my problem is that i
have to check the classifier for which node it is presently working..
no all the nodes.. so there by i compare the node_id with required
node_id, if it satisfies i can make a special function to that node by
some if condition..

sir,.. please help me regarding this..

thank u sir

On 3/16/09, Mohammed Abu Hajar <mcsist at yahoo.com> wrote:
> use net_id.dump(), this is the code used by the trace mechanism
>
>
>
> ________________________________
> From: muralikrishna g <muralikrishna4g at gmail.com>
> To: NS-mail <ns-users at ISI.EDU>
> Sent: Monday, March 16, 2009 11:23:16 AM
> Subject: [ns] how to get node_id in classifier.cc in wired network
> simulation
>
>
> hi to all..
>
> i am in need to have node_id of a node in classifier.cc, so that i can
> add new functionality to a node.. so please help me how to get node_id
> in classifier
>
> by
>
> muralikrishna
>
>
>



      


More information about the Ns-users mailing list