Searched refs:get_addrinfo (Results 1 – 2 of 2) sorted by relevance
79 static int get_addrinfo(char *ip, struct sockaddr_in6 *sock_in6) in get_addrinfo() function362 if (!get_addrinfo(*argv, (struct sockaddr_in6 *) &sock_in6)) { in get_next_params_inet6()403 if (get_addrinfo(targetip, (struct sockaddr_in6 *) &sock_in6)) in setroute_inet6()
61 int get_addrinfo(char *host, sa_family_t af, void *addr)455 plen = get_addrinfo(argv[1], AF_INET6, &ifre6.addr); in ifconfig_main()495 else mask = get_addrinfo(*argv, AF_INET, &si->sin_addr); in ifconfig_main()