diff options
| author | Manfred Spraul <manfred@colorfullife.com> | 2004-04-05 00:51:37 -0700 |
|---|---|---|
| committer | Stephen Hemminger <shemminger@osdl.org> | 2004-04-05 00:51:37 -0700 |
| commit | 187df21ca2736fd1b95f00edcb9bb9f18fe8b75a (patch) | |
| tree | 1a9ad8182598832db28fb0bc725db3d1ca00d37d /include/linux/netlink.h | |
| parent | e99f19ab0ad947abab96a2baa5cae0e2df7afc01 (diff) | |
[NETLINK]: Split up netlink_unicast.
Diffstat (limited to 'include/linux/netlink.h')
| -rw-r--r-- | include/linux/netlink.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h index 4e5ea27305a2..e5e15ddadab5 100644 --- a/include/linux/netlink.h +++ b/include/linux/netlink.h @@ -119,6 +119,13 @@ extern void netlink_set_err(struct sock *ssk, __u32 pid, __u32 group, int code); extern int netlink_register_notifier(struct notifier_block *nb); extern int netlink_unregister_notifier(struct notifier_block *nb); +/* finegrained unicast helpers: */ +struct sock *netlink_getsockbypid(struct sock *ssk, u32 pid); +struct sock *netlink_getsockbyfilp(struct file *filp); +int netlink_attachskb(struct sock *sk, struct sk_buff *skb, int nonblock, long timeo); +void netlink_detachskb(struct sock *sk, struct sk_buff *skb); +int netlink_sendskb(struct sock *sk, struct sk_buff *skb, int protocol); + /* * skb should fit one page. This choice is good for headerless malloc. * |
