keep track of a set of ipv4 interfaces.
More...
#include <ipv4-interface-container.h>
List of all members.
Detailed Description
keep track of a set of ipv4 interfaces.
Constructor & Destructor Documentation
ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer |
( |
|
) |
|
Member Function Documentation
Concatenate the entries in the other container with ours.
void ns3::Ipv4InterfaceContainer::Add |
( |
Ptr< Ipv4 > |
ipv4, |
|
|
uint32_t |
interface | |
|
) |
| | |
- Parameters:
-
| ipv4 | pointer to Ipv4 object |
| interface | interface index of the Ipv4Interface to add to the container |
Ipv4Address ns3::Ipv4InterfaceContainer::GetAddress |
( |
uint32_t |
i, |
|
|
uint32_t |
j = 0 | |
|
) |
| | const |
- Returns:
- the IPv4 address of the j'th address of the interface corresponding to index i.
If the second parameter is omitted, the zeroth indexed address of the interface is returned. Unless IP aliaising is being used on the interface, the second parameter may typically be omitted.
uint32_t ns3::Ipv4InterfaceContainer::GetN |
( |
void |
|
) |
const |
The documentation for this class was generated from the following file:
- src/helper/ipv4-interface-container.h