/linux-master/net/ipv4/ |
H A D | tcp_ao.c | 1854 struct in6_addr *addr6 = &sin6->sin6_addr; local 1856 if (ipv6_addr_v4mapped(addr6)) { 1857 addr = (union tcp_ao_addr *)&addr6->s6_addr32[3]; 1861 addr = (union tcp_ao_addr *)addr6; 2146 struct in6_addr *addr6; local 2150 addr6 = &sin6->sin6_addr; 2158 if (ipv6_addr_v4mapped(addr6)) { 2159 __be32 mask, addr4 = addr6->s6_addr32[3]; 2170 if (ipv6_addr_any(addr6) || 2174 ipv6_addr_prefix(&pfx, addr6, opt_i [all...] |
H A D | ip_tunnel.c | 726 const struct in6_addr *addr6; local 736 addr6 = (const struct in6_addr *)&neigh->primary_key; 737 addr_type = ipv6_addr_type(addr6); 740 addr6 = &ipv6_hdr(skb)->daddr; 741 addr_type = ipv6_addr_type(addr6); 748 dst = addr6->s6_addr32[3];
|
/linux-master/tools/testing/selftests/net/ |
H A D | udpgso.c | 71 const struct in6_addr addr6 = { variable in typeref:struct:in6_addr 518 addr.sin6_addr = addr6;
|
H A D | fcnal-test.sh | 385 local addr6=$5 397 if [ "${addr6}" != "-" ]; then 398 ip -netns ${ns} -6 addr add dev ${vrf} ${addr6} 411 local addr6=$3 416 if [ "${addr6}" != "-" ]; then 417 ip -netns ${ns} -6 addr add dev lo ${addr6}
|
/linux-master/include/net/ |
H A D | mptcp.h | 57 struct in6_addr addr6; member in union:mptcp_addr_info::__anon3213
|
H A D | ipv6.h | 795 const struct in6_addr *addr6, 800 if (ipv6_addr_any(addr6)) 802 else if (ipv6_addr_v4mapped(addr6)) 803 hash = jhash_1word((__force u32)addr6->s6_addr32[3], mix); 805 hash = jhash2((__force u32 *)addr6->s6_addr32, 4, mix); 794 ipv6_portaddr_hash(const struct net *net, const struct in6_addr *addr6, unsigned int port) argument
|
/linux-master/drivers/net/ |
H A D | geneve.c | 151 struct in6_addr addr6, u8 vni[]) 162 ipv6_addr_equal(&addr6, &node->geneve->cfg.info.key.u.ipv6.dst)) 199 struct in6_addr addr6; local 205 addr6 = zero_addr6; 208 addr6 = ip6h->saddr; 211 return geneve6_lookup(gs, addr6, vni); 444 struct in6_addr addr6; local 446 memset(&addr6, 0, sizeof(struct in6_addr)); 450 addr6 = ip6h->daddr; 453 return geneve6_lookup(gs, addr6, vn 150 geneve6_lookup(struct geneve_sock *gs, struct in6_addr addr6, u8 vni[]) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum.h | 638 const struct in6_addr *addr6, 641 mlxsw_sp_ipv6_addr_put(struct mlxsw_sp *mlxsw_sp, const struct in6_addr *addr6); 752 struct in6_addr addr6; member in union:mlxsw_sp_l3addr 1389 const struct in6_addr *addr6, 1392 const struct in6_addr *addr6);
|
H A D | spectrum_span.c | 560 union mlxsw_sp_l3addr saddr = { .addr6 = tparm.laddr }; 561 union mlxsw_sp_l3addr daddr = { .addr6 = tparm.raddr }; 575 l3edev = mlxsw_sp_span_gretap6_route(to_dev, &saddr.addr6, &gw.addr6); 601 sparms.saddr.addr6, 602 sparms.daddr.addr6);
|
H A D | spectrum.c | 3030 mlxsw_sp_ipv6_addr_init(struct mlxsw_sp *mlxsw_sp, const struct in6_addr *addr6, argument 3043 mlxsw_reg_rips_pack(rips_pl, *p_kvdl_index, addr6); 3054 node->key = *addr6; 3088 const struct in6_addr *addr6, 3095 node = rhashtable_lookup_fast(&mlxsw_sp->ipv6_addr_ht, addr6, 3103 err = mlxsw_sp_ipv6_addr_init(mlxsw_sp, addr6, p_kvdl_index); 3111 mlxsw_sp_ipv6_addr_put(struct mlxsw_sp *mlxsw_sp, const struct in6_addr *addr6) argument 3116 node = rhashtable_lookup_fast(&mlxsw_sp->ipv6_addr_ht, addr6, 3087 mlxsw_sp_ipv6_addr_kvdl_index_get(struct mlxsw_sp *mlxsw_sp, const struct in6_addr *addr6, u32 *p_kvdl_index) argument
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_filter.c | 1117 struct in6_addr *addr6; local 1119 addr6 = (struct in6_addr *)ipmask; 1120 if (addr6->s6_addr32[0] == htonl(0xffffffff) && 1121 addr6->s6_addr32[1] == htonl(0xffffffff) && 1122 addr6->s6_addr32[2] == htonl(0xffffffff) && 1123 addr6->s6_addr32[3] == htonl(0xffffffff)) 1140 struct in6_addr *addr6; local 1142 addr6 = (struct in6_addr *)ip; 1144 &addr6);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_flow_dissector.c | 90 #define INIT_ADDR6(name, addr6, port) \ 94 .sin6_addr = addr6, \
|
/linux-master/net/mptcp/ |
H A D | pm.c | 495 bool loc_is_v4 = loc->family == AF_INET || ipv6_addr_v4mapped(&loc->addr6); 496 bool rem_is_v4 = rem->family == AF_INET || ipv6_addr_v4mapped(&rem->addr6);
|
H A D | options.c | 283 memcpy(mp_opt->addr.addr6.s6_addr, (u8 *)ptr, 16); 637 memcpy(&msg[i], &addr->addr6.s6_addr, 16); 1537 memcpy((u8 *)ptr, opts->addr.addr6.s6_addr, 16);
|
H A D | subflow.c | 1499 else if (ipv6_addr_v4mapped(&info->addr6)) 1500 in_addr->sin_addr.s_addr = info->addr6.s6_addr32[3]; 1512 in6_addr->sin6_addr = info->addr6;
|
/linux-master/net/smc/ |
H A D | smc_clc.c | 561 struct sockaddr_in6 *addr6; local 577 addr6 = (struct sockaddr_in6 *)&addrs; 583 } else if (ipv6_addr_v4mapped(&addr6->sin6_addr)) { 585 rc = smc_clc_prfx_set4_rcu(dst, addr6->sin6_addr.s6_addr32[3],
|
/linux-master/fs/smb/server/ |
H A D | smb2pdu.h | 162 struct smb_sockaddr_in6 addr6; member in union:sockaddr_storage_rsp::__anon57
|
/linux-master/net/mac80211/ |
H A D | mesh.h | 240 const char *addr4or5, const char *addr6);
|
H A D | mesh.c | 877 * (if addr6 is NULL) or address 5 (if addr6 is present). It may 879 * @addr6: 2nd address in the ae header, which corresponds to addr6 of the 886 const char *addr4or5, const char *addr6) 888 if (WARN_ON(!addr4or5 && addr6)) 897 if (addr4or5 && !addr6) { 901 } else if (addr4or5 && addr6) { 904 memcpy(meshhdr->eaddr2, addr6, ETH_ALEN); 884 ieee80211_new_mesh_header(struct ieee80211_sub_if_data *sdata, struct ieee80211s_hdr *meshhdr, const char *addr4or5, const char *addr6) argument
|
/linux-master/drivers/scsi/qedi/ |
H A D | qedi_iscsi.c | 902 struct sockaddr_in6 *addr6; local 957 addr6 = (struct sockaddr_in6 *)dst_addr; 958 memcpy(qedi_ep->dst_addr, &addr6->sin6_addr, 960 qedi_ep->dst_port = ntohs(addr6->sin6_port);
|
/linux-master/drivers/soundwire/ |
H A D | stream.c | 132 u32 addr1, addr2, addr3, addr4, addr5, addr6; local 153 addr6 = SDW_DPN_LANECTRL_B1(t_params->port_num); 159 addr6 = SDW_DPN_LANECTRL_B0(t_params->port_num); 217 ret = sdw_write_no_pm(s_rt->slave, addr6, t_params->lane_ctrl);
|
/linux-master/net/ipv6/ |
H A D | ip6_tunnel.c | 1113 struct in6_addr *addr6; local 1125 addr6 = (struct in6_addr *)&neigh->primary_key; 1126 addr_type = ipv6_addr_type(addr6); 1129 addr6 = &ipv6_hdr(skb)->daddr; 1131 memcpy(&fl6->daddr, addr6, sizeof(fl6->daddr));
|
/linux-master/drivers/scsi/qla4xxx/ |
H A D | ql4_mbx.c | 1992 struct sockaddr_in6 *addr6; local 2053 addr6 = (struct sockaddr_in6 *)dst_addr; 2054 ip = (char *)&addr6->sin6_addr; 2056 fw_ddb_entry->port = cpu_to_le16(ntohs(addr6->sin6_port));
|
/linux-master/fs/smb/client/ |
H A D | smb2ops.c | 576 struct sockaddr_in6 *addr6; local 648 addr6 = (struct sockaddr_in6 *)&tmp_iface.sockaddr; 650 addr6->sin6_family = AF_INET6; 651 memcpy(&addr6->sin6_addr, &p6->IPv6Address, 16); 654 addr6->sin6_flowinfo = 0; 655 addr6->sin6_scope_id = 0; 656 addr6->sin6_port = cpu_to_be16(CIFS_PORT); 659 &addr6->sin6_addr);
|
H A D | connect.c | 2251 struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *)&server->dstaddr; local 2306 sprintf(ses->ip_addr, "%pI6", &addr6->sin6_addr); 3133 struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *)&server->dstaddr; local 3137 sport = &addr6->sin6_port; 3903 struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *)&pserver->dstaddr; local 3943 scnprintf(ses->ip_addr, sizeof(ses->ip_addr), "%pI6", &addr6->sin6_addr);
|