diff --git a/src/internet-stack/icmpv6-l4-protocol.h b/src/internet-stack/icmpv6-l4-protocol.h index 5a3b62520..22aa3c974 100644 --- a/src/internet-stack/icmpv6-l4-protocol.h +++ b/src/internet-stack/icmpv6-l4-protocol.h @@ -202,6 +202,11 @@ public: /** * \brief Do the Duplication Address Detection (DAD). + * It consists in sending a NS with our IPv6 as target. If + * we received a NA with matched target address, we could not use + * the address, else the address pass from TENTATIVE to PERMANENT. + * + * \param addr IPv6 address to test * \param target target address * \param interface interface */ @@ -327,16 +332,6 @@ public: */ virtual enum Ipv6L4Protocol::RxStatus_e Receive (Ptr p, Ipv6Address const &src, Ipv6Address const &dst, Ptr interface); - /** - * \brief Do the Duplication Address Detection. - * It consists in sending a NS with our IPv6 as target. If - * we received a NA with matched target address, we could not use the address, - * else the address pass from TENTATIVE to PERMANENT. - * \param addr IPv6 address to test - * \param interface interface - */ - void DoDad (Ipv6Address addr, Ptr interface); - /** * \brief Function called when DAD timeout. * \param icmpv6 Icmpv6L4Protocol instance