• Home
  • Raw
  • Download

Lines Matching defs:sock

1905 int security_netlink_send(struct sock *sk, struct sk_buff *skb)
1962 int security_unix_stream_connect(struct sock *sock, struct sock *other, struct sock *newsk)
1964 return call_int_hook(unix_stream_connect, 0, sock, other, newsk);
1968 int security_unix_may_send(struct socket *sock, struct socket *other)
1970 return call_int_hook(unix_may_send, 0, sock, other);
1979 int security_socket_post_create(struct socket *sock, int family,
1982 return call_int_hook(socket_post_create, 0, sock, family, type,
1992 int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen)
1994 return call_int_hook(socket_bind, 0, sock, address, addrlen);
1997 int security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen)
1999 return call_int_hook(socket_connect, 0, sock, address, addrlen);
2002 int security_socket_listen(struct socket *sock, int backlog)
2004 return call_int_hook(socket_listen, 0, sock, backlog);
2007 int security_socket_accept(struct socket *sock, struct socket *newsock)
2009 return call_int_hook(socket_accept, 0, sock, newsock);
2012 int security_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size)
2014 return call_int_hook(socket_sendmsg, 0, sock, msg, size);
2017 int security_socket_recvmsg(struct socket *sock, struct msghdr *msg,
2020 return call_int_hook(socket_recvmsg, 0, sock, msg, size, flags);
2023 int security_socket_getsockname(struct socket *sock)
2025 return call_int_hook(socket_getsockname, 0, sock);
2028 int security_socket_getpeername(struct socket *sock)
2030 return call_int_hook(socket_getpeername, 0, sock);
2033 int security_socket_getsockopt(struct socket *sock, int level, int optname)
2035 return call_int_hook(socket_getsockopt, 0, sock, level, optname);
2038 int security_socket_setsockopt(struct socket *sock, int level, int optname)
2040 return call_int_hook(socket_setsockopt, 0, sock, level, optname);
2043 int security_socket_shutdown(struct socket *sock, int how)
2045 return call_int_hook(socket_shutdown, 0, sock, how);
2048 int security_sock_rcv_skb(struct sock *sk, struct sk_buff *skb)
2054 int security_socket_getpeersec_stream(struct socket *sock, char __user *optval,
2057 return call_int_hook(socket_getpeersec_stream, -ENOPROTOOPT, sock,
2061 int security_socket_getpeersec_dgram(struct socket *sock, struct sk_buff *skb, u32 *secid)
2063 return call_int_hook(socket_getpeersec_dgram, -ENOPROTOOPT, sock,
2068 int security_sk_alloc(struct sock *sk, int family, gfp_t priority)
2073 void security_sk_free(struct sock *sk)
2078 void security_sk_clone(const struct sock *sk, struct sock *newsk)
2084 void security_sk_classify_flow(struct sock *sk, struct flowi *fl)
2096 void security_sock_graft(struct sock *sk, struct socket *parent)
2102 int security_inet_conn_request(struct sock *sk,
2109 void security_inet_csk_clone(struct sock *newsk,
2115 void security_inet_conn_established(struct sock *sk,
2164 int security_tun_dev_attach(struct sock *sk, void *security)
2182 int security_sctp_bind_connect(struct sock *sk, int optname,
2190 void security_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk,
2191 struct sock *newsk)