add Berkeley specific headers
[unix-history] / usr / src / sbin / routed / defs.h
index c983729..a737fed 100644 (file)
@@ -1,4 +1,16 @@
-/*     defs.h  4.17    85/06/03        */
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that this notice is preserved and that due credit is given
+ * to the University of California at Berkeley. The name of the University
+ * may not be used to endorse or promote products derived from this
+ * software without specific prior written permission. This software
+ * is provided ``as is'' without express or implied warranty.
+ *
+ *     @(#)defs.h      5.4 (Berkeley) %G%
+ */
 
 /*
  * Internal data structure definitions for
 
 /*
  * Internal data structure definitions for
 
 #include <net/route.h>
 #include <netinet/in.h>
 
 #include <net/route.h>
 #include <netinet/in.h>
+#include <protocols/routed.h>
 
 #include <stdio.h>
 #include <netdb.h>
 
 
 #include <stdio.h>
 #include <netdb.h>
 
-#include "protocol.h"
 #include "trace.h"
 #include "interface.h"
 #include "table.h"
 #include "trace.h"
 #include "interface.h"
 #include "table.h"
@@ -28,7 +40,6 @@
  */
 #define        CHECK_INTERVAL  (1*60)
 
  */
 #define        CHECK_INTERVAL  (1*60)
 
-#define        LOOPBACKNET     0x7f000000      /* 127.0.0.0 */
 #define equal(a1, a2) \
        (bcmp((caddr_t)(a1), (caddr_t)(a2), sizeof (struct sockaddr)) == 0)
 #define        min(a,b)        ((a)>(b)?(b):(a))
 #define equal(a1, a2) \
        (bcmp((caddr_t)(a1), (caddr_t)(a2), sizeof (struct sockaddr)) == 0)
 #define        min(a,b)        ((a)>(b)?(b):(a))