Lines Matching refs:sk
17 int (*get_info)(struct sk_buff *skb, struct sock *sk);
26 int sock_diag_check_cookie(struct sock *sk, const __u32 *cookie);
27 void sock_diag_save_cookie(struct sock *sk, __u32 *cookie);
29 int sock_diag_put_meminfo(struct sock *sk, struct sk_buff *skb, int attr);
30 int sock_diag_put_filterinfo(bool may_report_filterinfo, struct sock *sk,
34 enum sknetlink_groups sock_diag_destroy_group(const struct sock *sk) in sock_diag_destroy_group() argument
36 switch (sk->sk_family) { in sock_diag_destroy_group()
38 switch (sk->sk_protocol) { in sock_diag_destroy_group()
47 switch (sk->sk_protocol) { in sock_diag_destroy_group()
61 bool sock_diag_has_destroy_listeners(const struct sock *sk) in sock_diag_has_destroy_listeners() argument
63 const struct net *n = sock_net(sk); in sock_diag_has_destroy_listeners()
64 const enum sknetlink_groups group = sock_diag_destroy_group(sk); in sock_diag_has_destroy_listeners()
69 void sock_diag_broadcast_destroy(struct sock *sk);