diff --git a/examples/leo-delay-tracing-example.cc b/examples/leo-delay-tracing-example.cc index 758acac..a040580 100644 --- a/examples/leo-delay-tracing-example.cc +++ b/examples/leo-delay-tracing-example.cc @@ -66,6 +66,16 @@ int main (int argc, char *argv[]) // Install internet stack on nodes AodvHelper aodv; + aodv.Set ("HelloInterval", TimeValue (Seconds (10))); + aodv.Set ("TtlStart", UintegerValue (100)); + aodv.Set ("TtlIncrement", UintegerValue (100)); + aodv.Set ("TtlThreshold", UintegerValue (1000)); + aodv.Set ("RreqRetries", UintegerValue (100)); + aodv.Set ("RerrRateLimit", UintegerValue (1000)); + aodv.Set ("RreqRateLimit", UintegerValue (1000)); + aodv.Set ("NextHopWait", TimeValue (MilliSeconds (100))); + aodv.Set ("NetDiameter", UintegerValue (1000)); + aodv.Set ("PathDiscoveryTime", TimeValue (Seconds (100))); InternetStackHelper stack; stack.SetRoutingHelper (aodv); stack.Install (satellites); @@ -85,12 +95,14 @@ int main (int argc, char *argv[]) // install a client on one of the terminals ApplicationContainer clientApps; Address remote = stations.Get (1)->GetObject ()->GetAddress (1, 0).GetLocal ();//utIp.GetAddress (1, 0); - std::cerr << remote << std::endl; + std::cerr << "REMOTE: node=" <GetId ()<<"addr="<GetObject ()->GetAddress (1, 0).GetLocal ();//utIp.GetAddress (1, 0); + std::cerr << "LOCAL: node=" <GetId ()<<"addr="<