Searched refs:targetip (Results 1 – 1 of 1) sorted by relevance
294 char *netmask = NULL, *targetip; in setroute() local304 targetip = *argv++; in setroute()306 is_prefix((char **)&targetip, (char **)&netmask, &rt); in setroute()307 if ((is_net_or_host = get_hostname(targetip, in setroute()309 perror_exit("resolving '%s'", targetip); in setroute()388 char *targetip; in setroute_inet6() local394 targetip = *argv++; in setroute_inet6()398 if (!strcmp(targetip, "default")) { in setroute_inet6()402 is_prefix_inet6((char **)&targetip, &rt); in setroute_inet6()403 if (get_addrinfo(targetip, (struct sockaddr_in6 *) &sock_in6)) in setroute_inet6()[all …]