소스 검색

protocol: ethernet_proto: add ETHERTYPE_ARP

ambrop7 14 년 전
부모
커밋
db002ff92c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      misc/ethernet_proto.h

+ 1 - 0
misc/ethernet_proto.h

@@ -30,6 +30,7 @@
 #include <stdint.h>
 
 #define ETHERTYPE_IPV4 0x0800
+#define ETHERTYPE_ARP 0x0806
 
 struct ethernet_header {
     uint8_t dest[6];