# HG changeset patch # User Mitch Watrous # Date 1370190450 25200 # Node ID c5b83fec4d307943481d2f075e9187778f776996 # Parent 991d435b115fd615052b1734b7a335b7d1a0af64 bug 1595: remove unimplemented function declarations diff -r 991d435b115f -r c5b83fec4d30 src/dsr/model/dsr-option-header.h --- a/src/dsr/model/dsr-option-header.h Fri May 31 16:25:32 2013 +0200 +++ b/src/dsr/model/dsr-option-header.h Sun Jun 02 09:27:30 2013 -0700 @@ -338,16 +338,6 @@ */ 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 @@ * \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 -r 991d435b115f -r c5b83fec4d30 src/dsr/model/dsr-rcache.h --- a/src/dsr/model/dsr-rcache.h Fri May 31 16:25:32 2013 +0200 +++ b/src/dsr/model/dsr-rcache.h Sun Jun 02 09:27:30 2013 -0700 @@ -327,18 +327,6 @@ * \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 -r 991d435b115f -r c5b83fec4d30 src/dsr/model/dsr-routing.h --- a/src/dsr/model/dsr-routing.h Fri May 31 16:25:32 2013 +0200 +++ b/src/dsr/model/dsr-routing.h Sun Jun 02 09:27:30 2013 -0700 @@ -383,15 +383,6 @@ */ 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 * \param source address @@ -475,11 +466,6 @@ 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. *