Skip to content

Commit

Permalink
macro: add SOL_NETLINK
Browse files Browse the repository at this point in the history
This allows to set netlink socket properties.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Oct 8, 2018
1 parent d69f3f4 commit fb82421
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lxc/macro.h
Expand Up @@ -243,6 +243,10 @@ extern int __build_bug_on_failed;
#define NETLINK_DUMP_STRICT_CHK 12
#endif

#ifndef SOL_NETLINK
#define SOL_NETLINK 270
#endif

#ifndef IFLA_LINKMODE
#define IFLA_LINKMODE 17
#endif
Expand Down

0 comments on commit fb82421

Please sign in to comment.