Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

IPv4 address struct. More...

#include <net_ip.h>

Data Fields

union { 
 
   uint8_t   s4_addr [4] 
 IPv4 address buffer. More...
 
   uint16_t   s4_addr16 [2] 
 In big endian. More...
 
   uint32_t   s4_addr32 [1] 
 In big endian. More...
 
   uint32_t   s_addr 
 In big endian, for POSIX compatibility. More...
 
};  
 

Detailed Description

IPv4 address struct.

Field Documentation

◆ [union]

union { ... } in_addr

◆ s4_addr

uint8_t in_addr::s4_addr[4]

IPv4 address buffer.

◆ s4_addr16

uint16_t in_addr::s4_addr16[2]

In big endian.

◆ s4_addr32

uint32_t in_addr::s4_addr32[1]

In big endian.

◆ s_addr

uint32_t in_addr::s_addr

In big endian, for POSIX compatibility.


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