summaryrefslogtreecommitdiffstats
path: root/sys/netinet/if_ether.h
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-01-08 23:42:31 +0000
committereivind <eivind@FreeBSD.org>1998-01-08 23:42:31 +0000
commitbcae2312afcaa3b4fd34daac5baa64dbb82f57c5 (patch)
treefea007e0b2375970df63c0905adfbd464aaa0f74 /sys/netinet/if_ether.h
parentc40850d5f4e14c6f1d76a0a345e6ba081a4ebd21 (diff)
downloadFreeBSD-src-bcae2312afcaa3b4fd34daac5baa64dbb82f57c5.zip
FreeBSD-src-bcae2312afcaa3b4fd34daac5baa64dbb82f57c5.tar.gz
Make INET a proper option.
This will not make any of object files that LINT create change; there might be differences with INET disabled, but hardly anything compiled before without INET anyway. Now the 'obvious' things will give a proper error if compiled without inet - ipx_ip, ipfw, tcp_debug. The only thing that _should_ work (but can't be made to compile reasonably easily) is sppp :-( This commit move struct arpcom from <netinet/if_ether.h> to <net/if_arp.h>.
Diffstat (limited to 'sys/netinet/if_ether.h')
-rw-r--r--sys/netinet/if_ether.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h
index 3a989e7..3540119 100644
--- a/sys/netinet/if_ether.h
+++ b/sys/netinet/if_ether.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if_ether.h 8.3 (Berkeley) 5/2/95
- * $Id$
+ * $Id: if_ether.h,v 1.20 1997/02/22 09:41:25 peter Exp $
*/
#ifndef _NETINET_IF_ETHER_H_
@@ -77,21 +77,6 @@ struct ether_arp {
#define arp_pln ea_hdr.ar_pln
#define arp_op ea_hdr.ar_op
-
-/*
- * Structure shared between the ethernet driver modules and
- * the address resolution code. For example, each ec_softc or il_softc
- * begins with this structure.
- */
-struct arpcom {
- /*
- * The ifnet struct _must_ be at the head of this structure.
- */
- struct ifnet ac_if; /* network-visible interface */
- u_char ac_enaddr[ETHER_ADDR_LEN]; /* ethernet hardware address */
- int ac_multicnt; /* length of ac_multiaddrs list */
-};
-
struct sockaddr_inarp {
u_char sin_len;
u_char sin_family;
@@ -109,7 +94,6 @@ struct sockaddr_inarp {
#define RTF_ANNOUNCE RTF_PROTO2 /* announce new arp entry */
#ifdef KERNEL
-extern u_char etherbroadcastaddr[ETHER_ADDR_LEN];
extern u_char ether_ipmulticast_min[ETHER_ADDR_LEN];
extern u_char ether_ipmulticast_max[ETHER_ADDR_LEN];
extern struct ifqueue arpintrq;
OpenPOWER on IntegriCloud