Lines Matching refs:sk
2126 int security_netlink_send(struct sock *sk, struct sk_buff *skb)
2128 return call_int_hook(netlink_send, 0, sk, skb);
2309 int security_sock_rcv_skb(struct sock *sk, struct sk_buff *skb)
2311 return call_int_hook(socket_sock_rcv_skb, 0, sk, skb);
2329 int security_sk_alloc(struct sock *sk, int family, gfp_t priority)
2331 return call_int_hook(sk_alloc_security, 0, sk, family, priority);
2334 void security_sk_free(struct sock *sk)
2336 call_void_hook(sk_free_security, sk);
2339 void security_sk_clone(const struct sock *sk, struct sock *newsk)
2341 call_void_hook(sk_clone_security, sk, newsk);
2345 void security_sk_classify_flow(struct sock *sk, struct flowi_common *flic)
2347 call_void_hook(sk_getsecid, sk, &flic->flowic_secid);
2358 void security_sock_graft(struct sock *sk, struct socket *parent)
2360 call_void_hook(sock_graft, sk, parent);
2364 int security_inet_conn_request(const struct sock *sk,
2367 return call_int_hook(inet_conn_request, 0, sk, skb, req);
2377 void security_inet_conn_established(struct sock *sk,
2380 call_void_hook(inet_conn_established, sk, skb);
2426 int security_tun_dev_attach(struct sock *sk, void *security)
2428 return call_int_hook(tun_dev_attach, 0, sk, security);
2444 int security_sctp_bind_connect(struct sock *sk, int optname,
2447 return call_int_hook(sctp_bind_connect, 0, sk, optname,
2452 void security_sctp_sk_clone(struct sctp_association *asoc, struct sock *sk,
2455 call_void_hook(sctp_sk_clone, asoc, sk, newsk);