Lines Matching refs:socket
108 struct socket;
1677 int (*unix_may_send) (struct socket *sock, struct socket *other);
1680 int (*socket_post_create) (struct socket *sock, int family,
1682 int (*socket_bind) (struct socket *sock,
1684 int (*socket_connect) (struct socket *sock,
1686 int (*socket_listen) (struct socket *sock, int backlog);
1687 int (*socket_accept) (struct socket *sock, struct socket *newsock);
1688 int (*socket_sendmsg) (struct socket *sock,
1690 int (*socket_recvmsg) (struct socket *sock,
1692 int (*socket_getsockname) (struct socket *sock);
1693 int (*socket_getpeername) (struct socket *sock);
1694 int (*socket_getsockopt) (struct socket *sock, int level, int optname);
1695 int (*socket_setsockopt) (struct socket *sock, int level, int optname);
1696 int (*socket_shutdown) (struct socket *sock, int how);
1698 …int (*socket_getpeersec_stream) (struct socket *sock, char __user *optval, int __user *optlen, uns…
1699 int (*socket_getpeersec_dgram) (struct socket *sock, struct sk_buff *skb, u32 *secid);
1704 void (*sock_graft) (struct sock *sk, struct socket *parent);
2694 int security_unix_may_send(struct socket *sock, struct socket *other);
2696 int security_socket_post_create(struct socket *sock, int family,
2698 int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen);
2699 int security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen);
2700 int security_socket_listen(struct socket *sock, int backlog);
2701 int security_socket_accept(struct socket *sock, struct socket *newsock);
2702 int security_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size);
2703 int security_socket_recvmsg(struct socket *sock, struct msghdr *msg,
2705 int security_socket_getsockname(struct socket *sock);
2706 int security_socket_getpeername(struct socket *sock);
2707 int security_socket_getsockopt(struct socket *sock, int level, int optname);
2708 int security_socket_setsockopt(struct socket *sock, int level, int optname);
2709 int security_socket_shutdown(struct socket *sock, int how);
2711 int security_socket_getpeersec_stream(struct socket *sock, char __user *optval,
2713 int security_socket_getpeersec_dgram(struct socket *sock, struct sk_buff *skb, u32 *secid);
2719 void security_sock_graft(struct sock*sk, struct socket *parent);
2744 static inline int security_unix_may_send(struct socket *sock, in security_unix_may_send()
2745 struct socket *other) in security_unix_may_send()
2756 static inline int security_socket_post_create(struct socket *sock, in security_socket_post_create()
2764 static inline int security_socket_bind(struct socket *sock, in security_socket_bind()
2771 static inline int security_socket_connect(struct socket *sock, in security_socket_connect()
2778 static inline int security_socket_listen(struct socket *sock, int backlog) in security_socket_listen()
2783 static inline int security_socket_accept(struct socket *sock, in security_socket_accept()
2784 struct socket *newsock) in security_socket_accept()
2789 static inline int security_socket_sendmsg(struct socket *sock, in security_socket_sendmsg()
2795 static inline int security_socket_recvmsg(struct socket *sock, in security_socket_recvmsg()
2802 static inline int security_socket_getsockname(struct socket *sock) in security_socket_getsockname()
2807 static inline int security_socket_getpeername(struct socket *sock) in security_socket_getpeername()
2812 static inline int security_socket_getsockopt(struct socket *sock, in security_socket_getsockopt()
2818 static inline int security_socket_setsockopt(struct socket *sock, in security_socket_setsockopt()
2824 static inline int security_socket_shutdown(struct socket *sock, int how) in security_socket_shutdown()
2834 static inline int security_socket_getpeersec_stream(struct socket *sock, char __user *optval, in security_socket_getpeersec_stream()
2840 static inline int security_socket_getpeersec_dgram(struct socket *sock, struct sk_buff *skb, u32 *s… in security_socket_getpeersec_dgram()
2866 static inline void security_sock_graft(struct sock *sk, struct socket *parent) in security_sock_graft()