Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150628470
D29894.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
703 B
Referenced Files
None
Subscribers
None
D29894.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D29894: Group all compat shim structures together to consolidate #ifdef's.
Attached
Detach File
Event Timeline
Log In to Comment