Please wait until the page is fully downloaded and then press the "Expand" button or the blue line numbers.
0082000 /*
0082001 server/ip/gen/ether.h
0082002 */
0082003
0082004 #ifndef __SERVER__IP__GEN__ETHER_H__
0082005 #define __SERVER__IP__GEN__ETHER_H__
0082006
0082007 #define ETH_MIN_PACK_SIZE 60
0082008 #define ETH_MAX_PACK_SIZE 1514
0082009 #define ETH_HDR_SIZE 14
0082010
0082011 typedef struct ether_addr
0082012 {
0082013 u8_t ea_addr[6];
0082014 } ether_addr_t;
0082015
0082016 typedef u16_t ether_type_t;
0082017 typedef U16_t Ether_type_t;
0082018
0082019 #define ETH_RARP_PROTO 0x8035
0082020 #define ETH_ARP_PROTO 0x806
0082021 #define ETH_IP_PROTO 0x800
0082022
0082023 #endif /* __SERVER__IP__GEN__ETHER_H__ */