install correct aliases file
[unix-history] / usr / src / sbin / routed / interface.h
index 2c3e5ac..5de7604 100644 (file)
@@ -1,9 +1,20 @@
 /*
  * Copyright (c) 1983 Regents of the University of California.
 /*
  * Copyright (c) 1983 Regents of the University of California.
- * All rights reserved.  The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
+ * All rights reserved.
  *
  *
- *     @(#)interface.h 5.2 (Berkeley) %G%
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, 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'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ *     @(#)interface.h 5.5 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -52,10 +63,12 @@ struct interface {
 #define        IFF_LOOPBACK    0x8             /* software loopback net */
 #define        IFF_POINTOPOINT 0x10            /* interface is point-to-point link */
 
 #define        IFF_LOOPBACK    0x8             /* software loopback net */
 #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();