Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/ipv6/
Dndisc.c264 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 …]
Dipv6_syms.c10 EXPORT_SYMBOL(ipv6_addr_type);
Dudp.c106 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()
Daf_inet6.c250 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()
Dicmp.c280 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()
Draw.c86 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()
Danycast.c112 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()
Dip6_input.c234 addr_type = ipv6_addr_type(&hdr->daddr); in ip6_mc_input()
Ddatagram.c144 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()
Dmcast.c181 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()
Dexthdrs.c223 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()
Dsit.c485 addr_type = ipv6_addr_type(addr6); in ipip6_tunnel_xmit()
489 addr_type = ipv6_addr_type(addr6); in ipip6_tunnel_xmit()
Dtcp_ipv6.c144 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()
Droute.c440 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()
Daddrconf.c148 int ipv6_addr_type(const struct in6_addr *addr) in ipv6_addr_type() function
969 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()
Dipv6_sockglue.c170 !(ipv6_addr_type(&np->daddr) & IPV6_ADDR_MAPPED)) { in ipv6_setsockopt()
Dip6_flowlabel.c330 addr_type = ipv6_addr_type(&freq->flr_dst); in fl_create()
Dip6_output.c796 } else if (ipv6_addr_type(&hdr->saddr)&(IPV6_ADDR_MULTICAST|IPV6_ADDR_LOOPBACK in ip6_forward()
/linux-2.4.37.9/net/sctp/
Dipv6.c182 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 …]
/linux-2.4.37.9/include/net/
Dipv6.h226 extern int ipv6_addr_type(const struct in6_addr *addr);
230 return ipv6_addr_type(addr) & IPV6_ADDR_SCOPE_MASK; in ipv6_addr_scope()
/linux-2.4.37.9/net/ipv4/
Dip_gre.c720 addr_type = ipv6_addr_type(addr6); in ipgre_tunnel_xmit()
724 addr_type = ipv6_addr_type(addr6); in ipgre_tunnel_xmit()