sk_family         605 drivers/crypto/chelsio/chtls/chtls_cm.c 	if (sk->sk_family != PF_INET)
sk_family         632 drivers/crypto/chelsio/chtls/chtls_cm.c 	stid = cxgb4_alloc_stid(cdev->tids, sk->sk_family, ctx);
sk_family         652 drivers/crypto/chelsio/chtls/chtls_cm.c 	cxgb4_free_stid(cdev->tids, stid, sk->sk_family);
sk_family         697 drivers/crypto/chelsio/chtls/chtls_cm.c 	cxgb4_free_stid(cdev->tids, stid, listen_ctx->lsk->sk_family);
sk_family         722 drivers/crypto/chelsio/chtls/chtls_cm.c 	cxgb4_free_stid(cdev->tids, stid, listen_ctx->lsk->sk_family);
sk_family         762 drivers/crypto/chelsio/chtls/chtls_cm.c 	cxgb4_remove_tid(tids, csk->port_id, tid, sk->sk_family);
sk_family        1182 drivers/crypto/chelsio/chtls/chtls_cm.c 		cxgb4_remove_tid(cdev->tids, 0, tid, sk->sk_family);
sk_family        1250 drivers/crypto/chelsio/chtls/chtls_cm.c 	cxgb4_insert_tid(cdev->tids, newsk, tid, newsk->sk_family);
sk_family        2030 drivers/crypto/chelsio/chtls/chtls_cm.c 						 sk->sk_family);
sk_family          92 drivers/crypto/chelsio/chtls/chtls_main.c 	if (sk->sk_family == PF_INET &&
sk_family          75 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c 	switch (sk->sk_family) {
sk_family         288 drivers/net/ethernet/netronome/nfp/crypto/tls.c 	switch (sk->sk_family) {
sk_family         121 drivers/net/geneve.c 	return gs->sock->sk->sk_family;
sk_family         810 drivers/net/gtp.c 	    (sk->sk_family != AF_INET && sk->sk_family != AF_INET6)) {
sk_family         554 drivers/net/ppp/pppoe.c 	sk->sk_family		= PF_PPPOX;
sk_family         552 drivers/net/ppp/pptp.c 	sk->sk_family      = PF_PPPOX;
sk_family        1429 drivers/vhost/net.c 	if (sock->sk->sk_family != AF_PACKET) {
sk_family        1825 fs/ocfs2/cluster/tcp.c 	ret = sock_create_lite(sock->sk->sk_family, sock->sk->sk_type,
sk_family         351 include/linux/ipv6.h 	if (sk_from->sk_family == PF_INET6)
sk_family         359 include/linux/ipv6.h #define ipv6_sk_rxinfo(sk)	((sk)->sk_family == PF_INET6 && \
sk_family         364 include/linux/ipv6.h 	if (sk->sk_family == AF_INET6)
sk_family          39 include/linux/sock_diag.h 	switch (sk->sk_family) {
sk_family         111 include/net/inet6_hashtables.h 	 ((__sk)->sk_family == AF_INET6)			&&	\
sk_family         622 include/net/ip.h 	if (sk->sk_family == PF_INET6) {
sk_family         709 include/net/sock.h 	    sk->sk_family == AF_INET6)
sk_family         432 include/net/udp.h 	__SNMP_INC_STATS(__UDPX_MIB(sk, (sk)->sk_family == AF_INET), field)
sk_family         179 include/net/udp_tunnel.h 	if (sock->sk->sk_family == PF_INET6)
sk_family         377 include/net/vxlan.h 	return vs->sock->sk->sk_family;
sk_family          23 include/trace/events/net_probe_common.h 		if (sk->sk_family == AF_INET6) {			\
sk_family         166 include/trace/events/sock.h 		__entry->family = sk->sk_family;
sk_family         178 include/trace/events/sock.h 		if (sk->sk_family == AF_INET6) {
sk_family          28 include/trace/events/tcp.h 		if (sk->sk_family == AF_INET6) {			\
sk_family         639 kernel/bpf/cgroup.c 	if (sk->sk_family != AF_INET && sk->sk_family != AF_INET6)
sk_family         720 kernel/bpf/cgroup.c 	if (sk->sk_family != AF_INET && sk->sk_family != AF_INET6)
sk_family         219 kernel/bpf/reuseport_array.c 	if (nsk->sk_family != AF_INET && nsk->sk_family != AF_INET6)
sk_family         234 kernel/bpf/xskmap.c 	if (sock->sk->sk_family != PF_XDP) {
sk_family         745 net/atm/clip.c 	       (sk_atm(clip_vcc->vcc)->sk_family == AF_ATMSVC));
sk_family         705 net/atm/common.c 	if (sk_atm(vcc)->sk_family == AF_ATMPVC)
sk_family          75 net/atm/proc.c 	return !family || (sk->sk_family == family);
sk_family         188 net/atm/proc.c 	switch (sk->sk_family) {
sk_family         196 net/atm/proc.c 		seq_printf(seq, "%3d", sk->sk_family);
sk_family         189 net/atm/signaling.c 	if (sk_atm(vcc)->sk_family == PF_ATMSVC &&
sk_family        1591 net/core/filter.c 		    (sk->sk_family != AF_INET &&
sk_family        1592 net/core/filter.c 		     sk->sk_family != AF_INET6)) {
sk_family        4294 net/core/filter.c 		if (optlen != sizeof(int) || sk->sk_family != AF_INET)
sk_family        4316 net/core/filter.c 		if (optlen != sizeof(int) || sk->sk_family != AF_INET6)
sk_family        4434 net/core/filter.c 		if (optlen != sizeof(int) || sk->sk_family != AF_INET)
sk_family        4449 net/core/filter.c 		if (optlen != sizeof(int) || sk->sk_family != AF_INET6)
sk_family        5819 net/core/filter.c 	switch (sk->sk_family) {
sk_family        5888 net/core/filter.c 		if (sk->sk_family == AF_INET6 && sk->sk_ipv6only)
sk_family        5899 net/core/filter.c 		if (sk->sk_family != AF_INET6)
sk_family        7930 net/core/filter.c 					    struct sock, sk, sk_family);
sk_family        8748 net/core/filter.c 		else if (sk->sk_family != selected_sk->sk_family)
sk_family         766 net/core/skbuff.c 		       level, sk->sk_family, sk->sk_type, sk->sk_protocol);
sk_family         431 net/core/sock.c 	switch (sk->sk_family) {
sk_family         704 net/core/sock.c 	switch (sk->sk_family) {
sk_family        1139 net/core/sock.c 		if (sk->sk_family == PF_INET || sk->sk_family == PF_INET6) {
sk_family        1145 net/core/sock.c 		} else if (sk->sk_family != PF_RDS) {
sk_family        1283 net/core/sock.c 		v.val = sk->sk_family;
sk_family        1557 net/core/sock.c 			af_family_kern_slock_key_strings[sk->sk_family],
sk_family        1558 net/core/sock.c 			af_family_kern_slock_keys + sk->sk_family,
sk_family        1559 net/core/sock.c 			af_family_kern_key_strings[sk->sk_family],
sk_family        1560 net/core/sock.c 			af_family_kern_keys + sk->sk_family);
sk_family        1564 net/core/sock.c 			af_family_slock_key_strings[sk->sk_family],
sk_family        1565 net/core/sock.c 			af_family_slock_keys + sk->sk_family,
sk_family        1566 net/core/sock.c 			af_family_key_strings[sk->sk_family],
sk_family        1567 net/core/sock.c 			af_family_keys + sk->sk_family);
sk_family        1661 net/core/sock.c 		sk->sk_family = family;
sk_family        1775 net/core/sock.c 			af_rlock_keys + sk->sk_family,
sk_family        1776 net/core/sock.c 			af_family_rlock_key_strings[sk->sk_family]);
sk_family        1778 net/core/sock.c 			af_wlock_keys + sk->sk_family,
sk_family        1779 net/core/sock.c 			af_family_wlock_key_strings[sk->sk_family]);
sk_family        1781 net/core/sock.c 			af_elock_keys + sk->sk_family,
sk_family        1782 net/core/sock.c 			af_family_elock_key_strings[sk->sk_family]);
sk_family        1784 net/core/sock.c 			af_callback_keys + sk->sk_family,
sk_family        1785 net/core/sock.c 			af_family_clock_key_strings[sk->sk_family]);
sk_family        1800 net/core/sock.c 	newsk = sk_prot_alloc(sk->sk_prot, priority, sk->sk_family);
sk_family        2886 net/core/sock.c 			af_kern_callback_keys + sk->sk_family,
sk_family        2887 net/core/sock.c 			af_family_kern_clock_key_strings[sk->sk_family]);
sk_family        2891 net/core/sock.c 			af_callback_keys + sk->sk_family,
sk_family        2892 net/core/sock.c 			af_family_clock_key_strings[sk->sk_family]);
sk_family         137 net/core/sock_diag.c 	hndl = sock_diag_handlers[sk->sk_family];
sk_family         479 net/decnet/af_decnet.c 	sk->sk_family      = PF_DECnet;
sk_family        1036 net/ieee802154/socket.c 	sk->sk_family = PF_IEEE802154;
sk_family        1570 net/ipv4/af_inet.c 	if (sk->sk_family == AF_INET)
sk_family        1573 net/ipv4/af_inet.c 	if (sk->sk_family == AF_INET6)
sk_family         792 net/ipv4/fou.c 	if (nla_put_u8(msg, FOU_ATTR_AF, fou->sock->sk->sk_family) ||
sk_family         804 net/ipv4/fou.c 	if (fou->sock->sk->sk_family == AF_INET) {
sk_family          95 net/ipv4/inet_connection_sock.c 	if (sk->sk_family == AF_INET6)
sk_family         114 net/ipv4/inet_connection_sock.c 	if (sk->sk_family == AF_INET6)
sk_family         343 net/ipv4/inet_connection_sock.c 			tb->fast_sk_family = sk->sk_family;
sk_family         370 net/ipv4/inet_connection_sock.c 				tb->fast_sk_family = sk->sk_family;
sk_family          68 net/ipv4/inet_diag.c 	r->idiag_family = sk->sk_family;
sk_family          76 net/ipv4/inet_diag.c 	if (sk->sk_family == AF_INET6) {
sk_family         663 net/ipv4/inet_diag.c 	if (sk->sk_family == AF_INET6) {
sk_family         682 net/ipv4/inet_diag.c 	entry.family = sk->sk_family;
sk_family         869 net/ipv4/inet_diag.c 		     offsetof(struct sock, sk_family));
sk_family         930 net/ipv4/inet_diag.c 				    sk->sk_family != r->sdiag_family)
sk_family         989 net/ipv4/inet_diag.c 			    sk->sk_family != r->sdiag_family)
sk_family          46 net/ipv4/inet_hashtables.c 	if (sk->sk_family == AF_INET6 &&
sk_family         180 net/ipv4/inet_hashtables.c 	if (sk->sk_family == AF_INET6)
sk_family         202 net/ipv4/inet_hashtables.c 	if (sk->sk_reuseport && sk->sk_family == AF_INET6)
sk_family         242 net/ipv4/inet_hashtables.c 		score = sk->sk_family == PF_INET ? 2 : 1;
sk_family         525 net/ipv4/inet_hashtables.c 		    sk2->sk_family == sk->sk_family &&
sk_family         558 net/ipv4/inet_hashtables.c 		sk->sk_family == AF_INET6)
sk_family         180 net/ipv4/inet_timewait_sock.c 		tw->tw_family	    = sk->sk_family;
sk_family         663 net/ipv4/ip_sockglue.c 			if (sk->sk_family == PF_INET ||
sk_family          67 net/ipv4/netfilter/nf_defrag_ipv4.c 	if (sk && sk_fullsock(sk) && (sk->sk_family == PF_INET) &&
sk_family         197 net/ipv4/ping.c 		    sk->sk_family == AF_INET) {
sk_family         207 net/ipv4/ping.c 			   sk->sk_family == AF_INET6) {
sk_family         261 net/ipv4/ping.c 	if (sk->sk_family == AF_INET6)
sk_family         298 net/ipv4/ping.c 	if (sk->sk_family == AF_INET) {
sk_family         325 net/ipv4/ping.c 	} else if (sk->sk_family == AF_INET6) {
sk_family         389 net/ipv4/ping.c 	if (sk->sk_family == AF_INET) {
sk_family         393 net/ipv4/ping.c 	} else if (sk->sk_family == AF_INET6) {
sk_family         435 net/ipv4/ping.c 	if (sk->sk_family == AF_INET && isk->inet_rcv_saddr)
sk_family         438 net/ipv4/ping.c 	if (sk->sk_family == AF_INET6 && !ipv6_addr_any(&sk->sk_v6_rcv_saddr))
sk_family         449 net/ipv4/ping.c 	if (sk->sk_family == AF_INET6)
sk_family         854 net/ipv4/ping.c 	int family = sk->sk_family;
sk_family        1029 net/ipv4/ping.c 			    sk->sk_family == state->family)
sk_family         173 net/ipv4/raw_diag.c 			if (sk->sk_family != r->sdiag_family)
sk_family         616 net/ipv4/tcp_bpf.c 	if (sk->sk_family == AF_INET6 &&
sk_family         636 net/ipv4/tcp_bpf.c 	int family = sk->sk_family == AF_INET6 ? TCP_BPF_IPV6 : TCP_BPF_IPV4;
sk_family         644 net/ipv4/tcp_bpf.c 	int family = sk->sk_family == AF_INET6 ? TCP_BPF_IPV6 : TCP_BPF_IPV4;
sk_family        2326 net/ipv4/tcp_input.c 	if (sk->sk_family == AF_INET) {
sk_family        2335 net/ipv4/tcp_input.c 	else if (sk->sk_family == AF_INET6) {
sk_family        6476 net/ipv4/tcp_input.c 		ireq->ireq_family = sk_listener->sk_family;
sk_family        2172 net/ipv4/tcp_ipv4.c 		if (sk->sk_family == afinfo->family)
sk_family        2226 net/ipv4/tcp_ipv4.c 			if (sk->sk_family != afinfo->family ||
sk_family        2253 net/ipv4/tcp_ipv4.c 		if (sk->sk_family == afinfo->family &&
sk_family         280 net/ipv4/tcp_metrics.c 	if (sk->sk_family == AF_INET) {
sk_family         286 net/ipv4/tcp_metrics.c 	else if (sk->sk_family == AF_INET6) {
sk_family         462 net/ipv4/tcp_timer.c 		if (sk->sk_family == AF_INET) {
sk_family         470 net/ipv4/tcp_timer.c 		else if (sk->sk_family == AF_INET6) {
sk_family         204 net/ipv4/udp.c 		    sk2->sk_family == sk->sk_family &&
sk_family         323 net/ipv4/udp.c 		    sk->sk_family == AF_INET6)
sk_family         370 net/ipv4/udp.c 	score = (sk->sk_family == PF_INET) ? 2 : 1;
sk_family        1049 net/ipv4/udp.c 					   sk->sk_family == AF_INET6);
sk_family        2830 net/ipv4/udp.c 			if (sk->sk_family == afinfo->family)
sk_family        2848 net/ipv4/udp.c 	} while (sk && (!net_eq(sock_net(sk), net) || sk->sk_family != afinfo->family));
sk_family         126 net/ipv4/udp_diag.c 					sk->sk_family != r->sdiag_family)
sk_family         100 net/ipv4/udp_tunnel.c 	ti.sa_family = sk->sk_family;
sk_family         118 net/ipv4/udp_tunnel.c 	ti.sa_family = sk->sk_family;
sk_family         134 net/ipv4/udp_tunnel.c 	ti.sa_family = sk->sk_family;
sk_family         158 net/ipv4/udp_tunnel.c 	ti.sa_family = sk->sk_family;
sk_family         200 net/ipv6/af_inet6.c 	sk->sk_family		= PF_INET6;
sk_family         100 net/ipv6/inet6_hashtables.c 	    sk->sk_family == PF_INET6) {
sk_family         225 net/ipv6/ipv6_sockglue.c 				sk->sk_family = PF_INET;
sk_family         238 net/ipv6/ipv6_sockglue.c 				sk->sk_family = PF_INET;
sk_family        1048 net/ipv6/ipv6_sockglue.c 		val = sk->sk_family;
sk_family         112 net/ipv6/udp.c 	    sk->sk_family != PF_INET6)
sk_family         716 net/ipv6/udp.c 	    sk->sk_family != PF_INET6 ||
sk_family          32 net/ipv6/xfrm6_output.c 		if (sk->sk_family != AF_INET6)
sk_family        1394 net/kcm/kcmsock.c 	if ((csk->sk_family != AF_INET && csk->sk_family != AF_INET6) ||
sk_family         164 net/key/af_key.c 	sk->sk_family = PF_KEY;
sk_family        3248 net/key/af_key.c 	switch (sk->sk_family) {
sk_family        3289 net/key/af_key.c 	xp->family = sk->sk_family;
sk_family         113 net/l2tp/l2tp_core.c 	return sk->sk_family == PF_INET6 &&
sk_family        1463 net/l2tp/l2tp_core.c 	if (sk->sk_family != PF_INET && sk->sk_family != PF_INET6)
sk_family         147 net/l2tp/l2tp_debugfs.c 		if (tunnel->sock->sk_family == AF_INET6) {
sk_family         381 net/l2tp/l2tp_netlink.c 	if (sk->sk_family == AF_INET6)
sk_family         389 net/l2tp/l2tp_netlink.c 		switch (sk->sk_family) {
sk_family         521 net/l2tp/l2tp_ppp.c 	sk->sk_family	   = PF_PPPOX;
sk_family         929 net/l2tp/l2tp_ppp.c 	if ((tunnel->version == 2) && (tunnel->sock->sk_family == AF_INET)) {
sk_family         947 net/l2tp/l2tp_ppp.c 		   (tunnel->sock->sk_family == AF_INET6)) {
sk_family         966 net/l2tp/l2tp_ppp.c 		   (tunnel->sock->sk_family == AF_INET6)) {
sk_family         752 net/llc/llc_conn.c 	struct sock *newsk = llc_sk_alloc(sock_net(sk), sk->sk_family, GFP_ATOMIC,
sk_family          77 net/llc/llc_sap.c 	addr->sllc_family = sk->sk_family;
sk_family        1367 net/netfilter/ipvs/ip_vs_core.c 		if (sk->sk_family == PF_INET && inet_sk(sk)->nodefrag)
sk_family        2018 net/netfilter/ipvs/ip_vs_core.c 		if (sk->sk_family == PF_INET && inet_sk(sk)->nodefrag)
sk_family        1309 net/netfilter/ipvs/ip_vs_sync.c 	if (sk->sk_family == AF_INET6) {
sk_family        1330 net/netfilter/ipvs/ip_vs_sync.c 	if (sk->sk_family == AF_INET6) {
sk_family        1349 net/netfilter/ipvs/ip_vs_sync.c 	if (sk->sk_family == AF_INET6) {
sk_family        1373 net/netfilter/ipvs/ip_vs_sync.c 	if (sk->sk_family == AF_INET6) {
sk_family        1045 net/netlabel/netlabel_kapi.c 	switch (sk->sk_family) {
sk_family        1074 net/netlabel/netlabel_kapi.c 	switch (sk->sk_family) {
sk_family        1161 net/netlink/af_netlink.c 	if (sock->sk_family != AF_NETLINK)
sk_family        1504 net/packet/af_packet.c 	if (sk->sk_family != PF_PACKET)
sk_family        3261 net/packet/af_packet.c 	sk->sk_family = PF_PACKET;
sk_family         143 net/rds/tcp_listen.c 	ret = sock_create_lite(sock->sk->sk_family,
sk_family         181 net/rds/tcp_listen.c 		 sock->sk->sk_family,
sk_family         281 net/sched/em_meta.c 	dst->value = skb->sk->sk_family;
sk_family         239 net/sctp/associola.c 	if (asoc->base.sk->sk_family == PF_INET6)
sk_family        1577 net/sctp/associola.c 	flags = (PF_INET6 == asoc->base.sk->sk_family) ? SCTP_ADDR6_ALLOWED : 0;
sk_family         369 net/sctp/bind_addr.c 	if (sctp_opt2sk(bp_sp)->sk_family == AF_INET6)
sk_family         371 net/sctp/bind_addr.c 	else if (sctp_opt2sk(addr_sp)->sk_family == AF_INET6)
sk_family         485 net/sctp/bind_addr.c 		fam = sk->sk_family;
sk_family          39 net/sctp/diag.c 	r->idiag_family = sk->sk_family;
sk_family          46 net/sctp/diag.c 	if (sk->sk_family == AF_INET6) {
sk_family         362 net/sctp/diag.c 	if (r->sdiag_family != AF_UNSPEC && sk->sk_family != r->sdiag_family)
sk_family         389 net/sctp/diag.c 	    sk->sk_family != r->sdiag_family)
sk_family        2515 net/sctp/sm_make_chunk.c 		if (PF_INET6 != asoc->base.sk->sk_family)
sk_family        2575 net/sctp/sm_make_chunk.c 				if (PF_INET6 == asoc->base.sk->sk_family)
sk_family         290 net/sctp/socket.c 	sctp_get_pf_specific(sk->sk_family)->addr_to_user(sctp_sk(sk),
sk_family        2594 net/sctp/socket.c 		} else if (sctp_opt2sk(sp)->sk_family == AF_INET6) {
sk_family        5093 net/sctp/socket.c 	sp->pf = sctp_get_pf_specific(sk->sk_family);
sk_family        5481 net/sctp/socket.c 	sctp_get_pf_specific(sk->sk_family)->addr_to_user(sctp_sk(sk),
sk_family        5667 net/sctp/socket.c 	err = sock_create(sk->sk_family, SOCK_SEQPACKET, IPPROTO_SCTP, &sock);
sk_family        6193 net/sctp/socket.c 		addrlen = sctp_get_pf_specific(sk->sk_family)
sk_family        6227 net/sctp/socket.c 		if ((PF_INET == sk->sk_family) &&
sk_family        6230 net/sctp/socket.c 		if ((PF_INET6 == sk->sk_family) &&
sk_family        6238 net/sctp/socket.c 		addrlen = sctp_get_pf_specific(sk->sk_family)
sk_family        6328 net/sctp/socket.c 		addrlen = sctp_get_pf_specific(sk->sk_family)
sk_family        6391 net/sctp/socket.c 	sctp_get_pf_specific(sk->sk_family)->addr_to_user(sp,
sk_family        9304 net/sctp/socket.c 	newsk->sk_family = sk->sk_family;
sk_family        9348 net/sctp/socket.c 	if (sk_from->sk_family == PF_INET6)
sk_family         329 net/sctp/ulpevent.c 	sctp_get_pf_specific(asoc->base.sk->sk_family)->addr_to_user(
sk_family          43 net/smc/smc_diag.c 	r->diag_family = sk->sk_family;
sk_family        3377 net/socket.c   	if (sock && sock->sk && sock->sk->sk_family == AF_INET6) { /* ipv6 */
sk_family        3613 net/socket.c   	err = sock_create_lite(sk->sk_family, sk->sk_type, sk->sk_protocol,
sk_family        3831 net/socket.c   	switch (sk->sk_family) {
sk_family          85 net/sunrpc/svcsock.c 	switch (sk->sk_family) {
sk_family         150 net/sunrpc/svcsock.c 	switch (svsk->sk_sk->sk_family) {
sk_family         292 net/sunrpc/svcsock.c 	switch (sk->sk_family) {
sk_family         309 net/sunrpc/svcsock.c 				sk->sk_family);
sk_family         696 net/sunrpc/svcsock.c 	switch (svsk->sk_sk->sk_family) {
sk_family        1281 net/sunrpc/svcsock.c 		err = svc_register(serv, sock_net(sock->sk), inet->sk_family,
sk_family        1359 net/sunrpc/svcsock.c 	if ((so->sk->sk_family != PF_INET) && (so->sk->sk_family != PF_INET6))
sk_family         184 net/tls/tls_device_fallback.c 	if (skb->sk->sk_family == AF_INET6) {
sk_family          70 net/tls/tls_main.c 	int ip_ver = sk->sk_family == AF_INET6 ? TLSV6 : TLSV4;
sk_family         615 net/tls/tls_main.c 	int ip_ver = sk->sk_family == AF_INET6 ? TLSV6 : TLSV4;
sk_family         584 net/xdp/xsk.c  	if (sock->sk->sk_family != PF_XDP) {
sk_family        1102 net/xdp/xsk.c  	sk->sk_family = PF_XDP;
sk_family         649 net/xfrm/xfrm_output.c 		 skb->sk->sk_family == AF_INET6)
sk_family        2991 net/xfrm/xfrm_user.c 	switch (sk->sk_family) {
sk_family          68 security/apparmor/include/net.h 	DEFINE_AUDIT_NET(NAME, OP, SK, (SK)->sk_family, (SK)->sk_type,	\
sk_family         101 security/apparmor/include/net.h 	return aa_profile_af_perm(profile, sa, request, sk->sk_family,
sk_family         864 security/apparmor/lsm.c 	return af_select(sock->sk->sk_family,
sk_family         880 security/apparmor/lsm.c 	return af_select(sock->sk->sk_family,
sk_family         894 security/apparmor/lsm.c 	return af_select(sock->sk->sk_family,
sk_family         912 security/apparmor/lsm.c 	return af_select(sock->sk->sk_family,
sk_family         925 security/apparmor/lsm.c 	return af_select(sock->sk->sk_family,
sk_family         955 security/apparmor/lsm.c 	return af_select(sock->sk->sk_family,
sk_family         984 security/apparmor/lsm.c 	return af_select(sock->sk->sk_family,
sk_family         325 security/lsm_audit.c 			switch (sk->sk_family) {
sk_family        4580 security/selinux/hooks.c 	family = sk->sk_family;
sk_family        4996 security/selinux/hooks.c 	u16 family = sk->sk_family;
sk_family        5110 security/selinux/hooks.c 		family = sock->sk->sk_family;
sk_family        5182 security/selinux/hooks.c 	if (sk->sk_family == PF_INET || sk->sk_family == PF_INET6 ||
sk_family        5183 security/selinux/hooks.c 	    sk->sk_family == PF_UNIX)
sk_family        5212 security/selinux/hooks.c 		err = selinux_skb_peerlbl_sid(skb, ep->base.sk->sk_family,
sk_family        5401 security/selinux/hooks.c 	u16 family = sk->sk_family;
sk_family         280 security/selinux/netlabel.c 	if (ep->base.sk->sk_family != PF_INET &&
sk_family         281 security/selinux/netlabel.c 				ep->base.sk->sk_family != PF_INET6)
sk_family        2280 security/smack/smack_lsm.c 	if (sk->sk_family == PF_INET6) {
sk_family        2427 security/smack/smack_lsm.c 		rc = netlbl_sock_setattr(sk, sk->sk_family, &skp->smk_netlabel);
sk_family        2715 security/smack/smack_lsm.c 		if (sock->sk->sk_family == PF_INET) {
sk_family        2726 security/smack/smack_lsm.c 	if (sock->sk->sk_family == PF_INET6)
sk_family        2805 security/smack/smack_lsm.c 	if (sock->sk != NULL && sock->sk->sk_family == PF_INET6) {
sk_family        2832 security/smack/smack_lsm.c 	if (sock->sk->sk_family != PF_INET &&
sk_family        2833 security/smack/smack_lsm.c 	    (!IS_ENABLED(CONFIG_IPV6) || sock->sk->sk_family != PF_INET6))
sk_family        3674 security/smack/smack_lsm.c 	switch (sock->sk->sk_family) {
sk_family        3840 security/smack/smack_lsm.c 	u16 family = sk->sk_family;
sk_family        4003 security/smack/smack_lsm.c 		family = sock->sk->sk_family;
sk_family        4055 security/smack/smack_lsm.c 	    (sk->sk_family != PF_INET && sk->sk_family != PF_INET6))
sk_family        4076 security/smack/smack_lsm.c 	u16 family = sk->sk_family;
sk_family         632 security/tomoyo/network.c 	family = sk->sk_family;
sk_family         217 tools/testing/selftests/bpf/progs/test_tcp_estats.c 	if (_(sk->sk_family) == AF_INET6)