From dcb0180fcd047e2cd2e5d2d0ee3468db407aed1a Mon Sep 17 00:00:00 2001
From: Mathieu Lacage
Date: Tue, 28 Apr 2009 09:25:48 +0200
Subject: [PATCH] update CHANGES.html
---
CHANGES.html | 73 ++++++++++++++++++++++++++--------------------------
1 file changed, 37 insertions(+), 36 deletions(-)
diff --git a/CHANGES.html b/CHANGES.html
index 5cccc4117..cf929464c 100644
--- a/CHANGES.html
+++ b/CHANGES.html
@@ -56,7 +56,9 @@ us a note on ns-developers mailing list.
Changes to existing API:
-- deconflict NetDevice::ifIndex and Ipv4::ifIndex (bug 85). All function parameters named "ifIndex" that refer
+
+
- Deconflict NetDevice::ifIndex and Ipv4::ifIndex (bug 85).
+
All function parameters named "ifIndex" that refer
to an Ipv4 interface are instead named "interface".
- static const uint32_t Ipv4RoutingProtocol::IF_INDEX_ANY = 0xffffffff;
@@ -74,48 +76,45 @@ proposed IPv4 routing refactoring)
+ bool Ipv4::GetInterfaceForDestination (Ipv4Address dest, uint32_t &interface) const;
(N.B. this function is not needed in the proposed Ipv4 routing refactoring)
- - allow multiple IPv4 addresses to be assigned to an interface (bug 188).
-
-- Add class Ipv4InterfaceAddress:
-This is a new class to resemble Linux's struct in_ifaddr. It holds IP addressing information, including mask,
-broadcast address, scope, whether primary or secondary, etc.
-
+
+
+
- Allow multiple IPv4 addresses to be assigned to an interface (bug 188)
+
+ - Add class Ipv4InterfaceAddress:
+ This is a new class to resemble Linux's struct in_ifaddr. It holds IP addressing information, including mask,
+ broadcast address, scope, whether primary or secondary, etc.
+
+ virtual uint32_t AddAddress (uint32_t interface, Ipv4InterfaceAddress address) = 0;
+ virtual Ipv4InterfaceAddress GetAddress (uint32_t interface, uint32_t addressIndex) const = 0;
+ virtual uint32_t GetNAddresses (uint32_t interface) const = 0;
-
- - Regarding legacy API usage, typically where you once did the following,
-using the public Ipv4 class interface (e.g.):
-
+
+ - Regarding legacy API usage, typically where you once did the following,
+ using the public Ipv4 class interface (e.g.):
+
ipv4A->SetAddress (ifIndexA, Ipv4Address ("172.16.1.1"));
ipv4A->SetNetworkMask (ifIndexA, Ipv4Mask ("255.255.255.255"));
-
-you now do:
-
+
+ you now do:
+
Ipv4InterfaceAddress ipv4IfAddrA = Ipv4InterfaceAddress (Ipv4Address ("172.16.1.1"), Ipv4Mask ("255.255.255.255"));
ipv4A->AddAddress (ifIndexA, ipv4IfAddrA);
-
- - At the helper API level, one often gets an address from an interface
-container. We preserve the legacy GetAddress (uint32_t i) but it
-is documented that this will return only the first (address index 0)
-address on the interface, if there are multiple such addresses.
-We provide also an overloaded variant for the multi-address case:
+
+
- At the helper API level, one often gets an address from an interface
+ container. We preserve the legacy GetAddress (uint32_t i) but it
+ is documented that this will return only the first (address index 0)
+ address on the interface, if there are multiple such addresses.
+ We provide also an overloaded variant for the multi-address case:
-
+
Ipv4Address Ipv4InterfaceContainer::GetAddress (uint32_t i)
+ Ipv4Address Ipv4InterfaceContainer::GetAddress (uint32_t i, uint32_t j)
-
+
-
-
-
-
-- new WifiMacHelper objects.
-
--
-Type of wifi MAC is now setted by two new specific helpers, NqosWifiMacHelper for non QoS MACs and QosWifiMacHelper for Qos MACs. They are passed as argument to WifiHelper::Install methods.
-
+
+ - New WifiMacHelper objects
+
The type of wifi MAC is now set by two new specific helpers, NqosWifiMacHelper for non QoS MACs and QosWifiMacHelper for Qos MACs. They are passed as argument to WifiHelper::Install methods.
+
- void WifiHelper::SetMac (std::string type, std::string n0 = "", const AttributeValue &v0 = EmptyAttributeValue (),...)
- NetDeviceContainer WifiHelper::Install (const WifiPhyHelper &phyHelper, NodeContainer c) const
@@ -126,12 +125,14 @@ Type of wifi MAC is now setted by two new specific helpers, NqosWifiMacHelper fo
- NetDeviceContainer WifiHelper::Install (const WifiPhyHelper &phy, std::string nodeName) const
+ NetDeviceContainer WifiHelper::Install (const WifiPhyHelper &phy, const WifiMacHelper &mac, std::string nodeName) const
+
+ See src/helper/nqos-wifi-mac-helper.h and src/helper/qos-wifi-mac-helper.h for more details.
+
+
+Remove Mac48Address::IsMulticast
+ This method was considered buggy and unsafe to call. Its replacement is Mac48Address::IsGroup.
+
- see src/helper/nqos-wifi-mac-helper.h
- src/helper/qos-wifi-mac-helper.h
- for more details.
-
-
Changed behavior: