Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
|
VLAN specific definitions. More...
#include <zephyr/types.h>
Go to the source code of this file.
Macros | |
#define | NET_VLAN_TAG_UNSPEC 0x0fff |
Unspecified VLAN tag value. | |
Functions | |
static uint16_t | net_eth_vlan_get_vid (uint16_t tci) |
Get VLAN identifier from TCI. | |
static uint8_t | net_eth_vlan_get_dei (uint16_t tci) |
Get Drop Eligible Indicator from TCI. | |
static uint8_t | net_eth_vlan_get_pcp (uint16_t tci) |
Get Priority Code Point from TCI. | |
static uint16_t | net_eth_vlan_set_vid (uint16_t tci, uint16_t vid) |
Set VLAN identifier to TCI. | |
static uint16_t | net_eth_vlan_set_dei (uint16_t tci, bool dei) |
Set Drop Eligible Indicator to TCI. | |
static uint16_t | net_eth_vlan_set_pcp (uint16_t tci, uint8_t pcp) |
Set Priority Code Point to TCI. | |
VLAN specific definitions.
Virtual LAN specific definitions.