Explorar o código

[lwIP] Add EAPOL type packet.

Bernard Xiong %!s(int64=9) %!d(string=hai) anos
pai
achega
36edc2c441
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      components/net/lwip-1.4.1/src/include/netif/etharp.h

+ 1 - 0
components/net/lwip-1.4.1/src/include/netif/etharp.h

@@ -139,6 +139,7 @@ PACK_STRUCT_END
 #define ETHTYPE_VLAN      0x8100U
 #define ETHTYPE_PPPOEDISC 0x8863U  /* PPP Over Ethernet Discovery Stage */
 #define ETHTYPE_PPPOE     0x8864U  /* PPP Over Ethernet Session Stage */
+#define ETHTYPE_EAPOL     0x888eU  /* EAPOL */
 
 /** MEMCPY-like macro to copy to/from struct eth_addr's that are local variables
  * or known to be 32-bit aligned within the protocol header. */