• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/

Lines Matching refs:ro

165 	struct route_in6 *ro,
401 (ip6->ip6_dst.s6_addr16[1] == 0) && (ro != NULL)) {
403 ip6->ip6_dst.s6_addr16[1] = htons(ro->ro_dst.sin6_scope_id);
544 if (ro == 0) {
545 ro = &ip6route;
546 bzero((caddr_t)ro, sizeof(*ro));
548 ro_pmtu = ro;
550 ro = &opt->ip6po_route;
551 dst = (struct sockaddr_in6 *)&ro->ro_dst;
557 if (ro->ro_rt && ((ro->ro_rt->rt_flags & RTF_UP) == 0 ||
560 ro->ro_rt->generation_id != route_generation)) {
561 rtfree(ro->ro_rt);
562 ro->ro_rt = (struct rtentry *)0;
564 if (ro->ro_rt == 0) {
593 state.ro = (struct route *)ro;
601 ro = (struct route_in6 *)state.ro;
640 if (ro->ro_rt == 0) {
645 rtalloc_ign_locked((struct route *)ro, 0UL);
647 if (ro->ro_rt == 0) {
654 ia = ifatoia6(ro->ro_rt->rt_ifa);
655 ifp = ro->ro_rt->rt_ifp;
656 ro->ro_rt->rt_use++;
657 if (ro->ro_rt->rt_flags & RTF_GATEWAY)
658 dst = (struct sockaddr_in6 *)ro->ro_rt->rt_gateway;
741 if (ro->ro_rt == 0) {
742 ro->ro_rt = rtalloc1_locked(
743 (struct sockaddr *)&ro->ro_dst, 0, 0UL);
745 if (ro->ro_rt == 0) {
752 ia = ifatoia6(ro->ro_rt->rt_ifa);
753 ifp = ro->ro_rt->rt_ifp;
754 ro->ro_rt->rt_use++;
826 if (ro_pmtu != ro) {
830 if (ro_pmtu->ro_rt && ((ro->ro_rt->rt_flags & RTF_UP) == 0 ||
1007 error = nd6_output(ifp, origifp, m, dst, ro->ro_rt, 1);
1143 error = nd6_output(ifp, origifp, m, dst, ro->ro_rt, 1);
1155 if (ro == &ip6route && ro->ro_rt) { /* brace necessary for rtfree */
1156 rtfree(ro->ro_rt);
1157 ro->ro_rt = NULL;
1989 struct route_in6 ro;
2166 ro.ro_rt = NULL;
2167 dst = (struct sockaddr_in6 *)&ro.ro_dst;
2172 rtalloc((struct route *)&ro);
2173 if (ro.ro_rt == NULL) {
2177 ifp = ro.ro_rt->rt_ifp;
2178 rtfree(ro.ro_rt);
2179 ro.ro_rt = NULL;