|
Zephyr API Documentation 4.3.0-rc2
A Scalable Open Source RTOS
|
Network Interface unicast IP addresses. More...
#include <zephyr/net/net_if.h>
Data Fields | |
| struct net_addr | address |
| IP address. | |
| atomic_t | atomic_ref |
| Reference counter. | |
| 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. | |
| union { | |
| }; | |
| 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. | |
| uint8_t | is_temporary: 1 |
| Is this IP address temporary and generated for example by IPv6 privacy extension (RFC 8981) | |
| uint8_t | is_added: 1 |
| Was this address added or not. | |
Network Interface unicast IP addresses.
Stores the unicast IP addresses assigned to this network interface.
| union { ... } net_if_addr |
| enum net_addr_state net_if_addr::addr_state |
What is the current state of the address.
| enum net_addr_type net_if_addr::addr_type |
How the IP address was set.
| struct net_addr net_if_addr::address |
IP address.
| atomic_t net_if_addr::atomic_ref |
Reference counter.
This is used to prevent address removal if there are sockets that have bound the local endpoint to this address.
| uint8_t net_if_addr::is_added |
Was this address added or not.
| uint8_t net_if_addr::is_infinite |
Is the IP address valid forever.
| uint8_t net_if_addr::is_mesh_local |
Is this IP address usage limited to the subnet (mesh) or not.
| uint8_t net_if_addr::is_temporary |
Is this IP address temporary and generated for example by IPv6 privacy extension (RFC 8981)
| uint8_t net_if_addr::is_used |
Is this IP address used or not.