Lines Matching refs:sock
174 extern struct sock *netlink_kernel_create(struct net *net,
179 extern void netlink_kernel_release(struct sock *sk);
180 extern int __netlink_change_ngroups(struct sock *sk, unsigned int groups);
181 extern int netlink_change_ngroups(struct sock *sk, unsigned int groups);
182 extern void __netlink_clear_multicast_users(struct sock *sk, unsigned int group);
183 extern void netlink_clear_multicast_users(struct sock *sk, unsigned int group);
185 extern int netlink_has_listeners(struct sock *sk, unsigned int group);
186 extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 pid, int nonblock);
187 extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 pid,
189 extern int netlink_broadcast_filtered(struct sock *ssk, struct sk_buff *skb,
191 int (*filter)(struct sock *dsk, struct sk_buff *skb, void *data),
193 extern int netlink_set_err(struct sock *ssk, __u32 pid, __u32 group, int code);
198 struct sock *netlink_getsockbyfilp(struct file *filp);
199 int netlink_attachskb(struct sock *sk, struct sk_buff *skb,
200 long *timeo, struct sock *ssk);
201 void netlink_detachskb(struct sock *sk, struct sk_buff *skb);
202 int netlink_sendskb(struct sock *sk, struct sk_buff *skb);
260 extern int netlink_dump_start(struct sock *ssk, struct sk_buff *skb,