sk_family         615 fs/compat_ioctl.c 	if (mysock && mysock->sk && mysock->sk->sk_family == AF_INET6) { /* ipv6 */
sk_family         448 fs/ncpfs/sock.c 							hdrl = sock->sk->sk_family == AF_INET ? 8 : 6;
sk_family        1766 fs/ocfs2/cluster/tcp.c 	ret = sock_create_lite(sock->sk->sk_family, sock->sk->sk_type,
sk_family         423 include/linux/ipv6.h 	if (sk_from->sk_family == PF_INET6)
sk_family         430 include/linux/ipv6.h #define ipv6_only_sock(sk)	((sk)->sk_family == PF_INET6 && __ipv6_only_sock(sk))
sk_family         462 include/linux/ipv6.h 	return sk->sk_family == AF_INET6 ? __inet6_rcv_saddr(sk) : NULL;
sk_family         499 include/linux/ipv6.h 	 ((__sk)->sk_family		== AF_INET6)		&& \
sk_family         507 include/linux/ipv6.h 	 ((__sk)->sk_family	       == PF_INET6)			&& \
sk_family         317 include/net/ip.h 	if (sk->sk_family == PF_INET6) {
sk_family         177 include/net/udp.h 		if ((sk)->sk_family == AF_INET) \
sk_family         811 net/atm/clip.c 	       (sk_atm(clip_vcc->vcc)->sk_family == AF_ATMSVC));
sk_family         643 net/atm/common.c 	if (sk_atm(vcc)->sk_family == AF_ATMPVC)
sk_family          74 net/atm/proc.c 	return !family || (sk->sk_family == family);
sk_family         196 net/atm/proc.c 	switch (sk->sk_family) {
sk_family         204 net/atm/proc.c 			seq_printf(seq, "%3d", sk->sk_family);
sk_family         207 net/atm/signaling.c 	if (sk_atm(vcc)->sk_family == PF_ATMSVC &&
sk_family         865 net/core/sock.c 			af_family_slock_key_strings[sk->sk_family],
sk_family         866 net/core/sock.c 			af_family_slock_keys + sk->sk_family,
sk_family         867 net/core/sock.c 			af_family_key_strings[sk->sk_family],
sk_family         868 net/core/sock.c 			af_family_keys + sk->sk_family);
sk_family         946 net/core/sock.c 		sk->sk_family = family;
sk_family        1006 net/core/sock.c 	newsk = sk_prot_alloc(sk->sk_prot, priority, sk->sk_family);
sk_family        1031 net/core/sock.c 				af_callback_keys + newsk->sk_family,
sk_family        1032 net/core/sock.c 				af_family_clock_key_strings[newsk->sk_family]);
sk_family        1722 net/core/sock.c 			af_callback_keys + sk->sk_family,
sk_family        1723 net/core/sock.c 			af_family_clock_key_strings[sk->sk_family]);
sk_family         489 net/decnet/af_decnet.c 	sk->sk_family      = PF_DECnet;
sk_family         635 net/econet/af_econet.c 	sk->sk_family = PF_ECONET;
sk_family         372 net/ipv4/af_inet.c 	sk->sk_family	   = PF_INET;
sk_family         112 net/ipv4/inet_diag.c 	r->idiag_family = sk->sk_family;
sk_family         501 net/ipv4/inet_diag.c 		entry.family = sk->sk_family;
sk_family         578 net/ipv4/inet_diag.c 	r->idiag_family = sk->sk_family;
sk_family         636 net/ipv4/inet_diag.c 	entry.family = sk->sk_family;
sk_family         164 net/ipv4/inet_hashtables.c 			int score = sk->sk_family == PF_INET ? 1 : 0;
sk_family         203 net/ipv4/inet_hashtables.c 		    (sk->sk_family == PF_INET || !ipv6_only_sock(sk)) &&
sk_family         125 net/ipv4/inet_timewait_sock.c 		tw->tw_family	    = sk->sk_family;
sk_family         458 net/ipv4/ip_sockglue.c 			if (sk->sk_family == PF_INET ||
sk_family        2338 net/ipv4/tcp_input.c 	if (sk->sk_family == AF_INET) {
sk_family        2347 net/ipv4/tcp_input.c 	else if (sk->sk_family == AF_INET6) {
sk_family        1922 net/ipv4/tcp_ipv4.c 		if (sk->sk_family == st->family && net_eq(sock_net(sk), net)) {
sk_family        1982 net/ipv4/tcp_ipv4.c 			if (sk->sk_family != st->family ||
sk_family        2043 net/ipv4/tcp_ipv4.c 		if (sk->sk_family == st->family && net_eq(sock_net(sk), net))
sk_family         301 net/ipv4/tcp_timer.c 		if (sk->sk_family == AF_INET) {
sk_family         307 net/ipv4/tcp_timer.c 		else if (sk->sk_family == AF_INET6) {
sk_family         229 net/ipv4/udp.c 			int score = (sk->sk_family == PF_INET ? 1 : 0);
sk_family        1512 net/ipv4/udp.c 			if (sk->sk_family == state->family)
sk_family        1530 net/ipv4/udp.c 	} while (sk && (!net_eq(sock_net(sk), net) || sk->sk_family != state->family));
sk_family         178 net/ipv6/af_inet6.c 	sk->sk_family		= PF_INET6;
sk_family         110 net/ipv6/inet6_hashtables.c 				sk->sk_family == PF_INET6) {
sk_family         202 net/ipv6/ipv6_sockglue.c 				sk->sk_family = PF_INET;
sk_family         215 net/ipv6/ipv6_sockglue.c 				sk->sk_family = PF_INET;
sk_family         868 net/ipv6/ipv6_sockglue.c 		val = sk->sk_family;
sk_family          72 net/ipv6/udp.c 				sk->sk_family == PF_INET6) {
sk_family         346 net/ipv6/udp.c 		if (s->sk_hash == num && s->sk_family == PF_INET6) {
sk_family        1133 net/irda/af_irda.c 	sk->sk_family = PF_IRDA;
sk_family         195 net/key/af_key.c 	sk->sk_family = PF_KEY;
sk_family        3117 net/key/af_key.c 	switch (sk->sk_family) {
sk_family        3158 net/key/af_key.c 	xp->family = sk->sk_family;
sk_family         703 net/llc/llc_conn.c 	struct sock *newsk = llc_sk_alloc(sock_net(sk), sk->sk_family, GFP_ATOMIC,
sk_family          80 net/llc/llc_sap.c 	addr->sllc_family = sk->sk_family;
sk_family         746 net/netlink/af_netlink.c 	if (sock->sk_family != AF_NETLINK)
sk_family        1060 net/packet/af_packet.c 	sk->sk_family = PF_PACKET;
sk_family         278 net/sched/em_meta.c 	dst->value = skb->sk->sk_family;
sk_family        1442 net/sctp/associola.c 	flags = (PF_INET6 == asoc->base.sk->sk_family) ? SCTP_ADDR6_ALLOWED : 0;
sk_family         367 net/sctp/bind_addr.c 	if (sctp_opt2sk(bp_sp)->sk_family == AF_INET6)
sk_family         369 net/sctp/bind_addr.c 	else if (sctp_opt2sk(addr_sp)->sk_family == AF_INET6)
sk_family         489 net/sctp/bind_addr.c 		fam = sk->sk_family;
sk_family         657 net/sctp/ipv6.c 	newsk->sk_family = PF_INET6;
sk_family         605 net/sctp/protocol.c 	newsk->sk_family = PF_INET;
sk_family        2379 net/sctp/sm_make_chunk.c 		if (PF_INET6 != asoc->base.sk->sk_family)
sk_family        2440 net/sctp/sm_make_chunk.c 				if (PF_INET6 == asoc->base.sk->sk_family)
sk_family         262 net/sctp/socket.c 	sctp_get_pf_specific(sk->sk_family)->addr_v4map(sctp_sk(sk),
sk_family        3597 net/sctp/socket.c 	sp->pf = sctp_get_pf_specific(sk->sk_family);
sk_family        3717 net/sctp/socket.c 	sctp_get_pf_specific(sk->sk_family)->addr_v4map(sctp_sk(sk),
sk_family        3887 net/sctp/socket.c 	err = sock_create(sk->sk_family, SOCK_SEQPACKET, IPPROTO_SCTP, &sock);
sk_family        4309 net/sctp/socket.c 		sctp_get_pf_specific(sk->sk_family)->addr_v4map(sp, &temp);
sk_family        4310 net/sctp/socket.c 		addrlen = sctp_get_af_specific(sk->sk_family)->sockaddr_len;
sk_family        4357 net/sctp/socket.c 		sctp_get_pf_specific(sk->sk_family)->addr_v4map(sp, &temp);
sk_family        4358 net/sctp/socket.c 		addrlen = sctp_get_af_specific(sk->sk_family)->sockaddr_len;
sk_family        4424 net/sctp/socket.c 				if ((PF_INET == sk->sk_family) &&
sk_family        4428 net/sctp/socket.c 				if ((PF_INET6 == sk->sk_family) &&
sk_family        4470 net/sctp/socket.c 		if ((PF_INET == sk->sk_family) &&
sk_family        4473 net/sctp/socket.c 		if ((PF_INET6 == sk->sk_family) &&
sk_family        4481 net/sctp/socket.c 		sctp_get_pf_specific(sk->sk_family)->addr_v4map(sctp_sk(sk),
sk_family        4509 net/sctp/socket.c 		if ((PF_INET == sk->sk_family) &&
sk_family        4512 net/sctp/socket.c 		if ((PF_INET6 == sk->sk_family) &&
sk_family        4520 net/sctp/socket.c 		sctp_get_pf_specific(sk->sk_family)->addr_v4map(sctp_sk(sk),
sk_family        4620 net/sctp/socket.c 		sctp_get_pf_specific(sk->sk_family)->addr_v4map(sp, &temp);
sk_family        4716 net/sctp/socket.c 		sctp_get_pf_specific(sk->sk_family)->addr_v4map(sp, &temp);
sk_family        4776 net/sctp/socket.c 	sctp_get_pf_specific(sk->sk_family)->addr_v4map(sp,
sk_family         350 net/sctp/ulpevent.c 	sctp_get_pf_specific(asoc->base.sk->sk_family)->addr_v4map(
sk_family        2358 net/socket.c   	err = sock_create_lite(sk->sk_family, sk->sk_type, sk->sk_protocol,
sk_family          74 net/sunrpc/svcsock.c 	switch (sk->sk_family) {
sk_family         132 net/sunrpc/svcsock.c 	switch (svsk->sk_sk->sk_family) {
sk_family         251 net/sunrpc/svcsock.c 	switch(svsk->sk_sk->sk_family) {
sk_family         261 net/sunrpc/svcsock.c 			       svsk->sk_sk->sk_family);
sk_family         406 net/sunrpc/svcsock.c 	switch (svsk->sk_sk->sk_family) {
sk_family        1178 net/sunrpc/svcsock.c 	if (so->sk->sk_family != AF_INET)
sk_family        1063 net/xfrm/xfrm_policy.c 						sk->sk_family);
sk_family        2261 net/xfrm/xfrm_user.c 	switch (sk->sk_family) {
sk_family         606 security/selinux/avc.c 				switch (sk->sk_family) {
sk_family        3716 security/selinux/hooks.c 	family = sock->sk->sk_family;
sk_family        3824 security/selinux/hooks.c 		if (sk->sk_family == PF_INET) {
sk_family        3845 security/selinux/hooks.c 		ad.u.net.family = sk->sk_family;
sk_family        4129 security/selinux/hooks.c 	u16 family = sk->sk_family;
sk_family        4244 security/selinux/hooks.c 		family = sock->sk->sk_family;
sk_family        4279 security/selinux/hooks.c 	selinux_netlbl_sk_security_reset(newssec, newsk->sk_family);
sk_family        4298 security/selinux/hooks.c 	if (sk->sk_family == PF_INET || sk->sk_family == PF_INET6 ||
sk_family        4299 security/selinux/hooks.c 	    sk->sk_family == PF_UNIX)
sk_family        4309 security/selinux/hooks.c 	u16 family = sk->sk_family;
sk_family        4354 security/selinux/hooks.c 	u16 family = sk->sk_family;
sk_family        2162 security/smack/smack_lsm.c 	if (sk->sk_family != PF_INET && sk->sk_family != PF_INET6)
sk_family        2170 security/smack/smack_lsm.c 	rc = netlbl_skbuff_getattr(skb, sk->sk_family, &secattr);
sk_family        2244 security/smack/smack_lsm.c 		if (sk->sk_family != PF_INET && sk->sk_family != PF_INET6)
sk_family        2246 security/smack/smack_lsm.c 		family = sk->sk_family;
sk_family        2287 security/smack/smack_lsm.c 	if (sk->sk_family != PF_INET && sk->sk_family != PF_INET6)
sk_family        2323 security/smack/smack_lsm.c 	rc = netlbl_skbuff_getattr(skb, sk->sk_family, &skb_secattr);