diff options
author | Eivind Eklund <eivind@FreeBSD.org> | 1998-01-08 23:42:31 +0000 |
---|---|---|
committer | Eivind Eklund <eivind@FreeBSD.org> | 1998-01-08 23:42:31 +0000 |
commit | 1d5e9e2255b72657dba67926ac2c254fd2156698 (patch) | |
tree | 13ea282d9bdb0c5cac926cf5b20b310b41db6e81 /sys/netinet/if_ether.h | |
parent | 89d224d4156fa88b8c9b8e1d88a679756b0fdd99 (diff) | |
download | src-1d5e9e2255b72657dba67926ac2c254fd2156698.tar.gz src-1d5e9e2255b72657dba67926ac2c254fd2156698.zip |
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>.
Notes
Notes:
svn path=/head/; revision=32350
Diffstat (limited to 'sys/netinet/if_ether.h')
-rw-r--r-- | sys/netinet/if_ether.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h index 3a989e7bf712..3540119748c5 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; |