src/devices/csma/csma-net-device.h
changeset 3852 9cf7ad0cac85
parent 3841 1e7abf5fca79
child 3936 e525995ce5dc
     1.1 --- a/src/devices/csma/csma-net-device.h	Wed Nov 05 14:33:20 2008 -0800
     1.2 +++ b/src/devices/csma/csma-net-device.h	Fri Nov 07 11:36:15 2008 -0800
     1.3 @@ -392,6 +392,15 @@
     1.4     */
     1.5    virtual void SetReceiveCallback (NetDevice::ReceiveCallback cb);
     1.6  
     1.7 +  /**
     1.8 +   * \brief Get the MAC multicast address corresponding
     1.9 +   * to the IPv6 address provided.
    1.10 +   * \param addr IPv6 address
    1.11 +   * \return the MAC multicast address
    1.12 +   * \warning Calling this method is invalid if IsMulticast returns not true.
    1.13 +   */
    1.14 +  virtual Address GetMulticast (Ipv6Address addr) const;
    1.15 +
    1.16  
    1.17    virtual void SetPromiscReceiveCallback (PromiscReceiveCallback cb);
    1.18    virtual bool SupportsSendFrom (void) const;