/illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
H A D | replay.c | 56 #define STALE(ptr) ((abs((ptr)->timein - timenow) >= STALE_TIME) || \ 73 krb5_int32 timenow; in kdc_check_lookaside() local 77 if (krb5_timeofday(kdc_context, &timenow) || in kdc_check_lookaside() 126 krb5_int32 timenow; in kdc_insert_lookaside() local 129 if (krb5_timeofday(kdc_context, &timenow) || in kdc_insert_lookaside() 137 eptr->timein = timenow; in kdc_insert_lookaside()
|
H A D | kdc_preauth.c | 1254 krb5_timestamp timenow; in verify_enc_timestamp() local 1296 if ((retval = krb5_timeofday(context, &timenow)) != 0) in verify_enc_timestamp() 1299 if (labs(timenow - pa_enc->patimestamp) > context->clockskew) { in verify_enc_timestamp() 2258 krb5_timestamp timenow; in verify_sam_response() local 2310 if ((retval = krb5_timeofday(context, &timenow))) in verify_sam_response() 2322 if (timenow - psr->stime > rc_lifetime) { in verify_sam_response() 2367 if (labs(timenow - sr->sam_patimestamp) > context->clockskew) { in verify_sam_response()
|
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/ |
H A D | mDNS.c | 1036 if ((rr->LastAPTime + rr->ThisAPInterval) - m->timenow > mDNSPlatformOneSecond * 10) in SetNextAnnounceProbeTime() 1038 …xt in %d %s", rr->ProbeCount, (rr->LastAPTime + rr->ThisAPInterval) - m->timenow, ARDisplayString(… in SetNextAnnounceProbeTime() 1039 …ssProbes %d m->timenow %d diff %d", m->SuppressProbes, m->timenow, m->SuppressProbes - m->timenow); in SetNextAnnounceProbeTime() 1047 if (m->NextScheduledProbe - m->timenow < 0) in SetNextAnnounceProbeTime() 1048 m->NextScheduledProbe = m->timenow; in SetNextAnnounceProbeTime() 1077 if (m->SuppressProbes == 0 || m->SuppressProbes - m->timenow < 0) in InitializeLastAPTime() 1086 …m->SuppressProbes = NonZeroTime(m->timenow + DefaultProbeIntervalForTypeUnique/2 + mDNSRandom(Defa… in InitializeLastAPTime() 1091 …if (m->SuppressProbes - m->timenow < 0) // Make sure we don't set m->SuppressProbes excessivel… in InitializeLastAPTime() 1092 m->SuppressProbes = m->timenow; in InitializeLastAPTime() 1097 …if (m->SuppressProbes - m->timenow < 0) // Make sure we don't set m->SuppressProbes excessivel… in InitializeLastAPTime() [all …]
|
H A D | uDNS.c | 83 rr->LastAPTime = m->timenow; in SetRecordRetry() 87 mDNSs32 remaining = rr->expire - m->timenow; in SetRecordRetry() 97 …rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDispl… in SetRecordRetry() 103 …rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDispl… in SetRecordRetry() 293 q->qDNSServer->penaltyTime = NonZeroTime(m->timenow + DNSSERVER_PENALTY_TIME); in PenalizeDNSServer() 340 q->LastQTime = m->timenow - q->ThisQInterval; in PenalizeDNSServer() 403 if ((*p)->deltime && m->timenow - (*p)->deltime >= 0) in GetAuthInfoForName_internal() 506 m->retryGetAddr = NonZeroTime(m->timenow + FutureTime); in uDNS_RequestAddress() 509 else if (m->timenow - m->retryGetAddr >= 0) in uDNS_RequestAddress() 551 m->retryGetAddr = NonZeroTime(m->timenow + m->retryIntervalGetAddr); in uDNS_RequestAddress() [all …]
|
H A D | DNSCommon.c | 3171 rr->TimeRcvd = m ? m->timenow : 0; in GetLargeResourceRecord() 3173 …rr->NextRequiredQuery = m ? m->timenow : 0; // Will be updated to the real value when we call … in GetLargeResourceRecord() 3719 if (m->timenow) in mDNS_Lock_() 3720 …LogMsg("%s: mDNS_Lock: m->timenow already set (%ld/%ld)", functionname, m->timenow, mDNS_TimeNow_N… in mDNS_Lock_() 3721 m->timenow = mDNS_TimeNow_NoLock(m); in mDNS_Lock_() 3722 if (m->timenow == 0) m->timenow = 1; in mDNS_Lock_() 3724 else if (m->timenow == 0) in mDNS_Lock_() 3727 m->timenow = mDNS_TimeNow_NoLock(m); in mDNS_Lock_() 3728 if (m->timenow == 0) m->timenow = 1; in mDNS_Lock_() 3731 if (m->timenow_last - m->timenow > 0) in mDNS_Lock_() [all …]
|
H A D | mDNSEmbeddedAPI.h | 2191 …mDNSs32 timenow; // The time that this particular activation of the mDNS code s… member
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | netgroup.c | 222 time_t timenow = time(NULL); in cache_check() local 236 if (timenow > ce->cache_time) { in cache_check() 242 if (timenow > ce->cache_time) in cache_check()
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_main.c | 103 time_t timenow; variable 380 if (ctime_r(&timenow, ctime_buf, CTIME_BUF_LEN) == NULL) in autofs_unmount_1_r() 412 if (ctime_r(&timenow, ctime_buf, CTIME_BUF_LEN) == NULL) in autofs_lookup_1_r() 454 if (ctime_r(&timenow, ctime_buf, CTIME_BUF_LEN) == NULL) in autofs_mntinfo_1_r() 724 timenow = time((time_t *)NULL); in autofs_doorfunc()
|
H A D | automount.h | 250 extern time_t timenow; /* set at start of processing of each RPC call */
|
H A D | autod_nfs.c | 2549 timenow = time(NULL); in portmap_cache_lookup() 2568 if (timenow > cachep->cache_time) { in portmap_cache_lookup() 2581 cp && (cp->cache_time >= timenow); in portmap_cache_lookup() 2644 timenow = time(NULL); in portmap_cache_enter() 2680 cachep->cache_time = timenow + portmap_cache_valid_time; in portmap_cache_enter() 3682 timenow = time(NULL); in cache_enter() 3697 entry->cache_time = timenow + cache_time; in cache_enter() 3713 timenow = time(NULL); in cache_check() 3726 if (timenow > ce->cache_time) { in cache_check() 3731 if (timenow > ce->cache_time) { in cache_check()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | main.c | 1608 static struct timeval timenow; /* Current time */ variable 1633 (void) gettimeofday(&timenow, NULL); 1634 newp->c_time.tv_sec = timenow.tv_sec + time; 1635 newp->c_time.tv_usec = timenow.tv_usec; 1685 if (gettimeofday(&timenow, NULL) < 0) in calltimeout() 1687 if (!(p->c_time.tv_sec < timenow.tv_sec in calltimeout() 1688 || (p->c_time.tv_sec == timenow.tv_sec in calltimeout() 1689 && p->c_time.tv_usec <= timenow.tv_usec))) in calltimeout() 1710 (void) gettimeofday(&timenow, NULL); 1711 tvp->tv_sec = callout->c_time.tv_sec - timenow.tv_sec; [all …]
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | svc.c | 1776 time_t timenow = time(NULL); in __svc_dup() local 1797 if ((dr = __svc_dupcache_victim(dc, timenow)) == NULL) in __svc_dup() 1800 if ((rc = __svc_dupcache_enter(req, dr, dc, drxid, drhash, timenow)) in __svc_dup() 1885 __svc_dupcache_victim(struct dupcache *dc, time_t timenow) in __svc_dupcache_victim() argument 1901 ((timenow - dr->dr_time) > dc->dc_time)) { in __svc_dupcache_victim() 1978 struct dupcache *dc, uint32_t drxid, uint32_t drhash, time_t timenow) in __svc_dupcache_enter() argument 1998 dr->dr_time = timenow; in __svc_dupcache_enter() 2070 time_t timenow = time(NULL); in __svc_dupcache_update() local 2107 dr->dr_time = timenow; in __svc_dupcache_update()
|
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/ |
H A D | PlatformCommon.c | 293 …mDNSs32 t = mDNSStorage.timenow ? mDNSStorage.timenow : mDNSPlatformClockDivisor ? mDNS_TimeNow_No… in mDNSPlatformWriteLogMsg()
|
H A D | ClientRequests.c | 696 time = m->timenow; in GetTimeNow()
|
/illumos-gate/usr/src/cmd/login/ |
H A D | login.c | 732 time_t timenow; in log_bad_attempts() local 737 (void) time(&timenow); in log_bad_attempts() 742 (void) strncat(log_entry[trys], ctime(&timenow), TIME_SIZE); in log_bad_attempts()
|