Page MenuHomeFreeBSD

D29894.id87884.diff
No OneTemporary

D29894.id87884.diff

Index: sys/net/if.c
===================================================================
--- sys/net/if.c
+++ sys/net/if.c
@@ -149,6 +149,15 @@
CTASSERT(__offsetof(struct ifreq, ifr_ifru) ==
__offsetof(struct ifreq32, ifr_ifru));
+struct ifconf32 {
+ int32_t ifc_len;
+ union {
+ uint32_t ifcu_buf;
+ uint32_t ifcu_req;
+ } ifc_ifcu;
+};
+#define SIOCGIFCONF32 _IOWR('i', 36, struct ifconf32)
+
struct ifdrv32 {
char ifd_name[IFNAMSIZ];
uint32_t ifd_cmd;
@@ -2883,16 +2892,6 @@
return (error);
}
-#ifdef COMPAT_FREEBSD32
-struct ifconf32 {
- int32_t ifc_len;
- union {
- uint32_t ifcu_buf;
- uint32_t ifcu_req;
- } ifc_ifcu;
-};
-#define SIOCGIFCONF32 _IOWR('i', 36, struct ifconf32)
-#endif
/*
* Interface ioctls.
*/

File Metadata

Mime Type
text/plain
Expires
Thu, Sep 3, 5:42 PM (20 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38126970
Default Alt Text
D29894.id87884.diff (745 B)

Event Timeline