minor fixes
[unix-history] / usr / src / sbin / routed / defs.h
index 5ab5ca7..8abb105 100644 (file)
@@ -3,7 +3,7 @@
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)defs.h      5.1 (Berkeley) %G%
+ *     @(#)defs.h      5.3 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
 
 #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"
@@ -34,7 +34,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))