src/dsr/model/dsr-rcache.h
changeset 9821 c5b83fec4d30
parent 9719 4031f7fdce5c
child 10405 45c8fceae24e
equal deleted inserted replaced
9820:991d435b115f 9821:c5b83fec4d30
   325   void RemoveLastEntry (std::list<RouteCacheEntry> & rtVector);
   325   void RemoveLastEntry (std::list<RouteCacheEntry> & rtVector);
   326   /**
   326   /**
   327    * \brief Define the vector of route entries.
   327    * \brief Define the vector of route entries.
   328    */
   328    */
   329   typedef std::list<RouteCacheEntry::IP_VECTOR> routeVector;
   329   typedef std::list<RouteCacheEntry::IP_VECTOR> routeVector;
   330   /**
       
   331    * \brief Get the destination address of the route.
       
   332    */
       
   333   Ipv4Address GetDestination (void) const;
       
   334   /**
       
   335    * \brief Remove all packets with destination IP address dst
       
   336    */
       
   337   void DropPathWithDst (Ipv4Address dst);
       
   338   /**
       
   339    * \brief To know if the two entries are the same
       
   340    */
       
   341   bool IsEqual (RouteCacheEntry ca);
       
   342   // /\name Fields
   330   // /\name Fields
   343   // \{
   331   // \{
   344   bool GetSubRoute () const
   332   bool GetSubRoute () const
   345   {
   333   {
   346     return m_subRoute;
   334     return m_subRoute;