Home
last modified time | relevance | path

Searched refs:expiry (Results 1 – 24 of 24) sorted by relevance

/openbsd/usr.bin/ssh/
H A Dsrclimit.c54 time_t expiry; member
202 if (a->expiry != b->expiry) in penalty_expiry_cmp()
203 return a->expiry < b->expiry ? -1 : 1; in penalty_expiry_cmp()
216 if (penalty->expiry >= now) in expire_penalties()
275 if (penalty->expiry < now) { in srclimit_penalty_check_allow()
368 penalty->expiry = now + penalty_secs; in srclimit_penalise()
393 existing->expiry += penalty_secs; in srclimit_penalise()
394 if (existing->expiry - now > penalty_cfg.penalty_max) in srclimit_penalise()
395 existing->expiry = now + penalty_cfg.penalty_max; in srclimit_penalise()
423 if (p->expiry < now) in srclimit_penalty_info()
[all …]
H A Dchannels.c392 time_t expiry = 0, channel_expiry; in channel_get_expiry() local
395 expiry = sc->lastused + sc->global_deadline; in channel_get_expiry()
398 if (expiry == 0 || channel_expiry < expiry) in channel_get_expiry()
399 expiry = channel_expiry; in channel_get_expiry()
401 return expiry; in channel_get_expiry()
/openbsd/usr.sbin/unbound/cachedb/
H A Dcachedb.c388 uint64_t timestamp, expiry; in prep_data() local
439 expiry = htobe64(expiry); in prep_data()
447 sizeof(expiry)); in prep_data()
456 uint64_t expiry; in good_expiry_and_qinfo() local
458 if(sldns_buffer_limit(buf) < sizeof(expiry)) in good_expiry_and_qinfo()
461 &expiry, sizeof(expiry)); in good_expiry_and_qinfo()
462 expiry = be64toh(expiry); in good_expiry_and_qinfo()
468 if((time_t)expiry < *qstate->env->now && in good_expiry_and_qinfo()
521 uint64_t timestamp, expiry; in parse_data() local
528 sldns_buffer_read_at(buf, lim-sizeof(expiry), &expiry, sizeof(expiry)); in parse_data()
[all …]
/openbsd/sbin/isakmpd/
H A Dtransport.c261 int expiry, ok_to_drop_message; in transport_send_messages() local
344 expiry = msg->xmits * 2 + 5; in transport_send_messages()
345 expiration.tv_sec += expiry; in transport_send_messages()
350 msg, msg->xmits, expiry)); in transport_send_messages()
/openbsd/sbin/dhclient/
H A Ddhclient.c1432 when = ifi->expiry; in set_resend_timeout()
2669 uint32_t expiry; in lease_expiry() local
2672 expiry = 0; in lease_expiry()
2675 sizeof(expiry)); in lease_expiry()
2676 expiry = ntohl(expiry); in lease_expiry()
2677 if (expiry < 60) in lease_expiry()
2678 expiry = 60; in lease_expiry()
2680 expiry = lease->epoch + expiry - cur_time; in lease_expiry()
2682 return (expiry > 0) ? expiry : 0; in lease_expiry()
2694 renewal = expiry / 2; in lease_renewal()
[all …]
H A Dclparse.c88 uint32_t expiry; in init_config() local
129 expiry = htonl(43200); in init_config()
130 memcpy(option->data, &expiry, 4); in init_config()
H A Ddhcpd.h139 struct timespec expiry; member
/openbsd/gnu/usr.bin/perl/ext/Hash-Util-FieldHash/t/
H A D05_perlhook.t46 is( $counter, 2, "ref expiry triggers magic (weakref patch worked)");
50 # same, but overwrite weakref before expiry
59 is( $counter, 2, "ref expiry doesn't trigger after overwrite");
/openbsd/sys/net/
H A Dwg_cookie.c315 struct timespec expiry; in ratelimit_gc() local
333 getnanouptime(&expiry); in ratelimit_gc()
334 expiry.tv_sec -= ELEMENT_TIMEOUT; in ratelimit_gc()
338 if (timespeccmp(&r->r_last_time, &expiry, <)) { in ratelimit_gc()
/openbsd/usr.sbin/unbound/services/
H A Dauthzone.h277 time_t expiry; member
H A Dauthzone.c2032 xfr->expiry = sldns_read_uint32(d->rr_data[0]+(d->rr_len[0]-8)); in xfr_find_soa()
6821 *env->now >= xfr->lease_time + xfr->expiry) { in auth_xfer_timer()
6927 if(xfr->expiry < wait) in xfr_set_timeout()
6928 xfr->task_nextprobe->next_probe += xfr->expiry; in xfr_set_timeout()
6934 if(xfr->lease_time && xfr->lease_time+xfr->expiry < in xfr_set_timeout()
6936 xfr->lease_time+xfr->expiry > *env->now) in xfr_set_timeout()
6938 xfr->lease_time+xfr->expiry; in xfr_set_timeout()
7080 lock_protect(&xfr->lock, &xfr->expiry, sizeof(xfr->expiry)); in auth_xfer_new()
/openbsd/sbin/unwind/libunbound/services/
H A Dauthzone.h277 time_t expiry; member
H A Dauthzone.c2032 xfr->expiry = sldns_read_uint32(d->rr_data[0]+(d->rr_len[0]-8)); in xfr_find_soa()
6821 *env->now >= xfr->lease_time + xfr->expiry) { in auth_xfer_timer()
6927 if(xfr->expiry < wait) in xfr_set_timeout()
6928 xfr->task_nextprobe->next_probe += xfr->expiry; in xfr_set_timeout()
6934 if(xfr->lease_time && xfr->lease_time+xfr->expiry < in xfr_set_timeout()
6936 xfr->lease_time+xfr->expiry > *env->now) in xfr_set_timeout()
6938 xfr->lease_time+xfr->expiry; in xfr_set_timeout()
7080 lock_protect(&xfr->lock, &xfr->expiry, sizeof(xfr->expiry)); in auth_xfer_new()
/openbsd/usr.sbin/dhcpd/
H A Ddhcpd.h144 u_int32_t expiry, renewal, rebind; member
H A Ddhcp.c1153 putULong((unsigned char *)&state->expiry, offered_lease_time); in ack_lease()
1157 state->options[i]->value = (unsigned char *)&state->expiry; in ack_lease()
1158 state->options[i]->len = sizeof state->expiry; in ack_lease()
1159 state->options[i]->buf_size = sizeof state->expiry; in ack_lease()
/openbsd/sys/kern/
H A Dkern_event.c489 struct timespec expiry, now; in filt_timeradd() local
496 timespecsub(ts, &now, &expiry); in filt_timeradd()
498 timeout_add(to, tstohz(&expiry)); in filt_timeradd()
/openbsd/usr.sbin/nsd/doc/
H A DREADME13 3.4 ... Zone expiry of secondary zones
574 3.4 Zone expiry of secondary zones
H A DChangeLog3172 - zone expiry is communicated via the mmap, and not via the pipes,
4395 - Test for timeouts, including expiry, and expiry and zone updates.
4769 - fixed tpkg xfr_1 to have longer expiry times (from 0 and 3
/openbsd/sys/dev/pci/
H A Dif_iwx.c3226 struct timeval now, timeout, expiry; in iwx_rx_ba_session_expired() local
3235 timeradd(&rxba->last_rx, &timeout, &expiry); in iwx_rx_ba_session_expired()
3236 if (timercmp(&now, &expiry, <)) { in iwx_rx_ba_session_expired()
3296 struct timeval now, timeout, expiry; in iwx_reorder_timer_expired() local
3316 timeradd(&entries[index].reorder_time, &timeout, &expiry); in iwx_reorder_timer_expired()
3317 if (!cont && timercmp(&now, &expiry, <)) in iwx_reorder_timer_expired()
H A Dif_iwm.c3223 struct timeval now, timeout, expiry; in iwm_rx_ba_session_expired() local
3232 timeradd(&rxba->last_rx, &timeout, &expiry); in iwm_rx_ba_session_expired()
3233 if (timercmp(&now, &expiry, <)) { in iwm_rx_ba_session_expired()
3258 struct timeval now, timeout, expiry; in iwm_reorder_timer_expired() local
3278 timeradd(&entries[index].reorder_time, &timeout, &expiry); in iwm_reorder_timer_expired()
3279 if (!cont && timercmp(&now, &expiry, <)) in iwm_reorder_timer_expired()
/openbsd/usr.sbin/unbound/doc/
H A Dexample.conf.in721 # does not impact cache expiry, it only changes the TTL Unbound embeds in
H A DChangelog2448 warning in signature expiry RFC1982 serial number arithmetic.
3990 with backoff. Also time a refresh at the zone expiry.
/openbsd/gnu/usr.bin/perl/
H A DMANIFEST1675 cpan/Memoize/Memoize/Expire.pm Memoize expiry manager example
1683 cpan/Memoize/t/expmod_t.t Memoize expiry manager (timed) tests
4405 dist/Tie-File/t/20_cache_full.t LRU expiry exercises and regression for Tie::File
/openbsd/share/dict/
H A Dweb266973 expiry