Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177446630
D58774.1794419937.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
882 B
Referenced Files
None
Subscribers
None
D58774.1794419937.diff
View Options
diff --git a/sys/compat/linux/linux.h b/sys/compat/linux/linux.h
--- a/sys/compat/linux/linux.h
+++ b/sys/compat/linux/linux.h
@@ -124,6 +124,9 @@
#define LINUX_IFF_PORTSEL 0x2000
#define LINUX_IFF_AUTOMEDIA 0x4000
#define LINUX_IFF_DYNAMIC 0x8000
+/* Volatile (netlink / ifinfomsg); not representable in ifr_flags short */
+#define LINUX_IFF_LOWER_UP 0x10000
+#define LINUX_IFF_DORMANT 0x20000
/* sigaltstack */
#define LINUX_SS_ONSTACK 1
diff --git a/sys/compat/linux/linux_netlink.c b/sys/compat/linux/linux_netlink.c
--- a/sys/compat/linux/linux_netlink.c
+++ b/sys/compat/linux/linux_netlink.c
@@ -342,8 +342,11 @@
case IFF_DYING:
/* No Linux analogue */
break;
+ case IFF_LOWER_UP: /* IFF_NETLINK_1 */
+ result |= LINUX_IFF_LOWER_UP;
+ break;
case IFF_MULTICAST:
- result |= 1 << 12;
+ result |= LINUX_IFF_MULTICAST;
}
}
return (result);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 11, 5:58 PM (2 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41663632
Default Alt Text
D58774.1794419937.diff (882 B)
Attached To
Mode
D58774: linuxulator: map IFF_LOWER_UP through NETLINK_ROUTE for Linux apps
Attached
Detach File
Event Timeline