From a303c4bfad625117a3472c1ae60c141f5fdd33bb Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Fri, 18 Jul 2008 12:12:43 +0100 Subject: [PATCH] Add release notes. --- RELEASE_NOTES | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/RELEASE_NOTES b/RELEASE_NOTES index 466a625da..05f935a45 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -11,6 +11,31 @@ Next Release (in ns-3-dev) - Kernel system condition support (class SystemCondition) added; - Move required methods in helper classes to constructors; - Change obsolete references to Parameter to Attribute in helpers; +- New NetDevice APIs: SendFrom and SetPromiscRxCallback; +- Add learning bridge (IEEE 802.1D) implementation: BridgeNetDevice; + + ---> API Changes in this release <--- + +In order to support the learning bridge, some API changes in Node and +NetDevice were made. + +In NetDevice, devices may optionally implement the virtual methods +SendFrom, SupportsPromiscuous, and SetPromiscReceiveCallback. If +these new methods are not implemented, the code still compiles and +works, except if they are used in a BridgeNetDevice. + +In Node, the signature for protocol handler callbacks (used in +AddProtocolHandler) has changed. Now it looks like: + + void ReceiveFromDevice (Ptr device, Ptr packet, uint16_t protocol, + Address const &source, Address const &destination, PacketType packetType); + +The extra parameters 'destination' and 'packetType' are present for +all protocol handlers, but only have valid values for promiscuous +protocol handlers. Protocol handlers are non-promiscuous by default, +so no action is needed to adapt existing code besides updating the +callback signature. + Release 3.1 (2008/06/30) ========================