[ns] C++ codes for Wireless nodes

2007-02-28 Thread Supratik Singha
Sir, Please tell me the files and the C++ codes with which the wireless nodeshave been defined / created. For example, in the following code from the file wireless1.tcl $ns_ node-config -adhocRouting $val(adhocRouting) \ -llType $val(ll) \ -macType $val(mac) \

[ns] Fwd: DSR implementation

2007-02-04 Thread Supratik Singha
Sir, Please tell me what classes have been used to implement the DSR protocol in ns2. For example the ping protocol has been implemented using class PingAgent : Public Agent struct hdr_ping static class PingClass, etc, etc... Please tell me the classes and the corresponding files which have bee

[ns] DSR implementation

2007-01-26 Thread Supratik Singha
Sir, Please tell me what classes have been used to implement the DSR protocol in ns2. For example the ping protocol has been implemented using class PingAgent : Public Agent struct hdr_ping static class PingClass, etc, etc... Please tell me the classes and the corresponding files which have bee

[ns] communication between interpreted code and compiled code

2007-01-22 Thread Supratik Singha
Sir, went through the ns_manual.pdf dated 14th dec. In section 3.4 Class TclObject, Its said that when we create the class ASRMAgent under SRMAgent under Agent, the corresponding interpreted class hierarchy created is Agent/SRM/Adaptive under Agent/SRM under Agent. Please explain me how this is

[ns] communication between interpreted code and compiled code

2007-01-21 Thread Supratik Singha
Sir, went through the ns_manual.pdf dated 14th dec. In section 3.4 Class TclObject, Its said that when we create the class ASRMAgent under SRMAgent under Agent, the corresponding interpreted class hierarchy created is Agent/SRM/Adaptiveunder Agent/SRM under Agent. Please explain me how this is b

[ns] 'recv' function under Agent/Ping class

2007-01-19 Thread Supratik Singha
Sir, In the ping program 'ping.tcl', a 'recv' function has been defined under the class 'Agent/Ping'. Please tell me where this 'recv' function has been called from, as i could not find any place in ' ping.tcl' where it has been called. The exact from ping.tcl code is #Define a 'recv' function