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:
zhanghongyu
2025-06-09 22:12:55 +08:00
committed by Xiang Xiao
parent 38378149ed
commit cbc13cc8aa
+1
View File
@@ -50,6 +50,7 @@
#define ETH_P_IP ETHERTYPE_IP
#define ETH_P_IPV6 ETHERTYPE_IPV6
#define ETH_P_ARP ETHERTYPE_ARP
#define ETH_P_TSN 0x22F0 /* TSN (IEEE 1722) packet */
/****************************************************************************
* Public Type Definitions