Lines Matching refs:sock
546 static int cap_unix_stream_connect(struct socket *sock, struct socket *other,
547 struct sock *newsk)
552 static int cap_unix_may_send(struct socket *sock, struct socket *other)
562 static int cap_socket_post_create(struct socket *sock, int family, int type,
568 static int cap_socket_bind(struct socket *sock, struct sockaddr *address,
574 static int cap_socket_connect(struct socket *sock, struct sockaddr *address,
580 static int cap_socket_listen(struct socket *sock, int backlog)
585 static int cap_socket_accept(struct socket *sock, struct socket *newsock)
590 static int cap_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size)
595 static int cap_socket_recvmsg(struct socket *sock, struct msghdr *msg,
601 static int cap_socket_getsockname(struct socket *sock)
606 static int cap_socket_getpeername(struct socket *sock)
611 static int cap_socket_setsockopt(struct socket *sock, int level, int optname)
616 static int cap_socket_getsockopt(struct socket *sock, int level, int optname)
621 static int cap_socket_shutdown(struct socket *sock, int how)
626 static int cap_socket_sock_rcv_skb(struct sock *sk, struct sk_buff *skb)
631 static int cap_socket_getpeersec_stream(struct socket *sock,
638 static int cap_socket_getpeersec_dgram(struct socket *sock,
644 static int cap_sk_alloc_security(struct sock *sk, int family, gfp_t priority)
649 static void cap_sk_free_security(struct sock *sk)
653 static void cap_sk_clone_security(const struct sock *sk, struct sock *newsk)
657 static void cap_sk_getsecid(struct sock *sk, u32 *secid)
661 static void cap_sock_graft(struct sock *sk, struct socket *parent)
665 static int cap_inet_conn_request(struct sock *sk, struct sk_buff *skb,
671 static void cap_inet_csk_clone(struct sock *newsk,
676 static void cap_inet_conn_established(struct sock *sk, struct sk_buff *skb)
692 static void cap_tun_dev_post_create(struct sock *sk)
696 static int cap_tun_dev_attach(struct sock *sk)