SCCS-vsn: sys/netns/ns_if.h 7.5
* 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%
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
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 */
*/
#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