OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_47/] [or1ksim/] [peripheral/] [ethernet_i.h] - Diff between revs 889 and 1146

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];

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.