Home
last modified time | relevance | path

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

/nss/
A Dtest-netdb.c142 struct in_addr ip; in test_hosts() local
193 ip.s_addr = htonl (INADDR_LOOPBACK); in test_hosts()
194 hptr1 = gethostbyaddr ((char *) &ip, sizeof (ip), AF_INET); in test_hosts()
221 struct in_addr ip; in output_netent() local
223 ip.s_addr = htonl(nptr->n_net); in output_netent()
225 call, nptr->n_name, inet_ntoa (ip)); in output_netent()
236 uint32_t ip; in test_network() local
248 ip = inet_network ("127.0.0.0"); in test_network()
249 nptr = getnetbyaddr (ip, AF_INET); in test_network()
A Dgetent.c278 const char *ip = inet_ntop (host->h_addrtype, host->h_addr_list[cnt], in print_hosts() local
281 printf ("%-15s %s", ip, host->h_name); in print_hosts()
558 struct in_addr ip; in print_networks() local
559 ip.s_addr = htonl (net->n_net); in print_networks()
561 printf ("%-21s %s", net->n_name, inet_ntoa (ip)); in print_networks()

Completed in 6 milliseconds