AODV Routing DEBUG

46 views
Skip to first unread message

Vitali Anselm

unread,
Sep 29, 2009, 6:59:07 AM9/29/09
to omn...@googlegroups.com
Hello Alfonso, I changed the manetrouting code as you did in github and now the compiler gives out the following error: src/networklayer/manetrouting/aodv/packet_queue_omnet.cc src/networklayer/manetrouting/aodv/packet_queue_omnet.cc: In member function 'void AODVUU::packet_queue_destroy()': src/networklayer/manetrouting/aodv/packet_queue_omnet.cc:58: error: 'LOG_INFO' was not declared in this scope src/networklayer/manetrouting/aodv/packet_queue_omnet.cc: In member function 'void AODVUU::packet_queue_add(cPacket*, In_addr)': src/networklayer/manetrouting/aodv/packet_queue_omnet.cc:128: error: 'LOG_INFO' was not declared in this scope src/networklayer/manetrouting/aodv/packet_queue_omnet.cc: In member function 'int AODVUU::packet_queue_set_verdict(In_addr, int)': src/networklayer/manetrouting/aodv/packet_queue_omnet.cc:210: error: 'LOG_INFO' was not declared in this scope src/networklayer/manetrouting/aodv/packet_queue_omnet.cc:213: error: 'LOG_INFO' was not declared in this scope make: *** [out/gcc-debug//src/networklayer/manetrouting/aodv/packet_queue_omnet.o] Error 1 What is to do? Thank you Vitali Anselm

GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!   
Jetzt freischalten unter http://movieflat.web.de  

Vitali Anselm

unread,
Sep 29, 2009, 7:12:24 AM9/29/09
to omn...@googlegroups.com
What is the output of AODV DEBUG? is it a file somewhere on disk? Or will the output be in Tkenv?

Which parameters of AODVUU.ned should be TRUE and which FALSE?

Thank you



Von: "Vitali Anselm"
Gesendet: 29.09.09 13:00:03
An: omn...@googlegroups.com
Betreff: [Omnetpp-l] AODV Routing DEBUG

Hello Alfonso,I changed the manetrouting code as you did in github and now the compiler gives out the following
error
:src/networklayer/manetrouting/aodv/packet_queue_omnet.ccsrc/networklayer/manetrouting/aodv/packet_queue_omnet.cc: In member function 'void AODVUU::packet_queue_destroy()'


:src/networklayer/manetrouting/aodv/packet_queue_omnet.cc:58: error: 'LOG_INFO' was not declared in this scope
src/networklayer/manetrouting/aodv/packet_queue_omnet.cc: In member function 'void AODVUU::packet_queue_add(cPacket*, In_addr)'
:src/networklayer/manetrouting/aodv/packet_queue_omnet.cc:128: error: 'LOG_INFO' was not declared in this scope
src/networklayer/manetrouting/aodv/packet_queue_omnet.cc: In member function 'int AODVUU::packet_queue_set_verdict(In_addr, int)'
:src/networklayer/manetrouting/aodv/packet_queue_omnet.cc:210: error: 'LOG_INFO' was not declared in this scope
src/networklayer/manetrouting/aodv/packet_queue_omnet.cc:213: error: 'LOG_INFO' was not declared in this scopemake:
*** [out/gcc-debug//src/networklayer/manetrouting/aodv/packet_queue_omnet.o] Error 1

What is to do?

Thank you

Vitali Anselm

Alfonso Ariza

unread,
Sep 29, 2009, 7:57:59 AM9/29/09
to omn...@googlegroups.com
The Aadv debug options don't work in windows, the code use the syslog.g file to send the trace to a file and to the shell.

Vitali Anselm

unread,
Sep 29, 2009, 8:03:58 AM9/29/09
to omn...@googlegroups.com
ok, so I have to run the simulation under LINUX... How does this DEBUG function of AODV help me in my case? Can I then see the reason of the deletion of routes?



Von: "Alfonso Ariza"
Gesendet: 29.09.09 13:59:12
An:
Betreff: [Omnetpp-l] Re: AODV Routing DEBUG

Alfonso Ariza

unread,
Sep 29, 2009, 8:09:45 AM9/29/09
to omn...@googlegroups.com

The trace has information about all Aodv messages and events,  (when the nodes delete the route from his internal tables). It can help to discover what the cause is and if the source begins a new discover cycle what node doesn't answer

 If the route is not in use the route should be deleting but in the same moment that the source send a new packet the source should send a RREQ message

 

From: Vitali Anselm

Vitali Anselm

unread,
Sep 30, 2009, 2:14:40 PM9/30/09
to omn...@googlegroups.com
Hello Alfonso,
 
I followed your advice and let my simulation run under LINUX and I noticed, that if I not enable the AODV Debug, then the simulation runs without crash, but with enabled AODV DEBUG it runs until "192.168.0.2: manetrouting 00:00:00.102 rt_table_delete: No route entry to delete" and then the simulations crashes.
I attached the AODV DEBUG output to this mail.
Please help me. Thank you.
 
best regards,
 
Vitali Anselm
aodv debug.txt

Alfonso Ariza

unread,
Sep 30, 2009, 2:27:31 PM9/30/09
to omn...@googlegroups.com

Oh my god!!

 

Sorry this is a mistake in the setRoute method.

 

I have fixed yet. If you download the latest code the trace is disable for performance. If you want activate you must modify the debug_aodv.h file

 

 
Reply all
Reply to author
Forward
0 new messages