Oops. David noticed that if_mtu is declared as a short; this makes
[unix-history] / sys / net / raw_cb.h
index 5e3be10..f8591c3 100644 (file)
  * SUCH DAMAGE.
  *
  *     from: @(#)raw_cb.h      7.6 (Berkeley) 6/28/90
  * SUCH DAMAGE.
  *
  *     from: @(#)raw_cb.h      7.6 (Berkeley) 6/28/90
- *     $Id$
+ *     $Id: raw_cb.h,v 1.2 1993/10/16 17:43:36 rgrimes Exp $
  */
 
  */
 
+#ifndef _NET_RAW_CB_H_
+#define _NET_RAW_CB_H_ 1
+
 /*
  * Raw protocol interface control block.  Used
  * to tie a socket to the generic raw interface.
 /*
  * Raw protocol interface control block.  Used
  * to tie a socket to the generic raw interface.
@@ -56,5 +59,6 @@ struct rawcb {
 #define        RAWRCVQ         8192
 
 #ifdef KERNEL
 #define        RAWRCVQ         8192
 
 #ifdef KERNEL
-struct rawcb rawcb;                    /* head of list */
+extern struct rawcb rawcb;     /* head of list */
 #endif
 #endif
+#endif /* _NET_RAW_CB_H_ */