Searched refs:targetip (Results 1 – 1 of 1) sorted by relevance
261 char *netmask, *targetip; in setroute() local271 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() local359 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()