Lines Matching refs:socket

102 struct socket;
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);
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);
1138 void security_sock_graft(struct sock*sk, struct socket *parent);
1163 static inline int security_unix_may_send(struct socket *sock, in security_unix_may_send()
1164 struct socket *other) in security_unix_may_send()
1175 static inline int security_socket_post_create(struct socket *sock, in security_socket_post_create()
1183 static inline int security_socket_bind(struct socket *sock, in security_socket_bind()
1190 static inline int security_socket_connect(struct socket *sock, in security_socket_connect()
1197 static inline int security_socket_listen(struct socket *sock, int backlog) in security_socket_listen()
1202 static inline int security_socket_accept(struct socket *sock, in security_socket_accept()
1203 struct socket *newsock) in security_socket_accept()
1208 static inline int security_socket_sendmsg(struct socket *sock, in security_socket_sendmsg()
1214 static inline int security_socket_recvmsg(struct socket *sock, in security_socket_recvmsg()
1221 static inline int security_socket_getsockname(struct socket *sock) in security_socket_getsockname()
1226 static inline int security_socket_getpeername(struct socket *sock) in security_socket_getpeername()
1231 static inline int security_socket_getsockopt(struct socket *sock, in security_socket_getsockopt()
1237 static inline int security_socket_setsockopt(struct socket *sock, in security_socket_setsockopt()
1243 static inline int security_socket_shutdown(struct socket *sock, int how) in security_socket_shutdown()
1253 static inline int security_socket_getpeersec_stream(struct socket *sock, char __user *optval, in security_socket_getpeersec_stream()
1259 static inline int security_socket_getpeersec_dgram(struct socket *sock, struct sk_buff *skb, u32 *s… in security_socket_getpeersec_dgram()
1285 static inline void security_sock_graft(struct sock *sk, struct socket *parent) in security_sock_graft()