Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
net_if_addr Struct Reference

Network Interface unicast IP addresses. More...

#include <net_if.h>

Data Fields

struct net_addr address
 
enum net_addr_type addr_type
 
enum net_addr_state addr_state
 
uint8_t is_infinite: 1
 
uint8_t is_used: 1
 
uint8_t is_mesh_local: 1
 

Detailed Description

Network Interface unicast IP addresses.

Stores the unicast IP addresses assigned to this network interface.

Field Documentation

◆ addr_state

enum net_addr_state net_if_addr::addr_state

What is the current state of the address

◆ addr_type

enum net_addr_type net_if_addr::addr_type

How the IP address was set

◆ address

struct net_addr net_if_addr::address

IP address

◆ is_infinite

uint8_t net_if_addr::is_infinite

Is the IP address valid forever

◆ is_mesh_local

uint8_t net_if_addr::is_mesh_local

Is this IP address usage limited to the subnet (mesh) or not

◆ is_used

uint8_t net_if_addr::is_used

Is this IP address used or not


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