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

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable_0_2_0_rc3/] [or1ksim/] [peripheral/] [ethernet_i.h] - Diff between revs 1244 and 1323

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.

powered by: WebSVN 2.1.0

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