bug 1595: remove unimplemented function declarations
authorMitch Watrous <watrous@u.washington.edu>
Sun, 02 Jun 2013 09:27:30 -0700
changeset 9821 c5b83fec4d30
parent 9820 991d435b115f
child 9822 0ac59a7893de
bug 1595: remove unimplemented function declarations
src/dsr/model/dsr-option-header.h
src/dsr/model/dsr-rcache.h
src/dsr/model/dsr-routing.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
--- 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<RouteCacheEntry::IP_VECTOR> 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
--- 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> 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.
    *