Home
last modified time | relevance | path

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

123

/linux/net/netlabel/
H A 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/tools/testing/selftests/bpf/progs/
H A Dxdp_features.c19 #define ipv6_addr_equal(a, b) ((a).s6_addr32[0] == (b).s6_addr32[0] && \ macro
106 if (!ipv6_addr_equal(saddr, ih6->saddr)) in xdp_process_echo_packet()
109 if (!ipv6_addr_equal(daddr, ih6->daddr)) in xdp_process_echo_packet()
/linux/net/ipv6/
H A 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()
604 if (ipv6_addr_equal(group, &pmc->addr)) in ip6_mc_msfget()
641 if (ipv6_addr_equal(&mc->addr, mc_addr)) in inet6_mc_check()
655 if (ipv6_addr_equal(&psl->sl_addr[i], src_addr)) in inet6_mc_check()
779 if (ipv6_addr_equal(&pmc->mca_addr, pmca)) in mld_del_delrec()
[all …]
H A 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()
H A Dtcpv6_offload.c124 ipv6_addr_equal(&iph->saddr, &iph2->saddr) && in __tcpv6_gso_segment_list_csum()
125 ipv6_addr_equal(&iph->daddr, &iph2->daddr)) in __tcpv6_gso_segment_list_csum()
H A 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()
262 if (ipv6_addr_equal(local, &t->parms.laddr) && in vti6_locate()
263 ipv6_addr_equal(remote, &t->parms.raddr)) { in vti6_locate()
408 return ipv6_addr_equal(&t->parms.raddr, &hdr->saddr); in vti6_addr_conflict()
H A Dnetfilter.c92 if (!ipv6_addr_equal(&iph->daddr, &rt_info->daddr) || in nf_ip6_reroute()
93 !ipv6_addr_equal(&iph->saddr, &rt_info->saddr) || in nf_ip6_reroute()
H A Dioam6_iptunnel.c394 if (!ipv6_addr_equal(&orig_daddr, &ipv6_hdr(skb)->daddr)) { in ioam6_output()
508 !ipv6_addr_equal(&ilwt_a->tundst, &ilwt_b->tundst)) || in ioam6_encap_cmp()
511 !ipv6_addr_equal(&ilwt_a->tunsrc, &ilwt_b->tunsrc)) || in ioam6_encap_cmp()
H A 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()
862 if (ipv6_addr_equal(&t->parms.raddr, &ipv6h->saddr)) in ip6gre_xmit_ipv6()
1052 if (ipv6_addr_equal(&t->parms.raddr, &ipv6_hdr(skb)->saddr)) in ip6erspan_tunnel_xmit()
H A Dip6_offload.c281 !ipv6_addr_equal(&iph->saddr, &iph2->saddr) || in ipv6_gro_receive()
282 !ipv6_addr_equal(&iph->daddr, &iph2->daddr) || in ipv6_gro_receive()
H A Dip6_tunnel.c124 if (!ipv6_addr_equal(local, &t->parms.laddr) || in ip6_tnl_lookup()
125 !ipv6_addr_equal(remote, &t->parms.raddr) || in ip6_tnl_lookup()
138 if (!ipv6_addr_equal(local, &t->parms.laddr) || in ip6_tnl_lookup()
151 if (!ipv6_addr_equal(remote, &t->parms.raddr) || in ip6_tnl_lookup()
350 if (ipv6_addr_equal(local, &t->parms.laddr) && in ip6_tnl_locate()
351 ipv6_addr_equal(remote, &t->parms.raddr) && in ip6_tnl_locate()
1024 return ipv6_addr_equal(&t->parms.raddr, &hdr->saddr); in ip6_tnl_addr_conflict()
/linux/net/ipv6/netfilter/
H A Dip6table_mangle.c53 (!ipv6_addr_equal(&ipv6_hdr(skb)->saddr, &saddr) || in ip6t_mangle_out()
54 !ipv6_addr_equal(&ipv6_hdr(skb)->daddr, &daddr) || in ip6t_mangle_out()
H A 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()
H A 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/net/6lowpan/
H A 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/include/net/
H A Dinet6_hashtables.h187 !ipv6_addr_equal(&sk->sk_v6_daddr, saddr) || in inet6_match()
188 !ipv6_addr_equal(&sk->sk_v6_rcv_saddr, daddr)) in inet6_match()
H A Dip6_route.h263 ipv6_addr_equal(&rt->rt6i_dst.addr, daddr)); in ipv6_anycast_destination()
322 ipv6_addr_equal(&nha->fib_nh_gw6, &nhb->fib_nh_gw6) && in rt6_duplicate_nexthop()
/linux/drivers/s390/net/
H A Dqeth_l3.h63 return ipv6_addr_equal(&a1->u.a6.addr, &a2->u.a6.addr); in qeth_l3_addr_match_ip()
/linux/include/linux/sunrpc/
H A Daddr.h77 if (!ipv6_addr_equal(&sin1->sin6_addr, &sin2->sin6_addr)) in rpc_cmp_addr6()
/linux/net/rds/
H A 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/net/l2tp/
H A Dl2tp_ip6.c84 !ipv6_addr_any(laddr) && !ipv6_addr_equal(sk_laddr, laddr)) in __l2tp_ip6_bind_lookup()
88 !ipv6_addr_any(raddr) && !ipv6_addr_equal(sk_raddr, raddr)) in __l2tp_ip6_bind_lookup()
573 ipv6_addr_equal(daddr, &sk->sk_v6_daddr)) in l2tp_ip6_sendmsg()
/linux/net/netfilter/ipset/
H A Dip_set_hash_ipportip.c223 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_ipportip6_data_equal()
224 ipv6_addr_equal(&ip1->ip2.in6, &ip2->ip2.in6) && in hash_ipportip6_data_equal()
H A Dip_set_hash_netnet.c299 return ipv6_addr_equal(&ip1->ip[0].in6, &ip2->ip[0].in6) && in hash_netnet6_data_equal()
300 ipv6_addr_equal(&ip1->ip[1].in6, &ip2->ip[1].in6) && in hash_netnet6_data_equal()
/linux/security/selinux/
H A Dnetnode.c128 if (ipv6_addr_equal(&node->nsec.addr.ipv6, in sel_netnode_find()
/linux/drivers/net/wireguard/
H A 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