Subversion Repositories HelenOS

Rev

Rev 3992 | Rev 4243 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3992 Rev 4075
Line 42... Line 42...
42
 
42
 
43
#define ETH_ADDR        6
43
#define ETH_ADDR        6
44
 
44
 
45
#define ETH_PREAMBLE    0x55
45
#define ETH_PREAMBLE    0x55
46
 
46
 
47
#define ETH_SFD         0xF5
47
#define ETH_SFD         0xD5
48
 
-
 
49
#define ETH_LSAP_SNAP   0xAA
-
 
50
 
-
 
51
#define ETH_RAW         0xFF
-
 
52
 
48
 
53
/** Type definition of the Ethernet header with all the extensions.
49
/** Type definition of the Ethernet header with all the extensions.
54
 *  @see eth_header_ex
50
 *  @see eth_header_ex
55
 */
51
 */
56
typedef struct eth_header_ex    eth_header_ex_t;
52
typedef struct eth_header_ex    eth_header_ex_t;
Line 156... Line 152...
156
    /** SNAP extension.
152
    /** SNAP extension.
157
     */
153
     */
158
    eth_header_snap_t   snap;
154
    eth_header_snap_t   snap;
159
};
155
};
160
 
156
 
-
 
157
/** Ethernet Frame Check Sequence.
-
 
158
 */
-
 
159
typedef uint32_t        eth_fcs_t;
-
 
160
 
-
 
161
/** Ethernet Frame Check Sequence pointer.
-
 
162
 */
-
 
163
typedef eth_fcs_t *     eth_fcs_ref;
-
 
164
 
161
#endif
165
#endif
162
 
166
 
163
/** @}
167
/** @}
164
 */
168
 */