Searched refs:newrt (Results 1 – 2 of 2) sorted by relevance
| /xnu-8020.101.4/bsd/net/ |
| H A D | route.c | 974 struct rtentry *rt, *newrt = NULL; in rtalloc1_common_locked() local 1019 newrt = rt; in rtalloc1_common_locked() 1029 err = rtrequest_locked(RTM_RESOLVE, dst, NULL, NULL, 0, &newrt); in rtalloc1_common_locked() 1037 newrt = rt; in rtalloc1_common_locked() 1059 if ((newrt->rt_flags & (RTF_HOST | RTF_LLINFO)) == in rtalloc1_common_locked() 1065 def_key.ss_len = rt_key(newrt)->sa_len; in rtalloc1_common_locked() 1066 def_key.ss_family = rt_key(newrt)->sa_family; in rtalloc1_common_locked() 1069 0, 0, newrt->rt_ifp->if_index); in rtalloc1_common_locked() 1072 if (equal(rt_key(newrt), defrt->rt_gateway)) { in rtalloc1_common_locked() 1073 newrt->rt_flags |= RTF_ROUTER; in rtalloc1_common_locked() [all …]
|
| /xnu-8020.101.4/bsd/netinet6/ |
| H A D | nd6_rtr.c | 903 struct rtentry *newrt = NULL; in defrouter_addreq() local 1004 rtflags, &newrt, ifscope); in defrouter_addreq() 1006 if (newrt) { in defrouter_addreq() 1007 RT_LOCK(newrt); in defrouter_addreq() 1008 nd6_rtmsg(RTM_ADD, newrt); /* tell user process */ in defrouter_addreq() 1009 RT_REMREF_LOCKED(newrt); in defrouter_addreq() 1010 RT_UNLOCK(newrt); in defrouter_addreq()
|