Lines Matching defs:sock
19 #include <net/sock.h>
45 void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family);
46 void selinux_netlbl_sctp_sk_clone(struct sock *sk, struct sock *newsk);
47 int selinux_netlbl_socket_post_create(struct sock *sk, u16 family);
52 int selinux_netlbl_socket_setsockopt(struct socket *sock,
55 int selinux_netlbl_socket_connect(struct sock *sk, struct sockaddr *addr);
56 int selinux_netlbl_socket_connect_locked(struct sock *sk,
111 static inline void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family)
115 static inline void selinux_netlbl_sctp_sk_clone(struct sock *sk,
116 struct sock *newsk)
120 static inline int selinux_netlbl_socket_post_create(struct sock *sk,
132 static inline int selinux_netlbl_socket_setsockopt(struct socket *sock,
138 static inline int selinux_netlbl_socket_connect(struct sock *sk,
143 static inline int selinux_netlbl_socket_connect_locked(struct sock *sk,