Searched refs:newrt (Results 1 – 2 of 2) sorted by relevance
981 rtentry_ref_t newrt = NULL; in rtalloc1_common_locked() local1026 newrt = rt; in rtalloc1_common_locked()1044 newrt = rt; in rtalloc1_common_locked()1066 if ((newrt->rt_flags & (RTF_HOST | RTF_LLINFO)) == in rtalloc1_common_locked()1072 def_key.ss_len = rt_key(newrt)->sa_len; in rtalloc1_common_locked()1073 def_key.ss_family = rt_key(newrt)->sa_family; in rtalloc1_common_locked()1076 0, 0, newrt->rt_ifp->if_index); in rtalloc1_common_locked()1079 if (sa_equal(rt_key(newrt), defrt->rt_gateway)) { in rtalloc1_common_locked()1080 newrt->rt_flags |= RTF_ROUTER; in rtalloc1_common_locked()1086 if ((rt = newrt) && (rt->rt_flags & RTF_XRESOLVE)) { in rtalloc1_common_locked()[all …]
927 struct rtentry *newrt __single = NULL; in defrouter_addreq()1027 rtflags, &newrt, ifscope); in defrouter_addreq()1029 if (newrt) { in defrouter_addreq()1030 RT_LOCK(newrt); in defrouter_addreq()1031 nd6_rtmsg(RTM_ADD, newrt); /* tell user process */ in defrouter_addreq()1032 RT_REMREF_LOCKED(newrt); in defrouter_addreq()1033 RT_UNLOCK(newrt); in defrouter_addreq()