[NETLINK]: Add set/getsockopt options to support more than 32 groups

NETLINK_ADD_MEMBERSHIP/NETLINK_DROP_MEMBERSHIP are used to join/leave
groups, NETLINK_PKTINFO is used to enable nl_pktinfo control messages
for received packets to get the extended destination group number.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Patrick McHardy 2005-08-15 12:32:15 -07:00 committed by David S. Miller
parent f7fa9b10ed
commit 9a4595bc7e
3 changed files with 103 additions and 2 deletions

View file

@ -272,6 +272,7 @@ struct ucred {
#define SOL_NETBEUI 267
#define SOL_LLC 268
#define SOL_DCCP 269
#define SOL_NETLINK 270
/* IPX options */
#define IPX_TYPE 1