new pathname (dump)
[unix-history] / usr / src / sbin / routed / interface.h
index d306ada..e7320cc 100644 (file)
@@ -1,4 +1,11 @@
-/*     interface.h     4.3     85/06/03        */
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved.
+ *
+ * %sccs.include.redist.c%
+ *
+ *     @(#)interface.h 5.6 (Berkeley) %G%
+ */
 
 /*
  * Routing table management daemon.
 
 /*
  * Routing table management daemon.
@@ -43,13 +50,15 @@ struct interface {
 #define        IFF_UP          0x1             /* interface is up */
 #define        IFF_BROADCAST   0x2             /* broadcast address valid */
 #define        IFF_DEBUG       0x4             /* turn on debugging */
 #define        IFF_UP          0x1             /* interface is up */
 #define        IFF_BROADCAST   0x2             /* broadcast address valid */
 #define        IFF_DEBUG       0x4             /* turn on debugging */
-#define        IFF_ROUTE       0x8             /* routing entry installed */
+#define        IFF_LOOPBACK    0x8             /* software loopback net */
 #define        IFF_POINTOPOINT 0x10            /* interface is point-to-point link */
 
 #define        IFF_POINTOPOINT 0x10            /* interface is point-to-point link */
 
+#define        IFF_SUBNET      0x1000          /* interface on subnetted network */
 #define        IFF_PASSIVE     0x2000          /* can't tell if up/down */
 #define        IFF_INTERFACE   0x4000          /* hardware interface */
 #define        IFF_REMOTE      0x8000          /* interface isn't on this machine */
 
 struct interface *if_ifwithaddr();
 #define        IFF_PASSIVE     0x2000          /* can't tell if up/down */
 #define        IFF_INTERFACE   0x4000          /* hardware interface */
 #define        IFF_REMOTE      0x8000          /* interface isn't on this machine */
 
 struct interface *if_ifwithaddr();
+struct interface *if_ifwithdstaddr();
 struct interface *if_ifwithnet();
 struct interface *if_iflookup();
 struct interface *if_ifwithnet();
 struct interface *if_iflookup();