kernel-netlink: Add simple wrapper for Netlink event sockets

This commit is contained in:
Tobias Brunner
2023-02-16 13:25:35 +01:00
parent e323539428
commit cb0bdb847d
3 changed files with 168 additions and 5 deletions
@@ -79,9 +79,6 @@
#define ROUTING_TABLE_PRIO 0
#endif
/** multicast groups (for groups > 31 setsockopt has to be used) */
#define nl_group(group) (1 << (group - 1))
ENUM(rt_msg_names, RTM_NEWLINK, RTM_GETRULE,
"RTM_NEWLINK",
"RTM_DELLINK",