Fork me on GitHub
Loading...
Searching...
No Matches
janus_network_address Struct Reference

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 Structures

union  [union].__unnamed0__

Data Fields

int family
union  

Detailed Description

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.

See also
man 7 ip
man 7 ipv6
janus_network_get_device_address

Field Documentation

◆ @143374175017151021171026271250151154044076160077

◆ family

int janus_network_address::family

Should be either AF_INET for IPv4 or AF_INET6 for IPv6.


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