Lines Matching defs:sk
2010 int security_netlink_send(struct sock *sk, struct sk_buff *skb)
2012 return call_int_hook(netlink_send, 0, sk, skb);
2193 int security_sock_rcv_skb(struct sock *sk, struct sk_buff *skb)
2195 return call_int_hook(socket_sock_rcv_skb, 0, sk, skb);
2236 int security_sk_alloc(struct sock *sk, int family, gfp_t priority)
2238 return call_int_hook(sk_alloc_security, 0, sk, family, priority);
2241 void security_sk_free(struct sock *sk)
2243 call_void_hook(sk_free_security, sk);
2246 void security_sk_clone(const struct sock *sk, struct sock *newsk)
2248 call_void_hook(sk_clone_security, sk, newsk);
2252 void security_sk_classify_flow(struct sock *sk, struct flowi_common *flic)
2254 call_void_hook(sk_getsecid, sk, &flic->flowic_secid);
2265 void security_sock_graft(struct sock *sk, struct socket *parent)
2267 call_void_hook(sock_graft, sk, parent);
2271 int security_inet_conn_request(struct sock *sk,
2274 return call_int_hook(inet_conn_request, 0, sk, skb, req);
2284 void security_inet_conn_established(struct sock *sk,
2287 call_void_hook(inet_conn_established, sk, skb);
2333 int security_tun_dev_attach(struct sock *sk, void *security)
2335 return call_int_hook(tun_dev_attach, 0, sk, security);
2351 int security_sctp_bind_connect(struct sock *sk, int optname,
2354 return call_int_hook(sctp_bind_connect, 0, sk, optname,
2359 void security_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk,
2362 call_void_hook(sctp_sk_clone, ep, sk, newsk);