mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 07:46:16 +08:00
include: modify for support socat, so need add some macro same as linux
add the necessary definitions to the Header File Signed-off-by: daichuan<daichuan@xiaomi.com>
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
#define ETH_MIN_MTU 68 /* Min IPv4 MTU per RFC791 */
|
||||
#define ETH_MAX_MTU 0xFFFFU /* 65535, same as IP_MAX_MTU */
|
||||
|
||||
#define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */
|
||||
#define ETH_P_IP ETHERTYPE_IP
|
||||
#define ETH_P_ARP ETHERTYPE_ARP
|
||||
|
||||
|
||||
Reference in New Issue
Block a user