diff options
author | Patrick McHardy | 2005-08-15 21:33:26 +0200 |
---|---|---|
committer | David S. Miller | 2005-08-30 01:01:11 +0200 |
commit | 066286071d3542243baa68166acb779187c848b3 (patch) | |
tree | ef6604f16ceb13842a30311654e6a64aac716c48 /include | |
parent | [NETLINK]: Add set/getsockopt options to support more than 32 groups (diff) | |
download | kernel-qcow2-linux-066286071d3542243baa68166acb779187c848b3.tar.gz kernel-qcow2-linux-066286071d3542243baa68166acb779187c848b3.tar.xz kernel-qcow2-linux-066286071d3542243baa68166acb779187c848b3.zip |
[NETLINK]: Add "groups" argument to netlink_kernel_create
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netlink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h index 36a40449f9f1..7d1d9683b246 100644 --- a/include/linux/netlink.h +++ b/include/linux/netlink.h @@ -125,7 +125,7 @@ struct netlink_skb_parms #define NETLINK_CREDS(skb) (&NETLINK_CB((skb)).creds) -extern struct sock *netlink_kernel_create(int unit, void (*input)(struct sock *sk, int len), struct module *module); +extern struct sock *netlink_kernel_create(int unit, unsigned int groups, void (*input)(struct sock *sk, int len), struct module *module); extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err); extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 pid, int nonblock); extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 pid, |