Zephyr API Documentation
2.7.0-rc2
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 |
Functions | |
static uint16_t | net_eth_vlan_get_vid (uint16_t tci) |
Get VLAN identifier from TCI. More... | |
static uint8_t | net_eth_vlan_get_dei (uint16_t tci) |
Get Drop Eligible Indicator from TCI. More... | |
static uint8_t | net_eth_vlan_get_pcp (uint16_t tci) |
Get Priority Code Point from TCI. More... | |
static uint16_t | net_eth_vlan_set_vid (uint16_t tci, uint16_t vid) |
Set VLAN identifier to TCI. More... | |
static uint16_t | net_eth_vlan_set_dei (uint16_t tci, bool dei) |
Set Drop Eligible Indicator to TCI. More... | |
static uint16_t | net_eth_vlan_set_pcp (uint16_t tci, uint8_t pcp) |
Set Priority Code Point to TCI. More... | |
VLAN specific definitions.
Virtual LAN specific definitions.