Zephyr Project API 3.7.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Network Interface structure. More...

#include <net_if.h>

Data Fields

struct net_if_devif_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.
 

Detailed Description

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.

Field Documentation

◆ config

struct net_if_config net_if::config

Network interface instance configuration.

◆ if_dev

struct net_if_dev* net_if::if_dev

The net_if_dev instance the net_if is related to.

◆ lock

struct k_mutex net_if::lock

Mutex protecting this network interface instance.

◆ pe_enabled

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.

◆ pe_prefer_public

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.

◆ tx_lock

struct k_mutex net_if::tx_lock

Mutex used when sending data.


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