[ns] plz help me to solve this error is urgent

2015-04-25 Thread alok kumar
sir, when i run make command then it give the following error given below: common/packet.h:387:3: error: stray ‘\’ in program return ( (type) == PT_MKC || \ //hi ^ common/packet.h:388:5: error: stray ‘\’ in program (type) == PT_MKC_ACK || \ //hi ack ^

[ns] Help to add new protocol in ns2

2015-04-25 Thread israe iken
Hi every body I have to implement enfat-aodv protocol in ns2 for that i should add some fonctions in files aodv.h and aodv.cc the thing that i don't know how to do this is the example i'm working in, please help me and thanks in advance. *set ns [new Simulator]* *# Create a nam trace

Re: [ns] Help to add new protocol in ns2

2015-04-25 Thread knudfl
@ israe iken enfat-aodv The text you show looks like a simulation file, AODV_final.tcl, which you can get here http://www.28im.com/cpp/a3714481.html ... There is one typo in AODV_final.tcl. I have uploaded the edited file as AODV_final-1.tcl.txt. Link

[ns] plz help me to solve this error is urgent

2015-04-25 Thread alok kumar
sir, when i run make command then it give the following error given below: common/packet.h:387:3: error: stray ‘\’ in program return ( (type) == PT_MKC || \ //hi ^ common/packet.h:388:5: error: stray ‘\’ in program (type) == PT_MKC_ACK || \ //hi ack ^