diff --git a/src/dsr/model/dsr-option-header.h b/src/dsr/model/dsr-option-header.h index 53e4121ed..db87c4b3d 100644 --- a/src/dsr/model/dsr-option-header.h +++ b/src/dsr/model/dsr-option-header.h @@ -337,16 +337,6 @@ public: * \return the router IPv4 Address */ Ipv4Address GetNodeAddress (uint8_t index) const; - /** - * \brief Set the data length. - * \param dataLength the data length - */ - void SetDataLength (uint32_t dataLength); - /** - * \brief Get the data length. - * \return the data length - */ - uint32_t GetDataLength () const; /** * \brief Set the request id number. * \param the identification number @@ -512,12 +502,6 @@ public: * \return the router IPv4 Address */ Ipv4Address GetNodeAddress (uint8_t index) const; - /* - * \brief Search the next hop Ipv4 address - * \param Our own IP address - * \return The next hop address of the route - */ - Ipv4Address SearchNextHop (Ipv4Address ipv4Address); /** * \brief Print some informations about the packet. * \param os output stream diff --git a/src/dsr/model/dsr-rcache.h b/src/dsr/model/dsr-rcache.h index d111ac5ac..02dd073de 100644 --- a/src/dsr/model/dsr-rcache.h +++ b/src/dsr/model/dsr-rcache.h @@ -327,18 +327,6 @@ public: * \brief Define the vector of route entries. */ typedef std::list routeVector; - /** - * \brief Get the destination address of the route. - */ - Ipv4Address GetDestination (void) const; - /** - * \brief Remove all packets with destination IP address dst - */ - void DropPathWithDst (Ipv4Address dst); - /** - * \brief To know if the two entries are the same - */ - bool IsEqual (RouteCacheEntry ca); // /\name Fields // \{ bool GetSubRoute () const diff --git a/src/dsr/model/dsr-routing.h b/src/dsr/model/dsr-routing.h index 2787a2a05..089a39324 100644 --- a/src/dsr/model/dsr-routing.h +++ b/src/dsr/model/dsr-routing.h @@ -382,15 +382,6 @@ public: * \param the protocol number */ void SendErrorRequest (DsrOptionRerrUnreachHeader &rerr, uint8_t protocol); - /** - * \brief Send the route request and increment the request count - * \param the original packet - * \param source address - * \param destination address - */ - void SendRequestAndIncrement (Ptr packet, - Ipv4Address source, - Ipv4Address destination); /** * \brief Forward the route request if the node is not the destination * \param the original packet @@ -474,11 +465,6 @@ public: void SetDownTarget6 (IpL4Protocol::DownTargetCallback6 callback); IpL4Protocol::DownTargetCallback GetDownTarget (void) const; IpL4Protocol::DownTargetCallback6 GetDownTarget6 (void) const; - /** - * \brief Get the extension number. - * \return extension number - */ - uint8_t GetExtensionNumber () const; /** * \brief Process method * Called from Ipv4L3Protocol::Receive.