Searched refs:ipv6_addr_type (Results 1 – 25 of 82) 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()101 saddrtype = ipv6_addr_type(&iph->saddr); in rpfilter_mt()
290 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()
275 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()
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()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()
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()
163 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()
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()
339 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()
94 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()
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()
202 ipv6_addr_type(&ireq->ir_v6_rmt_addr) & IPV6_ADDR_LINKLOCAL) in cookie_v6_check()
60 if (ipv6_addr_type(&srh->rpl_segaddr[srh->segments_left - 1]) & in rpl_validate_srh()
85 unsigned int ifa_addr_type = ipv6_addr_type(&ifa->addr); in nf_nat_redirect_ipv6_usable()
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()
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()
756 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()
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()158 int addr_type = ipv6_addr_type(&sk->sk_v6_rcv_saddr); in inet_use_bhash2_on_bind()