Lines Matching refs:sock

599 static int cap_unix_stream_connect(struct sock *sock, struct sock *other,  in cap_unix_stream_connect()  argument
600 struct sock *newsk) in cap_unix_stream_connect()
605 static int cap_unix_may_send(struct socket *sock, struct socket *other) in cap_unix_may_send() argument
615 static int cap_socket_post_create(struct socket *sock, int family, int type, in cap_socket_post_create() argument
621 static int cap_socket_bind(struct socket *sock, struct sockaddr *address, in cap_socket_bind() argument
627 static int cap_socket_connect(struct socket *sock, struct sockaddr *address, in cap_socket_connect() argument
633 static int cap_socket_listen(struct socket *sock, int backlog) in cap_socket_listen() argument
638 static int cap_socket_accept(struct socket *sock, struct socket *newsock) in cap_socket_accept() argument
643 static int cap_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size) in cap_socket_sendmsg() argument
648 static int cap_socket_recvmsg(struct socket *sock, struct msghdr *msg, in cap_socket_recvmsg() argument
654 static int cap_socket_getsockname(struct socket *sock) in cap_socket_getsockname() argument
659 static int cap_socket_getpeername(struct socket *sock) in cap_socket_getpeername() argument
664 static int cap_socket_setsockopt(struct socket *sock, int level, int optname) in cap_socket_setsockopt() argument
669 static int cap_socket_getsockopt(struct socket *sock, int level, int optname) in cap_socket_getsockopt() argument
674 static int cap_socket_shutdown(struct socket *sock, int how) in cap_socket_shutdown() argument
679 static int cap_socket_sock_rcv_skb(struct sock *sk, struct sk_buff *skb) in cap_socket_sock_rcv_skb()
684 static int cap_socket_getpeersec_stream(struct socket *sock, in cap_socket_getpeersec_stream() argument
691 static int cap_socket_getpeersec_dgram(struct socket *sock, in cap_socket_getpeersec_dgram() argument
697 static int cap_sk_alloc_security(struct sock *sk, int family, gfp_t priority) in cap_sk_alloc_security()
702 static void cap_sk_free_security(struct sock *sk) in cap_sk_free_security()
706 static void cap_sk_clone_security(const struct sock *sk, struct sock *newsk) in cap_sk_clone_security()
710 static void cap_sk_getsecid(struct sock *sk, u32 *secid) in cap_sk_getsecid()
714 static void cap_sock_graft(struct sock *sk, struct socket *parent) in cap_sock_graft()
718 static int cap_inet_conn_request(struct sock *sk, struct sk_buff *skb, in cap_inet_conn_request()
724 static void cap_inet_csk_clone(struct sock *newsk, in cap_inet_csk_clone()
729 static void cap_inet_conn_established(struct sock *sk, struct sk_buff *skb) in cap_inet_conn_established()
770 static int cap_tun_dev_attach(struct sock *sk, void *security) in cap_tun_dev_attach()