Searched refs:ipv6_addr_type (Results 1 – 25 of 80) sorted by relevance
1234
41 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()
22 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()
291 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()
280 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()
294 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()
162 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()
196 addr_type = ipv6_addr_type(&sin6->sin6_addr); in rds_bind()
160 if (!(ipv6_addr_type(&rs->rs_conn_addr) & in rds_getname()579 addr_type = ipv6_addr_type(&sin6->sin6_addr); in rds_connect()
78 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()
336 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()
99 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()
80 if (!(ipv6_addr_type(&ipv6_hdr(skb)->saddr) & IPV6_ADDR_LINKLOCAL)) in ipv6_mc_check_mld_query()
170 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()
31 int strict = (ipv6_addr_type(&iph->daddr) & in ip6_route_me_harder()
201 ipv6_addr_type(&ireq->ir_v6_rmt_addr) & IPV6_ADDR_LINKLOCAL) in cookie_v6_check()
255 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()
60 if (ipv6_addr_type(&srh->rpl_segaddr[srh->segments_left - 1]) & in rpl_validate_srh()
79 else if (ipv6_addr_type(&sin1->sin6_addr) & IPV6_ADDR_LINKLOCAL) in rpc_cmp_addr6()
134 if (ipv6_addr_type(&fl6.daddr) & IPV6_ADDR_LINKLOCAL) in cxgb_find_route6()
71 int addr_type = ipv6_addr_type(addr); in match_type6()
155 if (hl != 255 || !(ipv6_addr_type(&ipv6_hdr(skb)->saddr) & IPV6_ADDR_LINKLOCAL)) { in nf_conntrack_icmpv6_redirect()
749 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()
334 if (ipv6_addr_type(&addr6->sin6_addr) & IPV6_ADDR_LINKLOCAL && in inet6_pton()
67 return ipv6_addr_type(daddr) & in rt6_need_strict()
41 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()