Represents an IPv6 IP address and port.
More...
#include <rtpipv6address.h>
|
| RTPIPv6Address () |
| Creates an instance with IP address and port number set to zero. More...
|
|
| 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). More...
|
|
| 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). More...
|
|
void | SetIP (in6_addr ip) |
| Sets the IP address for this instance to ip . More...
|
|
void | SetIP (const uint8_t ip[16]) |
| Sets the IP address for this instance to ip . More...
|
|
void | SetPort (uint16_t port) |
| Sets the port number for this instance to port , which is interpreted in host byte order. More...
|
|
void | GetIP (uint8_t ip[16]) const |
| Copies the IP address of this instance in ip . More...
|
|
in6_addr | GetIP () const |
| Returns the IP address of this instance. More...
|
|
uint16_t | GetPort () const |
| Returns the port number contained in this instance in host byte order. More...
|
|
AddressType | GetAddressType () const |
| Returns the type of address the actual implementation represents. More...
|
|
This class is used by the UDP over IPv4 transmission component. When an RTPIPv6Address is used in one of the multicast functions of the transmitter, the port number is ignored. When an instance is used in one of the accept or ignore functions of the transmitter, a zero port number represents all ports for the specified IP address.
jrtplib::RTPIPv6Address::RTPIPv6Address |
( |
| ) |
|
|
inline |
jrtplib::RTPIPv6Address::RTPIPv6Address |
( |
const uint8_t |
ip[16], |
|
|
uint16_t |
port = 0 |
|
) |
| |
|
inline |
jrtplib::RTPIPv6Address::RTPIPv6Address |
( |
in6_addr |
ip, |
|
|
uint16_t |
port = 0 |
|
) |
| |
|
inline |
void jrtplib::RTPIPv6Address::GetIP |
( |
uint8_t |
ip[16] | ) |
const |
|
inline |
in6_addr jrtplib::RTPIPv6Address::GetIP |
( |
| ) |
const |
|
inline |
uint16_t jrtplib::RTPIPv6Address::GetPort |
( |
| ) |
const |
|
inline |
void jrtplib::RTPIPv6Address::SetIP |
( |
in6_addr |
ip | ) |
|
|
inline |
void jrtplib::RTPIPv6Address::SetIP |
( |
const uint8_t |
ip[16] | ) |
|
|
inline |
void jrtplib::RTPIPv6Address::SetPort |
( |
uint16_t |
port | ) |
|
|
inline |
The documentation for this class was generated from the following file: