First of all, what version of NS are you using? if it is before NS2.26,
TORA should be OK, otherwise, you have to insert the following code into
command function in tora.cc so that tora can work:
int TORA::command(int argc, const char*const* argv)
{
.....
if(argc == 2) {
.....
else if (strcmp(argv[1], "port-dmux") == 0) {
dmux_ = (PortClassifier*)TclObject::lookup(argv[2]);
if (dmux_ == 0) {
fprintf(stderr, "%s: %s lookup of %s failed\n",
__FILE__,
argv[1],
argv[2]);
printf("%s lookup of %s failed\n",
argv[1],
argv[2]);
return TCL_ERROR;
}
return TCL_OK;
}
>
> HI friends,
> I want to calculate the performance of AODV, DSDV,DSR and
> TORA routing algorithms. But i am unable to use TORA in my
> simulation. If anybody sends a tcl file which used it,
> will be very helpful for me. Please give me some hints,
> how to use TORA.
>
> Thanks in advance.
>
> Jeevesh Kumar
> Jadavpur University, Kolkata, India.
>
>
> ---------------------------------
> Jiyo cricket on Yahoo! India cricket
>
--------------------------------------------------------------------------
This email and any attachments may be confidential. They may contain legally
privileged information or copyright material. You should not read, copy,
use or disclose them without authorisation. If you are not an intended
recipient, please contact us at once by return email and then delete both
messages. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or unauthorised
amendment. This notice should not be removed.