Bugzilla – Bug 964
AODV does not work with host addressed interfaces
Last modified: 2010-08-04 13:55:24 UTC
Created attachment 951 [details] patch MANET address architecture (in development at IETF) specifies that MANET interfaces should use a /32 address; see section 6.2 of http://tools.ietf.org/html/draft-ietf-autoconf-adhoc-addr-model-03 Attached patch reworks some of the socket-related code to allow either a /32 or a non-/32 address. there appears to be some trace divergence due to this patch in the aodv regression tests that needs to be investigated.
The only difference in traces is the UDP source port selected in Ipv4EndPointDemux::AllocateEphemeralPort ("Bug 772 UDP/TCP chain regression test"). After applying patch, AODV in NotifyInterfaceUp (uint32_t i) calls the socket->BindToNetDevice (l3->GetNetDevice (i)) resulting in selection the port, that before patch was used for binding socket in OnOff application. Thus socket in OnOff application is forced to use next port number. I believe that this is not a bug and propose to generate new regression traces.
changeset 48625d668186