This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history] / sys / netinet / if_ether.h
index ef86f7c..6831175 100644 (file)
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- *     @(#)if_ether.h  7.5 (Berkeley) 6/28/90
+ *     from: @(#)if_ether.h    7.5 (Berkeley) 6/28/90
+ *     $Id: if_ether.h,v 1.3 1993/11/07 17:47:47 wollman Exp $
  */
 
  */
 
+#ifndef _NETINET_IF_ETHER_H_
+#define _NETINET_IF_ETHER_H_ 1
+
 /*
  * Structure of a 10Mb/s Ethernet header.
  */
 /*
  * Structure of a 10Mb/s Ethernet header.
  */
@@ -101,8 +105,11 @@ struct     arptab {
 };
 
 #ifdef KERNEL
 };
 
 #ifdef KERNEL
-u_char etherbroadcastaddr[6];
+extern u_char  etherbroadcastaddr[6]; /* defined in net/if_ethersubr.c */
 struct arptab *arptnew();
 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
+#endif /* _NETINET_IF_ETHER_H_ */