src/internet-stack/icmpv6-l4-protocol.h
changeset 4761 8c0b3a413f4b
parent 4731 510db8599bfb
child 5195 8a0544f70c21
--- a/src/internet-stack/icmpv6-l4-protocol.h	Mon Sep 07 11:59:10 2009 +0100
+++ b/src/internet-stack/icmpv6-l4-protocol.h	Mon Sep 07 18:03:01 2009 +0200
@@ -226,7 +226,6 @@
      * \param id id of the packet
      * \param seq sequence number
      * \param data auxiliary data
-     * \todo Change data to be a char[], change it too in icmpv6-header.
      */
     void SendEchoReply (Ipv6Address src, Ipv6Address dst, uint16_t id, uint16_t seq, Ptr<Packet> data);
 
@@ -350,7 +349,19 @@
     static void FunctionDadTimeout (Ptr<Icmpv6L4Protocol> icmpv6, Ipv6Interface* interface, Ipv6Address addr);
 
     /**
+     * \brief Lookup in the ND cache for the IPv6 address
+     * \param dst destination address
+     * \param device device
+     * \param cache the neighbor cache
+     * \param hardwareDestination hardware address
+     * \note Unlike other Lookup method, it does not send NS request!
+     */
+    bool Lookup (Ipv6Address dst, Ptr<NetDevice> device, Ptr<NdiscCache> cache, Address* hardwareDestination);
+
+    /**
      * \brief Lookup in the ND cache for the IPv6 address (similar as ARP protocol).
+     *
+     * It also send NS request to target and store the waiting packet.
      * \param p the packet
      * \param dst destination address
      * \param device device