|
Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
|
MAC address configuration. More...
#include <zephyr/net/ethernet.h>
Data Fields | |
| enum net_eth_mac_type | type |
| The configuration type. | |
| uint8_t | addr [6U] |
| The static MAC address part. | |
| uint8_t | addr_len |
| The length of the statically provided part. | |
| struct nvmem_cell | cell |
| The NVMEM cell to read the MAC address from. | |
MAC address configuration.
| uint8_t net_eth_mac_config::addr[6U] |
The static MAC address part.
If less than 6 bytes are provided, this can be used as a prefix for a random generated MAC address or data read from an NVMEM cell. For example to set the OUI.
| uint8_t net_eth_mac_config::addr_len |
The length of the statically provided part.
| struct nvmem_cell net_eth_mac_config::cell |
The NVMEM cell to read the MAC address from.
CONFIG_NVMEM. | enum net_eth_mac_type net_eth_mac_config::type |
The configuration type.