Home
last modified time | relevance | path

Searched refs:ipv6_addr_equal (Results 1 – 25 of 75) sorted by relevance

123

/Linux-v6.1/net/netlabel/
Dnetlabel_addrlist.c129 ipv6_addr_equal(&iter->addr, addr) && in netlbl_af6list_search_exact()
130 ipv6_addr_equal(&iter->mask, mask)) in netlbl_af6list_search_exact()
191 ipv6_addr_equal(&iter->addr, &entry->addr) && in netlbl_af6list_add()
192 ipv6_addr_equal(&iter->mask, &entry->mask)) in netlbl_af6list_add()
/Linux-v6.1/include/net/
Dinet6_hashtables.h116 !ipv6_addr_equal(&sk->sk_v6_daddr, saddr) || in inet6_match()
117 !ipv6_addr_equal(&sk->sk_v6_rcv_saddr, daddr)) in inet6_match()
Dip6_route.h260 ipv6_addr_equal(&rt->rt6i_dst.addr, daddr)); in ipv6_anycast_destination()
315 ipv6_addr_equal(&nha->fib_nh_gw6, &nhb->fib_nh_gw6) && in rt6_duplicate_nexthop()
/Linux-v6.1/net/ipv6/netfilter/
Dip6table_mangle.c52 (!ipv6_addr_equal(&ipv6_hdr(skb)->saddr, &saddr) || in ip6t_mangle_out()
53 !ipv6_addr_equal(&ipv6_hdr(skb)->daddr, &daddr) || in ip6t_mangle_out()
Dip6t_rt.c112 if (ipv6_addr_equal(ap, &rtinfo->addrs[i])) in rt_mt6()
138 if (!ipv6_addr_equal(ap, &rtinfo->addrs[temp])) in rt_mt6()
Dip6t_NPT.c26 if (!ipv6_addr_equal(&pfx, &npt->src_pfx.in6)) in ip6t_npt_checkentry()
29 if (!ipv6_addr_equal(&pfx, &npt->dst_pfx.in6)) in ip6t_npt_checkentry()
/Linux-v6.1/net/ipv6/
Dmip6.c126 if (!ipv6_addr_equal(&iph->saddr, (struct in6_addr *)x->coaddr) && in mip6_destopt_input()
184 !ipv6_addr_equal(&mip6_report_rl.src, src) || in mip6_report_rl_allow()
185 !ipv6_addr_equal(&mip6_report_rl.dst, dst)) { in mip6_report_rl_allow()
295 if (!ipv6_addr_equal(&iph->daddr, (struct in6_addr *)x->coaddr) && in mip6_rthdr_input()
Dmcast.c185 ipv6_addr_equal(&mc_lst->addr, addr)) in __ipv6_sock_mc_join()
264 ipv6_addr_equal(&mc_lst->addr, addr)) { in ipv6_sock_mc_drop()
390 if (ipv6_addr_equal(&pmc->addr, group)) in ip6_mc_source()
416 rv = !ipv6_addr_equal(&psl->sl_addr[i], source); in ip6_mc_source()
470 rv = !ipv6_addr_equal(&psl->sl_addr[i], source); in ip6_mc_source()
522 if (ipv6_addr_equal(&pmc->addr, group)) in ip6_mc_msfilter()
603 if (ipv6_addr_equal(group, &pmc->addr)) in ip6_mc_msfget()
640 if (ipv6_addr_equal(&mc->addr, mc_addr)) in inet6_mc_check()
654 if (ipv6_addr_equal(&psl->sl_addr[i], src_addr)) in inet6_mc_check()
778 if (ipv6_addr_equal(&pmc->mca_addr, pmca)) in mld_del_delrec()
[all …]
Danycast.c167 ipv6_addr_equal(&pac->acl_addr, addr)) in ipv6_sock_ac_drop()
300 if (ipv6_addr_equal(&aca->aca_addr, addr)) { in __ipv6_dev_ac_inc()
354 if (ipv6_addr_equal(&aca->aca_addr, addr)) in __ipv6_dev_ac_dec()
425 if (ipv6_addr_equal(&aca->aca_addr, addr)) in ipv6_chk_acast_dev()
454 if (ipv6_addr_equal(&aca->aca_addr, addr)) { in ipv6_chk_acast_addr()
Dip6_vti.c98 if (ipv6_addr_equal(local, &t->parms.laddr) && in vti6_tnl_lookup()
99 ipv6_addr_equal(remote, &t->parms.raddr) && in vti6_tnl_lookup()
107 if (ipv6_addr_equal(local, &t->parms.laddr) && in vti6_tnl_lookup()
114 if (ipv6_addr_equal(remote, &t->parms.raddr) && in vti6_tnl_lookup()
267 if (ipv6_addr_equal(local, &t->parms.laddr) && in vti6_locate()
268 ipv6_addr_equal(remote, &t->parms.raddr)) { in vti6_locate()
413 return ipv6_addr_equal(&t->parms.raddr, &hdr->saddr); in vti6_addr_conflict()
Dnetfilter.c91 if (!ipv6_addr_equal(&iph->daddr, &rt_info->daddr) || in nf_ip6_reroute()
92 !ipv6_addr_equal(&iph->saddr, &rt_info->saddr) || in nf_ip6_reroute()
Dip6_gre.c133 if (!ipv6_addr_equal(local, &t->parms.laddr) || in ip6gre_tunnel_lookup()
134 !ipv6_addr_equal(remote, &t->parms.raddr) || in ip6gre_tunnel_lookup()
158 if (!ipv6_addr_equal(remote, &t->parms.raddr) || in ip6gre_tunnel_lookup()
182 if ((!ipv6_addr_equal(local, &t->parms.laddr) && in ip6gre_tunnel_lookup()
183 (!ipv6_addr_equal(local, &t->parms.raddr) || in ip6gre_tunnel_lookup()
336 if (ipv6_addr_equal(local, &t->parms.laddr) && in ip6gre_tunnel_find()
337 ipv6_addr_equal(remote, &t->parms.raddr) && in ip6gre_tunnel_find()
852 if (ipv6_addr_equal(&t->parms.raddr, &ipv6h->saddr)) in ip6gre_xmit_ipv6()
890 return ipv6_addr_equal(&t->parms.raddr, &hdr->saddr); in ip6gre_tnl_addr_conflict()
1057 if (ipv6_addr_equal(&t->parms.raddr, &ipv6_hdr(skb)->saddr)) in ip6erspan_tunnel_xmit()
Dioam6_iptunnel.c353 if (!ipv6_addr_equal(&orig_daddr, &ipv6_hdr(skb)->daddr)) { in ioam6_output()
455 !ipv6_addr_equal(&ilwt_a->tundst, &ilwt_b->tundst)) || in ioam6_encap_cmp()
Dip6_offload.c271 !ipv6_addr_equal(&iph->saddr, &iph2->saddr) || in ipv6_gro_receive()
272 !ipv6_addr_equal(&iph->daddr, &iph2->daddr) || in ipv6_gro_receive()
/Linux-v6.1/net/6lowpan/
Diphc.c272 if (ipv6_addr_equal(addr, &addr_mcast)) { in lowpan_iphc_ctx_get_by_mcast_addr()
809 if (ipv6_addr_equal(&tmp, ipaddr)) in lowpan_iphc_compress_ctx_802154_lladdr()
819 if (ipv6_addr_equal(&tmp, ipaddr)) in lowpan_iphc_compress_ctx_802154_lladdr()
843 return ipv6_addr_equal(&tmp, ipaddr); in lowpan_iphc_addr_equal()
877 if (ipv6_addr_equal(&tmp, ipaddr)) { in lowpan_compress_ctx_addr()
888 if (ipv6_addr_equal(&tmp, ipaddr)) { in lowpan_compress_ctx_addr()
932 if (ipv6_addr_equal(&tmp, ipaddr)) in lowpan_iphc_compress_802154_lladdr()
/Linux-v6.1/tools/testing/selftests/net/
Dioam6_parser.c515 static int ipv6_addr_equal(const struct in6_addr *a1, const struct in6_addr *a2) in ipv6_addr_equal() function
644 if (!ipv6_addr_equal(&ip6h->saddr, &src) || in main()
645 !ipv6_addr_equal(&ip6h->daddr, &dst)) in main()
/Linux-v6.1/drivers/s390/net/
Dqeth_l3.h63 return ipv6_addr_equal(&a1->u.a6.addr, &a2->u.a6.addr); in qeth_l3_addr_match_ip()
/Linux-v6.1/include/linux/sunrpc/
Daddr.h77 if (!ipv6_addr_equal(&sin1->sin6_addr, &sin2->sin6_addr)) in rpc_cmp_addr6()
/Linux-v6.1/net/l2tp/
Dl2tp_ip6.c75 !ipv6_addr_any(laddr) && !ipv6_addr_equal(sk_laddr, laddr)) in __l2tp_ip6_bind_lookup()
79 !ipv6_addr_any(raddr) && !ipv6_addr_equal(sk_raddr, raddr)) in __l2tp_ip6_bind_lookup()
550 ipv6_addr_equal(daddr, &sk->sk_v6_daddr)) in l2tp_ip6_sendmsg()
/Linux-v6.1/security/selinux/
Dnetnode.c128 if (ipv6_addr_equal(&node->nsec.addr.ipv6, in sel_netnode_find()
/Linux-v6.1/net/netfilter/ipset/
Dip_set_hash_ipportip.c222 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_ipportip6_data_equal()
223 ipv6_addr_equal(&ip1->ip2.in6, &ip2->ip2.in6) && in hash_ipportip6_data_equal()
/Linux-v6.1/net/mptcp/
Dpm_userspace.c336 if (!ipv6_addr_equal(&local->addr6, &pinfo->saddr) || in mptcp_nl_find_ssk()
337 !ipv6_addr_equal(&remote->addr6, &ssk->sk_v6_daddr)) in mptcp_nl_find_ssk()
/Linux-v6.1/net/rds/
Dconnection.c92 if (ipv6_addr_equal(&conn->c_faddr, faddr) && in rds_conn_lookup()
93 ipv6_addr_equal(&conn->c_laddr, laddr) && in rds_conn_lookup()
180 ipv6_addr_equal(laddr, faddr) && in __rds_conn_create()
/Linux-v6.1/drivers/net/vxlan/
Dvxlan_private.h83 return ipv6_addr_equal(&a->sin6.sin6_addr, &b->sin6.sin6_addr); in vxlan_addr_equal()
/Linux-v6.1/drivers/net/wireguard/
Dsocket.c267 ipv6_addr_equal(&a->addr6.sin6_addr, &b->addr6.sin6_addr) && in endpoint_eq()
269 ipv6_addr_equal(&a->src6, &b->src6)) || in endpoint_eq()

123