Page MenuHomeFreeBSD

D29894.id.diff
No OneTemporary

D29894.id.diff

diff --git a/sys/net/if.c b/sys/net/if.c
--- a/sys/net/if.c
+++ b/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;
@@ -2879,16 +2888,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
Fri, Apr 3, 10:47 PM (9 m, 3 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30783154
Default Alt Text
D29894.id.diff (703 B)

Event Timeline