mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
if_ether.h: add the definition of ETH_P_TSN
add macro definitions used by third-party libraries to resolve compilation errors. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
@@ -50,6 +50,7 @@
|
|||||||
#define ETH_P_IP ETHERTYPE_IP
|
#define ETH_P_IP ETHERTYPE_IP
|
||||||
#define ETH_P_IPV6 ETHERTYPE_IPV6
|
#define ETH_P_IPV6 ETHERTYPE_IPV6
|
||||||
#define ETH_P_ARP ETHERTYPE_ARP
|
#define ETH_P_ARP ETHERTYPE_ARP
|
||||||
|
#define ETH_P_TSN 0x22F0 /* TSN (IEEE 1722) packet */
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Type Definitions
|
* Public Type Definitions
|
||||||
|
|||||||
Reference in New Issue
Block a user