# HG changeset patch # User Tom Henderson # Date 1239222902 25200 # Node ID d942c257847d874ae999d27ef3772406bd7b88ef # Parent 33085beb900d6d188d3e55e98a534e1ca1a94230 File for documenting API changes of this repo diff -r 33085beb900d -r d942c257847d README.api --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README.api Wed Apr 08 13:35:02 2009 -0700 @@ -0,0 +1,43 @@ +1. Changeset: + +Synopsis: +-------- +- deconflict NetDevice::ifIndex and Ipv4::ifIndex (bug 85) + +Changed public API (src/node) +-------- + +All function parameters named "ifIndex" that refer to an Ipv4 interface +are instead named "interface". + +- static const uint32_t Ipv4RoutingProtocol::IF_INDEX_ANY = 0xffffffff; ++ static const uint32_t Ipv4RoutingProtocol::INTERFACE_ANY = 0xffffffff; + +- bool Ipv4RoutingProtocol::RequestIfIndex (Ipv4Address destination, uint32_t& ifIndex); ++ bool Ipv4RoutingProtocol::RequestInterface (Ipv4Address destination, uint32_t& interface); +(N.B. this particular function will be later renamed to RouteOutput() in the +proposed IPv4 routing refactoring) + +- uint32_t Ipv4::GetIfIndexByAddress (Ipv4Address addr, Ipv4Mask mask); ++ int_32t Ipv4::GetInterfaceForAddress (Ipv4Address address, Ipv4Mask mask) const; + +- bool Ipv4::GetIfIndexForDestination (Ipv4Address dest, uint32_t &ifIndex) const; ++ bool Ipv4::GetInterfaceForDestination (Ipv4Address dest, uint32_t &interface) const; +(N.B. this function is not needed in the proposed Ipv4 routing refactoring) + + +New public API or classes (src/node) +-------- + +None. + +Changed private API (src/internet-node) +-------- + +New private API or classes (src/internet-node) +-------- + +None. + +Changeset: +- allow multiple IPv4 addresses to be assigned to an interface (bug 188)