Lines Matching full:family
33 * @family: the packet's address family
44 u16 family, in selinux_netlbl_sidlookup_cached() argument
54 netlbl_cache_add(skb, family, secattr); in selinux_netlbl_sidlookup_cached()
133 * @family: the packet's address family
144 void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error, int gateway) in selinux_netlbl_err() argument
146 netlbl_skbuff_err(skb, family, error, gateway); in selinux_netlbl_err()
184 * @family: protocol family
195 u16 family, in selinux_netlbl_skbuff_getsid() argument
209 rc = netlbl_skbuff_getattr(skb, family, &secattr); in selinux_netlbl_skbuff_getsid()
211 rc = selinux_netlbl_sidlookup_cached(skb, family, in selinux_netlbl_skbuff_getsid()
224 * @family: protocol family
233 u16 family, in selinux_netlbl_skbuff_setsid() argument
259 rc = netlbl_skbuff_setattr(skb, family, secattr); in selinux_netlbl_skbuff_setsid()
321 * @family: the request socket's address family
330 int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family) in selinux_netlbl_inet_conn_request() argument
335 if (family != PF_INET && family != PF_INET6) in selinux_netlbl_inet_conn_request()
351 * @family: the sock's address family
359 void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) in selinux_netlbl_inet_csk_clone() argument
363 if (family == PF_INET || family == PF_INET6) in selinux_netlbl_inet_csk_clone()
388 * @family: protocol family
395 int selinux_netlbl_socket_post_create(struct sock *sk, u16 family) in selinux_netlbl_socket_post_create() argument
401 if (family != PF_INET && family != PF_INET6) in selinux_netlbl_socket_post_create()
410 rc = netlbl_sock_setattr(sk, family, secattr, true); in selinux_netlbl_socket_post_create()
428 * @family: protocol family
439 u16 family, in selinux_netlbl_sock_rcv_skb() argument
451 rc = netlbl_skbuff_getattr(skb, family, &secattr); in selinux_netlbl_sock_rcv_skb()
453 rc = selinux_netlbl_sidlookup_cached(skb, family, in selinux_netlbl_sock_rcv_skb()
477 netlbl_skbuff_err(skb, family, rc, 0); in selinux_netlbl_sock_rcv_skb()
556 /* connected sockets are allowed to disconnect when the address family in selinux_netlbl_socket_connect_helper()