RTRlib
Loading...
Searching...
No Matches
lrtr_ip_addr Struct Reference

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 
 

Detailed Description

The lrtr_ip_addr struct stores a IPv4 or IPv6 address in host byte order.

Parameters
verSpecifies the type of the stored address.
uUnion holding a lrtr_ipv4_addr or lrtr_ipv6_addr.

Field Documentation

◆ addr4

struct lrtr_ipv4_addr lrtr_ip_addr::addr4

◆ addr6

struct lrtr_ipv6_addr lrtr_ip_addr::addr6

◆ [union]

union { ... } lrtr_ip_addr::u

◆ ver

enum lrtr_ip_version lrtr_ip_addr::ver

The documentation for this struct was generated from the following file: