diff options
author | wollman <wollman@FreeBSD.org> | 1995-05-11 00:13:26 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1995-05-11 00:13:26 +0000 |
commit | 37660997fe63e18311e879f7d973edfeb03a28f5 (patch) | |
tree | 300274f99668c935a329a2380c568f8de35d4eb3 /sys/netinet/if_ether.c | |
parent | 78ce3864de28cf6df1d35bae1167167384cc0d42 (diff) | |
download | FreeBSD-src-37660997fe63e18311e879f7d973edfeb03a28f5.zip FreeBSD-src-37660997fe63e18311e879f7d973edfeb03a28f5.tar.gz |
Make networking domains drop-ins, through the magic of GNU ld. (Some day,
there may even be LKMs.) Also, change the internal name of `unixdomain'
to `localdomain' since AF_LOCAL is now the preferred name of this family.
Declare netisr correctly and in the right place.
Diffstat (limited to 'sys/netinet/if_ether.c')
-rw-r--r-- | sys/netinet/if_ether.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 02fa2b8..cc1611f 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if_ether.c 8.1 (Berkeley) 6/10/93 - * $Id: if_ether.c,v 1.14 1995/04/26 18:10:52 pst Exp $ + * $Id: if_ether.c,v 1.15 1995/05/09 13:35:44 davidg Exp $ */ /* @@ -54,6 +54,7 @@ #include <net/if.h> #include <net/if_dl.h> #include <net/route.h> +#include <net/netisr.h> #include <netinet/in.h> #include <netinet/in_systm.h> @@ -367,7 +368,7 @@ arpresolve(ac, rt, m, dst, desten, rt0) * then the protocol-specific routine is called. */ void -arpintr() +arpintr(void) { register struct mbuf *m; register struct arphdr *ar; @@ -396,6 +397,8 @@ arpintr() } } +NETISR_SET(NETISR_ARP, arpintr); + /* * ARP for Internet protocols on 10 Mb/s Ethernet. * Algorithm is that given in RFC 826. |