removed outdated TODO

: Enter commit message.  Lines beginning with 'HG:' are removed.
This commit is contained in:
Borovkova Elena
2009-09-09 13:59:11 +04:00
parent 11ab0b983c
commit d29646249c
3 changed files with 6 additions and 9 deletions

View File

@@ -347,7 +347,6 @@ RoutingProtocol::RouteInput (Ptr<const Packet> p, const Ipv4Header &header,
}
}
// TODO: local delivery to non-AODV interfaces
// Forwarding
return Forwarding (p, header, ucb, ecb);
}
@@ -449,7 +448,7 @@ RoutingProtocol::NotifyInterfaceUp (uint32_t i)
// Add local broadcast record to the routing table
Ptr<NetDevice> dev = m_ipv4->GetNetDevice (m_ipv4->GetInterfaceForAddress (iface.GetLocal ()));
RoutingTableEntry rt (/*device=*/dev, /*dst=*/iface.GetBroadcast (), /*know seqno=*/true, /*seqno=*/0, /*iface=*/iface,
/*hops=*/1, /*next hop=*/iface.GetBroadcast (), /*lifetime=*/Seconds (1e9)); // TODO use infty
/*hops=*/1, /*next hop=*/iface.GetBroadcast (), /*lifetime=*/Seconds (1e9));
m_routingTable.AddRoute (rt);
// Allow neighbor manager use this interface for layer 2 feedback if possible
@@ -529,7 +528,7 @@ RoutingProtocol::NotifyAddAddress (uint32_t i, Ipv4InterfaceAddress address)
m_ipv4->GetInterfaceForAddress (iface.GetLocal ()));
RoutingTableEntry rt (/*device=*/dev, /*dst=*/iface.GetBroadcast (), /*know seqno=*/true,
/*seqno=*/0, /*iface=*/iface, /*hops=*/1,
/*next hop=*/iface.GetBroadcast (), /*lifetime=*/Seconds (1e9)); // TODO use infty
/*next hop=*/iface.GetBroadcast (), /*lifetime=*/Seconds (1e9));
m_routingTable.AddRoute (rt);
}
}
@@ -564,7 +563,7 @@ RoutingProtocol::NotifyRemoveAddress (uint32_t i, Ipv4InterfaceAddress address)
// Add local broadcast record to the routing table
Ptr<NetDevice> dev = m_ipv4->GetNetDevice (m_ipv4->GetInterfaceForAddress (iface.GetLocal ()));
RoutingTableEntry rt (/*device=*/dev, /*dst=*/iface.GetBroadcast (), /*know seqno=*/true, /*seqno=*/0, /*iface=*/iface,
/*hops=*/1, /*next hop=*/iface.GetBroadcast (), /*lifetime=*/Seconds (1e9)); // TODO use infty
/*hops=*/1, /*next hop=*/iface.GetBroadcast (), /*lifetime=*/Seconds (1e9));
m_routingTable.AddRoute (rt);
}
if (m_socketAddresses.empty ())

View File

@@ -83,7 +83,7 @@ public:
bool GetHelloEnable () const { return EnableHello; }
//\}
private:
///\name Protocol parameters. TODO document
///\name Protocol parameters.
//\{
uint32_t RreqRetries; ///< Maximum number of retransmissions of RREQ with TTL = NetDiameter to discover a route
uint16_t RreqRateLimit; ///< Maximum number of RREQ per second.
@@ -223,7 +223,7 @@ private:
void Drop(Ptr<const Packet>, const Ipv4Header &, Socket::SocketErrno);
/// Hello timer
Timer htimer; // TODO independent hello timers for all interfaces
Timer htimer;
/// Schedule next send of hello message
void HelloTimerExpire ();
/// RREQ rate limit timer

View File

@@ -33,9 +33,7 @@
* \ingroup routing
* \defgroup aodv AODV
*
* \brief RFC concerted AODV manet routing model
*
* TODO more docs
* \brief Ad hoc on demand distance vector (AODV) routing protocol manet, RFC3561
*/
#endif /* AODV_H_ */