addr6 3655 drivers/infiniband/ulp/srpt/ib_srpt.c struct sockaddr_in6 addr6 = { .sin6_family = AF_INET6 }; addr6 3668 drivers/infiniband/ulp/srpt/ib_srpt.c addr6.sin6_port = cpu_to_be16(val); addr6 3669 drivers/infiniband/ulp/srpt/ib_srpt.c new_id = srpt_create_rdma_id((struct sockaddr *)&addr6); addr6 90 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c if (cte->addr6.sin6_family == AF_INET6 && v6) addr6 91 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c ret = memcmp(lip, cte->addr6.sin6_addr.s6_addr, addr6 116 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c ce->addr6.sin6_family = AF_INET6; addr6 117 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c memcpy(ce->addr6.sin6_addr.s6_addr, addr6 126 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c ret, ce->addr6.sin6_addr.s6_addr); addr6 163 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c if (cte->addr6.sin6_family == AF_INET6 && v6) addr6 164 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c ret = memcmp(lip, cte->addr6.sin6_addr.s6_addr, addr6 21 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.h struct sockaddr_in6 addr6; addr6 838 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c struct in6_addr *addr6; addr6 840 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c addr6 = (struct in6_addr *)ipmask; addr6 841 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c if (addr6->s6_addr32[0] == 0xffffffff && addr6 842 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c addr6->s6_addr32[1] == 0xffffffff && addr6 843 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c addr6->s6_addr32[2] == 0xffffffff && addr6 844 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c addr6->s6_addr32[3] == 0xffffffff) addr6 861 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c struct in6_addr *addr6; addr6 863 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c addr6 = (struct in6_addr *)ip; addr6 865 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c &addr6); addr6 524 drivers/net/ethernet/mellanox/mlxsw/spectrum.h struct in6_addr addr6; addr6 50 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c key->group.addr6, addr6 51 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c key->group_mask.addr6, addr6 52 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c key->source.addr6, addr6 53 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c key->source_mask.addr6, addr6 158 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c &key->source.addr6.s6_addr[0x0], addr6 159 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c &key->source_mask.addr6.s6_addr[0x0], 4); addr6 161 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c &key->source.addr6.s6_addr[0x4], addr6 162 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c &key->source_mask.addr6.s6_addr[0x4], 4); addr6 164 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c &key->source.addr6.s6_addr[0x8], addr6 165 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c &key->source_mask.addr6.s6_addr[0x8], 4); addr6 167 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c &key->source.addr6.s6_addr[0xc], addr6 168 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c &key->source_mask.addr6.s6_addr[0xc], 4); addr6 170 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c &key->group.addr6.s6_addr[0x0], addr6 171 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c &key->group_mask.addr6.s6_addr[0x0], 4); addr6 173 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c &key->group.addr6.s6_addr[0x4], addr6 174 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c &key->group_mask.addr6.s6_addr[0x4], 4); addr6 176 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c &key->group.addr6.s6_addr[0x8], addr6 177 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c &key->group_mask.addr6.s6_addr[0x8], 4); addr6 179 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c &key->group.addr6.s6_addr[0xc], addr6 180 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c &key->group_mask.addr6.s6_addr[0xc], 4); addr6 56 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c return (union mlxsw_sp_l3addr) { .addr6 = parms.laddr }; addr6 68 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c return (union mlxsw_sp_l3addr) { .addr6 = parms.raddr }; addr6 840 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c key->group.addr6 = mfc->mf6c_mcastgrp; addr6 841 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c memset(&key->group_mask.addr6, 0xff, sizeof(key->group_mask.addr6)); addr6 842 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c key->source.addr6 = mfc->mf6c_origin; addr6 844 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c memset(&key->source_mask.addr6, 0xff, addr6 845 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c sizeof(key->source_mask.addr6)); addr6 851 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c return ipv6_addr_any(&mr_route->key.source_mask.addr6); addr6 50 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c struct in6_addr addr6; addr6 159 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c return ipv6_addr_equal(&mc_entry->ipv6_entry.addr6, &addr->addr6); addr6 437 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c union mlxsw_sp_l3addr saddr = { .addr6 = tparm.laddr }; addr6 438 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c union mlxsw_sp_l3addr daddr = { .addr6 = tparm.raddr }; addr6 452 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c l3edev = mlxsw_sp_span_gretap6_route(to_dev, &saddr.addr6, &gw.addr6); addr6 476 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c sparms.saddr.addr6, addr6 477 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c sparms.daddr.addr6); addr6 2380 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c addr->addr6 = vxlan_addr->sin6.sin6_addr; addr6 2397 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c vxlan_addr->sin6.sin6_addr = addr->addr6; addr6 144 drivers/net/geneve.c struct in6_addr addr6, u8 vni[]) addr6 155 drivers/net/geneve.c ipv6_addr_equal(&addr6, &node->geneve->info.key.u.ipv6.dst)) addr6 192 drivers/net/geneve.c struct in6_addr addr6; addr6 198 drivers/net/geneve.c addr6 = zero_addr6; addr6 201 drivers/net/geneve.c addr6 = ip6h->saddr; addr6 204 drivers/net/geneve.c return geneve6_lookup(gs, addr6, vni); addr6 424 drivers/net/geneve.c struct in6_addr addr6; addr6 426 drivers/net/geneve.c memset(&addr6, 0, sizeof(struct in6_addr)); addr6 430 drivers/net/geneve.c addr6 = ip6h->daddr; addr6 433 drivers/net/geneve.c return geneve6_lookup(gs, addr6, vni) ? 0 : -ENOENT; addr6 808 drivers/scsi/qedi/qedi_iscsi.c struct sockaddr_in6 *addr6; addr6 857 drivers/scsi/qedi/qedi_iscsi.c addr6 = (struct sockaddr_in6 *)dst_addr; addr6 858 drivers/scsi/qedi/qedi_iscsi.c memcpy(qedi_ep->dst_addr, &addr6->sin6_addr, addr6 860 drivers/scsi/qedi/qedi_iscsi.c qedi_ep->dst_port = ntohs(addr6->sin6_port); addr6 3103 drivers/scsi/qla2xxx/qla_nx2.c uint32_t addr3, addr4, addr5, addr6, addr7; addr6 3142 drivers/scsi/qla2xxx/qla_nx2.c addr6 = addr2 - (3 * stride1); addr6 3144 drivers/scsi/qla2xxx/qla_nx2.c addr6, 0x2); addr6 1994 drivers/scsi/qla4xxx/ql4_mbx.c struct sockaddr_in6 *addr6; addr6 2055 drivers/scsi/qla4xxx/ql4_mbx.c addr6 = (struct sockaddr_in6 *)dst_addr; addr6 2056 drivers/scsi/qla4xxx/ql4_mbx.c ip = (char *)&addr6->sin6_addr; addr6 2058 drivers/scsi/qla4xxx/ql4_mbx.c fw_ddb_entry->port = cpu_to_le16(ntohs(addr6->sin6_port)); addr6 2743 drivers/scsi/qla4xxx/ql4_nx.c uint32_t addr3, addr4, addr5, addr6, addr7; addr6 2781 drivers/scsi/qla4xxx/ql4_nx.c addr6 = addr2 - (3 * stride1); addr6 2783 drivers/scsi/qla4xxx/ql4_nx.c addr6, 0x2); addr6 288 drivers/scsi/qla4xxx/ql4_os.c struct sockaddr_in6 *addr6; addr6 309 drivers/scsi/qla4xxx/ql4_os.c addr6 = (struct sockaddr_in6 *)dst_addr; addr6 310 drivers/scsi/qla4xxx/ql4_os.c memcpy(ipaddr, &addr6->sin6_addr.in6_u.u6_addr8, IPv6_ADDR_LEN); addr6 1682 drivers/scsi/qla4xxx/ql4_os.c struct sockaddr_in6 *addr6; addr6 1707 drivers/scsi/qla4xxx/ql4_os.c addr6 = (struct sockaddr_in6 *)&qla_ep->dst_addr; addr6 1709 drivers/scsi/qla4xxx/ql4_os.c (char *)&addr6->sin6_addr)); addr6 6555 drivers/scsi/qla4xxx/ql4_os.c struct sockaddr_in6 *addr6; addr6 6568 drivers/scsi/qla4xxx/ql4_os.c addr6 = (struct sockaddr_in6 *)dst_addr; addr6 6569 drivers/scsi/qla4xxx/ql4_os.c ip = (char *)&addr6->sin6_addr; addr6 6571 drivers/scsi/qla4xxx/ql4_os.c addr6->sin6_port = htons(le16_to_cpu(fw_ddb_entry->port)); addr6 131 drivers/soundwire/stream.c u32 addr1, addr2, addr3, addr4, addr5, addr6; addr6 149 drivers/soundwire/stream.c addr6 = SDW_DPN_LANECTRL_B1(t_params->port_num); addr6 155 drivers/soundwire/stream.c addr6 = SDW_DPN_LANECTRL_B0(t_params->port_num); addr6 211 drivers/soundwire/stream.c ret = sdw_write(s_rt->slave, addr6, t_params->lane_ctrl); addr6 273 drivers/target/iscsi/cxgbit/cxgbit_cm.c static struct net_device *cxgbit_ipv6_netdev(struct in6_addr *addr6) addr6 280 drivers/target/iscsi/cxgbit/cxgbit_cm.c if (ipv6_chk_addr(&init_net, addr6, ndev, 1)) { addr6 2596 fs/cifs/connect.c struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *)addr; addr6 2600 fs/cifs/connect.c if (!ipv6_addr_equal(&addr6->sin6_addr, addr6 2603 fs/cifs/connect.c if (addr6->sin6_scope_id != srv_addr6->sin6_scope_id) addr6 3240 fs/cifs/connect.c struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *)&server->dstaddr; addr6 3286 fs/cifs/connect.c sprintf(ses->serverName, "%pI6", &addr6->sin6_addr); addr6 3958 fs/cifs/connect.c struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *)&server->dstaddr; addr6 3962 fs/cifs/connect.c sport = &addr6->sin6_port; addr6 47 fs/cifs/fscache.c const struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *) sa; addr6 66 fs/cifs/fscache.c key.hdr.port = addr6->sin6_port; addr6 67 fs/cifs/fscache.c key.ipv6_addr = addr6->sin6_addr; addr6 430 fs/cifs/smb2ops.c struct sockaddr_in6 *addr6; addr6 511 fs/cifs/smb2ops.c addr6 = (struct sockaddr_in6 *)&info->sockaddr; addr6 513 fs/cifs/smb2ops.c addr6->sin6_family = AF_INET6; addr6 514 fs/cifs/smb2ops.c memcpy(&addr6->sin6_addr, &p6->IPv6Address, 16); addr6 517 fs/cifs/smb2ops.c addr6->sin6_flowinfo = 0; addr6 518 fs/cifs/smb2ops.c addr6->sin6_scope_id = 0; addr6 519 fs/cifs/smb2ops.c addr6->sin6_port = cpu_to_be16(CIFS_PORT); addr6 522 fs/cifs/smb2ops.c &addr6->sin6_addr); addr6 700 include/net/ipv6.h const struct in6_addr *addr6, addr6 705 include/net/ipv6.h if (ipv6_addr_any(addr6)) addr6 707 include/net/ipv6.h else if (ipv6_addr_v4mapped(addr6)) addr6 708 include/net/ipv6.h hash = jhash_1word((__force u32)addr6->s6_addr32[3], mix); addr6 710 include/net/ipv6.h hash = jhash2((__force u32 *)addr6->s6_addr32, 4, mix); addr6 1806 net/ceph/messenger.c struct in6_addr *addr6 = &((struct sockaddr_in6 *)&ss)->sin6_addr; addr6 1812 net/ceph/messenger.c return ipv6_addr_any(addr6); addr6 323 net/core/utils.c struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *)addr; addr6 330 net/core/utils.c if (in6_pton(src, srclen, (u8 *)&addr6->sin6_addr.s6_addr, addr6 334 net/core/utils.c if (ipv6_addr_type(&addr6->sin6_addr) & IPV6_ADDR_LINKLOCAL && addr6 346 net/core/utils.c addr6->sin6_scope_id = dev->ifindex; addr6 348 net/core/utils.c } else if (kstrtouint(scope_id, 0, &addr6->sin6_scope_id)) { addr6 353 net/core/utils.c addr6->sin6_family = AF_INET6; addr6 354 net/core/utils.c addr6->sin6_port = htons(port_num); addr6 683 net/ipv4/ip_tunnel.c const struct in6_addr *addr6; addr6 693 net/ipv4/ip_tunnel.c addr6 = (const struct in6_addr *)&neigh->primary_key; addr6 694 net/ipv4/ip_tunnel.c addr_type = ipv6_addr_type(addr6); addr6 697 net/ipv4/ip_tunnel.c addr6 = &ipv6_hdr(skb)->daddr; addr6 698 net/ipv4/ip_tunnel.c addr_type = ipv6_addr_type(addr6); addr6 705 net/ipv4/ip_tunnel.c dst = addr6->s6_addr32[3]; addr6 1061 net/ipv6/ip6_tunnel.c struct in6_addr *addr6; addr6 1073 net/ipv6/ip6_tunnel.c addr6 = (struct in6_addr *)&neigh->primary_key; addr6 1074 net/ipv6/ip6_tunnel.c addr_type = ipv6_addr_type(addr6); addr6 1077 net/ipv6/ip6_tunnel.c addr6 = &ipv6_hdr(skb)->daddr; addr6 1079 net/ipv6/ip6_tunnel.c memcpy(&fl6->daddr, addr6, sizeof(fl6->daddr)); addr6 458 net/ipv6/sit.c const struct in6_addr *addr6 = &ipv6_hdr(skb)->saddr; addr6 460 net/ipv6/sit.c if (ipv6_addr_is_isatap(addr6) && addr6 461 net/ipv6/sit.c (addr6->s6_addr32[3] == iph->saddr) && addr6 462 net/ipv6/sit.c ipv6_chk_prefix(addr6, t->dev)) addr6 830 net/ipv6/sit.c const struct in6_addr *addr6; addr6 852 net/ipv6/sit.c addr6 = (const struct in6_addr *)&neigh->primary_key; addr6 853 net/ipv6/sit.c addr_type = ipv6_addr_type(addr6); addr6 856 net/ipv6/sit.c ipv6_addr_is_isatap(addr6)) addr6 857 net/ipv6/sit.c dst = addr6->s6_addr32[3]; addr6 881 net/ipv6/sit.c addr6 = (const struct in6_addr *)&neigh->primary_key; addr6 882 net/ipv6/sit.c addr_type = ipv6_addr_type(addr6); addr6 885 net/ipv6/sit.c addr6 = &ipv6_hdr(skb)->daddr; addr6 886 net/ipv6/sit.c addr_type = ipv6_addr_type(addr6); addr6 890 net/ipv6/sit.c dst = addr6->s6_addr32[3]; addr6 665 net/mac80211/mesh.c const char *addr4or5, const char *addr6) addr6 667 net/mac80211/mesh.c if (WARN_ON(!addr4or5 && addr6)) addr6 678 net/mac80211/mesh.c if (addr4or5 && !addr6) { addr6 682 net/mac80211/mesh.c } else if (addr4or5 && addr6) { addr6 685 net/mac80211/mesh.c memcpy(meshhdr->eaddr2, addr6, ETH_ALEN); addr6 199 net/mac80211/mesh.h const char *addr4or5, const char *addr6); addr6 208 net/netlabel/netlabel_domainhash.c struct netlbl_af6list *addr6, addr6 229 net/netlabel/netlabel_domainhash.c } else if (addr6 != NULL) { addr6 231 net/netlabel/netlabel_domainhash.c map6 = netlbl_domhsh_addr6_entry(addr6); addr6 235 net/netlabel/netlabel_domainhash.c &addr6->addr, &addr6->mask); addr6 145 net/netlabel/netlabel_kapi.c const struct in6_addr *addr6 = addr; addr6 151 net/netlabel/netlabel_kapi.c map6->list.addr = *addr6; addr6 1109 net/netlabel/netlabel_kapi.c struct sockaddr_in6 *addr6; addr6 1140 net/netlabel/netlabel_kapi.c addr6 = (struct sockaddr_in6 *)addr; addr6 1142 net/netlabel/netlabel_kapi.c &addr6->sin6_addr); addr6 420 net/netlabel/netlabel_unlabeled.c const struct in6_addr *addr6 = addr; addr6 423 net/netlabel/netlabel_unlabeled.c ret_val = netlbl_unlhsh_add_addr6(iface, addr6, mask6, secid); addr6 427 net/netlabel/netlabel_unlabeled.c addr6, mask6); addr6 1067 net/netlabel/netlabel_unlabeled.c const struct netlbl_unlhsh_addr6 *addr6, addr6 1118 net/netlabel/netlabel_unlabeled.c &addr6->list.addr); addr6 1124 net/netlabel/netlabel_unlabeled.c &addr6->list.mask); addr6 1128 net/netlabel/netlabel_unlabeled.c secid = addr6->secid; addr6 1174 net/netlabel/netlabel_unlabeled.c struct netlbl_af6list *addr6; addr6 1206 net/netlabel/netlabel_unlabeled.c netlbl_af6list_foreach_rcu(addr6, addr6 1214 net/netlabel/netlabel_unlabeled.c netlbl_unlhsh_addr6_entry(addr6), addr6 1253 net/netlabel/netlabel_unlabeled.c struct netlbl_af6list *addr6; addr6 1278 net/netlabel/netlabel_unlabeled.c netlbl_af6list_foreach_rcu(addr6, &iface->addr6_list) { addr6 1284 net/netlabel/netlabel_unlabeled.c netlbl_unlhsh_addr6_entry(addr6), addr6 1489 net/netlabel/netlabel_unlabeled.c struct netlbl_af6list *addr6; addr6 1492 net/netlabel/netlabel_unlabeled.c addr6 = netlbl_af6list_search(&hdr6->saddr, addr6 1494 net/netlabel/netlabel_unlabeled.c if (addr6 == NULL) addr6 1496 net/netlabel/netlabel_unlabeled.c secattr->attr.secid = netlbl_unlhsh_addr6_entry(addr6)->secid; addr6 153 net/smc/smc_clc.c struct sockaddr_in6 *addr6; addr6 169 net/smc/smc_clc.c addr6 = (struct sockaddr_in6 *)&addrs; addr6 175 net/smc/smc_clc.c } else if (ipv6_addr_v4mapped(&addr6->sin6_addr)) { addr6 177 net/smc/smc_clc.c rc = smc_clc_prfx_set4_rcu(dst, addr6->sin6_addr.s6_addr32[3], addr6 4586 security/selinux/hooks.c struct sockaddr_in6 *addr6 = NULL; addr6 4620 security/selinux/hooks.c addr6 = (struct sockaddr_in6 *)address; addr6 4621 security/selinux/hooks.c snum = ntohs(addr6->sin6_port); addr6 4622 security/selinux/hooks.c addrp = (char *)&addr6->sin6_addr.s6_addr; addr6 4682 security/selinux/hooks.c ad.u.net->v6info.saddr = addr6->sin6_addr; addr6 4731 security/selinux/hooks.c struct sockaddr_in6 *addr6 = NULL; addr6 4748 security/selinux/hooks.c addr6 = (struct sockaddr_in6 *)address; addr6 4751 security/selinux/hooks.c snum = ntohs(addr6->sin6_port); addr6 278 security/selinux/netlabel.c struct sockaddr_in6 addr6; addr6 298 security/selinux/netlabel.c addr6.sin6_family = AF_INET6; addr6 299 security/selinux/netlabel.c addr6.sin6_addr = ipv6_hdr(skb)->saddr; addr6 300 security/selinux/netlabel.c rc = netlbl_conn_setattr(ep->base.sk, (void *)&addr6, &secattr); addr6 2526 security/smack/smack_lsm.c struct sockaddr_in6 *addr6; addr6 2554 security/smack/smack_lsm.c addr6 = (struct sockaddr_in6 *)address; addr6 2555 security/smack/smack_lsm.c port = ntohs(addr6->sin6_port); addr6 769 tools/hv/hv_kvp_daemon.c struct sockaddr_in6 *addr6; addr6 779 tools/hv/hv_kvp_daemon.c addr6 = (struct sockaddr_in6 *)addrp; addr6 780 tools/hv/hv_kvp_daemon.c str = inet_ntop(family, &addr6->sin6_addr.s6_addr, tmp, 50); addr6 818 tools/hv/hv_kvp_daemon.c struct sockaddr_in6 *addr6; addr6 899 tools/hv/hv_kvp_daemon.c addr6 = (struct sockaddr_in6 *) addr6 901 tools/hv/hv_kvp_daemon.c w = addr6->sin6_addr.s6_addr32; addr6 90 tools/testing/selftests/bpf/test_flow_dissector.c #define INIT_ADDR6(name, addr6, port) \ addr6 94 tools/testing/selftests/bpf/test_flow_dissector.c .sin6_addr = addr6, \ addr6 358 tools/testing/selftests/bpf/test_sock.c struct sockaddr_in6 *addr6; addr6 379 tools/testing/selftests/bpf/test_sock.c addr6 = (struct sockaddr_in6 *)&addr; addr6 380 tools/testing/selftests/bpf/test_sock.c addr6->sin6_family = domain; addr6 381 tools/testing/selftests/bpf/test_sock.c addr6->sin6_port = htons(port); addr6 382 tools/testing/selftests/bpf/test_sock.c if (inet_pton(domain, ip, (void *)&addr6->sin6_addr) != 1) addr6 606 tools/testing/selftests/bpf/test_sock_addr.c struct sockaddr_in6 *addr6; addr6 629 tools/testing/selftests/bpf/test_sock_addr.c addr6 = (struct sockaddr_in6 *)addr; addr6 630 tools/testing/selftests/bpf/test_sock_addr.c addr6->sin6_family = domain; addr6 631 tools/testing/selftests/bpf/test_sock_addr.c addr6->sin6_port = htons(port); addr6 632 tools/testing/selftests/bpf/test_sock_addr.c if (inet_pton(domain, ip, (void *)&addr6->sin6_addr) != 1) { addr6 205 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c struct sockaddr_in6 addr6; addr6 228 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c memset(&addr6, 0, sizeof(addr6)); addr6 229 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c addr6.sin6_family = AF_INET6; addr6 230 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c addr6.sin6_addr = in6addr_loopback; addr6 231 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c addr6.sin6_port = 0; addr6 237 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c server_v6 = start_server((const struct sockaddr *)&addr6, addr6 238 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c sizeof(addr6)); addr6 27 tools/testing/selftests/net/ip_defrag.c const struct in6_addr addr6 = IN6ADDR_LOOPBACK_INIT; addr6 226 tools/testing/selftests/net/ip_defrag.c ip6hdr->ip6_src = addr6; addr6 227 tools/testing/selftests/net/ip_defrag.c ip6hdr->ip6_dst = addr6; addr6 426 tools/testing/selftests/net/ip_defrag.c addr.sin6_addr = addr6; addr6 298 tools/testing/selftests/net/msg_zerocopy.c struct sockaddr_in6 *addr6 = (void *) sockaddr; addr6 311 tools/testing/selftests/net/msg_zerocopy.c memset(addr6, 0, sizeof(*addr6)); addr6 312 tools/testing/selftests/net/msg_zerocopy.c addr6->sin6_family = AF_INET6; addr6 313 tools/testing/selftests/net/msg_zerocopy.c addr6->sin6_port = htons(cfg_port); addr6 315 tools/testing/selftests/net/msg_zerocopy.c inet_pton(AF_INET6, str_addr, &(addr6->sin6_addr)) != 1) addr6 31 tools/testing/selftests/net/reuseaddr_conflict.c struct sockaddr_in6 addr6 = { addr6 44 tools/testing/selftests/net/reuseaddr_conflict.c addr = (struct sockaddr*)&addr6; addr6 45 tools/testing/selftests/net/reuseaddr_conflict.c addrlen = sizeof(addr6); addr6 38 tools/testing/selftests/net/reuseport_addr_any.c struct sockaddr_in6 addr6 = {0}; addr6 56 tools/testing/selftests/net/reuseport_addr_any.c addr6.sin6_family = AF_INET6; addr6 58 tools/testing/selftests/net/reuseport_addr_any.c addr6.sin6_addr = in6addr_any; addr6 59 tools/testing/selftests/net/reuseport_addr_any.c else if (!inet_pton(family, addr_str, &addr6.sin6_addr)) addr6 61 tools/testing/selftests/net/reuseport_addr_any.c addr6.sin6_port = htons(PORT); addr6 62 tools/testing/selftests/net/reuseport_addr_any.c sz = sizeof(addr6); addr6 63 tools/testing/selftests/net/reuseport_addr_any.c addr = (struct sockaddr *)&addr6; addr6 49 tools/testing/selftests/net/reuseport_bpf.c struct sockaddr_in6 *addr6; addr6 62 tools/testing/selftests/net/reuseport_bpf.c addr6 = (struct sockaddr_in6 *)addr; addr6 63 tools/testing/selftests/net/reuseport_bpf.c addr6->sin6_family = AF_INET6; addr6 64 tools/testing/selftests/net/reuseport_bpf.c addr6->sin6_addr = in6addr_any; addr6 65 tools/testing/selftests/net/reuseport_bpf.c addr6->sin6_port = htons(port); addr6 77 tools/testing/selftests/net/reuseport_bpf.c struct sockaddr_in6 *addr6; addr6 85 tools/testing/selftests/net/reuseport_bpf.c addr6 = (struct sockaddr_in6 *)addr; addr6 86 tools/testing/selftests/net/reuseport_bpf.c addr6->sin6_addr = in6addr_loopback; addr6 38 tools/testing/selftests/net/reuseport_bpf_cpu.c struct sockaddr_in6 *addr6; addr6 50 tools/testing/selftests/net/reuseport_bpf_cpu.c addr6 = (struct sockaddr_in6 *)&addr; addr6 51 tools/testing/selftests/net/reuseport_bpf_cpu.c addr6->sin6_family = AF_INET6; addr6 52 tools/testing/selftests/net/reuseport_bpf_cpu.c addr6->sin6_addr = in6addr_any; addr6 53 tools/testing/selftests/net/reuseport_bpf_cpu.c addr6->sin6_port = htons(PORT); addr6 34 tools/testing/selftests/net/reuseport_bpf_numa.c struct sockaddr_in6 *addr6; addr6 46 tools/testing/selftests/net/reuseport_bpf_numa.c addr6 = (struct sockaddr_in6 *)&addr; addr6 47 tools/testing/selftests/net/reuseport_bpf_numa.c addr6->sin6_family = AF_INET6; addr6 48 tools/testing/selftests/net/reuseport_bpf_numa.c addr6->sin6_addr = in6addr_any; addr6 49 tools/testing/selftests/net/reuseport_bpf_numa.c addr6->sin6_port = htons(PORT); addr6 35 tools/testing/selftests/net/reuseport_dualstack.c struct sockaddr_in6 *addr6; addr6 46 tools/testing/selftests/net/reuseport_dualstack.c addr6 = (struct sockaddr_in6 *)&addr; addr6 47 tools/testing/selftests/net/reuseport_dualstack.c addr6->sin6_family = AF_INET6; addr6 48 tools/testing/selftests/net/reuseport_dualstack.c addr6->sin6_addr = in6addr_any; addr6 49 tools/testing/selftests/net/reuseport_dualstack.c addr6->sin6_port = htons(PORT); addr6 348 tools/testing/selftests/net/so_txtime.c struct sockaddr_in6 addr6 = {0}; addr6 350 tools/testing/selftests/net/so_txtime.c addr6.sin6_family = AF_INET6; addr6 351 tools/testing/selftests/net/so_txtime.c addr6.sin6_port = htons(cfg_port); addr6 352 tools/testing/selftests/net/so_txtime.c addr6.sin6_addr = in6addr_loopback; addr6 357 tools/testing/selftests/net/so_txtime.c do_test((void *)&addr6, sizeof(addr6)); addr6 94 tools/testing/selftests/net/tcp_fastopen_backup_key.c struct sockaddr_in6 addr6 = {0}; addr6 109 tools/testing/selftests/net/tcp_fastopen_backup_key.c addr6.sin6_family = AF_INET6; addr6 110 tools/testing/selftests/net/tcp_fastopen_backup_key.c addr6.sin6_addr = in6addr_any; addr6 111 tools/testing/selftests/net/tcp_fastopen_backup_key.c addr6.sin6_port = htons(PORT); addr6 112 tools/testing/selftests/net/tcp_fastopen_backup_key.c sz = sizeof(addr6); addr6 113 tools/testing/selftests/net/tcp_fastopen_backup_key.c addr = (struct sockaddr *)&addr6; addr6 38 tools/testing/selftests/net/tcp_inq.c struct sockaddr_in6 *addr6 = (void *) sockaddr; addr6 49 tools/testing/selftests/net/tcp_inq.c memset(addr6, 0, sizeof(*addr6)); addr6 50 tools/testing/selftests/net/tcp_inq.c addr6->sin6_family = AF_INET6; addr6 51 tools/testing/selftests/net/tcp_inq.c addr6->sin6_addr = in6addr_loopback; addr6 52 tools/testing/selftests/net/tcp_inq.c addr6->sin6_port = htons(port); addr6 246 tools/testing/selftests/net/tcp_mmap.c struct sockaddr_in6 *addr6 = (void *) sockaddr; addr6 259 tools/testing/selftests/net/tcp_mmap.c memset(addr6, 0, sizeof(*addr6)); addr6 260 tools/testing/selftests/net/tcp_mmap.c addr6->sin6_family = AF_INET6; addr6 261 tools/testing/selftests/net/tcp_mmap.c addr6->sin6_port = htons(cfg_port); addr6 263 tools/testing/selftests/net/tcp_mmap.c inet_pton(AF_INET6, str_addr, &(addr6->sin6_addr)) != 1) addr6 72 tools/testing/selftests/net/udpgso.c const struct in6_addr addr6 = IN6ADDR_LOOPBACK_INIT; addr6 366 tools/testing/selftests/net/udpgso.c NLMSG_ALIGN(RTA_LENGTH(sizeof(addr6))) + addr6 371 tools/testing/selftests/net/udpgso.c alen = is_ipv4 ? sizeof(addr4) : sizeof(addr6); addr6 399 tools/testing/selftests/net/udpgso.c memcpy(RTA_DATA(rta), &addr6, alen); addr6 636 tools/testing/selftests/net/udpgso.c addr.sin6_addr = addr6; addr6 63 tools/testing/selftests/net/udpgso_bench_rx.c struct sockaddr_in6 *addr6 = (void *) sockaddr; addr6 74 tools/testing/selftests/net/udpgso_bench_rx.c addr6->sin6_family = AF_INET6; addr6 75 tools/testing/selftests/net/udpgso_bench_rx.c addr6->sin6_port = htons(cfg_port); addr6 76 tools/testing/selftests/net/udpgso_bench_rx.c if (inet_pton(AF_INET6, str_addr, &(addr6->sin6_addr)) != 1) addr6 117 tools/testing/selftests/net/udpgso_bench_tx.c struct sockaddr_in6 *addr6 = (void *) sockaddr; addr6 128 tools/testing/selftests/net/udpgso_bench_tx.c addr6->sin6_family = AF_INET6; addr6 129 tools/testing/selftests/net/udpgso_bench_tx.c addr6->sin6_port = htons(cfg_port); addr6 130 tools/testing/selftests/net/udpgso_bench_tx.c if (inet_pton(AF_INET6, str_addr, &(addr6->sin6_addr)) != 1)