/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/dnsmasq/ |
H A D | dhcp.c | 21 struct in_addr host_address, time_t ttd, int flags); 26 time_t ttd, tts; local 50 ttd = tts = (time_t)(-1); 101 ttd = time; 110 if (ttd == (time_t)(-1)) 116 /* We use -1 as infinite in ttd */ 117 if ((tts != -1) && (ttd == tts - 1)) 118 ttd = (time_t)(-1); 119 else if (ttd < now) 131 process_lease(&spares, hostname, host_address, ttd, F_REVERS 204 process_lease(struct crec **empty_cache, char *host_name, struct in_addr host_address, time_t ttd, int flags) argument [all...] |
H A D | cache.c | 159 (crecp->ttd < now) && !(crecp->flags & F_IMMORTAL)) 272 new->ttd = ttl + now; 301 if ((crecp->flags & F_IMMORTAL) || crecp->ttd > now) 354 if ((crecp->flags & F_IMMORTAL) || crecp->ttd > now) 524 cache->flags & F_IMMORTAL ? "\n" : ctime(&(cache->ttd))) ;
|
H A D | dnsmasq.h | 71 time_t ttd; /* time to die */ member in struct:crec
|
H A D | rfc1035.c | 547 unsigned long ttl = (crecp->flags & F_IMMORTAL) ? 0 : crecp->ttd - now; 597 unsigned long ttl = (crecp->flags & F_IMMORTAL) ? 0 : crecp->ttd - now; 646 unsigned long ttl = (crecp->flags & F_IMMORTAL) ? 0 : crecp->ttd - now;
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/dnsmasq-2.15/src/ |
H A D | isc.c | 62 time_t ttd, tts; local 103 ttd = tts = (time_t)(-1); 159 ttd = time; 168 if (ttd == (time_t)(-1)) 171 /* We use 0 as infinite in ttd */ 172 if ((tts != -1) && (ttd == tts - 1)) 173 ttd = (time_t)0; 174 else if (difftime(now, ttd) > 0) 194 lease->expires = ttd; 201 lease->expires = ttd; [all...] |
H A D | cache.c | 156 if ((!(crecp->flags & F_IMMORTAL) && difftime(now, crecp->ttd) > 0) || 179 if ((!(crecp->flags & F_IMMORTAL) && difftime(now, crecp->ttd) > 0) || 310 new->ttd = now + (time_t)ttl; 348 if ((crecp->flags & F_IMMORTAL) || difftime(now, crecp->ttd) < 0) 429 if ((crecp->flags & F_IMMORTAL) || difftime(now, crecp->ttd) < 0) 644 void cache_add_dhcp_entry(char *host_name, struct in_addr *host_address, time_t ttd) argument 695 if (ttd == 0) 698 crec->ttd = ttd; 754 cache->flags & F_IMMORTAL ? 0: (unsigned long)cache->ttd) ; [all...] |
H A D | dnsmasq.h | 133 time_t ttd; /* time to die */ member in struct:crec 399 void cache_add_dhcp_entry(char *host_name, struct in_addr *host_address, time_t ttd);
|
H A D | rfc1035.c | 994 ttl = crecp->ttd - now; 1060 ttl = crecp->ttd - now;
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/dnsmasq-2.33/src/ |
H A D | isc.c | 65 time_t ttd, tts; local 100 ttd = tts = (time_t)(-1); 154 ttd = time; 163 if (ttd == (time_t)(-1)) 166 /* We use 0 as infinite in ttd */ 167 if ((tts != -1) && (ttd == tts - 1)) 168 ttd = (time_t)0; 169 else if (difftime(now, ttd) > 0) 187 lease->expires = ttd; 194 lease->expires = ttd; [all...] |
H A D | cache.c | 169 if (difftime(now, crecp->ttd) < 0) 373 new->ttd = now + (time_t)ttl; 712 struct in_addr *host_address, time_t ttd) 756 if (ttd == 0) 759 crec->ttd = ttd; 821 cache->flags & F_IMMORTAL ? 0: (unsigned long)(cache->ttd - now) 823 cache->flags & F_IMMORTAL ? "\n" : ctime(&(cache->ttd)) 711 cache_add_dhcp_entry(struct daemon *daemon, char *host_name, struct in_addr *host_address, time_t ttd) argument
|
H A D | dnsmasq.h | 155 time_t ttd; /* time to die */ member in struct:crec 491 void cache_add_dhcp_entry(struct daemon *daemon, char *host_name, struct in_addr *host_address, time_t ttd);
|
H A D | rfc1035.c | 1112 ttl = crecp->ttd - now; 1186 if (add_resource_record(header, limit, &trunc, nameoffset, &ansp, crecp->ttd - now, &nameoffset, 1224 ttl = crecp->ttd - now; 1351 ttl = crecp->ttd - now;
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/ipv6/ |
H A D | ip6_flowlabel.c | 101 unsigned long ttd = fl->lastuse + fl->linger; local 102 if (time_after(ttd, fl->expires)) 103 fl->expires = ttd; 104 ttd = fl->expires; 111 time_after(ip6_fl_gc_timer.expires, ttd)) 112 mod_timer(&ip6_fl_gc_timer, ttd); 131 unsigned long ttd = fl->lastuse + fl->linger; local 132 if (time_after(ttd, fl->expires)) 133 fl->expires = ttd; 134 ttd [all...] |
H A D | tcp_ipv6.c | 1954 int ttd = req->expires - jiffies; local 1958 if (ttd < 0) 1959 ttd = 0; 1974 jiffies_to_clock_t(ttd), 2043 int ttd = tw->tw_ttd - jiffies; local 2045 if (ttd < 0) 2046 ttd = 0; 2062 3, jiffies_to_clock_t(ttd), 0, 0, 0, 0,
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/ipv4/ |
H A D | tcp_ipv4.c | 2287 int ttd = req->expires - jiffies; local 2299 jiffies_to_clock_t(ttd), 2359 int ttd = tw->tw_ttd - jiffies; local 2361 if (ttd < 0) 2362 ttd = 0; 2372 3, jiffies_to_clock_t(ttd), 0, 0, 0, 0,
|