[ns] Multi-interface support howto, by Ramon Aguero---really need help!!!
=?gb2312?B?wfXT7ubD?=
liu-yuting at hotmail.com
Thu Jun 12 07:12:20 PDT 2008
Hello, I am trying to modify NS-2.29 to support multiple interface according to "Adding Multiple Interface Support in NS-2" by Ramon Aguero, http://personales.unican.es/aguerocr. For routing agent, I choose AODV like some people. I encountered some problems and really need help. 1.I have two questions about Listing 5.5 in the tutorial. (1)"cmnh" doesn't exist and I wonder whether we should change "cmnh" to "hdr" according to listing 4.6. (2) Where should I declare the variable "Iface"? Should I declare it in aodv.h like declaring nIfaces, targetlist[MAX_IF] and ifqueuelist[MAX_IF] in aodv.h? 2. In Changes on the Route Table part, Ramon mentioned that a new variable interface must be added to the route entry definition. But I am not clear that in which file the route entry definition exists. Is the file aodv.h or aodv_rtable.h in aodv folder or rttable.h in routing.h folder? And in order to change the route table, how many files or classes need to be modified in total? Coul!
d you give me some details to do this? It is very urgent, please help me!!! Any help and advice would be very appreciated. Thank you. Tina
Óà Windows Live Spaces չʾ¸öÐÔ×ÔÎÒ£¬ÓëºÃÓÑ·ÖÏíÉú»î£¡ Á˽â¸ü¶àÐÅÏ¢£¡
_________________________________________________________________
¶à¸öÓÊÏäͬ²½¹ÜÀí£¬live mail¿Í»§¶ËÍòÈËÇÀÓÃÖÐ
http://get.live.cn/product/mail.html
More information about the Ns-users
mailing list