#include <rtpipv6address.h>


Public Member Functions | |
| RTPIPv6Address () | |
| Creates an instance with IP address and port number set to zero. | |
| RTPIPv6Address (const uint8_t ip[16], uint16_t port=0) | |
Creates an instance with IP address ip and port number port (the port number is assumed to be in host byte order). | |
| RTPIPv6Address (in6_addr ip, uint16_t port=0) | |
Creates an instance with IP address ip and port number port (the port number is assumed to be in host byte order). | |
| void | SetIP (in6_addr ip) |
Sets the IP address for this instance to ip. | |
| void | SetIP (const uint8_t ip[16]) |
Sets the IP address for this instance to ip. | |
| void | SetPort (uint16_t port) |
Sets the port number for this instance to port, which is interpreted in host byte order. | |
| void | GetIP (uint8_t ip[16]) const |
Copies the IP address of this instance in ip. | |
| in6_addr | GetIP () const |
| Returns the IP address of this instance. | |
| uint16_t | GetPort () const |
| Returns the port number contained in this instance in host byte order. | |
| RTPIPv6Address::RTPIPv6Address | ( | ) | [inline] |
| RTPIPv6Address::RTPIPv6Address | ( | const uint8_t | ip[16], | |
| uint16_t | port = 0 | |||
| ) | [inline] |
References SetIP().
| RTPIPv6Address::RTPIPv6Address | ( | in6_addr | ip, | |
| uint16_t | port = 0 | |||
| ) | [inline] |
| in6_addr RTPIPv6Address::GetIP | ( | ) | const [inline] |
| void RTPIPv6Address::GetIP | ( | uint8_t | ip[16] | ) | const [inline] |
| uint16_t RTPIPv6Address::GetPort | ( | ) | const [inline] |
| void RTPIPv6Address::SetIP | ( | const uint8_t | ip[16] | ) | [inline] |
| void RTPIPv6Address::SetIP | ( | in6_addr | ip | ) | [inline] |
Referenced by RTPIPv6Address().
| void RTPIPv6Address::SetPort | ( | uint16_t | port | ) | [inline] |
1.5.9