src/devices/csma/csma-net-device.h
changeset 3852 9cf7ad0cac85
parent 3841 1e7abf5fca79
child 3936 e525995ce5dc
--- a/src/devices/csma/csma-net-device.h	Thu Nov 06 15:04:25 2008 -0800
+++ b/src/devices/csma/csma-net-device.h	Fri Nov 07 11:36:15 2008 -0800
@@ -392,6 +392,15 @@
    */
   virtual void SetReceiveCallback (NetDevice::ReceiveCallback cb);
 
+  /**
+   * \brief Get the MAC multicast address corresponding
+   * to the IPv6 address provided.
+   * \param addr IPv6 address
+   * \return the MAC multicast address
+   * \warning Calling this method is invalid if IsMulticast returns not true.
+   */
+  virtual Address GetMulticast (Ipv6Address addr) const;
+
 
   virtual void SetPromiscReceiveCallback (PromiscReceiveCallback cb);
   virtual bool SupportsSendFrom (void) const;