mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00: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:
parent
38378149ed
commit
cbc13cc8aa
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue