Home
last modified time | relevance | path

Searched refs:newrt (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Droute.c1791 rtcmd_irep_t *newrt; in newroute() local
1795 #define hp (newrt->ri_gate_hp) in newroute()
1797 newrt = new_rtcmd_irep(); in newroute()
1798 (void) args_to_rtcmd(newrt, argv, NULL); in newroute()
1800 if (newrt->ri_cmd != RTM_GET && !tflag) { in newroute()
1804 if (newrt->ri_addrs & RTA_IFP) { in newroute()
1805 newrt->ri_ifp.sdl.sdl_index = if_nametoindex(newrt->ri_ifp_str); in newroute()
1806 if (newrt->ri_ifp.sdl.sdl_index == 0) { in newroute()
1812 newrt->ri_ifp_str); in newroute()
1816 newrt->ri_ifp.sdl.sdl_family = AF_LINK; in newroute()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/oclo/
H A Doclo.c152 size_t newrt = oclo_rtdata_nents + 8; in oclo_record() local
154 rt = recallocarray(oclo_rtdata, oclo_rtdata_nents, newrt, in oclo_record()
158 "expanding fd records to %zu entries", newrt); in oclo_record()
161 oclo_rtdata_nents = newrt; in oclo_record()