hartmannathan commented on code in PR #9058: URL: https://github.com/apache/nuttx/pull/9058#discussion_r1173854133
########## include/net/ethernet.h: ########## @@ -33,6 +33,10 @@ #define ETHER_ADDR_LEN 6 +#define ETHERTYPE_ARP 0x0806 /* Address resolution protocol */ +#define ETHERTYPE_IP 0x0800 /* IP */ +#define ETHERTYPE_IPV6 0x86dd /* IP protocol version 6 */ Review Comment: Maybe the defines in `include/nuttx/net/ethernet.h` should be moved here, to be similar to glibc and musl in this regard? (FreeBSD has it in sys/net/ethernet.h -- I am not sure if that's the include path programs use, or if they use net/ethernet.h without the sys.) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org