linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / linux / if.h
index 296a6c2..ce627d9 100644 (file)
@@ -8,7 +8,7 @@
  * Version:    @(#)if.h        1.0.2   04/18/93
  *
  * Authors:    Original taken from Berkeley UNIX 4.3, (c) UCB 1982-1988
- *             Ross Biro, <bir7@leland.Stanford.Edu>
+ *             Ross Biro
  *             Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
  *
  *             This program is free software; you can redistribute it and/or
@@ -33,7 +33,7 @@
 #define        IFF_LOOPBACK    0x8             /* is a loopback net            */
 #define        IFF_POINTOPOINT 0x10            /* interface is has p-p link    */
 #define        IFF_NOTRAILERS  0x20            /* avoid use of trailers        */
-#define        IFF_RUNNING     0x40            /* resources allocated          */
+#define        IFF_RUNNING     0x40            /* interface running and carrier ok */
 #define        IFF_NOARP       0x80            /* no ARP protocol              */
 #define        IFF_PROMISC     0x100           /* receive all packets          */
 #define        IFF_ALLMULTI    0x200           /* receive all multicast packets*/
@@ -108,15 +108,15 @@ struct if_settings
        unsigned int size;      /* Size of the data allocated by the caller */
        union {
                /* {atm/eth/dsl}_settings anyone ? */
-               raw_hdlc_proto          *raw_hdlc;
-               cisco_proto             *cisco;
-               fr_proto                *fr;
-               fr_proto_pvc            *fr_pvc;
-               fr_proto_pvc_info       *fr_pvc_info;
+               raw_hdlc_proto          __user *raw_hdlc;
+               cisco_proto             __user *cisco;
+               fr_proto                __user *fr;
+               fr_proto_pvc            __user *fr_pvc;
+               fr_proto_pvc_info       __user *fr_pvc_info;
 
                /* interface settings */
-               sync_serial_settings    *sync;
-               te1_settings            *te1;
+               sync_serial_settings    __user *sync;
+               te1_settings            __user *te1;
        } ifs_ifsu;
 };