Lines Matching defs:sock
599 static int cap_unix_stream_connect(struct sock *sock, struct sock *other, in cap_unix_stream_connect()
605 static int cap_unix_may_send(struct socket *sock, struct socket *other) in cap_unix_may_send()
615 static int cap_socket_post_create(struct socket *sock, int family, int type, in cap_socket_post_create()
621 static int cap_socket_bind(struct socket *sock, struct sockaddr *address, in cap_socket_bind()
627 static int cap_socket_connect(struct socket *sock, struct sockaddr *address, in cap_socket_connect()
633 static int cap_socket_listen(struct socket *sock, int backlog) in cap_socket_listen()
638 static int cap_socket_accept(struct socket *sock, struct socket *newsock) in cap_socket_accept()
643 static int cap_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size) in cap_socket_sendmsg()
648 static int cap_socket_recvmsg(struct socket *sock, struct msghdr *msg, in cap_socket_recvmsg()
654 static int cap_socket_getsockname(struct socket *sock) in cap_socket_getsockname()
659 static int cap_socket_getpeername(struct socket *sock) in cap_socket_getpeername()
664 static int cap_socket_setsockopt(struct socket *sock, int level, int optname) in cap_socket_setsockopt()
669 static int cap_socket_getsockopt(struct socket *sock, int level, int optname) in cap_socket_getsockopt()
674 static int cap_socket_shutdown(struct socket *sock, int how) in cap_socket_shutdown()
684 static int cap_socket_getpeersec_stream(struct socket *sock, in cap_socket_getpeersec_stream()
691 static int cap_socket_getpeersec_dgram(struct socket *sock, in cap_socket_getpeersec_dgram()