src/helper/ipv4-interface-container.h
changeset 5227 ecb08c1fc273
parent 4472 e20a31541404
child 5229 0d0779ac3278
equal deleted inserted replaced
5225:9c612cb88d6b 5227:ecb08c1fc273
    20    */
    20    */
    21   Ipv4InterfaceContainer ();
    21   Ipv4InterfaceContainer ();
    22 
    22 
    23   /**
    23   /**
    24    * Concatenate the entries in the other container with ours.
    24    * Concatenate the entries in the other container with ours.
       
    25    * \param other container
    25    */
    26    */
    26   void Add (Ipv4InterfaceContainer other);
    27   void Add (Ipv4InterfaceContainer other);
    27 
    28 
    28   /**
    29   /**
    29    * \returns the number of interfaces stored in this Ipv4InterfaceContainer.
    30    * \returns the number of interfaces stored in this Ipv4InterfaceContainer.
    30    */
    31    */
    31   uint32_t GetN (void) const;
    32   uint32_t GetN (void) const;
    32 
    33 
    33   /**
    34   /**
       
    35    * \param i interface index
       
    36    * \param j interface address index (if interface has multiple addresses)
    34    * \returns the IPv4 address of the j'th address of the interface
    37    * \returns the IPv4 address of the j'th address of the interface
    35    *  corresponding to index i.
    38    *  corresponding to index i.
    36    * 
    39    * 
    37    * If the second parameter is omitted, the zeroth indexed address of 
    40    * If the second parameter is omitted, the zeroth indexed address of 
    38    * the interface is returned.  Unless IP aliaising is being used on
    41    * the interface is returned.  Unless IP aliaising is being used on