src/internet/model/ipv4.h
changeset 9915 d4c2228d3c30
parent 8922 922350836734
child 10440 1e48ff9185f1
equal deleted inserted replaced
9914:201715662b32 9915:d4c2228d3c30
   246    * \param addressIndex index of Ipv4InterfaceAddress to remove 
   246    * \param addressIndex index of Ipv4InterfaceAddress to remove 
   247    * \returns true if the operation succeeded
   247    * \returns true if the operation succeeded
   248    */
   248    */
   249   virtual bool RemoveAddress (uint32_t interface, uint32_t addressIndex) = 0;
   249   virtual bool RemoveAddress (uint32_t interface, uint32_t addressIndex) = 0;
   250 
   250 
       
   251    /**
       
   252    * \brief Remove the given address on named Ipv4 interface
       
   253    *
       
   254    * \param interface Interface number of an Ipv4 interface
       
   255    * \param address The address to remove
       
   256    * \returns true if the operation succeeded
       
   257    */
       
   258   virtual bool RemoveAddress (uint32_t interface, Ipv4Address address) = 0;
       
   259 
   251   /**
   260   /**
   252    * \brief Return the first primary source address with scope less than 
   261    * \brief Return the first primary source address with scope less than 
   253    * or equal to the requested scope, to use in sending a packet to 
   262    * or equal to the requested scope, to use in sending a packet to 
   254    * destination dst out of the specified device.
   263    * destination dst out of the specified device.
   255    *
   264    *