aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/if_ether.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/if_ether.h')
-rw-r--r--sys/netinet/if_ether.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h
index 8dc3d26a8c95..787b561e6fdf 100644
--- a/sys/netinet/if_ether.h
+++ b/sys/netinet/if_ether.h
@@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* from: @(#)if_ether.h 7.5 (Berkeley) 6/28/90
- * $Id: if_ether.h,v 1.2 1993/10/16 18:25:55 rgrimes Exp $
+ * $Id: if_ether.h,v 1.4 1993/11/25 01:35:01 wollman Exp $
*/
+#ifndef _NETINET_IF_ETHER_H_
+#define _NETINET_IF_ETHER_H_ 1
+
/*
* Structure of a 10Mb/s Ethernet header.
*/
@@ -102,8 +105,11 @@ struct arptab {
};
#ifdef KERNEL
-u_char etherbroadcastaddr[6];
+extern u_char etherbroadcastaddr[6]; /* defined in net/if_ethersubr.c */
struct arptab *arptnew();
-int ether_output(), ether_input();
-char *ether_sprintf();
+
+extern void ether_input(struct ifnet *, struct ether_header *, struct mbuf *);
+extern char *ether_sprintf(u_char *);
+
#endif
+#endif /* _NETINET_IF_ETHER_H_ */