summaryrefslogtreecommitdiffstats
path: root/include/linux/socket.h
diff options
context:
space:
mode:
authorPatrick McHardy2005-08-15 21:32:15 +0200
committerDavid S. Miller2005-08-30 01:01:07 +0200
commit9a4595bc7e67962f13232ee55a64e063062c3a99 (patch)
tree9691d77701cad7e0d4fb62390acf525f3adb9d60 /include/linux/socket.h
parent[NETLINK]: Support dynamic number of multicast groups per netlink family (diff)
downloadkernel-qcow2-linux-9a4595bc7e67962f13232ee55a64e063062c3a99.tar.gz
kernel-qcow2-linux-9a4595bc7e67962f13232ee55a64e063062c3a99.tar.xz
kernel-qcow2-linux-9a4595bc7e67962f13232ee55a64e063062c3a99.zip
[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>
Diffstat (limited to 'include/linux/socket.h')
-rw-r--r--include/linux/socket.h1
1 files changed, 1 insertions, 0 deletions
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 {
#define SOL_NETBEUI 267
#define SOL_LLC 268
#define SOL_DCCP 269
+#define SOL_NETLINK 270
/* IPX options */
#define IPX_TYPE 1