Lines Matching refs:sock

100 struct sock;
350 int security_netlink_send(struct sock *sk, struct sk_buff *skb);
1070 static inline int security_netlink_send(struct sock *sk, struct sk_buff *skb) in security_netlink_send()
1112 int security_unix_stream_connect(struct sock *sock, struct sock *other, struct sock *newsk);
1113 int security_unix_may_send(struct socket *sock, struct socket *other);
1115 int security_socket_post_create(struct socket *sock, int family,
1117 int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen);
1118 int security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen);
1119 int security_socket_listen(struct socket *sock, int backlog);
1120 int security_socket_accept(struct socket *sock, struct socket *newsock);
1121 int security_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size);
1122 int security_socket_recvmsg(struct socket *sock, struct msghdr *msg,
1124 int security_socket_getsockname(struct socket *sock);
1125 int security_socket_getpeername(struct socket *sock);
1126 int security_socket_getsockopt(struct socket *sock, int level, int optname);
1127 int security_socket_setsockopt(struct socket *sock, int level, int optname);
1128 int security_socket_shutdown(struct socket *sock, int how);
1129 int security_sock_rcv_skb(struct sock *sk, struct sk_buff *skb);
1130 int security_socket_getpeersec_stream(struct socket *sock, char __user *optval,
1132 int security_socket_getpeersec_dgram(struct socket *sock, struct sk_buff *skb, u32 *secid);
1133 int security_sk_alloc(struct sock *sk, int family, gfp_t priority);
1134 void security_sk_free(struct sock *sk);
1135 void security_sk_clone(const struct sock *sk, struct sock *newsk);
1136 void security_sk_classify_flow(struct sock *sk, struct flowi *fl);
1138 void security_sock_graft(struct sock*sk, struct socket *parent);
1139 int security_inet_conn_request(struct sock *sk,
1141 void security_inet_csk_clone(struct sock *newsk,
1143 void security_inet_conn_established(struct sock *sk,
1152 int security_tun_dev_attach(struct sock *sk, void *security);
1156 static inline int security_unix_stream_connect(struct sock *sock, in security_unix_stream_connect() argument
1157 struct sock *other, in security_unix_stream_connect()
1158 struct sock *newsk) in security_unix_stream_connect()
1163 static inline int security_unix_may_send(struct socket *sock, in security_unix_may_send() argument
1175 static inline int security_socket_post_create(struct socket *sock, in security_socket_post_create() argument
1183 static inline int security_socket_bind(struct socket *sock, in security_socket_bind() argument
1190 static inline int security_socket_connect(struct socket *sock, in security_socket_connect() argument
1197 static inline int security_socket_listen(struct socket *sock, int backlog) in security_socket_listen() argument
1202 static inline int security_socket_accept(struct socket *sock, in security_socket_accept() argument
1208 static inline int security_socket_sendmsg(struct socket *sock, in security_socket_sendmsg() argument
1214 static inline int security_socket_recvmsg(struct socket *sock, in security_socket_recvmsg() argument
1221 static inline int security_socket_getsockname(struct socket *sock) in security_socket_getsockname() argument
1226 static inline int security_socket_getpeername(struct socket *sock) in security_socket_getpeername() argument
1231 static inline int security_socket_getsockopt(struct socket *sock, in security_socket_getsockopt() argument
1237 static inline int security_socket_setsockopt(struct socket *sock, in security_socket_setsockopt() argument
1243 static inline int security_socket_shutdown(struct socket *sock, int how) in security_socket_shutdown() argument
1247 static inline int security_sock_rcv_skb(struct sock *sk, in security_sock_rcv_skb()
1253 static inline int security_socket_getpeersec_stream(struct socket *sock, char __user *optval, in security_socket_getpeersec_stream() argument
1259 static inline int security_socket_getpeersec_dgram(struct socket *sock, struct sk_buff *skb, u32 *s… in security_socket_getpeersec_dgram() argument
1264 static inline int security_sk_alloc(struct sock *sk, int family, gfp_t priority) in security_sk_alloc()
1269 static inline void security_sk_free(struct sock *sk) in security_sk_free()
1273 static inline void security_sk_clone(const struct sock *sk, struct sock *newsk) in security_sk_clone()
1277 static inline void security_sk_classify_flow(struct sock *sk, struct flowi *fl) in security_sk_classify_flow()
1285 static inline void security_sock_graft(struct sock *sk, struct socket *parent) in security_sock_graft()
1289 static inline int security_inet_conn_request(struct sock *sk, in security_inet_conn_request()
1295 static inline void security_inet_csk_clone(struct sock *newsk, in security_inet_csk_clone()
1300 static inline void security_inet_conn_established(struct sock *sk, in security_inet_conn_established()
1337 static inline int security_tun_dev_attach(struct sock *sk, void *security) in security_tun_dev_attach()