Searched refs:ip_cache (Results 1 – 5 of 5) sorted by relevance
35 typedef struct ip_cache { struct38 struct ip_cache *next; argument39 } ip_cache; typedef41 static ip_cache *cache = NULL;53 static ip_cache *lookup_ip(char *ip) in lookup_ip()55 ip_cache *c; in lookup_ip()69 ip_cache *c; in reverse_lookup()
24 my %ip_cache;30 if($resolve_ips && !exists($ip_cache{$ip})) {33 $ip_cache{$ip} = "$name ($ip)";35 $ip_cache{$ip} = $ip;39 return $ip_cache{$ip} || $ip;
188 $ip_cache = $result->baseFetchRow();191 if ( $ip_cache == "" ) 206 if ($ip_cache[2] != "" && 207 ( ( (strtotime($ip_cache[2]) / 60) + $cache_lifetime ) >= ($current_unixtime / 60) ) )210 if ( ($ip_cache[2] != "") && ($ip_cache[2] != 0) )212 $tmp = $ip_cache[1];
1490 return $main::ip_cache{$host} if defined $main::ip_cache{$host};1495 $main::ip_cache{$host} = "$n1.$n2.$n3.$n4";1500 $main::ip_cache{$host} = $host;
5387 * int stream.ip_cache.idle_timeout = 180: maximum inactive time5389 * int stream.ip_cache.cap_weight = 0: additional bytes to track per10468 * int stream.ip_cache.cap_weight = 0: additional bytes to track per10470 * int stream.ip_cache.idle_timeout = 180: maximum inactive time