Lines Matching refs:hostname
128 my (@buffer, $child, $ip, $rest, $hostname, $response);
153 ($ip, $hostname) = split(/\|/, $response, 2);
154 $hash{$ip} = $hostname;
161 # separate IP from rest and replace with cached hostname
189 # parent.. 1 line in (IP address), 1 line out (IP + hostname).
202 # perform a time restricted hostname lookup.
206 my $hostname = undef;
208 # do the hostname lookup inside an eval. The eval will use the
213 $hostname = gethostbyaddr(gethostbyname($ip), AF_INET);
221 # return the hostname or the IP address itself if there is no hostname
222 $hostname ne "" ? $hostname : $ip;