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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [peripheral/] [eth.h] - Diff between revs 82 and 240

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 82 Rev 240
Line 195... Line 195...
#define ETHER_HDR_LEN sizeof(struct ether_header)
#define ETHER_HDR_LEN sizeof(struct ether_header)
#endif
#endif
#else /* !HAVE_NET_ETHERNET_H && !HAVE_SYS_ETHERNET_H - */
#else /* !HAVE_NET_ETHERNET_H && !HAVE_SYS_ETHERNET_H - */
#ifdef __CYGWIN__
#ifdef __CYGWIN__
/* define some missing cygwin defines.
/* 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
#define ETH_HLEN      14
#endif /* __CYGWIN__ */
#endif /* __CYGWIN__ */
 
 
#define ETH_ALEN    6
#define ETH_ALEN    6
 
 

powered by: WebSVN 2.1.0

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