Extensible Connection-oriented Messaging (XCM)
Loading...
Searching...
No Matches
Data Fields
xcm_addr_ip Struct Reference

#include <xcm_addr.h>

Data Fields

sa_family_t family
 
union { 
 
   in_addr_t   ip4 
 
   uint8_t   ip6 [16] 
 
addr 
 

Detailed Description

IPv4 or IPv6 address data type.

Field Documentation

◆ family

sa_family_t xcm_addr_ip::family

Type tag; AF_INET or AF_INET6

◆ ip4

in_addr_t xcm_addr_ip::ip4

Contains the IPv4 address in network byte order (in case family is set to AF_INET).

◆ ip6

uint8_t xcm_addr_ip::ip6[16]

Contains the IPv6 address (in case family is set to AF_INET6).

◆ [union]

union { ... } xcm_addr_ip::addr

Union containing the actual IPv4 or a IPv6 address bytes


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