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:
daichuan
2024-09-30 11:28:42 +08:00
committed by Xiang Xiao
parent 09e12a58d3
commit ba54829239
3 changed files with 11 additions and 0 deletions
+1
View File
@@ -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