mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 18:27:56 +08:00
Add Ethernet definitions
This commit is contained in:
@@ -60,9 +60,13 @@
|
||||
|
||||
/* Recognized values of the type bytes in the Ethernet header */
|
||||
|
||||
#define UIP_ETHTYPE_ARP 0x0806
|
||||
#define UIP_ETHTYPE_IP 0x0800
|
||||
#define UIP_ETHTYPE_IP6 0x86dd
|
||||
#define UIP_ETHTYPE_ARP 0x0806 /* Address resolution protocol */
|
||||
#define UIP_ETHTYPE_IP 0x0800 /* IP protocol */
|
||||
#define UIP_ETHTYPE_IP6 0x86dd /* IP protocol version 6 */
|
||||
|
||||
/* Size of the Ethernet header */
|
||||
|
||||
#define UIP_ETHH_LEN 14 /* Minimum size: 2*6 + 2 */
|
||||
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
|
||||
Reference in New Issue
Block a user