# in6_addr Struct Reference

`#include <in.h>`

## Data Fields
union {
uint8_t u6_addr8 [16]
uint16_t u6_addr16 [8]
uint32_t u6_addr32 [4]
} | in6_u

## Detailed Description

IPv6 address data structure.

## Field Documentation

uint8_t in6_addr::u6_addr8[16]

IP Address as an array of bytes

uint16_t in6_addr::u6_addr16[8]

IP Address as an array of shorts

uint32_t in6_addr::u6_addr32[4]

IP Address as an array of 32-bit integers

union { ... } in6_addr::in6_u

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

- include/netinet/in.h