An Inet6 address class.
More...
#include <inet6-socket-address.h>
List of all members.
Detailed Description
An Inet6 address class.
Constructor & Destructor Documentation
ns3::Inet6SocketAddress::Inet6SocketAddress |
( |
Ipv6Address |
ipv6, |
|
|
uint16_t |
port | |
|
) |
| | |
Constructor.
- Parameters:
-
| ipv6 | the IPv6 address |
| port | the port |
ns3::Inet6SocketAddress::Inet6SocketAddress |
( |
Ipv6Address |
ipv6 |
) |
|
Constructor (the port is set to zero).
- Parameters:
-
ns3::Inet6SocketAddress::Inet6SocketAddress |
( |
uint16_t |
port |
) |
|
Constructor (the address is set to "any").
- Parameters:
-
ns3::Inet6SocketAddress::Inet6SocketAddress |
( |
const char * |
ipv6, |
|
|
uint16_t |
port | |
|
) |
| | |
Constructor.
- Parameters:
-
| ipv6 | string which represents an IPv6 address |
| port | the port |
ns3::Inet6SocketAddress::Inet6SocketAddress |
( |
const char * |
ipv6 |
) |
|
Constructor.
- Parameters:
-
| ipv6 | string which represents an IPv6 address |
Member Function Documentation
Address ns3::Inet6SocketAddress::ConvertTo |
( |
void |
|
) |
const [private] |
Ipv6Address ns3::Inet6SocketAddress::GetIpv6 |
( |
void |
|
) |
const |
Get the IPv6 address.
- Returns:
- the IPv6 address
uint16_t ns3::Inet6SocketAddress::GetPort |
( |
void |
|
) |
const |
Get the port.
- Returns:
- the port
static uint8_t ns3::Inet6SocketAddress::GetType |
( |
void |
|
) |
[static, private] |
static bool ns3::Inet6SocketAddress::IsMatchingType |
( |
const Address & |
addr |
) |
[static] |
If the address match.
- Parameters:
-
- Returns:
- true if the address match, false otherwise
void ns3::Inet6SocketAddress::SetIpv6 |
( |
Ipv6Address |
ipv6 |
) |
|
Set the IPv6 address.
- Parameters:
-
void ns3::Inet6SocketAddress::SetPort |
( |
uint16_t |
port |
) |
|
Set the port.
- Parameters:
-
The documentation for this class was generated from the following file:
- src/node/inet6-socket-address.h