Home
last modified time | relevance | path

Searched refs:ipv6_addr_type (Results 1 – 25 of 82) sorted by relevance

1234

/linux-6.6.21/net/ipv6/netfilter/
Dnft_fib_ipv6.c41 if (ipv6_addr_type(&fl6->daddr) & IPV6_ADDR_LINKLOCAL) { in nft_fib6_flowi_init()
48 if (ipv6_addr_type(&fl6->saddr) & IPV6_ADDR_UNICAST) in nft_fib6_flowi_init()
104 addrtype = ipv6_addr_type(&fl6.daddr); in __nft_fib6_eval_type()
150 if (ipv6_addr_type(&iph->saddr) != IPV6_ADDR_ANY) in nft_fib_v6_skip_icmpv6()
153 return ipv6_addr_type(&iph->daddr) & IPV6_ADDR_LINKLOCAL; in nft_fib_v6_skip_icmpv6()
Dip6t_rpfilter.c22 int addr_type = ipv6_addr_type(addr); in rpfilter_addr_unicast()
28 int addr_type = ipv6_addr_type(addr); in rpfilter_addr_linklocal()
101 saddrtype = ipv6_addr_type(&iph->saddr); in rpfilter_mt()
Dnf_reject_ipv6.c290 if ((!(ipv6_addr_type(&oip6h->saddr) & IPV6_ADDR_UNICAST)) || in nf_send_reset6()
291 (!(ipv6_addr_type(&oip6h->daddr) & IPV6_ADDR_UNICAST))) { in nf_send_reset6()
/linux-6.6.21/net/l2tp/
Dl2tp_ip6.c275 addr_type = ipv6_addr_type(&addr->l2tp_addr); in l2tp_ip6_bind()
374 addr_type = ipv6_addr_type(&usin->sin6_addr); in l2tp_ip6_connect()
444 if (ipv6_addr_type(&lsa->l2tp_addr) & IPV6_ADDR_LINKLOCAL) in l2tp_ip6_getname()
549 ipv6_addr_type(daddr) & IPV6_ADDR_LINKLOCAL) in l2tp_ip6_sendmsg()
696 if (ipv6_addr_type(&lsa->l2tp_addr) & IPV6_ADDR_LINKLOCAL) in l2tp_ip6_recvmsg()
/linux-6.6.21/net/sctp/
Dipv6.c294 if (ipv6_addr_type(&daddr->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) in sctp_v6_get_dst()
648 if ((ipv6_addr_type(&addr1->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) && in __sctp_v6_cmp_addr()
689 type = ipv6_addr_type(in6); in sctp_v6_available()
722 int ret = ipv6_addr_type(&addr->v6.sin6_addr); in sctp_v6_addr_valid()
890 if (ipv6_addr_type(&paddr->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) in sctp_inet6_event_msgname()
923 if (ipv6_addr_type(&addr->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) in sctp_inet6_skb_msgname()
990 int type = ipv6_addr_type(&addr->v6.sin6_addr); in sctp_inet6_bind_verify()
1025 int type = ipv6_addr_type(&addr->v6.sin6_addr); in sctp_inet6_send_verify()
/linux-6.6.21/net/sunrpc/
Daddr.c78 if (!(ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL)) in rpc_ntop6()
176 if (!(ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL)) in rpc_parse_scope_id()
/linux-6.6.21/net/rds/
Dtcp_listen.c163 if ((ipv6_addr_type(my_addr) & IPV6_ADDR_LINKLOCAL) && in rds_tcp_accept_one()
164 !(ipv6_addr_type(peer_addr) & IPV6_ADDR_LINKLOCAL)) { in rds_tcp_accept_one()
Dbind.c196 addr_type = ipv6_addr_type(&sin6->sin6_addr); in rds_bind()
Daf_rds.c160 if (!(ipv6_addr_type(&rs->rs_conn_addr) & in rds_getname()
579 addr_type = ipv6_addr_type(&sin6->sin6_addr); in rds_connect()
/linux-6.6.21/include/linux/lockd/
Dlockd.h339 if (ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_MAPPED) in __nlm_privileged_request6()
342 return ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LOOPBACK; in __nlm_privileged_request6()
/linux-6.6.21/net/ipv6/
Dping.c94 if (__ipv6_addr_needs_scope_id(ipv6_addr_type(daddr))) in ping_v6_sendmsg()
114 addr_type = ipv6_addr_type(daddr); in ping_v6_sendmsg()
Dmcast_snoop.c80 if (!(ipv6_addr_type(&ipv6_hdr(skb)->saddr) & IPV6_ADDR_LINKLOCAL)) in ipv6_mc_check_mld_query()
Daddrlabel.c170 addrtype = ipv6_addr_type(prefix) & (IPV6_ADDR_MAPPED | IPV6_ADDR_COMPATv4 | IPV6_ADDR_LOOPBACK); in ip6addrlbl_alloc()
616 p = __ipv6_addr_label(net, addr, ipv6_addr_type(addr), ifal->ifal_index); in ip6addrlbl_get()
Dnetfilter.c31 int strict = (ipv6_addr_type(&iph->daddr) & in ip6_route_me_harder()
Dsyncookies.c202 ipv6_addr_type(&ireq->ir_v6_rmt_addr) & IPV6_ADDR_LINKLOCAL) in cookie_v6_check()
Drpl_iptunnel.c60 if (ipv6_addr_type(&srh->rpl_segaddr[srh->segments_left - 1]) & in rpl_validate_srh()
/linux-6.6.21/net/netfilter/
Dnf_nat_redirect.c85 unsigned int ifa_addr_type = ipv6_addr_type(&ifa->addr); in nf_nat_redirect_ipv6_usable()
Dxt_addrtype.c71 int addr_type = ipv6_addr_type(addr); in match_type6()
Dnf_conntrack_proto_icmpv6.c155 if (hl != 255 || !(ipv6_addr_type(&ipv6_hdr(skb)->saddr) & IPV6_ADDR_LINKLOCAL)) { in nf_conntrack_icmpv6_redirect()
/linux-6.6.21/include/linux/sunrpc/
Daddr.h79 else if (ipv6_addr_type(&sin1->sin6_addr) & IPV6_ADDR_LINKLOCAL) in rpc_cmp_addr6()
/linux-6.6.21/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_cm.c134 if (ipv6_addr_type(&fl6.daddr) & IPV6_ADDR_LINKLOCAL) in cxgb_find_route6()
/linux-6.6.21/net/core/
Dnetpoll.c756 if (!!(ipv6_addr_type(&ifp->addr) & IPV6_ADDR_LINKLOCAL) != in netpoll_setup()
757 !!(ipv6_addr_type(&np->remote_ip.in6) & IPV6_ADDR_LINKLOCAL)) in netpoll_setup()
Dutils.c334 if (ipv6_addr_type(&addr6->sin6_addr) & IPV6_ADDR_LINKLOCAL && in inet6_pton()
/linux-6.6.21/include/net/
Dip6_route.h67 return ipv6_addr_type(daddr) & in rt6_need_strict()
/linux-6.6.21/net/ipv4/
Dinet_connection_sock.c41 int addr_type = ipv6_addr_type(sk1_rcv_saddr6); in ipv6_rcv_saddr_equal()
42 int addr_type2 = sk2_rcv_saddr6 ? ipv6_addr_type(sk2_rcv_saddr6) : IPV6_ADDR_MAPPED; in ipv6_rcv_saddr_equal()
158 int addr_type = ipv6_addr_type(&sk->sk_v6_rcv_saddr); in inet_use_bhash2_on_bind()

1234