This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new cbc13cc8aad if_ether.h: add the definition of ETH_P_TSN
cbc13cc8aad is described below

commit cbc13cc8aad800043bb78fca1b57e24498d7a2ef
Author: zhanghongyu <[email protected]>
AuthorDate: Mon Jun 9 22:12:55 2025 +0800

    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 <[email protected]>
---
 include/netinet/if_ether.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/netinet/if_ether.h b/include/netinet/if_ether.h
index 01da882ab35..db35a1c43a9 100644
--- a/include/netinet/if_ether.h
+++ b/include/netinet/if_ether.h
@@ -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

Reply via email to