URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1244 |
Rev 1323 |
Line 34... |
Line 34... |
/*
|
/*
|
* Ethernet protocol definitions
|
* Ethernet protocol definitions
|
*/
|
*/
|
#if HAVE_NET_ETHERNET_H
|
#if HAVE_NET_ETHERNET_H
|
# include <net/ethernet.h>
|
# include <net/ethernet.h>
|
#else /* !HAVE_NET_ETHERNET_H -*/
|
#elif HAVE_SYS_ETHERNET_H
|
|
# include <sys/ethernet.h>
|
|
#ifndef ETHER_ADDR_LEN
|
|
#define ETHER_ADDR_LEN ETHERADDRL
|
|
#endif
|
|
#ifndef ETHER_HDR_LEN
|
|
#define ETHER_HDR_LEN sizeof(struct ether_header)
|
|
#endif
|
|
#else /* !HAVE_NET_ETHERNET_H && !HAVE_SYS_ETHERNET_H -*/
|
|
|
#include <sys/types.h>
|
#include <sys/types.h>
|
|
|
#ifdef __CYGWIN__
|
#ifdef __CYGWIN__
|
/* define some missing cygwin defines.
|
/* define some missing cygwin defines.
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.