Searched refs:targetip (Results 1 – 1 of 1) sorted by relevance
256 char *netmask = NULL, *targetip; in setroute() local266 targetip = *argv++; in setroute()268 is_prefix((char **)&targetip, (char **)&netmask, &rt); in setroute()269 if ((is_net_or_host = get_hostname(targetip, in setroute()271 perror_exit("resolving '%s'", targetip); in setroute()340 char *targetip, *dev_name = 0; in setroute_inet6() local346 targetip = *argv++; in setroute_inet6()349 if (!strcmp(targetip, "default")) { in setroute_inet6()353 is_prefix_inet6((char **)&targetip, &rt); in setroute_inet6()354 if (get_addrinfo(targetip, (struct sockaddr_in6 *) &sock_in6)) in setroute_inet6()[all …]