Lines Matching defs:sk
2104 int security_netlink_send(struct sock *sk, struct sk_buff *skb)
2106 return call_int_hook(netlink_send, 0, sk, skb);
2287 int security_sock_rcv_skb(struct sock *sk, struct sk_buff *skb)
2289 return call_int_hook(socket_sock_rcv_skb, 0, sk, skb);
2307 int security_sk_alloc(struct sock *sk, int family, gfp_t priority)
2309 return call_int_hook(sk_alloc_security, 0, sk, family, priority);
2312 void security_sk_free(struct sock *sk)
2314 call_void_hook(sk_free_security, sk);
2317 void security_sk_clone(const struct sock *sk, struct sock *newsk)
2319 call_void_hook(sk_clone_security, sk, newsk);
2323 void security_sk_classify_flow(struct sock *sk, struct flowi_common *flic)
2325 call_void_hook(sk_getsecid, sk, &flic->flowic_secid);
2336 void security_sock_graft(struct sock *sk, struct socket *parent)
2338 call_void_hook(sock_graft, sk, parent);
2342 int security_inet_conn_request(const struct sock *sk,
2345 return call_int_hook(inet_conn_request, 0, sk, skb, req);
2355 void security_inet_conn_established(struct sock *sk,
2358 call_void_hook(inet_conn_established, sk, skb);
2404 int security_tun_dev_attach(struct sock *sk, void *security)
2406 return call_int_hook(tun_dev_attach, 0, sk, security);
2422 int security_sctp_bind_connect(struct sock *sk, int optname,
2425 return call_int_hook(sctp_bind_connect, 0, sk, optname,
2430 void security_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk,
2433 call_void_hook(sctp_sk_clone, ep, sk, newsk);