IFA_ROUTE now protocol independent
authorKeith Sklower <sklower@ucbvax.Berkeley.EDU>
Fri, 6 Apr 1990 02:52:20 +0000 (18:52 -0800)
committerKeith Sklower <sklower@ucbvax.Berkeley.EDU>
Fri, 6 Apr 1990 02:52:20 +0000 (18:52 -0800)
SCCS-vsn: sys/netns/ns_if.h 7.5

usr/src/sys/netns/ns_if.h

index b58c2dd..0851a5d 100644 (file)
@@ -14,7 +14,7 @@
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- *     @(#)ns_if.h     7.4 (Berkeley) %G%
+ *     @(#)ns_if.h     7.5 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -27,9 +27,9 @@
 struct ns_ifaddr {
        struct  ifaddr ia_ifa;          /* protocol-independent info */
 #define        ia_ifp          ia_ifa.ifa_ifp
 struct ns_ifaddr {
        struct  ifaddr ia_ifa;          /* protocol-independent info */
 #define        ia_ifp          ia_ifa.ifa_ifp
+#define        ia_flags        ia_ifa.ifa_flags
 /*     union   ns_net  ia_net;         /* network number of interface */
 #define ia_net         ia_addr.sns_addr.x_net
 /*     union   ns_net  ia_net;         /* network number of interface */
 #define ia_net         ia_addr.sns_addr.x_net
-       int     ia_flags;
        struct  ns_ifaddr *ia_next;     /* next in list of xerox addresses */
        struct  sockaddr_ns ia_addr;    /* reserve space for my address */
        struct  sockaddr_ns ia_dstaddr; /* space for my broadcast address */
        struct  ns_ifaddr *ia_next;     /* next in list of xerox addresses */
        struct  sockaddr_ns ia_addr;    /* reserve space for my address */
        struct  sockaddr_ns ia_dstaddr; /* space for my broadcast address */
@@ -49,10 +49,6 @@ struct       ns_aliasreq {
  */
 
 #define        IA_SNS(ia) (&(((struct ns_ifaddr *)(ia))->ia_addr))
  */
 
 #define        IA_SNS(ia) (&(((struct ns_ifaddr *)(ia))->ia_addr))
-/*
- * ia_flags
- */
-#define        IFA_ROUTE       0x01            /* routing entry installed */
 
 /* This is not the right place for this but where is? */
 #define        ETHERTYPE_NS    0x0600
 
 /* This is not the right place for this but where is? */
 #define        ETHERTYPE_NS    0x0600