Go to the documentation of this file.
19 #define E_T_PAD 0x4000
32 #define T_ERROR (T_HB | T_LC | T_RL | T_UN | T_CSL)
50 #define ETHER_R_ERROR (R_LG | R_NO | R_SH | R_CR | R_OV | R_CL)
56 #define ETHERNET_GRA 0x0080
57 #define ETHERNET_TXE 0x0010
58 #define ETHERNET_RXF 0x0008
59 #define ETHERNET_BSY 0x0004
60 #define ETHERNET_TXB 0x0002
61 #define ETHERNET_RXB 0x0001
66 #define ETHER_HBC 0x8000
67 #define ETHER_FC 0x4000
68 #define ETHER_RSH 0x2000
69 #define ETHER_IAM 0x1000
70 #define ETHER_CRC_32 (0x2<<10)
71 #define ETHER_PRO 0x0200
72 #define ETHER_BRO 0x0100
73 #define ETHER_SBT 0x0080
74 #define ETHER_LPB 0x0040
75 #define ETHER_SIP 0x0020
76 #define ETHER_LCW 0x0010
77 #define ETHER_NIB_13 (0x0<<1)
78 #define ETHER_NIB_14 (0x1<<1)
79 #define ETHER_NIB_15 (0x2<<1)
80 #define ETHER_NIB_16 (0x3<<1)
81 #define ETHER_NIB_21 (0x4<<1)
82 #define ETHER_NIB_22 (0x5<<1)
83 #define ETHER_NIB_23 (0x6<<1)
84 #define ETHER_NIB_24 (0x7<<1)
90 #define C_PRES 0xffffffff
91 #define C_MASK 0xdebb20e3
92 #define CRCEC 0x00000000
93 #define ALEC 0x00000000
94 #define DISFC 0x00000000
95 #define PADS 0x00000000
96 #define RET_LIM 0x000f
97 #define ETH_MFLR 0x05ee
101 #define GADDR1 0x00000000
102 #define GADDR2 0x00000000
103 #define GADDR3 0x00000000
104 #define GADDR4 0x00000000
105 #define P_PER 0x00000000
106 #define IADDR1 0x00000000
107 #define IADDR2 0x00000000
108 #define IADDR3 0x00000000
109 #define IADDR4 0x00000000
110 #define TADDR_H 0x00000000
111 #define TADDR_M 0x00000000
112 #define TADDR_L 0x00000000
145 #define MAX_DATALEN 1500