Not much help : I can only supply some general information.
These are the files changed by adding (olsr) + um-olsr_ns-2.35_v1.0.patch:
Code:
ns-2.35/Makefile.in
common/packet.h
queue/priqueue.cc
tcl/lib/ns-agent.tcl
tcl/lib/ns-default.tcl
tcl/lib/ns-lib.tcl
tcl/lib/ns-packet.tcl
trace/cmu-trace.cc
trace/cmu-trace.h
( olsr/*.cc *.h )
Checking for the word "trust" :
Code:
$ grep -Rin trust * > grep_trust.txt
diffusion/diffusion.cc:86: DiffusionAgent *agent = (DiffusionAgent *)data; // cast of trust
diffusion/omni_mcast.cc:86: OmniMcastAgent *agent = (OmniMcastAgent *)data; // cast of trust
dsr/dsragent.cc:220: DSRAgent *agent = (DSRAgent *)data; // cast of trust
Neighbor : Google .. ns2 neighbor nodes ..
https://www.google.com/webhp?hl=all&...neighbor+nodes
Example
http://karthicksivakrr.blogspot.dk/2...s2-tips-3.html
$ cd ns-2.35/ && grep -Rin neighbor * > grep_neighbor.txt →
→ the file is attached.
-