Home
last modified time | relevance | path

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

1234

/linux-6.1.9/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()
99 saddrtype = ipv6_addr_type(&iph->saddr); in rpfilter_mt()
Dnf_reject_ipv6.c291 if ((!(ipv6_addr_type(&oip6h->saddr) & IPV6_ADDR_UNICAST)) || in nf_send_reset6()
292 (!(ipv6_addr_type(&oip6h->daddr) & IPV6_ADDR_UNICAST))) { in nf_send_reset6()
/linux-6.1.9/net/l2tp/
Dl2tp_ip6.c280 addr_type = ipv6_addr_type(&addr->l2tp_addr); in l2tp_ip6_bind()
379 addr_type = ipv6_addr_type(&usin->sin6_addr); in l2tp_ip6_connect()
449 if (ipv6_addr_type(&lsa->l2tp_addr) & IPV6_ADDR_LINKLOCAL) in l2tp_ip6_getname()
555 ipv6_addr_type(daddr) & IPV6_ADDR_LINKLOCAL) in l2tp_ip6_sendmsg()
701 if (ipv6_addr_type(&lsa->l2tp_addr) & IPV6_ADDR_LINKLOCAL) in l2tp_ip6_recvmsg()
/linux-6.1.9/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()
687 type = ipv6_addr_type(in6); in sctp_v6_available()
714 int ret = ipv6_addr_type(&addr->v6.sin6_addr); in sctp_v6_addr_valid()
879 if (ipv6_addr_type(&paddr->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) in sctp_inet6_event_msgname()
912 if (ipv6_addr_type(&addr->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) in sctp_inet6_skb_msgname()
979 int type = ipv6_addr_type(&addr->v6.sin6_addr); in sctp_inet6_bind_verify()
1014 int type = ipv6_addr_type(&addr->v6.sin6_addr); in sctp_inet6_send_verify()
/linux-6.1.9/net/rds/
Dtcp_listen.c162 if ((ipv6_addr_type(my_addr) & IPV6_ADDR_LINKLOCAL) && in rds_tcp_accept_one()
163 !(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.1.9/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.1.9/include/linux/lockd/
Dlockd.h336 if (ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_MAPPED) in __nlm_privileged_request6()
339 return ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LOOPBACK; in __nlm_privileged_request6()
/linux-6.1.9/net/ipv6/
Dping.c99 if (__ipv6_addr_needs_scope_id(ipv6_addr_type(daddr))) in ping_v6_sendmsg()
119 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.c201 ipv6_addr_type(&ireq->ir_v6_rmt_addr) & IPV6_ADDR_LINKLOCAL) in cookie_v6_check()
Dexthdrs.c255 if (!(ipv6_addr_type(&hao->addr) & IPV6_ADDR_UNICAST)) { in ipv6_dest_hao()
609 if ((ipv6_addr_type(&ipv6_hdr(skb)->daddr) & IPV6_ADDR_MULTICAST) || in ipv6_rpl_srh_rcv()
610 (ipv6_addr_type(&ohdr->rpl_segaddr[i]) & IPV6_ADDR_MULTICAST)) { in ipv6_rpl_srh_rcv()
Drpl_iptunnel.c60 if (ipv6_addr_type(&srh->rpl_segaddr[srh->segments_left - 1]) & in rpl_validate_srh()
/linux-6.1.9/include/linux/sunrpc/
Daddr.h79 else if (ipv6_addr_type(&sin1->sin6_addr) & IPV6_ADDR_LINKLOCAL) in rpc_cmp_addr6()
/linux-6.1.9/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_cm.c134 if (ipv6_addr_type(&fl6.daddr) & IPV6_ADDR_LINKLOCAL) in cxgb_find_route6()
/linux-6.1.9/net/netfilter/
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.1.9/net/core/
Dnetpoll.c749 if (!!(ipv6_addr_type(&ifp->addr) & IPV6_ADDR_LINKLOCAL) != in netpoll_setup()
750 !!(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.1.9/include/net/
Dip6_route.h67 return ipv6_addr_type(daddr) & in rt6_need_strict()
/linux-6.1.9/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()
137 int addr_type = ipv6_addr_type(&sk->sk_v6_rcv_saddr); in inet_use_bhash2_on_bind()

1234