#include <ipv4-interface-container.h>
Public Member Functions | |
Ipv4InterfaceContainer () | |
void | Add (Ipv4InterfaceContainer other) |
uint32_t | GetN (void) const |
Ipv4Address | GetAddress (uint32_t i, uint32_t j=0) const |
void | Add (Ptr< Ipv4 > ipv4, uint32_t interface) |
ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer | ( | ) |
Create an empty Ipv4InterfaceContainer.
void ns3::Ipv4InterfaceContainer::Add | ( | Ptr< Ipv4 > | ipv4, | |
uint32_t | interface | |||
) |
ipv4 | pointer to Ipv4 object | |
interface | interface index of the Ipv4Interface to add to the container |
void ns3::Ipv4InterfaceContainer::Add | ( | Ipv4InterfaceContainer | other | ) |
Concatenate the entries in the other container with ours.
Ipv4Address ns3::Ipv4InterfaceContainer::GetAddress | ( | uint32_t | i, | |
uint32_t | j = 0 | |||
) | const |
uint32_t ns3::Ipv4InterfaceContainer::GetN | ( | void | ) | const |