Lines Matching full:family
42 u16 family, in selinux_netlbl_sidlookup_cached() argument
52 netlbl_cache_add(skb, family, secattr); in selinux_netlbl_sidlookup_cached()
141 void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error, int gateway) in selinux_netlbl_err() argument
143 netlbl_skbuff_err(skb, family, error, gateway); in selinux_netlbl_err()
163 * @family: the socket family
178 * @family: protocol family
189 u16 family, in selinux_netlbl_skbuff_getsid() argument
202 rc = netlbl_skbuff_getattr(skb, family, &secattr); in selinux_netlbl_skbuff_getsid()
204 rc = selinux_netlbl_sidlookup_cached(skb, family, in selinux_netlbl_skbuff_getsid()
217 * @family: protocol family
226 u16 family, in selinux_netlbl_skbuff_setsid() argument
253 rc = netlbl_skbuff_setattr(skb, family, secattr); in selinux_netlbl_skbuff_setsid()
324 int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family) in selinux_netlbl_inet_conn_request() argument
329 if (family != PF_INET && family != PF_INET6) in selinux_netlbl_inet_conn_request()
353 void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) in selinux_netlbl_inet_csk_clone() argument
357 if (family == PF_INET) in selinux_netlbl_inet_csk_clone()
382 * @family: protocol family
389 int selinux_netlbl_socket_post_create(struct sock *sk, u16 family) in selinux_netlbl_socket_post_create() argument
395 if (family != PF_INET && family != PF_INET6) in selinux_netlbl_socket_post_create()
401 rc = netlbl_sock_setattr(sk, family, secattr); in selinux_netlbl_socket_post_create()
419 * @family: protocol family
430 u16 family, in selinux_netlbl_sock_rcv_skb() argument
442 rc = netlbl_skbuff_getattr(skb, family, &secattr); in selinux_netlbl_sock_rcv_skb()
444 rc = selinux_netlbl_sidlookup_cached(skb, family, in selinux_netlbl_sock_rcv_skb()
469 netlbl_skbuff_err(skb, family, rc, 0); in selinux_netlbl_sock_rcv_skb()
548 /* connected sockets are allowed to disconnect when the address family in selinux_netlbl_socket_connect_helper()