File for documenting API changes of this repo
authorTom Henderson <tomh@tomh.org>
Wed, 08 Apr 2009 13:35:02 -0700
changeset 4371 d942c257847d
parent 4313 33085beb900d
child 4372 d99061f1167c
File for documenting API changes of this repo
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)