Lines Matching defs:sk
2261 static int smack_sk_alloc_security(struct sock *sk, int family, gfp_t gfp_flags) in smack_sk_alloc_security()
2293 static void smack_sk_free_security(struct sock *sk) in smack_sk_free_security()
2421 static int smack_netlbl_add(struct sock *sk) in smack_netlbl_add()
2453 static void smack_netlbl_delete(struct sock *sk) in smack_netlbl_delete()
2482 static int smk_ipv4_check(struct sock *sk, struct sockaddr_in *sap) in smk_ipv4_check()
2558 struct sock *sk = sock->sk; in smk_ipv6_port_label() local
2645 static int smk_ipv6_port_check(struct sock *sk, struct sockaddr_in6 *address, in smk_ipv6_port_check()
3895 static struct smack_known *smack_from_netlbl(const struct sock *sk, u16 family, in smack_from_netlbl()
3925 static int smack_socket_sock_rcv_skb(struct sock *sk, struct sk_buff *skb) in smack_socket_sock_rcv_skb()
4063 struct sock *sk = NULL; in smack_socket_getpeersec_dgram() local
4120 static void smack_sock_graft(struct sock *sk, struct socket *parent) in smack_sock_graft()
4144 static int smack_inet_conn_request(const struct sock *sk, struct sk_buff *skb, in smack_inet_conn_request()
4232 static void smack_inet_csk_clone(struct sock *sk, in smack_inet_csk_clone()