|
RTRlib
|
The lrtr_ip_addr struct stores a IPv4 or IPv6 address in host byte order. More...
#include <ip.h>
Data Fields | ||
| enum lrtr_ip_version | ver | |
| union { | ||
| struct lrtr_ipv4_addr addr4 | ||
| struct lrtr_ipv6_addr addr6 | ||
| } | u | |
The lrtr_ip_addr struct stores a IPv4 or IPv6 address in host byte order.
| ver | Specifies the type of the stored address. |
| u | Union holding a lrtr_ipv4_addr or lrtr_ipv6_addr. |
| struct lrtr_ipv4_addr lrtr_ip_addr::addr4 |
| struct lrtr_ipv6_addr lrtr_ip_addr::addr6 |
| union { ... } lrtr_ip_addr::u |
| enum lrtr_ip_version lrtr_ip_addr::ver |