Fw: how i can run new mac protocol in ns

View: New views
3 Messages — Rating Filter:   Alert me  

Fw: how i can run new mac protocol in ns

by reza mohammadi-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message










 hello
i design a new mac protocol and i want to implement it in ns
but i can't.
i can't use makefile command for this protocol.
my problem is that i write the .h and .cc file for new protocol but i can't implement this protocol in ns
please help me
thanks
reza mohammadi
 



     

Parent Message unknown Re: Fw: how i can run new mac protocol in ns

by Jalaluddin Qureshi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Dear Reza,Create a new folder in the ns2.xx folder and place your .cc and .h file in that folder.Go to the makefile, and add this "(folder name)/(your .cc file name, with .o postfix)\ " after OBJ_CC = \ but before $(OBJ_STL).Once thats done, save your makefile. And run  the command "make clean", then "make depend", and finally "make".If no error are reported after the "make" command, then this means, your .cc and .h files have no error. And therefore a .o file will be created in your folder after you have run "make" command. Your new mac protocol is now ready to be used.
 
Jalaluddin Qureshi
Nanyang Technological University
http://www.cemnet.ntu.edu.sg--Forwarded Message Attachment--From: reza_mo1384@...: ns-users@...: Mon, 21 Jul 2008 19:09:23 -0700Subject: [ns] Fw: how i can run new mac protocol in ns    helloi design a new mac protocol and i want to implement it in nsbut i can't.i can't use makefile command for this protocol.my problem is that i write the .h and .cc file for new protocol but i can't implement this protocol in nsplease help methanksreza mohammadi  
_________________________________________________________________
Easily publish your photos to your Spaces with Photo Gallery.
http://get.live.com/photogallery/overview

how i can run mac protocol in wired Ethernet

by HaiderSa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


if i want to use mac/802.3 in  circular topology in between every two nodes ,
i think i have to use duplex-link function for wired Ethernet
but i m not sure duplex-link function uses which mac type?
and how to add Mac/802.3 to this type of topology?
thanks
HaiderSa
Hanyang Univ Korea


     
LightInTheBox - Buy quality products at wholesale price