diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-01-04 16:03:48 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-01-04 16:03:48 +0000 |
commit | 78c388aed2b7184182c08428db1de6c872d815f5 (patch) | |
tree | 4b2003b1b4ceb241a17faa995da8dd1004bb8e45 /include/linux/if.h | |
parent | eb7a5bf93aaa4be1d7c6181100ab7639e74d67f7 (diff) |
Merge with Linux 2.1.131 and more MIPS goodies.
(Did I mention that CVS is buggy ...)
Diffstat (limited to 'include/linux/if.h')
-rw-r--r-- | include/linux/if.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/linux/if.h b/include/linux/if.h index a5fdf3aed..cd5f31391 100644 --- a/include/linux/if.h +++ b/include/linux/if.h @@ -43,7 +43,9 @@ #define IFF_PORTSEL 0x2000 /* can set media type */ #define IFF_AUTOMEDIA 0x4000 /* auto media select active */ -#define IFF_NODYNARP 0x8000 /* use static ARP only (HIPPI) */ +#define IFF_DYNAMIC 0x8000 /* dialup device with changing addresses*/ + +#ifdef __KERNEL__ /* * The ifaddr structure contains information about one address * of an interface. They are maintained by the different address @@ -66,6 +68,8 @@ struct ifaddr #define ifa_broadaddr ifa_ifu.ifu_broadaddr /* broadcast address */ #define ifa_dstaddr ifa_ifu.ifu_dstaddr /* other end of link */ +#endif /* __KERNEL__ */ + /* * Device mapping structure. I'd just gone off and designed a * beautiful scheme using only loadable modules with arguments @@ -115,7 +119,7 @@ struct ifreq struct ifmap ifru_map; char ifru_slave[IFNAMSIZ]; /* Just fits the size */ char ifru_newname[IFNAMSIZ]; - __kernel_caddr_t ifru_data; + char * ifru_data; } ifr_ifru; }; @@ -148,7 +152,7 @@ struct ifconf int ifc_len; /* size of buffer */ union { - __kernel_caddr_t ifcu_buf; + char * ifcu_buf; struct ifreq *ifcu_req; } ifc_ifcu; }; |