Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Droute.c261 char *netmask, *targetip; in setroute() local
271 targetip = *argv++; in setroute()
273 netmask = strchr(targetip, '/'); in setroute()
283 is_net_or_host = get_hostname(targetip, (void *)&rt.rt_dst); in setroute()
353 char *targetip, *dev_name = 0; in setroute_inet6() local
359 targetip = *argv++; in setroute_inet6()
362 if (!strcmp(targetip, "default")) { in setroute_inet6()
366 is_prefix_inet6((char **)&targetip, &rt); in setroute_inet6()
367 if (get_addrinfo(targetip, (struct sockaddr_in6 *) &sock_in6)) in setroute_inet6()
368 perror_exit("resolving '%s'", targetip); in setroute_inet6()