Lines Matching refs:sk
91 struct sock *sk; member
299 return aunet->sk; in audit_get_sk()
693 struct sock *sk; in auditd_send_unicast_skb() local
712 sk = audit_get_sk(net); in auditd_send_unicast_skb()
716 rc = netlink_unicast(sk, skb, portid, 0); in auditd_send_unicast_skb()
744 static int kauditd_send_queue(struct sock *sk, u32 portid, in kauditd_send_queue() argument
765 if (!sk) { in kauditd_send_queue()
774 rc = netlink_unicast(sk, skb, portid, 0); in kauditd_send_queue()
779 sk = NULL; in kauditd_send_queue()
847 struct sock *sk = NULL; in kauditd_thread() local
862 sk = audit_get_sk(net); in kauditd_thread()
867 rc = kauditd_send_queue(sk, portid, in kauditd_thread()
871 sk = NULL; in kauditd_thread()
877 rc = kauditd_send_queue(sk, portid, in kauditd_thread()
881 sk = NULL; in kauditd_thread()
891 rc = kauditd_send_queue(sk, portid, &audit_queue, 1, in kauditd_thread()
893 (sk ? in kauditd_thread()
897 sk = NULL; in kauditd_thread()
923 struct sock *sk = audit_get_sk(dest->net); in audit_send_list_thread() local
930 netlink_unicast(sk, skb, dest->portid, 0); in audit_send_list_thread()
1014 reply->net = get_net(sock_net(NETLINK_CB(request_skb).sk)); in audit_send_reply()
1309 sock_net(NETLINK_CB(skb).sk), in audit_receive_msg()
1658 aunet->sk = netlink_kernel_create(net, NETLINK_AUDIT, &cfg); in audit_net_init()
1659 if (aunet->sk == NULL) { in audit_net_init()
1664 aunet->sk->sk_sndtimeo = HZ / 10; in audit_net_init()
1679 netlink_kernel_release(aunet->sk); in audit_net_exit()