Home
last modified time | relevance | path

Searched refs:ipv6_addr_v4mapped (Results 1 – 25 of 51) sorted by relevance

123

/linux/include/rdma/
H A Dib_addr.h135 if (ipv6_addr_v4mapped((struct in6_addr *)gid)) { in rdma_gid2ip()
221 return (ipv6_addr_v4mapped(addr) && ipv4_is_multicast(ipv4_addr)); in rdma_is_multicast_addr()
/linux/net/ipv4/
H A Dudp_diag.c184 if (ipv6_addr_v4mapped((struct in6_addr *)req->id.idiag_dst) && in __udp_diag_destroy()
185 ipv6_addr_v4mapped((struct in6_addr *)req->id.idiag_src)) in __udp_diag_destroy()
H A Dtcp_ao.c181 if (family == AF_INET6 && ipv6_addr_v4mapped(&addr->a6)) { in tcp_ao_key_cmp()
762 if (family == AF_INET6 && ipv6_addr_v4mapped(&sk->sk_v6_daddr)) in tcp_ao_prepare_reset()
1465 if (cmd->prefix != 0 && ipv6_addr_v4mapped(addr)) { in tcp_ao_verify_ipv6()
1480 if (!ipv6_addr_v4mapped(&sk->sk_v6_daddr)) in tcp_ao_verify_ipv6()
1882 if (ipv6_addr_v4mapped(addr6)) { in tcp_ao_del_cmd()
2186 if (ipv6_addr_v4mapped(addr6)) { in tcp_ao_copy_mkts_to_user()
H A Dinet_hashtables.c50 !ipv6_addr_v4mapped(&sk->sk_v6_daddr)) in sk_ehashfn()
841 !ipv6_addr_v4mapped(&sk->sk_v6_rcv_saddr)) in inet_bind2_bucket_match_addr_any()
H A Dinet_diag.c532 if (ipv6_addr_v4mapped((struct in6_addr *)req->id.idiag_dst) && in inet_diag_find_one_icsk()
533 ipv6_addr_v4mapped((struct in6_addr *)req->id.idiag_src)) in inet_diag_find_one_icsk()
/linux/net/rds/
H A Daf_rds.c127 if (ipv6_addr_v4mapped(&rs->rs_conn_addr)) { in rds_getname()
174 if (ipv6_addr_v4mapped(&rs->rs_bound_addr)) { in rds_getname()
742 if (!ipv6_addr_v4mapped(&rs->rs_bound_addr)) in rds_sock_inc_info()
818 if (!ipv6_addr_v4mapped(&rs->rs_bound_addr)) in rds_sock_info()
H A Dtransport.c93 if (ipv6_addr_v4mapped(addr)) { in rds_trans_get_preferred()
H A Dtcp_connect.c114 if (ipv6_addr_v4mapped(&conn->c_laddr)) { in rds_tcp_conn_path_connect()
H A Dib.c418 isv4 = ipv6_addr_v4mapped(addr); in rds_ib_laddr_check()
H A Dsend.c1219 if (ipv6_addr_v4mapped(&daddr) ^ in rds_sendmsg()
1220 ipv6_addr_v4mapped(&rs->rs_bound_addr)) { in rds_sendmsg()
H A Dtcp.c323 if (ipv6_addr_v4mapped(addr)) { in rds_tcp_laddr_check()
/linux/net/smc/
H A Dsmc_ib.h66 if (ipv6_addr_v4mapped(addr6) || in smc_ib_gid_to_ipv4()
/linux/drivers/infiniband/core/
H A Dlag.c23 is_ipv4 = ipv6_addr_v4mapped((struct in6_addr *)ah_attr->grh.dgid.raw); in rdma_build_skb()
/linux/net/mptcp/
H A Dpm.c485 bool loc_is_v4 = loc->family == AF_INET || ipv6_addr_v4mapped(&loc->addr6); in mptcp_pm_addr_families_match()
486 bool rem_is_v4 = rem->family == AF_INET || ipv6_addr_v4mapped(&rem->addr6); in mptcp_pm_addr_families_match()
H A Dpm_userspace.c510 if (addr_l.family == AF_INET && ipv6_addr_v4mapped(&addr_r.addr6)) { in mptcp_pm_nl_subflow_destroy_doit()
514 if (addr_r.family == AF_INET && ipv6_addr_v4mapped(&addr_l.addr6)) { in mptcp_pm_nl_subflow_destroy_doit()
H A Dpm_netlink.c69 if (ipv6_addr_v4mapped(&b->addr6)) in mptcp_addresses_equal()
72 if (ipv6_addr_v4mapped(&a->addr6)) in mptcp_addresses_equal()
708 ipv6_addr_v4mapped(&remote->addr6) ? AF_INET : in fill_local_addresses_vec()
/linux/net/sunrpc/
H A Daddr.c56 if (ipv6_addr_v4mapped(addr)) in rpc_ntop6_noscopeid()
H A Dsvcauth_unix.c165 if (ipv6_addr_v4mapped(&(im->m_addr))) { in ip_map_request()
280 if (ipv6_addr_v4mapped(&addr)) { in ip_map_show()
/linux/net/mpls/
H A Dmpls_iptunnel.c141 if (ipv6_addr_v4mapped(&rt6->rt6i_gateway)) { in mpls_xmit()
/linux/net/ipv6/
H A Ddatagram.c38 return ipv6_addr_v4mapped(a) && (a->s6_addr32[3] == 0); in ipv6_mapped_addr_any()
125 if (ipv6_addr_v4mapped(&sk->sk_v6_daddr)) in ip6_datagram_release_cb()
174 if (ipv6_addr_v4mapped(&sk->sk_v6_rcv_saddr)) in __ip6_datagram_connect()
H A Dtcp_ipv6.c177 if (ipv6_addr_v4mapped(&sk->sk_v6_rcv_saddr)) in tcp_v6_connect()
628 if (prefixlen > 128 || (ipv6_addr_v4mapped(&sin6->sin6_addr) && in tcp_v6_parse_md5_keys()
632 prefixlen = ipv6_addr_v4mapped(&sin6->sin6_addr) ? 32 : 128; in tcp_v6_parse_md5_keys()
653 if (ipv6_addr_v4mapped(&sin6->sin6_addr)) in tcp_v6_parse_md5_keys()
664 if (ipv6_addr_v4mapped(&sin6->sin6_addr)) { in tcp_v6_parse_md5_keys()
1320 if (ipv6_addr_v4mapped(&ipv6_hdr(skb)->saddr)) {
H A Dudp.c1368 ipv6_addr_v4mapped(&np->saddr)) in udpv6_sendmsg()
1390 if (ipv6_addr_v4mapped(daddr)) { in udpv6_sendmsg()
1529 if (ipv6_addr_v4mapped(&sin6->sin6_addr)) { in udpv6_sendmsg()
/linux/net/sctp/
H A Dipv6.c628 ipv6_addr_v4mapped(&addr2->v6.sin6_addr) && in __sctp_v6_cmp_addr()
635 ipv6_addr_v4mapped(&addr1->v6.sin6_addr) && in __sctp_v6_cmp_addr()
828 ipv6_addr_v4mapped(&addr->v6.sin6_addr)) in sctp_v6_addr_to_user()
/linux/include/net/
H A Dipv6.h777 static inline bool ipv6_addr_v4mapped(const struct in6_addr *a) in ipv6_addr_v4mapped() function
791 return ipv6_addr_v4mapped(a) && ipv4_is_loopback(a->s6_addr32[3]); in ipv6_addr_v4mapped_loopback()
802 else if (ipv6_addr_v4mapped(addr6)) in ipv6_portaddr_hash()
/linux/drivers/target/iscsi/
H A Discsi_target_login.c927 if (!ipv6_addr_v4mapped(&sock_in6.sin6_addr)) { in iscsit_accept_np()
941 if (!ipv6_addr_v4mapped(&sock_in6.sin6_addr)) { in iscsit_accept_np()

123