Lines Matching refs:sk
1935 int security_netlink_send(struct sock *sk, struct sk_buff *skb)
1937 return call_int_hook(netlink_send, 0, sk, skb);
2078 int security_sock_rcv_skb(struct sock *sk, struct sk_buff *skb)
2080 return call_int_hook(socket_sock_rcv_skb, 0, sk, skb);
2098 int security_sk_alloc(struct sock *sk, int family, gfp_t priority)
2100 return call_int_hook(sk_alloc_security, 0, sk, family, priority);
2103 void security_sk_free(struct sock *sk)
2105 call_void_hook(sk_free_security, sk);
2108 void security_sk_clone(const struct sock *sk, struct sock *newsk)
2110 call_void_hook(sk_clone_security, sk, newsk);
2114 void security_sk_classify_flow(struct sock *sk, struct flowi *fl)
2116 call_void_hook(sk_getsecid, sk, &fl->flowi_secid);
2126 void security_sock_graft(struct sock *sk, struct socket *parent)
2128 call_void_hook(sock_graft, sk, parent);
2132 int security_inet_conn_request(struct sock *sk,
2135 return call_int_hook(inet_conn_request, 0, sk, skb, req);
2145 void security_inet_conn_established(struct sock *sk,
2148 call_void_hook(inet_conn_established, sk, skb);
2194 int security_tun_dev_attach(struct sock *sk, void *security)
2196 return call_int_hook(tun_dev_attach, 0, sk, security);
2212 int security_sctp_bind_connect(struct sock *sk, int optname,
2215 return call_int_hook(sctp_bind_connect, 0, sk, optname,
2220 void security_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk,
2223 call_void_hook(sctp_sk_clone, ep, sk, newsk);