ConOpSys V2970  P004.07
ANVILEX control operating system
Macros
ETH Buffers setting
Collaboration diagram for ETH Buffers setting:

Macros

#define ETH_MAX_PACKET_SIZE   1524U
 
#define ETH_HEADER   14U
 
#define ETH_CRC   4U
 
#define ETH_EXTRA   2U
 
#define ETH_VLAN_TAG   4U
 
#define ETH_MIN_ETH_PAYLOAD   46U
 
#define ETH_MAX_ETH_PAYLOAD   1500U
 
#define ETH_JUMBO_FRAME_PAYLOAD   9000U
 

Detailed Description

Macro Definition Documentation

◆ ETH_CRC

#define ETH_CRC   4U

Ethernet CRC

◆ ETH_EXTRA

#define ETH_EXTRA   2U

Extra bytes in some cases

◆ ETH_HEADER

#define ETH_HEADER   14U

6 byte Dest addr, 6 byte Src addr, 2 byte length/type

◆ ETH_JUMBO_FRAME_PAYLOAD

#define ETH_JUMBO_FRAME_PAYLOAD   9000U

Jumbo frame payload size

◆ ETH_MAX_ETH_PAYLOAD

#define ETH_MAX_ETH_PAYLOAD   1500U

Maximum Ethernet payload size

◆ ETH_MAX_PACKET_SIZE

#define ETH_MAX_PACKET_SIZE   1524U

ETH_HEADER + ETH_EXTRA + ETH_VLAN_TAG + ETH_MAX_ETH_PAYLOAD + ETH_CRC

◆ ETH_MIN_ETH_PAYLOAD

#define ETH_MIN_ETH_PAYLOAD   46U

Minimum Ethernet payload size

◆ ETH_VLAN_TAG

#define ETH_VLAN_TAG   4U

optional 802.1q VLAN Tag