Searched refs:ipv6_addr_type (Results 1 – 21 of 21) sorted by relevance
264 addr_type = ipv6_addr_type(addr); in ndisc_constructor()339 if (ipv6_addr_type(daddr) & IPV6_ADDR_MULTICAST) { in ndisc_build_ll_hdr()469 send_llinfo = dev->addr_len && ipv6_addr_type(saddr) != IPV6_ADDR_ANY; in ndisc_send_ns()620 if (ipv6_addr_type(&msg->target)&IPV6_ADDR_MULTICAST) { in ndisc_recv_ns()655 int addr_type = ipv6_addr_type(saddr); in ndisc_recv_ns()689 ipv6_addr_type(&ifp->addr)&IPV6_ADDR_ANYCAST ? 0 : 1, in ndisc_recv_ns()696 int inc = ipv6_addr_type(daddr)&IPV6_ADDR_MULTICAST; in ndisc_recv_ns()713 ipv6_addr_type(&ifp->addr)&IPV6_ADDR_ANYCAST ? 0 : 1, in ndisc_recv_ns()722 int addr_type = ipv6_addr_type(saddr); in ndisc_recv_ns()742 int inc = ipv6_addr_type(daddr)&IPV6_ADDR_MULTICAST; in ndisc_recv_ns()[all …]
10 EXPORT_SYMBOL(ipv6_addr_type);
106 int addr_type = ipv6_addr_type(&sk->net_pinfo.af_inet6.rcv_saddr); in udp_v6_get_port()122 …!(sk2->family == AF_INET6 ? (ipv6_addr_type(&sk2->net_pinfo.af_inet6.rcv_saddr) == IPV6_ADDR_MAPPE… in udp_v6_get_port()262 addr_type = ipv6_addr_type(&usin->sin6_addr); in udpv6_connect()455 if (ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL) { in udpv6_recvmsg()669 if (ipv6_addr_type(daddr) & IPV6_ADDR_MULTICAST) { in udpv6_rcv()837 ipv6_addr_type(daddr)&IPV6_ADDR_LINKLOCAL) in udpv6_sendmsg()848 addr_type = ipv6_addr_type(daddr); in udpv6_sendmsg()
250 addr_type = ipv6_addr_type(&addr->sin6_addr); in inet6_bind()399 if (ipv6_addr_type(&sk->net_pinfo.af_inet6.rcv_saddr) == IPV6_ADDR_ANY) in inet6_getname()410 if (ipv6_addr_type(&sin->sin6_addr) & IPV6_ADDR_LINKLOCAL) in inet6_getname()
280 addr_type = ipv6_addr_type(&hdr->daddr); in icmpv6_send()299 addr_type = ipv6_addr_type(&hdr->saddr); in icmpv6_send()386 if (ipv6_addr_type(saddr) & IPV6_ADDR_MULTICAST || in icmpv6_echo_reply()
86 int addr_type = ipv6_addr_type(loc_addr); in __raw_v6_lookup()198 addr_type = ipv6_addr_type(&addr->sin6_addr); in rawv6_bind()400 if (ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL) { in rawv6_recvmsg()577 ipv6_addr_type(daddr)&IPV6_ADDR_LINKLOCAL) in rawv6_sendmsg()
112 if (ipv6_addr_type(addr) & IPV6_ADDR_MULTICAST) in ipv6_sock_ac_join()174 } else if (!(ipv6_addr_type(addr) & IPV6_ADDR_ANYCAST) && in ipv6_sock_ac_join()
234 addr_type = ipv6_addr_type(&hdr->daddr); in ip6_mc_input()
144 if (ipv6_addr_type(&sin->sin6_addr) & IPV6_ADDR_LINKLOCAL) { in ipv6_recv_error()166 if (ipv6_addr_type(&sin->sin6_addr) & IPV6_ADDR_LINKLOCAL) { in ipv6_recv_error()
181 if (!(ipv6_addr_type(addr) & IPV6_ADDR_MULTICAST)) in ipv6_sock_mc_join()354 if (!(ipv6_addr_type(group) & IPV6_ADDR_MULTICAST)) in ip6_mc_source()467 if (!(ipv6_addr_type(group) & IPV6_ADDR_MULTICAST)) in ip6_mc_msfilter()542 if (!(ipv6_addr_type(group) & IPV6_ADDR_MULTICAST)) in ip6_mc_msfget()1039 if (!(ipv6_addr_type(&skb->nh.ipv6h->saddr)&IPV6_ADDR_LINKLOCAL)) in igmp6_event_query()1049 group_type = ipv6_addr_type(group); in igmp6_event_query()1159 addr_type = ipv6_addr_type(&skb->nh.ipv6h->saddr); in igmp6_event_report()
223 if ((ipv6_addr_type(&skb->nh.ipv6h->daddr)&IPV6_ADDR_MULTICAST) || in ipv6_routing_header()282 addr_type = ipv6_addr_type(addr); in ipv6_routing_header()
485 addr_type = ipv6_addr_type(addr6); in ipip6_tunnel_xmit()489 addr_type = ipv6_addr_type(addr6); in ipip6_tunnel_xmit()
144 int addr_type = ipv6_addr_type(&sk->net_pinfo.af_inet6.rcv_saddr); in tcp_v6_get_port()162 …!(sk2->family == AF_INET6 ? ipv6_addr_type(&sk2->net_pinfo.af_inet6.rcv_saddr) == IPV6_ADDR_MAPPED… in tcp_v6_get_port()589 addr_type = ipv6_addr_type(&usin->sin6_addr); in tcp_v6_connect()1223 if (!sk->bound_dev_if && ipv6_addr_type(&req->af.v6_req.rmt_addr)&IPV6_ADDR_LINKLOCAL) in tcp_v6_conn_request()1775 if (sk->bound_dev_if && ipv6_addr_type(&sin6->sin6_addr)&IPV6_ADDR_LINKLOCAL) in v6_addr2sockaddr()
440 strict = ipv6_addr_type(&skb->nh.ipv6h->daddr) & (IPV6_ADDR_MULTICAST|IPV6_ADDR_LINKLOCAL); in ip6_route_input()516 strict = ipv6_addr_type(fl->nl_u.ip6_u.daddr) & (IPV6_ADDR_MULTICAST|IPV6_ADDR_LINKLOCAL); in ip6_route_output()746 addr_type = ipv6_addr_type(&rtmsg->rtmsg_dst); in ip6_route_add()798 gwa_type = ipv6_addr_type(gw_addr); in ip6_route_add()
148 int ipv6_addr_type(const struct in6_addr *addr) in ipv6_addr_type() function969 addr_type = ipv6_addr_type(&pinfo->prefix); in addrconf_prefix_rcv()1124 if (!(ipv6_addr_type(&ireq.ifr6_addr) & IPV6_ADDR_COMPATv4)) in addrconf_set_dstaddr()1686 (ipv6_addr_type(&ifp->addr) & IPV6_ADDR_LINKLOCAL)) { in addrconf_dad_completed()
170 !(ipv6_addr_type(&np->daddr) & IPV6_ADDR_MAPPED)) { in ipv6_setsockopt()
330 addr_type = ipv6_addr_type(&freq->flr_dst); in fl_create()
796 } else if (ipv6_addr_type(&hdr->saddr)&(IPV6_ADDR_MULTICAST|IPV6_ADDR_LOOPBACK in ip6_forward()
182 if (ipv6_addr_type(fl.fl6_src) & IPV6_ADDR_LINKLOCAL) in sctp_v6_xmit()217 if (ipv6_addr_type(&daddr->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) in sctp_v6_get_dst()470 IPV6_ADDR_MAPPED == ipv6_addr_type(&addr2->v6.sin6_addr)) { in sctp_v6_cmp_addr()478 IPV6_ADDR_MAPPED == ipv6_addr_type(&addr1->v6.sin6_addr)) { in sctp_v6_cmp_addr()489 if (ipv6_addr_type(&addr1->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) { in sctp_v6_cmp_addr()511 type = ipv6_addr_type((struct in6_addr *)&addr->v6.sin6_addr); in sctp_v6_is_any()521 type = ipv6_addr_type(in6); in sctp_v6_available()547 int ret = ipv6_addr_type(&addr->v6.sin6_addr); in sctp_v6_addr_valid()738 if (ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL) in sctp_inet6_event_msgname()766 if (ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL) { in sctp_inet6_skb_msgname()[all …]
226 extern int ipv6_addr_type(const struct in6_addr *addr);230 return ipv6_addr_type(addr) & IPV6_ADDR_SCOPE_MASK; in ipv6_addr_scope()
720 addr_type = ipv6_addr_type(addr6); in ipgre_tunnel_xmit()724 addr_type = ipv6_addr_type(addr6); in ipgre_tunnel_xmit()