Home
last modified time | relevance | path

Searched refs:ipv6_addr_any (Results 1 – 25 of 74) sorted by relevance

123

/linux-6.1.9/net/l2tp/
Dl2tp_ip6.c74 if (sk_laddr && !ipv6_addr_any(sk_laddr) && in __l2tp_ip6_bind_lookup()
75 !ipv6_addr_any(laddr) && !ipv6_addr_equal(sk_laddr, laddr)) in __l2tp_ip6_bind_lookup()
78 if (!ipv6_addr_any(sk_raddr) && raddr && in __l2tp_ip6_bind_lookup()
79 !ipv6_addr_any(raddr) && !ipv6_addr_equal(sk_raddr, raddr)) in __l2tp_ip6_bind_lookup()
442 if (ipv6_addr_any(&sk->sk_v6_rcv_saddr)) in l2tp_ip6_getname()
598 if (!ipv6_addr_any(daddr)) in l2tp_ip6_sendmsg()
602 if (ipv6_addr_any(&fl6.saddr) && !ipv6_addr_any(&np->saddr)) in l2tp_ip6_sendmsg()
/linux-6.1.9/net/rds/
Dbind.c151 if (ipv6_addr_any(&rs->rs_bound_addr)) in rds_remove_bound()
227 if (!ipv6_addr_any(&rs->rs_bound_addr)) { in rds_bind()
235 if (!ipv6_addr_any(&rs->rs_conn_addr) && scope_id && in rds_bind()
Daf_rds.c124 if (ipv6_addr_any(&rs->rs_conn_addr)) in rds_getname()
151 if (ipv6_addr_any(&rs->rs_bound_addr)) { in rds_getname()
152 if (ipv6_addr_any(&rs->rs_conn_addr)) { in rds_getname()
300 if (ipv6_addr_any(&rs->rs_bound_addr)) { in rds_cancel_sent_to()
605 (!ipv6_addr_any(&rs->rs_bound_addr) && in rds_connect()
Drdma.c188 if (ipv6_addr_any(&rs->rs_bound_addr) || !rs->rs_transport) { in __rds_rdma_map()
628 if (ipv6_addr_any(&rs->rs_bound_addr)) { in rds_cmsg_rdma_args()
/linux-6.1.9/net/ipv6/netfilter/
Dnf_tproxy_ipv6.c17 if (!ipv6_addr_any(user_laddr)) in nf_tproxy_laddr6()
125 int wildcard = ipv6_addr_any(&sk->sk_v6_rcv_saddr); in nf_tproxy_get_sock_v6()
/linux-6.1.9/net/psample/
Dpsample.c244 if (!ipv6_addr_any(&tun_key->u.ipv6.src) && in __psample_ip_tun_to_nlattr()
248 if (!ipv6_addr_any(&tun_key->u.ipv6.dst) && in __psample_ip_tun_to_nlattr()
330 if (!ipv6_addr_any(&tun_key->u.ipv6.src)) in psample_tunnel_meta_len()
332 if (!ipv6_addr_any(&tun_key->u.ipv6.dst)) in psample_tunnel_meta_len()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c184 if (!ipv6_addr_any((struct in6_addr *)ip6src_m)) { in set_ip6()
190 if (!ipv6_addr_any((struct in6_addr *)ip6dst_m)) { in set_ip6()
621 if (!ipv6_addr_any((struct in6_addr *)l3_mask->ip6src)) in validate_ip6()
624 if (!ipv6_addr_any((struct in6_addr *)l3_mask->ip6dst)) in validate_ip6()
640 if (!ipv6_addr_any((struct in6_addr *)l4_mask->ip6src)) in validate_tcpudp6()
643 if (!ipv6_addr_any((struct in6_addr *)l4_mask->ip6dst)) in validate_tcpudp6()
/linux-6.1.9/net/netfilter/ipset/
Dip_set_hash_ip.c231 if (ipv6_addr_any(&e.ip.in6)) in hash_ip6_kadt()
270 if (ipv6_addr_any(&e.ip.in6)) in hash_ip6_uadt()
/linux-6.1.9/net/ipv6/
Ddatagram.c101 if (ipv6_addr_any(&np->saddr)) in ip6_datagram_dst_update()
104 if (ipv6_addr_any(&sk->sk_v6_rcv_saddr)) { in ip6_datagram_dst_update()
168 if (ipv6_addr_any(&usin->sin6_addr)) { in __ip6_datagram_connect()
204 if (ipv6_addr_any(&np->saddr) || in __ip6_datagram_connect()
208 if (ipv6_addr_any(&sk->sk_v6_rcv_saddr) || in __ip6_datagram_connect()
Dudp.c143 if (!ipv6_addr_any(&sk->sk_v6_daddr)) { in compute_score()
656 if (!ipv6_addr_any(&sk->sk_v6_daddr)) { in __udpv6_queue_rcv_skb()
818 (!ipv6_addr_any(&sk->sk_v6_daddr) && in __udp_v6_is_mcast_sock()
821 (!ipv6_addr_any(&sk->sk_v6_rcv_saddr) && in __udp_v6_is_mcast_sock()
1363 if (ipv6_addr_any(daddr) && in udpv6_sendmsg()
1510 if (ipv6_addr_any(&fl6->saddr) && !ipv6_addr_any(&np->saddr)) in udpv6_sendmsg()
1538 if (ipv6_addr_any(&fl6->daddr)) in udpv6_sendmsg()
Dmcast_snoop.c99 if (ipv6_addr_any(&mld->mld_mca) && in ipv6_mc_check_mld_query()
Draw.c73 (!ipv6_addr_any(&sk->sk_v6_daddr) && in raw_v6_match()
79 if (ipv6_addr_any(&sk->sk_v6_rcv_saddr) || in raw_v6_match()
875 if (!ipv6_addr_any(daddr)) in rawv6_sendmsg()
879 if (ipv6_addr_any(&fl6.saddr) && !ipv6_addr_any(&np->saddr)) in rawv6_sendmsg()
Dmip6.c127 !ipv6_addr_any((struct in6_addr *)x->coaddr)) in mip6_destopt_input()
296 !ipv6_addr_any((struct in6_addr *)x->coaddr)) in mip6_rthdr_input()
Dip6_tunnel.c138 !ipv6_addr_any(&t->parms.raddr) || in ip6_tnl_lookup()
151 !ipv6_addr_any(&t->parms.laddr) || in ip6_tnl_lookup()
195 if (!ipv6_addr_any(remote) || !ipv6_addr_any(local)) { in ip6_tnl_bucket()
1098 if (ipv6_addr_any(&t->parms.raddr)) { in ip6_tnl_xmit()
1159 if (t->parms.collect_md && ipv6_addr_any(&fl6->saddr) && in ip6_tnl_xmit()
Dip6mr.c960 if (ipv6_addr_any(mcastgrp)) in ip6mr_cache_find_any()
1461 if (!ipv6_addr_any(&mfc->mf6cc_mcastgrp.sin6_addr) && in ip6mr_mfc_add()
2131 if (ipv6_addr_any(&c->mf6c_origin) && true_vifi >= 0) { in ip6_mr_forward()
2178 if (ipv6_addr_any(&c->mf6c_origin) && in ip6_mr_forward()
2179 ipv6_addr_any(&c->mf6c_mcastgrp)) { in ip6_mr_forward()
2196 if ((!ipv6_addr_any(&c->mf6c_origin) || ct != true_vifi) && in ip6_mr_forward()
Dip6_vti.c145 if (!ipv6_addr_any(remote) || !ipv6_addr_any(local)) { in vti6_tnl_bucket()
430 if (ipv6_addr_any(dst)) in vti6_state_check()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_flows.c677 if (!ipv6_addr_any((struct in6_addr *)ipv6_usr_mask->ip6src)) { in otx2_prepare_ipv6_flow()
684 if (!ipv6_addr_any((struct in6_addr *)ipv6_usr_mask->ip6dst)) { in otx2_prepare_ipv6_flow()
701 if (!ipv6_addr_any((struct in6_addr *)ipv6_l4_mask->ip6src)) { in otx2_prepare_ipv6_flow()
708 if (!ipv6_addr_any((struct in6_addr *)ipv6_l4_mask->ip6dst)) { in otx2_prepare_ipv6_flow()
751 if (!ipv6_addr_any((struct in6_addr *)ah_esp_hdr->ip6src)) { in otx2_prepare_ipv6_flow()
758 if (!ipv6_addr_any((struct in6_addr *)ah_esp_hdr->ip6dst)) { in otx2_prepare_ipv6_flow()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_mr.c833 if (ipv6_addr_any(&mfc->mf6c_origin) && in mlxsw_sp_mr_route6_validate()
834 ipv6_addr_any(&mfc->mf6c_mcastgrp)) { in mlxsw_sp_mr_route6_validate()
854 if (!ipv6_addr_any(&mfc->mf6c_origin)) in mlxsw_sp_mr_route6_key()
862 return ipv6_addr_any(&mr_route->key.source_mask.addr6); in mlxsw_sp_mr_route6_starg()
/linux-6.1.9/net/netfilter/
Dxt_socket.c131 ipv6_addr_any(&sk->sk_v6_rcv_saddr)); in socket_mt6_v1_v2_v3()
Dnft_socket.c29 nft_reg_store8(dest, ipv6_addr_any(&sk->sk_v6_rcv_saddr)); in nft_socket_wildcard()
/linux-6.1.9/include/net/
Dbonding.h513 return !ipv6_addr_any(addr) && in bond_is_ip6_target_ok()
773 else if (ipv6_addr_any(&targets[i])) in bond_get_targets_ip6()
Dxfrm.h1064 return ipv6_addr_any(&addr->in6); in xfrm_addr_any()
1079 return (!ipv6_addr_any((struct in6_addr*)&tmpl->saddr) && in __xfrm6_state_addr_cmp()
1326 ipv6_addr_any((struct in6_addr *)saddr) || in __xfrm6_state_addr_check()
1327 ipv6_addr_any((struct in6_addr *)&x->props.saddr))) in __xfrm6_state_addr_check()
/linux-6.1.9/net/sunrpc/
Daddr.c39 if (ipv6_addr_any(addr)) in rpc_ntop6_noscopeid()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_tc_lib.c942 if (ipv6_addr_any(&match->mask->dst) && in ice_tc_set_ipv6()
943 ipv6_addr_any(&match->mask->src)) { in ice_tc_set_ipv6()
947 if (!ipv6_addr_any(&match->mask->dst)) { in ice_tc_set_ipv6()
953 if (!ipv6_addr_any(&match->mask->src)) { in ice_tc_set_ipv6()
/linux-6.1.9/drivers/net/bonding/
Dbond_procfs.c138 if (ipv6_addr_any(&bond->params.ns_targets[i])) in bond_info_show_master()

123