Structure to hold network addresses in a tagged union which should be IPv4 and IPv6 compatible. Use the family member (either AF_INET or AF_INET6) to determine which type of address is contained.  
 More...
#include <ip-utils.h>
Data Fields | ||
| int | family | |
| union { | ||
| struct in_addr ipv4 | ||
| struct in6_addr ipv6 | ||
| }; | ||
Structure to hold network addresses in a tagged union which should be IPv4 and IPv6 compatible. Use the family member (either AF_INET or AF_INET6) to determine which type of address is contained. 
janus_network_get_device_address | union { ... } janus_network_address | 
| int janus_network_address::family | 
Should be either AF_INET for IPv4 or AF_INET6 for IPv6. 
| struct in_addr janus_network_address::ipv4 | 
| struct in6_addr janus_network_address::ipv6 |