diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netlink.h | 9 | ||||
-rw-r--r-- | include/linux/socket.h | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h index c724c9d4984a..36a40449f9f1 100644 --- a/include/linux/netlink.h +++ b/include/linux/netlink.h | |||
@@ -90,6 +90,15 @@ struct nlmsgerr | |||
90 | struct nlmsghdr msg; | 90 | struct nlmsghdr msg; |
91 | }; | 91 | }; |
92 | 92 | ||
93 | #define NETLINK_ADD_MEMBERSHIP 1 | ||
94 | #define NETLINK_DROP_MEMBERSHIP 2 | ||
95 | #define NETLINK_PKTINFO 3 | ||
96 | |||
97 | struct nl_pktinfo | ||
98 | { | ||
99 | __u32 group; | ||
100 | }; | ||
101 | |||
93 | #define NET_MAJOR 36 /* Major 36 is reserved for networking */ | 102 | #define NET_MAJOR 36 /* Major 36 is reserved for networking */ |
94 | 103 | ||
95 | enum { | 104 | enum { |
diff --git a/include/linux/socket.h b/include/linux/socket.h index ddf22559f484..acc55aac8a43 100644 --- a/include/linux/socket.h +++ b/include/linux/socket.h | |||
@@ -272,6 +272,7 @@ struct ucred { | |||
272 | #define SOL_NETBEUI 267 | 272 | #define SOL_NETBEUI 267 |
273 | #define SOL_LLC 268 | 273 | #define SOL_LLC 268 |
274 | #define SOL_DCCP 269 | 274 | #define SOL_DCCP 269 |
275 | #define SOL_NETLINK 270 | ||
275 | 276 | ||
276 | /* IPX options */ | 277 | /* IPX options */ |
277 | #define IPX_TYPE 1 | 278 | #define IPX_TYPE 1 |