Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Network Interface unicast IP addresses. More...

#include <net_if.h>

Data Fields

struct net_addr address
 IP address.
 
enum net_addr_type addr_type
 How the IP address was set.
 
enum net_addr_state addr_state
 What is the current state of the address.
 
uint8_t is_infinite: 1
 Is the IP address valid forever.
 
uint8_t is_used: 1
 Is this IP address used or not.
 
uint8_t is_mesh_local: 1
 Is this IP address usage limited to the subnet (mesh) or not.
 

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: