macro: add SOL_NETLINK

This allows to set netlink socket properties. Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent d69f3f4f
...@@ -243,6 +243,10 @@ extern int __build_bug_on_failed; ...@@ -243,6 +243,10 @@ extern int __build_bug_on_failed;
#define NETLINK_DUMP_STRICT_CHK 12 #define NETLINK_DUMP_STRICT_CHK 12
#endif #endif
#ifndef SOL_NETLINK
#define SOL_NETLINK 270
#endif
#ifndef IFLA_LINKMODE #ifndef IFLA_LINKMODE
#define IFLA_LINKMODE 17 #define IFLA_LINKMODE 17
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment