Searched refs:ipv6_addr_v4mapped (Results 1 – 25 of 51) sorted by relevance
123
135 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()
184 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()
181 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()
50 !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()
532 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()
127 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()
93 if (ipv6_addr_v4mapped(addr)) { in rds_trans_get_preferred()
114 if (ipv6_addr_v4mapped(&conn->c_laddr)) { in rds_tcp_conn_path_connect()
418 isv4 = ipv6_addr_v4mapped(addr); in rds_ib_laddr_check()
1219 if (ipv6_addr_v4mapped(&daddr) ^ in rds_sendmsg()1220 ipv6_addr_v4mapped(&rs->rs_bound_addr)) { in rds_sendmsg()
323 if (ipv6_addr_v4mapped(addr)) { in rds_tcp_laddr_check()
66 if (ipv6_addr_v4mapped(addr6) || in smc_ib_gid_to_ipv4()
23 is_ipv4 = ipv6_addr_v4mapped((struct in6_addr *)ah_attr->grh.dgid.raw); in rdma_build_skb()
485 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()
510 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()
69 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()
56 if (ipv6_addr_v4mapped(addr)) in rpc_ntop6_noscopeid()
165 if (ipv6_addr_v4mapped(&(im->m_addr))) { in ip_map_request()280 if (ipv6_addr_v4mapped(&addr)) { in ip_map_show()
141 if (ipv6_addr_v4mapped(&rt6->rt6i_gateway)) { in mpls_xmit()
38 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()
177 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)) {
1368 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()
628 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()
777 static inline bool ipv6_addr_v4mapped(const struct in6_addr *a) in ipv6_addr_v4mapped() function791 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()
927 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()