sa_family         383 arch/arm/kernel/sys_oabi-compat.c 	sa_family_t sa_family;
sa_family         385 arch/arm/kernel/sys_oabi-compat.c 	    get_user(sa_family, &addr->sa_family) == 0 &&
sa_family         386 arch/arm/kernel/sys_oabi-compat.c 	    sa_family == AF_UNIX)
sa_family         393 arch/arm/kernel/sys_oabi-compat.c 	sa_family_t sa_family;
sa_family         395 arch/arm/kernel/sys_oabi-compat.c 	    get_user(sa_family, &addr->sa_family) == 0 &&
sa_family         396 arch/arm/kernel/sys_oabi-compat.c 	    sa_family == AF_UNIX)
sa_family         406 arch/arm/kernel/sys_oabi-compat.c 	sa_family_t sa_family;
sa_family         408 arch/arm/kernel/sys_oabi-compat.c 	    get_user(sa_family, &addr->sa_family) == 0 &&
sa_family         409 arch/arm/kernel/sys_oabi-compat.c 	    sa_family == AF_UNIX)
sa_family         418 arch/arm/kernel/sys_oabi-compat.c 	sa_family_t sa_family;
sa_family         423 arch/arm/kernel/sys_oabi-compat.c 	    get_user(sa_family, &addr->sa_family) == 0 &&
sa_family         424 arch/arm/kernel/sys_oabi-compat.c 	    sa_family == AF_UNIX)
sa_family         336 drivers/block/drbd/drbd_nl.c 	switch (((struct sockaddr *)&connection->peer_addr)->sa_family) {
sa_family         611 drivers/block/drbd/drbd_receiver.c 	if (((struct sockaddr *)&connection->my_addr)->sa_family == AF_INET6)
sa_family         620 drivers/block/drbd/drbd_receiver.c 	err = sock_create_kern(&init_net, ((struct sockaddr *)&src_in6)->sa_family,
sa_family         715 drivers/block/drbd/drbd_receiver.c 	err = sock_create_kern(&init_net, ((struct sockaddr *)&my_addr)->sa_family,
sa_family         196 drivers/infiniband/core/addr.c 	switch (addr->sa_family) {
sa_family         250 drivers/infiniband/core/addr.c 	switch (src_in->sa_family) {
sa_family         369 drivers/infiniband/core/addr.c 	const void *daddr = (dst_in->sa_family == AF_INET) ?
sa_family         372 drivers/infiniband/core/addr.c 	sa_family_t family = dst_in->sa_family;
sa_family         488 drivers/infiniband/core/addr.c 	if (has_gateway(dst, dst_in->sa_family) &&
sa_family         490 drivers/infiniband/core/addr.c 		dev_addr->network = dst_in->sa_family == AF_INET ?
sa_family         584 drivers/infiniband/core/addr.c 	if (src_in->sa_family == AF_INET) {
sa_family         604 drivers/infiniband/core/addr.c 	if (src_in->sa_family == AF_INET)
sa_family         679 drivers/infiniband/core/addr.c 		if (src_addr->sa_family != dst_addr->sa_family) {
sa_family         686 drivers/infiniband/core/addr.c 		src_in->sa_family = dst_addr->sa_family;
sa_family         736 drivers/infiniband/core/addr.c 	if (sgid._sockaddr.sa_family != dgid._sockaddr.sa_family)
sa_family         597 drivers/infiniband/core/cma.c 	if (addr->sa_family != AF_IB) {
sa_family        1146 drivers/infiniband/core/cma.c 	switch (addr->sa_family) {
sa_family        1160 drivers/infiniband/core/cma.c 	switch (addr->sa_family) {
sa_family        1182 drivers/infiniband/core/cma.c 	if (src->sa_family != dst->sa_family)
sa_family        1185 drivers/infiniband/core/cma.c 	switch (src->sa_family) {
sa_family        1215 drivers/infiniband/core/cma.c 	switch (addr->sa_family) {
sa_family        1354 drivers/infiniband/core/cma.c 			     sa_family_t sa_family, __be64 service_id)
sa_family        1356 drivers/infiniband/core/cma.c 	if (sa_family == AF_IB) {
sa_family        1471 drivers/infiniband/core/cma.c 	switch (daddr->sa_family) {
sa_family        1473 drivers/infiniband/core/cma.c 		return saddr->sa_family == AF_INET &&
sa_family        1477 drivers/infiniband/core/cma.c 		return saddr->sa_family == AF_INET6 &&
sa_family        1551 drivers/infiniband/core/cma.c 	switch (addr->sa_family) {
sa_family        1592 drivers/infiniband/core/cma.c 	return (daddr->sa_family == AF_INET6 &&
sa_family        2231 drivers/infiniband/core/cma.c 	if (addr->sa_family == AF_IB)
sa_family        2885 drivers/infiniband/core/cma.c 	if (((struct sockaddr *)&id_priv->id.route.addr.dst_addr)->sa_family != AF_IB)
sa_family        2952 drivers/infiniband/core/cma.c 	switch (addr->sa_family) {
sa_family        3134 drivers/infiniband/core/cma.c 	if (!src_addr || !src_addr->sa_family) {
sa_family        3136 drivers/infiniband/core/cma.c 		src_addr->sa_family = dst_addr->sa_family;
sa_family        3138 drivers/infiniband/core/cma.c 		    dst_addr->sa_family == AF_INET6) {
sa_family        3144 drivers/infiniband/core/cma.c 		} else if (dst_addr->sa_family == AF_IB) {
sa_family        3169 drivers/infiniband/core/cma.c 	if (cma_family(id_priv) != dst_addr->sa_family) {
sa_family        3182 drivers/infiniband/core/cma.c 		if (dst_addr->sa_family == AF_IB) {
sa_family        3251 drivers/infiniband/core/cma.c 	switch (addr->sa_family) {
sa_family        3399 drivers/infiniband/core/cma.c 		    (addr->sa_family != cur_addr->sa_family))
sa_family        3520 drivers/infiniband/core/cma.c 	if (addr->sa_family != AF_INET6)
sa_family        3589 drivers/infiniband/core/cma.c 	if (addr->sa_family != AF_INET && addr->sa_family != AF_INET6 &&
sa_family        3590 drivers/infiniband/core/cma.c 	    addr->sa_family != AF_IB)
sa_family        3613 drivers/infiniband/core/cma.c 		if (addr->sa_family == AF_INET)
sa_family        3616 drivers/infiniband/core/cma.c 		else if (addr->sa_family == AF_INET6) {
sa_family        3624 drivers/infiniband/core/cma.c 	daddr->sa_family = addr->sa_family;
sa_family        4229 drivers/infiniband/core/cma.c 	} else if ((addr->sa_family == AF_INET6) &&
sa_family        4234 drivers/infiniband/core/cma.c 	} else if (addr->sa_family == AF_IB) {
sa_family        4236 drivers/infiniband/core/cma.c 	} else if (addr->sa_family == AF_INET6) {
sa_family        4324 drivers/infiniband/core/cma.c 	} else if (addr->sa_family == AF_INET6) {
sa_family        4389 drivers/infiniband/core/cma.c 	if (addr->sa_family == AF_INET) {
sa_family         861 drivers/infiniband/core/ucma.c 	memcpy(&resp.src_addr, addr, addr->sa_family == AF_INET ?
sa_family         865 drivers/infiniband/core/ucma.c 	memcpy(&resp.dst_addr, addr, addr->sa_family == AF_INET ?
sa_family        1316 drivers/infiniband/sw/siw/siw_cm.c 	size_t size = laddr->sa_family == AF_INET ?
sa_family        1355 drivers/infiniband/sw/siw/siw_cm.c 	if (laddr->sa_family == AF_INET6)
sa_family        1357 drivers/infiniband/sw/siw/siw_cm.c 	else if (laddr->sa_family != AF_INET)
sa_family         296 drivers/infiniband/ulp/ipoib/ipoib_main.c 	switch (addr->sa_family) {
sa_family        1807 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 		    (vdata->sa_family == AF_INET) &&
sa_family        1811 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 			 (vdata->sa_family == AF_INET6) &&
sa_family        2398 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 		  ti->sa_family, be16_to_cpu(ti->port));
sa_family        2414 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	vdata->sa_family = ti->sa_family;
sa_family        2441 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 		  ti->sa_family, be16_to_cpu(ti->port));
sa_family        2445 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 		if (vdata->sa_family != ti->sa_family)
sa_family        1020 drivers/net/ethernet/amd/xgbe/xgbe.h 	sa_family_t sa_family;
sa_family        11189 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	if (ti->sa_family != AF_INET6 && ti->sa_family != AF_INET)
sa_family        11229 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	if (ti->sa_family != AF_INET6 && ti->sa_family != AF_INET)
sa_family         194 drivers/net/ethernet/cisco/enic/enic_main.c 	switch (ti->sa_family) {
sa_family         235 drivers/net/ethernet/cisco/enic/enic_main.c 		    (int)enic->vxlan.patch_level, ntohs(port), ti->sa_family);
sa_family         241 drivers/net/ethernet/cisco/enic/enic_main.c 		    ntohs(port), ti->sa_family, ti->type);
sa_family         257 drivers/net/ethernet/cisco/enic/enic_main.c 			    ntohs(ti->port), ti->sa_family, ti->type);
sa_family         272 drivers/net/ethernet/cisco/enic/enic_main.c 		    ntohs(ti->port), ti->sa_family);
sa_family         226 drivers/net/ethernet/intel/fm10k/fm10k.h 	sa_family_t		sa_family;
sa_family         441 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 		    (port->sa_family == ti->sa_family)) {
sa_family         464 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 		port->sa_family = ti->sa_family;
sa_family        9824 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	if (ti->sa_family != AF_INET)
sa_family        9886 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	if (ti->sa_family != AF_INET)
sa_family        2682 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (ti->sa_family != AF_INET)
sa_family        2709 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (ti->sa_family != AF_INET)
sa_family          31 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve_vxlan.c 	if (cfg->saddr.sa.sa_family != AF_INET) {
sa_family        2376 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	if (vxlan_addr->sa.sa_family == AF_INET) {
sa_family        2392 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		vxlan_addr->sa.sa_family = AF_INET;
sa_family        2396 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		vxlan_addr->sa.sa_family = AF_INET6;
sa_family        1950 drivers/net/ethernet/pensando/ionic/ionic_lif.c 	addr.sa_family = AF_INET;
sa_family         254 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c 	data.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         579 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c 	iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
sa_family        1142 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c 	if (data->ap_addr.sa_family != ARPHRD_ETHER)
sa_family        1173 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c 		data->ap_addr.sa_family = ARPHRD_ETHER;
sa_family        1247 drivers/net/macvlan.c 		sa.sa_family = port->dev->type;
sa_family         728 drivers/net/ppp/pppoe.c 	sp.sa_family	= AF_PPPOX;
sa_family         806 drivers/net/ppp/pppoe.c 		if (po->pppoe_relay.sa_family != AF_PPPOX ||
sa_family         482 drivers/net/ppp/pptp.c 	sp.sa_family    = AF_PPPOX;
sa_family        1101 drivers/net/tap.c 		    put_user(u, &ifr->ifr_hwaddr.sa_family))
sa_family        3219 drivers/net/tun.c 		ifr.ifr_hwaddr.sa_family = tun->dev->type;
sa_family        1299 drivers/net/usb/r8152.c 	sa->sa_family = dev->type;
sa_family          98 drivers/net/vxlan.c 	if (a->sa.sa_family != b->sa.sa_family)
sa_family         100 drivers/net/vxlan.c 	if (a->sa.sa_family == AF_INET6)
sa_family         110 drivers/net/vxlan.c 		ip->sa.sa_family = AF_INET6;
sa_family         114 drivers/net/vxlan.c 		ip->sa.sa_family = AF_INET;
sa_family         124 drivers/net/vxlan.c 	if (ip->sa.sa_family == AF_INET6)
sa_family         144 drivers/net/vxlan.c 		ip->sa.sa_family = AF_INET;
sa_family         270 drivers/net/vxlan.c 		ndm->ndm_family = send_ip ? rdst->remote_ip.sa.sa_family : AF_INET;
sa_family        1064 drivers/net/vxlan.c 		if (remote->sa.sa_family == AF_INET) {
sa_family        1066 drivers/net/vxlan.c 			ip->sa.sa_family = AF_INET;
sa_family        1070 drivers/net/vxlan.c 			ip->sa.sa_family = AF_INET6;
sa_family        1143 drivers/net/vxlan.c 	if (vxlan->default_dst.remote_ip.sa.sa_family != ip.sa.sa_family)
sa_family        1297 drivers/net/vxlan.c 	if (src_ip->sa.sa_family == AF_INET6 &&
sa_family        1351 drivers/net/vxlan.c 	unsigned short family = dev->default_dst.remote_ip.sa.sa_family;
sa_family        1451 drivers/net/vxlan.c 	if (ip->sa.sa_family == AF_INET) {
sa_family        1485 drivers/net/vxlan.c 	if (ip->sa.sa_family == AF_INET) {
sa_family        1610 drivers/net/vxlan.c 		saddr.sa.sa_family = AF_INET;
sa_family        1614 drivers/net/vxlan.c 		saddr.sa.sa_family = AF_INET6;
sa_family        2342 drivers/net/vxlan.c 	if (remote_ip->sa.sa_family == AF_INET) {
sa_family        2344 drivers/net/vxlan.c 		loopback.sa.sa_family =  AF_INET;
sa_family        2348 drivers/net/vxlan.c 		loopback.sa.sa_family =  AF_INET6;
sa_family        2400 drivers/net/vxlan.c 					   daddr->sa.sa_family, dst_port,
sa_family        2468 drivers/net/vxlan.c 		if (dst->sa.sa_family == AF_INET)
sa_family        2479 drivers/net/vxlan.c 		remote_ip.sa.sa_family = ip_tunnel_info_af(info);
sa_family        2480 drivers/net/vxlan.c 		if (remote_ip.sa.sa_family == AF_INET) {
sa_family        2506 drivers/net/vxlan.c 	if (dst->sa.sa_family == AF_INET) {
sa_family        3361 drivers/net/vxlan.c 	if (!conf->remote_ip.sa.sa_family && !conf->saddr.sa.sa_family) {
sa_family        3363 drivers/net/vxlan.c 		conf->remote_ip.sa.sa_family = AF_INET;
sa_family        3364 drivers/net/vxlan.c 		conf->saddr.sa.sa_family = AF_INET;
sa_family        3365 drivers/net/vxlan.c 	} else if (!conf->remote_ip.sa.sa_family) {
sa_family        3366 drivers/net/vxlan.c 		conf->remote_ip.sa.sa_family = conf->saddr.sa.sa_family;
sa_family        3367 drivers/net/vxlan.c 	} else if (!conf->saddr.sa.sa_family) {
sa_family        3368 drivers/net/vxlan.c 		conf->saddr.sa.sa_family = conf->remote_ip.sa.sa_family;
sa_family        3371 drivers/net/vxlan.c 	if (conf->saddr.sa.sa_family != conf->remote_ip.sa.sa_family) {
sa_family        3382 drivers/net/vxlan.c 	if (conf->saddr.sa.sa_family == AF_INET6) {
sa_family        3712 drivers/net/vxlan.c 		if (changelink && (conf->remote_ip.sa.sa_family != AF_INET)) {
sa_family        3718 drivers/net/vxlan.c 		conf->remote_ip.sa.sa_family = AF_INET;
sa_family        3725 drivers/net/vxlan.c 		if (changelink && (conf->remote_ip.sa.sa_family != AF_INET6)) {
sa_family        3731 drivers/net/vxlan.c 		conf->remote_ip.sa.sa_family = AF_INET6;
sa_family        3735 drivers/net/vxlan.c 		if (changelink && (conf->saddr.sa.sa_family != AF_INET)) {
sa_family        3741 drivers/net/vxlan.c 		conf->saddr.sa.sa_family = AF_INET;
sa_family        3748 drivers/net/vxlan.c 		if (changelink && (conf->saddr.sa.sa_family != AF_INET6)) {
sa_family        3755 drivers/net/vxlan.c 		conf->saddr.sa.sa_family = AF_INET6;
sa_family        4086 drivers/net/vxlan.c 		if (dst->remote_ip.sa.sa_family == AF_INET) {
sa_family        4103 drivers/net/vxlan.c 		if (vxlan->cfg.saddr.sa.sa_family == AF_INET) {
sa_family        1372 drivers/net/wireless/atmel/atmel.c 		wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family        1702 drivers/net/wireless/atmel/atmel.c 	awrq->sa_family = ARPHRD_ETHER;
sa_family        2338 drivers/net/wireless/atmel/atmel.c 		iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
sa_family        2479 drivers/net/wireless/atmel/atmel.c 	if (awrq->sa_family != ARPHRD_ETHER)
sa_family        3162 drivers/net/wireless/atmel/atmel.c 		wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family        4027 drivers/net/wireless/atmel/atmel.c 		wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family        2089 drivers/net/wireless/cisco/airo.c 		wrqu.addr.sa_family = ARPHRD_ETHER;
sa_family        2992 drivers/net/wireless/cisco/airo.c 	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family        3280 drivers/net/wireless/cisco/airo.c 		wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family        5942 drivers/net/wireless/cisco/airo.c 	if (awrq->sa_family != ARPHRD_ETHER)
sa_family        5979 drivers/net/wireless/cisco/airo.c 	awrq->sa_family = ARPHRD_ETHER;
sa_family        7154 drivers/net/wireless/cisco/airo.c 		address[i].sa_family = ARPHRD_ETHER;
sa_family        7193 drivers/net/wireless/cisco/airo.c 			address[i].sa_family = ARPHRD_ETHER;
sa_family        7279 drivers/net/wireless/cisco/airo.c 	iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
sa_family        1841 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			    .sa_family = ARPHRD_ETHER}
sa_family        1953 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			    .sa_family = ARPHRD_ETHER}
sa_family        6900 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	if (wrqu->ap_addr.sa_family != ARPHRD_ETHER)
sa_family        6943 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		wrqu->ap_addr.sa_family = ARPHRD_ETHER;
sa_family        8278 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family        1940 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family        8914 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	if (wrqu->ap_addr.sa_family != ARPHRD_ETHER)
sa_family        8961 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		wrqu->ap_addr.sa_family = ARPHRD_ETHER;
sa_family          59 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         157 drivers/net/wireless/intersil/hostap/hostap_ap.c 	wrqu.addr.sa_family = ARPHRD_ETHER;
sa_family         168 drivers/net/wireless/intersil/hostap/hostap_ap.c 	wrqu.addr.sa_family = ARPHRD_ETHER;
sa_family        2341 drivers/net/wireless/intersil/hostap/hostap_ap.c 		addr[count].sa_family = ARPHRD_ETHER;
sa_family        2394 drivers/net/wireless/intersil/hostap/hostap_ap.c 		iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
sa_family        2343 drivers/net/wireless/intersil/hostap/hostap_hw.c 		wrqu.addr.sa_family = ARPHRD_ETHER;
sa_family        3357 drivers/net/wireless/intersil/hostap/hostap_hw.c 	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         449 drivers/net/wireless/intersil/hostap/hostap_info.c 	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         731 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	ap_addr->sa_family = ARPHRD_ETHER;
sa_family        1805 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         641 drivers/net/wireless/intersil/orinoco/main.c 		wrqu.addr.sa_family = ARPHRD_ETHER;
sa_family        1005 drivers/net/wireless/intersil/orinoco/main.c 			wxmic.src_addr.sa_family = ARPHRD_ETHER;
sa_family        1229 drivers/net/wireless/intersil/orinoco/main.c 	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         227 drivers/net/wireless/intersil/orinoco/wext.c 	ap_addr->sa_family = ARPHRD_ETHER;
sa_family         530 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	if (awrq->sa_family != ARPHRD_ETHER)
sa_family         554 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	awrq->sa_family = ARPHRD_ETHER;
sa_family         586 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
sa_family        1830 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	if (addr->sa_family != ARPHRD_ETHER)
sa_family        1859 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	if (addr->sa_family != ARPHRD_ETHER)
sa_family        1893 drivers/net/wireless/intersil/prism54/isl_ioctl.c 		dst->sa_family = ARPHRD_ETHER;
sa_family        2009 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	if (addr->sa_family != ARPHRD_ETHER)
sa_family        1119 drivers/net/wireless/ray_cs.c 	wrqu->ap_addr.sa_family = ARPHRD_ETHER;
sa_family        1534 drivers/net/wireless/wl3501_cs.c 	if (wrqu->ap_addr.sa_family != ARPHRD_ETHER)
sa_family        1551 drivers/net/wireless/wl3501_cs.c 	wrqu->ap_addr.sa_family = ARPHRD_ETHER;
sa_family        1575 drivers/net/wireless/wl3501_cs.c 		iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         272 drivers/net/wireless/zydas/zd1201.c 			wrqu.addr.sa_family = ARPHRD_ETHER;
sa_family         283 drivers/net/wireless/zydas/zd1201.c 			wrqu.addr.sa_family = ARPHRD_ETHER;
sa_family        1140 drivers/net/wireless/zydas/zd1201.c 		iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         129 drivers/scsi/be2iscsi/be_mgmt.c 	if (dst_addr->sa_family != PF_INET && dst_addr->sa_family != PF_INET6) {
sa_family         132 drivers/scsi/be2iscsi/be_mgmt.c 			    dst_addr->sa_family);
sa_family         162 drivers/scsi/be2iscsi/be_mgmt.c 	if (dst_addr->sa_family == PF_INET) {
sa_family        1885 drivers/scsi/bnx2i/bnx2i_iscsi.c 	if (dst_addr->sa_family == AF_INET) {
sa_family        1889 drivers/scsi/bnx2i/bnx2i_iscsi.c 	} else if (dst_addr->sa_family == AF_INET6) {
sa_family        2576 drivers/scsi/cxgbi/libcxgbi.c 	if (dst_addr->sa_family == AF_INET) {
sa_family        2579 drivers/scsi/cxgbi/libcxgbi.c 	} else if (dst_addr->sa_family == AF_INET6) {
sa_family        2584 drivers/scsi/cxgbi/libcxgbi.c 			dst_addr->sa_family);
sa_family         847 drivers/scsi/qedi/qedi_iscsi.c 	if (dst_addr->sa_family == AF_INET) {
sa_family         856 drivers/scsi/qedi/qedi_iscsi.c 	} else if (dst_addr->sa_family == AF_INET6) {
sa_family        2015 drivers/scsi/qla4xxx/ql4_mbx.c 	if (dst_addr->sa_family == AF_INET6)
sa_family        2045 drivers/scsi/qla4xxx/ql4_mbx.c 	if (dst_addr->sa_family == AF_INET) {
sa_family        2054 drivers/scsi/qla4xxx/ql4_mbx.c 	} else if (dst_addr->sa_family == AF_INET6) {
sa_family         296 drivers/scsi/qla4xxx/ql4_os.c 	    (dst_addr->sa_family == AF_INET)) {
sa_family         307 drivers/scsi/qla4xxx/ql4_os.c 		   (dst_addr->sa_family == AF_INET6)) {
sa_family        1699 drivers/scsi/qla4xxx/ql4_os.c 	if (dst_addr->sa_family == AF_INET) {
sa_family        1704 drivers/scsi/qla4xxx/ql4_os.c 	} else if (dst_addr->sa_family == AF_INET6) {
sa_family        6567 drivers/scsi/qla4xxx/ql4_os.c 		t_addr->sa_family = AF_INET6;
sa_family        6575 drivers/scsi/qla4xxx/ql4_os.c 		t_addr->sa_family = AF_INET;
sa_family         155 drivers/staging/ks7010/ks_hostif.c 	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         711 drivers/staging/ks7010/ks_hostif.c 	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         763 drivers/staging/ks7010/ks_hostif.c 	wrqu0.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         831 drivers/staging/ks7010/ks_hostif.c 		wrqu0.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         350 drivers/staging/ks7010/ks_wlan_net.c 	awrq->ap_addr.sa_family = ARPHRD_ETHER;
sa_family        1101 drivers/staging/ks7010/ks_wlan_net.c 		address[i].sa_family = ARPHRD_ETHER;
sa_family        1192 drivers/staging/ks7010/ks_wlan_net.c 	iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
sa_family          70 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family          84 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         111 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         974 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (temp->sa_family != ARPHRD_ETHER) {
sa_family        1024 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	wrqu->ap_addr.sa_family = ARPHRD_ETHER;
sa_family         143 drivers/staging/rtl8188eu/os_dep/mlme_linux.c 	wrqu.addr.sa_family = ARPHRD_ETHER;
sa_family         166 drivers/staging/rtl8188eu/os_dep/mlme_linux.c 	wrqu.addr.sa_family = ARPHRD_ETHER;
sa_family          56 drivers/staging/rtl8188eu/os_dep/recv_linux.c 	ev.src_addr.sa_family = ARPHRD_ETHER;
sa_family         599 drivers/staging/rtl8192e/rtllib_crypt_tkip.c 	ev.src_addr.sa_family = ARPHRD_ETHER;
sa_family        3245 drivers/staging/rtl8192e/rtllib_softmac.c 	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         108 drivers/staging/rtl8192e/rtllib_softmac_wx.c 	wrqu->ap_addr.sa_family = ARPHRD_ETHER;
sa_family         153 drivers/staging/rtl8192e/rtllib_softmac_wx.c 	if (temp->sa_family != ARPHRD_ETHER) {
sa_family          50 drivers/staging/rtl8192e/rtllib_wx.c 	iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         598 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c 	ev.src_addr.sa_family = ARPHRD_ETHER;
sa_family        3036 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         110 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c 	wrqu->ap_addr.sa_family = ARPHRD_ETHER;
sa_family         154 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c 	if (temp->sa_family != ARPHRD_ETHER) {
sa_family          55 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 	iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
sa_family          84 drivers/staging/rtl8712/recv_linux.c 	ev.src_addr.sa_family = ARPHRD_ETHER;
sa_family          63 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family          73 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         230 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
sa_family        1050 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	if (temp->sa_family != ARPHRD_ETHER)
sa_family        1089 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	wrqu->ap_addr.sa_family = ARPHRD_ETHER;
sa_family          60 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family          76 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family          99 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
sa_family        1150 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (temp->sa_family != ARPHRD_ETHER) {
sa_family        1207 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	wrqu->ap_addr.sa_family = ARPHRD_ETHER;
sa_family         210 drivers/staging/rtl8723bs/os_dep/recv_linux.c 	ev.src_addr.sa_family = ARPHRD_ETHER;
sa_family         881 drivers/usb/gadget/function/u_ether.c 	sa.sa_family = net->type;
sa_family         388 drivers/xen/pvcalls-back.c 	if (req->u.connect.len < sizeof(sa->sa_family) ||
sa_family         390 drivers/xen/pvcalls-back.c 	    sa->sa_family != AF_INET)
sa_family         420 drivers/xen/pvcalls-front.c 	if (addr->sa_family != AF_INET || sock->type != SOCK_STREAM)
sa_family         667 drivers/xen/pvcalls-front.c 	if (addr->sa_family != AF_INET || sock->type != SOCK_STREAM)
sa_family         492 fs/cifs/cifsfs.c 	if (srcaddr->sa_family != AF_UNSPEC) {
sa_family         497 fs/cifs/cifsfs.c 		if (srcaddr->sa_family == AF_INET6)
sa_family         500 fs/cifs/cifsfs.c 		else if (srcaddr->sa_family == AF_INET)
sa_family         505 fs/cifs/cifsfs.c 				   (int)(srcaddr->sa_family));
sa_family        2523 fs/cifs/connect.c 	switch (srcaddr->sa_family) {
sa_family        2525 fs/cifs/connect.c 		return (rhs->sa_family == AF_UNSPEC);
sa_family        2556 fs/cifs/connect.c 	switch (addr->sa_family) {
sa_family        2585 fs/cifs/connect.c 	switch (addr->sa_family) {
sa_family          57 fs/cifs/fscache.c 	key.hdr.family = sa->sa_family;
sa_family          58 fs/cifs/fscache.c 	switch (sa->sa_family) {
sa_family          72 fs/cifs/fscache.c 		cifs_dbg(VFS, "Unknown network family '%d'\n", sa->sa_family);
sa_family         193 fs/cifs/netmisc.c 	switch (addr->sa_family) {
sa_family         594 fs/cifs/smbdirect.c 	if (dstaddr->sa_family == AF_INET6)
sa_family          95 fs/lockd/host.c 	switch (sap->sa_family) {
sa_family        2295 fs/nfs/flexfilelayout/flexfilelayout.c 	switch (sap->sa_family) {
sa_family         349 fs/nfs/pnfs_nfs.c 	if (addr1->sa_family != addr2->sa_family)
sa_family         352 fs/nfs/pnfs_nfs.c 	switch (addr1->sa_family) {
sa_family         379 fs/nfs/pnfs_nfs.c 			__func__, addr1->sa_family);
sa_family         541 fs/nfs/super.c 	switch (sap->sa_family) {
sa_family         575 fs/nfs/super.c 	switch (sap->sa_family) {
sa_family         979 fs/nfs/super.c 	switch (addr->sa_family) {
sa_family        2075 fs/nfs/super.c 		if (sap->sa_family != AF_INET ||
sa_family        2500 fs/nfs/super.c 	if (sap1->sa_family != sap2->sa_family)
sa_family        2503 fs/nfs/super.c 	switch (sap1->sa_family) {
sa_family         349 include/linux/lockd/lockd.h 	switch (sap->sa_family) {
sa_family          32 include/linux/socket.h 	sa_family_t	sa_family;	/* address family, AF_xxx	*/
sa_family          25 include/linux/sunrpc/addr.h 	switch (sap->sa_family) {
sa_family          37 include/linux/sunrpc/addr.h 	switch (sap->sa_family) {
sa_family         123 include/linux/sunrpc/addr.h 	if (sap1->sa_family == sap2->sa_family) {
sa_family         124 include/linux/sunrpc/addr.h 		switch (sap1->sa_family) {
sa_family         160 include/linux/sunrpc/addr.h 	switch (src->sa_family) {
sa_family         178 include/linux/sunrpc/addr.h 	if (sa->sa_family != AF_INET6)
sa_family         165 include/linux/sunrpc/svc_xprt.h 	switch (sa->sa_family) {
sa_family         177 include/linux/sunrpc/svc_xprt.h 	switch (sa->sa_family) {
sa_family         202 include/linux/sunrpc/svc_xprt.h 	switch (addr->sa_family) {
sa_family         215 include/linux/sunrpc/svc_xprt.h 		snprintf(buf, len, "unknown address type: %d", addr->sa_family);
sa_family         488 include/net/sctp/structs.h 	sa_family_t	sa_family;
sa_family         116 include/net/udp_tunnel.h 	sa_family_t sa_family;
sa_family         384 include/net/vxlan.h 	if (ipa->sa.sa_family == AF_INET6)
sa_family         392 include/net/vxlan.h 	if (ipa->sa.sa_family == AF_INET6)
sa_family         142 include/rdma/ib_addr.h 	switch (addr->sa_family) {
sa_family          66 include/uapi/linux/if_pppox.h 	__kernel_sa_family_t sa_family;       /* address family, AF_PPPOX */
sa_family          80 include/uapi/linux/if_pppox.h 	__kernel_sa_family_t sa_family; /* address family, AF_PPPOX */
sa_family          86 include/uapi/linux/if_pppox.h 	__kernel_sa_family_t sa_family; /* address family, AF_PPPOX */
sa_family          95 include/uapi/linux/if_pppox.h 	__kernel_sa_family_t sa_family; /* address family, AF_PPPOX */
sa_family         101 include/uapi/linux/if_pppox.h 	__kernel_sa_family_t sa_family; /* address family, AF_PPPOX */
sa_family         266 include/uapi/linux/nfc.h 	sa_family_t sa_family;
sa_family         274 include/uapi/linux/nfc.h 	sa_family_t sa_family;
sa_family        1538 lib/vsprintf.c 		switch (sa->raw.sa_family) {
sa_family         880 net/appletalk/ddp.c 		if (rt.rt_dst.sa_family != AF_APPLETALK)
sa_family          90 net/bluetooth/l2cap_sock.c 	if (!addr || alen < offsetofend(struct sockaddr, sa_family) ||
sa_family          91 net/bluetooth/l2cap_sock.c 	    addr->sa_family != AF_BLUETOOTH)
sa_family         185 net/bluetooth/l2cap_sock.c 	if (!addr || alen < offsetofend(struct sockaddr, sa_family) ||
sa_family         186 net/bluetooth/l2cap_sock.c 	    addr->sa_family != AF_BLUETOOTH)
sa_family         375 net/bluetooth/l2cap_sock.c 	addr->sa_family = AF_BLUETOOTH;
sa_family         343 net/bluetooth/rfcomm/sock.c 	if (!addr || addr_len < offsetofend(struct sockaddr, sa_family) ||
sa_family         344 net/bluetooth/rfcomm/sock.c 	    addr->sa_family != AF_BLUETOOTH)
sa_family         394 net/bluetooth/rfcomm/sock.c 	    addr->sa_family != AF_BLUETOOTH)
sa_family         527 net/bluetooth/sco.c 	    addr->sa_family != AF_BLUETOOTH)
sa_family         562 net/bluetooth/sco.c 	    addr->sa_family != AF_BLUETOOTH)
sa_family         691 net/bluetooth/sco.c 	addr->sa_family = AF_BLUETOOTH;
sa_family         758 net/caif/caif_socket.c 	if (addr_len < offsetofend(struct sockaddr, sa_family))
sa_family         762 net/caif/caif_socket.c 	if (uaddr->sa_family != AF_CAIF)
sa_family        8129 net/core/dev.c 	if (sa->sa_family != dev->type)
sa_family         133 net/core/dev_ioctl.c 		ifr->ifr_hwaddr.sa_family = dev->type;
sa_family         252 net/core/dev_ioctl.c 		if (ifr->ifr_hwaddr.sa_family != dev->type)
sa_family         270 net/core/dev_ioctl.c 		    ifr->ifr_hwaddr.sa_family != AF_UNSPEC)
sa_family         278 net/core/dev_ioctl.c 		    ifr->ifr_hwaddr.sa_family != AF_UNSPEC)
sa_family        4518 net/core/filter.c 	if (addr_len < offsetofend(struct sockaddr, sa_family))
sa_family        4520 net/core/filter.c 	if (addr->sa_family == AF_INET) {
sa_family        4527 net/core/filter.c 	} else if (addr->sa_family == AF_INET6) {
sa_family        7893 net/core/filter.c 					    struct sockaddr, uaddr, sa_family);
sa_family        2471 net/core/rtnetlink.c 		sa->sa_family = dev->type;
sa_family         404 net/core/utils.c 	if (addr->sa_family == AF_INET6) {
sa_family         412 net/core/utils.c 	} else if (addr->sa_family == AF_INET) {
sa_family         418 net/core/utils.c 		pr_warn("unexpected address family %u\n", addr->sa_family);
sa_family         229 net/ieee802154/nl-phy.c 		addr.sa_family = ARPHRD_IEEE802154;
sa_family         116 net/ieee802154/socket.c 	if (addr_len < sizeof(uaddr->sa_family))
sa_family         119 net/ieee802154/socket.c 	if (uaddr->sa_family == AF_UNSPEC)
sa_family         558 net/ipv4/af_inet.c 	if (addr_len < sizeof(uaddr->sa_family))
sa_family         560 net/ipv4/af_inet.c 	if (uaddr->sa_family == AF_UNSPEC)
sa_family         620 net/ipv4/af_inet.c 		if (addr_len < sizeof(uaddr->sa_family))
sa_family         623 net/ipv4/af_inet.c 		if (uaddr->sa_family == AF_UNSPEC) {
sa_family        1004 net/ipv4/arp.c 		dev = dev_getbyhwaddr_rcu(net, r->arp_ha.sa_family,
sa_family        1050 net/ipv4/arp.c 		if (r->arp_ha.sa_family != ARPHRD_FDDI &&
sa_family        1051 net/ipv4/arp.c 		    r->arp_ha.sa_family != ARPHRD_ETHER &&
sa_family        1052 net/ipv4/arp.c 		    r->arp_ha.sa_family != ARPHRD_IEEE802)
sa_family        1057 net/ipv4/arp.c 		if (r->arp_ha.sa_family != dev->type)
sa_family        1104 net/ipv4/arp.c 			r->arp_ha.sa_family = dev->type;
sa_family        1194 net/ipv4/arp.c 	if (r.arp_pa.sa_family != AF_INET)
sa_family        1211 net/ipv4/arp.c 		if (!r.arp_ha.sa_family)
sa_family        1212 net/ipv4/arp.c 			r.arp_ha.sa_family = dev->type;
sa_family        1214 net/ipv4/arp.c 		if ((r.arp_flags & ATF_COM) && r.arp_ha.sa_family != dev->type)
sa_family         484 net/ipv4/fib_frontend.c 	if (rt->rt_dst.sa_family != AF_INET)
sa_family         500 net/ipv4/fib_frontend.c 		if (rt->rt_genmask.sa_family != AF_INET) {
sa_family         501 net/ipv4/fib_frontend.c 			if (mask || rt->rt_genmask.sa_family)
sa_family         572 net/ipv4/fib_frontend.c 	if (rt->rt_gateway.sa_family == AF_INET && addr) {
sa_family         373 net/ipv4/ping.c 	if (saddr->sa_family == AF_INET) {
sa_family         378 net/ipv4/ping.c 	} else if (saddr->sa_family == AF_INET6) {
sa_family        1149 net/ipv4/tcp.c 	    (uaddr && msg->msg_namelen >= sizeof(uaddr->sa_family) &&
sa_family        1150 net/ipv4/tcp.c 	     uaddr->sa_family == AF_UNSPEC))
sa_family         100 net/ipv4/udp_tunnel.c 	ti.sa_family = sk->sk_family;
sa_family         118 net/ipv4/udp_tunnel.c 	ti.sa_family = sk->sk_family;
sa_family         134 net/ipv4/udp_tunnel.c 	ti.sa_family = sk->sk_family;
sa_family         158 net/ipv4/udp_tunnel.c 	ti.sa_family = sk->sk_family;
sa_family        1037 net/ipv6/udp.c 	if (addr_len < offsetofend(struct sockaddr, sa_family))
sa_family        1043 net/ipv6/udp.c 	if (uaddr->sa_family == AF_INET) {
sa_family         738 net/iucv/af_iucv.c 	    addr->sa_family != AF_IUCV)
sa_family         885 net/iucv/af_iucv.c 	if (alen < sizeof(struct sockaddr_iucv) || addr->sa_family != AF_IUCV)
sa_family        1020 net/iucv/af_iucv.c 	addr->sa_family = AF_IUCV;
sa_family         391 net/key/af_key.c 	    DIV_ROUND_UP(sizeof(*sp) + offsetofend(typeof(*addr), sa_family),
sa_family         395 net/key/af_key.c 	switch (addr->sa_family) {
sa_family         499 net/key/af_key.c 	if (s_addr->sa_family != d_addr->sa_family)
sa_family         501 net/key/af_key.c 	if (s_addr->sa_family != AF_INET
sa_family         503 net/key/af_key.c 	    && s_addr->sa_family != AF_INET6
sa_family         633 net/key/af_key.c 	switch (sa->sa_family) {
sa_family         677 net/key/af_key.c 	family = ((const struct sockaddr *)(addr + 1))->sa_family;
sa_family        1347 net/key/af_key.c 	family = ((struct sockaddr *)(saddr + 1))->sa_family;
sa_family        2469 net/key/af_key.c 	if (ext_len < 2 || ext_len < pfkey_sockaddr_pair_size(sa->sa_family))
sa_family         933 net/l2tp/l2tp_ppp.c 		sp.sa_family	= AF_PPPOX;
sa_family         952 net/l2tp/l2tp_ppp.c 		sp.sa_family	= AF_PPPOX;
sa_family         971 net/l2tp/l2tp_ppp.c 		sp.sa_family	= AF_PPPOX;
sa_family         989 net/l2tp/l2tp_ppp.c 		sp.sa_family	= AF_PPPOX;
sa_family         627 net/ncsi/ncsi-rsp.c 	saddr.sa_family = ndev->type;
sa_family         666 net/ncsi/ncsi-rsp.c 	saddr.sa_family = ndev->type;
sa_family        1114 net/netlabel/netlabel_kapi.c 	switch (addr->sa_family) {
sa_family        1069 net/netlink/af_netlink.c 	if (alen < sizeof(addr->sa_family))
sa_family        1072 net/netlink/af_netlink.c 	if (addr->sa_family == AF_UNSPEC) {
sa_family        1078 net/netlink/af_netlink.c 	if (addr->sa_family != AF_NETLINK)
sa_family          68 net/nfc/llcp_sock.c 	if (!addr || alen < offsetofend(struct sockaddr, sa_family) ||
sa_family          69 net/nfc/llcp_sock.c 	    addr->sa_family != AF_NFC)
sa_family          72 net/nfc/llcp_sock.c 	pr_debug("sk %p addr %p family %d\n", sk, addr, addr->sa_family);
sa_family         148 net/nfc/llcp_sock.c 	if (!addr || alen < offsetofend(struct sockaddr, sa_family) ||
sa_family         149 net/nfc/llcp_sock.c 	    addr->sa_family != AF_NFC)
sa_family         152 net/nfc/llcp_sock.c 	pr_debug("sk %p addr %p family %d\n", sk, addr, addr->sa_family);
sa_family         512 net/nfc/llcp_sock.c 	llcp_addr->sa_family = AF_NFC;
sa_family         659 net/nfc/llcp_sock.c 	if (!addr || len < sizeof(*addr) || addr->sa_family != AF_NFC)
sa_family         858 net/nfc/llcp_sock.c 		sockaddr->sa_family = AF_NFC;
sa_family          86 net/nfc/rawsock.c 	    addr->sa_family != AF_NFC)
sa_family        3465 net/packet/af_packet.c 	uaddr->sa_family = AF_PACKET;
sa_family         322 net/phonet/socket.c 	addr->sa_family = AF_PHONET;
sa_family         546 net/rds/af_rds.c 	if (addr_len < offsetofend(struct sockaddr, sa_family))
sa_family         551 net/rds/af_rds.c 	switch (uaddr->sa_family) {
sa_family         176 net/rds/bind.c 	if (addr_len < offsetofend(struct sockaddr, sa_family))
sa_family         178 net/rds/bind.c 	if (uaddr->sa_family == AF_INET) {
sa_family         190 net/rds/bind.c 	} else if (uaddr->sa_family == AF_INET6) {
sa_family         635 net/sctp/associola.c 	if (addr->sa.sa_family == AF_INET6) {
sa_family         895 net/sctp/associola.c 	af = sctp_get_af_specific(ss1->sa.sa_family);
sa_family         397 net/sctp/bind_addr.c 	af = sctp_get_af_specific(addr->sa.sa_family);
sa_family         463 net/sctp/bind_addr.c 		if ((((AF_INET == addr->sa.sa_family) &&
sa_family         465 net/sctp/bind_addr.c 		    (((AF_INET6 == addr->sa.sa_family) &&
sa_family         482 net/sctp/bind_addr.c 	if (addr->sa.sa_family != AF_UNSPEC)
sa_family         483 net/sctp/bind_addr.c 		fam = addr->sa.sa_family;
sa_family         560 net/sctp/bind_addr.c 	af = sctp_get_af_specific(addr->sa.sa_family);
sa_family         817 net/sctp/input.c 	if (paddr->sa.sa_family == AF_INET6)
sa_family        1312 net/sctp/input.c 	if (paddr->sa.sa_family == AF_INET)
sa_family         101 net/sctp/ipv6.c 			if (addr->a.sa.sa_family == AF_INET6 &&
sa_family         304 net/sctp/ipv6.c 			if ((laddr->a.sa.sa_family == AF_INET6) &&
sa_family         330 net/sctp/ipv6.c 		    laddr->a.sa.sa_family != AF_INET6 ||
sa_family         508 net/sctp/ipv6.c 	if (addr->sa.sa_family == AF_INET) {
sa_family         522 net/sctp/ipv6.c 	if (addr->sa.sa_family == AF_INET) {
sa_family         563 net/sctp/ipv6.c 	addr->sa.sa_family = AF_INET6;
sa_family         573 net/sctp/ipv6.c 	if (addr1->sa.sa_family != addr2->sa.sa_family) {
sa_family         574 net/sctp/ipv6.c 		if (addr1->sa.sa_family == AF_INET &&
sa_family         575 net/sctp/ipv6.c 		    addr2->sa.sa_family == AF_INET6 &&
sa_family         581 net/sctp/ipv6.c 		if (addr2->sa.sa_family == AF_INET &&
sa_family         582 net/sctp/ipv6.c 		    addr1->sa.sa_family == AF_INET6 &&
sa_family         766 net/sctp/ipv6.c 		if (addr->sa.sa_family == AF_INET)
sa_family         769 net/sctp/ipv6.c 		if (addr->sa.sa_family == AF_INET6 &&
sa_family         774 net/sctp/ipv6.c 	if (addr->sa.sa_family == AF_INET) {
sa_family         819 net/sctp/ipv6.c 	if (paddr->sa.sa_family == AF_INET) {
sa_family         895 net/sctp/ipv6.c 	af1 = sctp_get_af_specific(addr1->sa.sa_family);
sa_family         896 net/sctp/ipv6.c 	af2 = sctp_get_af_specific(addr2->sa.sa_family);
sa_family         909 net/sctp/ipv6.c 	if (addr1->sa.sa_family == AF_INET && addr2->sa.sa_family == AF_INET)
sa_family         923 net/sctp/ipv6.c 	if (addr->sa.sa_family != AF_INET6)
sa_family         924 net/sctp/ipv6.c 		af = sctp_get_af_specific(addr->sa.sa_family);
sa_family         959 net/sctp/ipv6.c 	if (addr->sa.sa_family != AF_INET6)
sa_family         960 net/sctp/ipv6.c 		af = sctp_get_af_specific(addr->sa.sa_family);
sa_family        1067 net/sctp/ipv6.c 	.sa_family	   = AF_INET6,
sa_family         103 net/sctp/proc.c 		af = sctp_get_af_specific(addr->sa.sa_family);
sa_family         124 net/sctp/proc.c 		af = sctp_get_af_specific(addr->sa.sa_family);
sa_family         150 net/sctp/protocol.c 		if (addr->a.sa.sa_family == AF_INET &&
sa_family         153 net/sctp/protocol.c 		if (addr->a.sa.sa_family == AF_INET6 &&
sa_family         294 net/sctp/protocol.c 	if (addr1->sa.sa_family != addr2->sa.sa_family)
sa_family         489 net/sctp/protocol.c 		    AF_INET != laddr->a.sa.sa_family)
sa_family         634 net/sctp/protocol.c 		if (addrw->a.sa.sa_family == AF_INET6) {
sa_family         701 net/sctp/protocol.c 		if (addrw->a.sa.sa_family != addr->a.sa.sa_family)
sa_family         703 net/sctp/protocol.c 		if (addrw->a.sa.sa_family == AF_INET) {
sa_family         707 net/sctp/protocol.c 		} else if (addrw->a.sa.sa_family == AF_INET6) {
sa_family         795 net/sctp/protocol.c 			if (addr->a.sa.sa_family == AF_INET &&
sa_family         845 net/sctp/protocol.c 	switch (af->sa_family) {
sa_family         935 net/sctp/protocol.c 	if (addr1->sa.sa_family != addr2->sa.sa_family)
sa_family        1071 net/sctp/protocol.c 	.sa_family	   = AF_INET,
sa_family        2558 net/sctp/sm_make_chunk.c 		if (peer_addr->sa.sa_family == AF_INET6)
sa_family        2560 net/sctp/sm_make_chunk.c 		else if (peer_addr->sa.sa_family == AF_INET)
sa_family        1221 net/sctp/sm_statefuns.c 		if (from_addr.sa.sa_family == AF_INET6) {
sa_family         339 net/sctp/socket.c 	if (!opt->pf->af_supported(addr->sa.sa_family, opt))
sa_family         342 net/sctp/socket.c 	if (addr->sa.sa_family == AF_INET6) {
sa_family         352 net/sctp/socket.c 	af = sctp_get_af_specific(addr->sa.sa_family);
sa_family         506 net/sctp/socket.c 		af = sctp_get_af_specific(sa_addr->sa_family);
sa_family         689 net/sctp/socket.c 		af = sctp_get_af_specific(sa_addr->sa.sa_family);
sa_family         819 net/sctp/socket.c 			asoc->asconf_addr_del_pending->sa.sa_family =
sa_family         820 net/sctp/socket.c 				    addrs->sa_family;
sa_family         823 net/sctp/socket.c 			if (addrs->sa_family == AF_INET) {
sa_family         828 net/sctp/socket.c 			} else if (addrs->sa_family == AF_INET6) {
sa_family         902 net/sctp/socket.c 	af = sctp_get_af_specific(addr->sa.sa_family);
sa_family        1014 net/sctp/socket.c 		af = sctp_get_af_specific(sa_addr->sa_family);
sa_family        1178 net/sctp/socket.c 	af = sctp_get_af_specific(daddr->sa.sa_family);
sa_family        1204 net/sctp/socket.c 		af = sctp_get_af_specific(daddr->sa.sa_family);
sa_family        1686 net/sctp/socket.c 	af = sctp_get_af_specific(daddr->sa.sa_family);
sa_family        1703 net/sctp/socket.c 	if (daddr->sa.sa_family == AF_INET6)
sa_family        2575 net/sctp/socket.c 			if (trans->ipaddr.sa.sa_family == AF_INET6) {
sa_family        2585 net/sctp/socket.c 				if (t->ipaddr.sa.sa_family != AF_INET6)
sa_family        4854 net/sctp/socket.c 	af = sctp_get_af_specific(addr->sa_family);
sa_family        4865 net/sctp/socket.c 	if (addr_len < sizeof(uaddr->sa_family))
sa_family        4868 net/sctp/socket.c 	if (uaddr->sa_family == AF_UNSPEC)
sa_family        6228 net/sctp/socket.c 		    (AF_INET6 == addr->a.sa.sa_family))
sa_family        6232 net/sctp/socket.c 		    (AF_INET == addr->a.sa.sa_family))
sa_family          46 net/sctp/transport.c 	peer->af_specific = sctp_get_af_specific(addr->sa.sa_family);
sa_family         831 net/smc/af_smc.c 	if (alen < sizeof(addr->sa_family))
sa_family         833 net/smc/af_smc.c 	if (addr->sa_family != AF_INET && addr->sa_family != AF_INET6)
sa_family         131 net/sunrpc/addr.c 	switch (sap->sa_family) {
sa_family         275 net/sunrpc/addr.c 	switch (sap->sa_family) {
sa_family         347 net/sunrpc/addr.c 	switch (sap->sa_family) {
sa_family         560 net/sunrpc/clnt.c 		switch (args->address->sa_family) {
sa_family        1337 net/sunrpc/clnt.c 	err = __sock_create(net, sap->sa_family,
sa_family        1344 net/sunrpc/clnt.c 	switch (sap->sa_family) {
sa_family        1377 net/sunrpc/clnt.c 	if (buf->sa_family == AF_INET6) {
sa_family        1458 net/sunrpc/clnt.c 		return rpc_anyaddr(sap->sa_family, buf, buflen);
sa_family         382 net/sunrpc/rpcb_clnt.c 	switch (srvaddr->sa_family) {
sa_family         618 net/sunrpc/rpcb_clnt.c 	switch (address->sa_family) {
sa_family         724 net/sunrpc/rpcb_clnt.c 	switch (sap->sa_family) {
sa_family         568 net/sunrpc/svc_xprt.c 	switch (sin->sa_family) {
sa_family         206 net/sunrpc/svcauth_unix.c 	switch (address.sa.sa_family) {
sa_family        1420 net/sunrpc/svcsock.c 	switch (sin->sa_family) {
sa_family         319 net/sunrpc/xprtrdma/svc_rdma_transport.c 	if ((sa->sa_family != AF_INET) && (sa->sa_family != AF_INET6)) {
sa_family         320 net/sunrpc/xprtrdma/svc_rdma_transport.c 		dprintk("svcrdma: Address family %d is not supported.\n", sa->sa_family);
sa_family         188 net/sunrpc/xprtrdma/transport.c 	switch (sap->sa_family) {
sa_family         254 net/sunrpc/xprtsock.c 	switch (sap->sa_family) {
sa_family        2170 net/sunrpc/xprtsock.c 			xs_addr(xprt)->sa_family, SOCK_DGRAM,
sa_family        2364 net/sunrpc/xprtsock.c 				xs_addr(xprt)->sa_family, SOCK_STREAM,
sa_family        2881 net/sunrpc/xprtsock.c 		err = xs_init_anyaddr(args->dstaddr->sa_family,
sa_family        3002 net/sunrpc/xprtsock.c 	switch (addr->sa_family) {
sa_family        3084 net/sunrpc/xprtsock.c 	switch (addr->sa_family) {
sa_family        3151 net/sunrpc/xprtsock.c 	switch (addr->sa_family) {
sa_family        1122 net/unix/af_unix.c 	if (alen < offsetofend(struct sockaddr, sa_family))
sa_family        1125 net/unix/af_unix.c 	if (addr->sa_family != AF_UNSPEC) {
sa_family         477 net/wireless/ibss.c 	if (ap_addr->sa_family != ARPHRD_ETHER)
sa_family         528 net/wireless/ibss.c 	ap_addr->sa_family = ARPHRD_ETHER;
sa_family         577 net/wireless/lib80211_crypt_tkip.c 	ev.src_addr.sa_family = ARPHRD_ETHER;
sa_family        2313 net/wireless/scan.c 	iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         717 net/wireless/sme.c 		wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family         943 net/wireless/sme.c 	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family        1122 net/wireless/sme.c 	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
sa_family        1165 net/wireless/wext-compat.c 	if (addr->sa_family != ARPHRD_ETHER)
sa_family        1192 net/wireless/wext-compat.c 	addr->sa_family = ARPHRD_ETHER;
sa_family         252 net/wireless/wext-sme.c 	if (ap_addr->sa_family != ARPHRD_ETHER)
sa_family         300 net/wireless/wext-sme.c 	ap_addr->sa_family = ARPHRD_ETHER;
sa_family         379 net/wireless/wext-sme.c 	if (mlme->addr.sa_family != ARPHRD_ETHER)
sa_family          92 net/wireless/wext-spy.c 		address[i].sa_family = AF_UNIX;
sa_family         174 net/wireless/wext-spy.c 	threshold.addr.sa_family = ARPHRD_ETHER;
sa_family          80 samples/bpf/xdp_router_ipv4_user.c 	ifr.ifr_addr.sa_family = AF_INET;
sa_family        4597 security/selinux/hooks.c 		if (addrlen < offsetofend(struct sockaddr, sa_family))
sa_family        4599 security/selinux/hooks.c 		family_sa = address->sa_family;
sa_family        4712 security/selinux/hooks.c 	if (addrlen < offsetofend(struct sockaddr, sa_family))
sa_family        4718 security/selinux/hooks.c 	if (address->sa_family == AF_UNSPEC)
sa_family        4740 security/selinux/hooks.c 		switch (address->sa_family) {
sa_family        4782 security/selinux/hooks.c 		ad.u.net->family = address->sa_family;
sa_family        5285 security/selinux/hooks.c 		switch (addr->sa_family) {
sa_family         551 security/selinux/netlabel.c 	if (addr->sa_family == AF_UNSPEC) {
sa_family        2807 security/smack/smack_lsm.c 		    address->sa_family != AF_INET6)
sa_family        2835 security/smack/smack_lsm.c 	if (addrlen < offsetofend(struct sockaddr, sa_family))
sa_family        2837 security/smack/smack_lsm.c 	if (IS_ENABLED(CONFIG_IPV6) && sap->sa_family == AF_INET6) {
sa_family        2856 security/smack/smack_lsm.c 	if (sap->sa_family != AF_INET || addrlen < sizeof(struct sockaddr_in))
sa_family         508 security/tomoyo/network.c 	if (addr_len < offsetofend(struct sockaddr, sa_family))
sa_family         510 security/tomoyo/network.c 	switch (addr->sa_family) {
sa_family         599 security/tomoyo/network.c 	if (addr_len < offsetofend(struct sockaddr, sa_family))
sa_family         601 security/tomoyo/network.c 	if (addr->sa_family != AF_UNIX)
sa_family         861 tools/hv/hv_kvp_daemon.c 			 (curp->ifa_addr->sa_family != family))) ||
sa_family         866 tools/hv/hv_kvp_daemon.c 		if ((curp->ifa_addr->sa_family != AF_INET) &&
sa_family         867 tools/hv/hv_kvp_daemon.c 			(curp->ifa_addr->sa_family != AF_INET6)) {
sa_family         877 tools/hv/hv_kvp_daemon.c 			if (curp->ifa_addr->sa_family == AF_INET) {
sa_family         928 tools/hv/hv_kvp_daemon.c 						curp->ifa_addr->sa_family,
sa_family          61 tools/perf/trace/beauty/sockaddr.c 	strarray__scnprintf(&strarray__socket_families, family, sizeof(family), "%d", arg->show_string_prefix, sa->sa_family);
sa_family          64 tools/perf/trace/beauty/sockaddr.c 	if (sa->sa_family < ARRAY_SIZE(af_scnprintfs) && af_scnprintfs[sa->sa_family])
sa_family          65 tools/perf/trace/beauty/sockaddr.c 		printed += af_scnprintfs[sa->sa_family](sa, bf + printed, size - printed);
sa_family         124 tools/testing/selftests/bpf/test_flow_dissector.c 	switch (addr->sa_family) {
sa_family         133 tools/testing/selftests/bpf/test_flow_dissector.c 		      addr->sa_family);
sa_family         136 tools/testing/selftests/bpf/test_flow_dissector.c 	if (!inet_ntop(addr->sa_family, ((void *) addr) + off, nbuf,
sa_family          25 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c 	fd = socket(addr->sa_family, SOCK_STREAM, 0);
sa_family         350 tools/testing/selftests/net/ip_defrag.c 	fd_tx_raw = socket(addr->sa_family, SOCK_RAW, IPPROTO_RAW);
sa_family         354 tools/testing/selftests/net/ip_defrag.c 	fd_rx_udp = socket(addr->sa_family, SOCK_DGRAM, 0);
sa_family         179 tools/testing/selftests/net/nettest.c 	if (sa->sa_family == AF_INET) {
sa_family         188 tools/testing/selftests/net/nettest.c 	} else if (sa->sa_family == AF_INET6) {
sa_family         511 tools/testing/selftests/net/nettest.c 	if (sa->sa_family == AF_INET) {
sa_family         522 tools/testing/selftests/net/nettest.c 	} else if (sa->sa_family == AF_INET6) {
sa_family         772 tools/testing/selftests/net/nettest.c 		if (sa->sa_family == AF_INET6) {
sa_family         220 tools/testing/selftests/net/so_txtime.c 	fd = socket(addr->sa_family, SOCK_DGRAM, 0);
sa_family         237 tools/testing/selftests/net/so_txtime.c 	fd = socket(addr->sa_family, SOCK_DGRAM, 0);
sa_family         255 tools/testing/selftests/net/so_txtime.c 			addr->sa_family == PF_INET ? '4' : '6',
sa_family         512 tools/testing/selftests/net/udpgso.c 			addr->sa_family == AF_INET ? 4 : 6,
sa_family         533 tools/testing/selftests/net/udpgso.c 		mss = addr->sa_family == AF_INET ? CONST_MSS_V4 : CONST_MSS_V6;
sa_family         561 tools/testing/selftests/net/udpgso.c 	tests = addr->sa_family == AF_INET ? testcases_v4 : testcases_v6;
sa_family         576 tools/testing/selftests/net/udpgso.c 	fdr = socket(addr->sa_family, SOCK_DGRAM, 0);
sa_family         587 tools/testing/selftests/net/udpgso.c 	fdt = socket(addr->sa_family, SOCK_DGRAM, 0);
sa_family         592 tools/testing/selftests/net/udpgso.c 	set_pmtu_discover(fdt, addr->sa_family == AF_INET);
sa_family         601 tools/testing/selftests/net/udpgso.c 		set_route_mtu(CONST_MTU_TEST, addr->sa_family == AF_INET);
sa_family         606 tools/testing/selftests/net/udpgso.c 		val = get_path_mtu(fdt, addr->sa_family == AF_INET);
sa_family         480 tools/testing/vsock/vsock_diag_test.c 	if (clientaddr.sa.sa_family != AF_VSOCK) {
sa_family         482 tools/testing/vsock/vsock_diag_test.c 			clientaddr.sa.sa_family);