Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
|
Network Interface structure. More...
#include <net_if.h>
Data Fields | |
struct net_if_dev * | if_dev |
The net_if_dev instance the net_if is related to. | |
struct net_if_config | config |
Network interface instance configuration. | |
struct k_mutex | lock |
Mutex protecting this network interface instance. | |
struct k_mutex | tx_lock |
Mutex used when sending data. | |
uint8_t | pe_enabled: 1 |
Network interface specific flags. | |
uint8_t | pe_prefer_public: 1 |
If PE is enabled, then this tells whether public addresses are preferred over temporary ones for this interface. | |
Network Interface structure.
Used to handle a network interface on top of a net_if_dev instance. There can be many net_if instance against the same net_if_dev instance.
struct net_if_config net_if::config |
Network interface instance configuration.
struct net_if_dev* net_if::if_dev |
The net_if_dev instance the net_if is related to.
struct k_mutex net_if::lock |
Mutex protecting this network interface instance.
uint8_t net_if::pe_enabled |
Network interface specific flags.
Enable IPv6 privacy extension (RFC 8981), this is enabled by default if PE support is enabled in configuration.
uint8_t net_if::pe_prefer_public |
If PE is enabled, then this tells whether public addresses are preferred over temporary ones for this interface.
struct k_mutex net_if::tx_lock |
Mutex used when sending data.