URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 889 |
Rev 1146 |
Line 38... |
Line 38... |
# include <net/ethernet.h>
|
# include <net/ethernet.h>
|
#else /* !HAVE_NET_ETHERNET_H -*/
|
#else /* !HAVE_NET_ETHERNET_H -*/
|
|
|
#include <sys/types.h>
|
#include <sys/types.h>
|
|
|
|
#ifdef __CYGWIN__
|
|
/* define some missing cygwin defines.
|
|
*
|
|
* NOTE! there is no nonblocking socket option implemented in cygwin.dll
|
|
* so defining MSG_DONTWAIT is just (temporary) workaround !!!
|
|
*/
|
|
#define MSG_DONTWAIT 0x40
|
|
#define ETH_HLEN 14
|
|
#endif /* __CYGWIN__ */
|
|
|
#define ETH_ALEN 6
|
#define ETH_ALEN 6
|
|
|
struct ether_addr
|
struct ether_addr
|
{
|
{
|
u_int8_t ether_addr_octet[ETH_ALEN];
|
u_int8_t ether_addr_octet[ETH_ALEN];
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.