Lines Matching refs:sock
28 struct sock *sk;
51 bool (*compare)(struct net *net, struct sock *sk);
54 extern struct sock *__netlink_kernel_create(struct net *net, int unit,
57 static inline struct sock *
113 extern void netlink_kernel_release(struct sock *sk);
114 extern int __netlink_change_ngroups(struct sock *sk, unsigned int groups);
115 extern int netlink_change_ngroups(struct sock *sk, unsigned int groups);
116 extern void __netlink_clear_multicast_users(struct sock *sk, unsigned int group);
119 extern int netlink_has_listeners(struct sock *sk, unsigned int group);
121 extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 portid, int nonblock);
122 extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 portid,
124 extern int netlink_broadcast_filtered(struct sock *ssk, struct sk_buff *skb,
126 int (*filter)(struct sock *dsk, struct sk_buff *skb, void *data),
128 extern int netlink_set_err(struct sock *ssk, __u32 portid, __u32 group, int code);
133 struct sock *netlink_getsockbyfilp(struct file *filp);
134 int netlink_attachskb(struct sock *sk, struct sk_buff *skb,
135 long *timeo, struct sock *ssk);
136 void netlink_detachskb(struct sock *sk, struct sk_buff *skb);
137 int netlink_sendskb(struct sock *sk, struct sk_buff *skb);
203 extern int __netlink_dump_start(struct sock *ssk, struct sk_buff *skb,
206 static inline int netlink_dump_start(struct sock *ssk, struct sk_buff *skb, in netlink_dump_start()