/titanic_44/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()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNS.c | 2413 if (m->SuppressProbes == 0 || m->SuppressProbes - m->timenow < 0) in InitializeLastAPTime() 2415 m->SuppressProbes = NonZeroTime(m->timenow + DefaultProbeIntervalForTypeUnique); in InitializeLastAPTime() 2427 rr->AnnounceUntil = m->timenow + TicksTTL(rr); in InitializeLastAPTime() 2431 rr->LastMCTime = m->timenow; in InitializeLastAPTime() 2651 m->NextScheduledResponse = m->timenow; in mDNS_Register_internal() 2686 m->ProbeFailTime = m->timenow; in RecordProbeFailure() 2697 m->SuppressProbes = NonZeroTime(m->timenow + mDNSPlatformOneSecond * 5); in RecordProbeFailure() 2802 if (m->NextScheduledResponse - (m->timenow + mDNSPlatformOneSecond/10) >= 0) in mDNS_Deregister_internal() 2803 m->NextScheduledResponse = (m->timenow + mDNSPlatformOneSecond/10); in mDNS_Deregister_internal() 3040 m->NextScheduledResponse = m->timenow + 0x78000000; in SendResponses() [all …]
|
H A D | DNSCommon.c | 1863 rr->TimeRcvd = m ? m->timenow : 0; in GetLargeResourceRecord() 1865 …rr->NextRequiredQuery = m ? m->timenow : 0; // Will be updated to the real value when we call Set… in GetLargeResourceRecord() 1866 rr->LastUsed = m ? m->timenow : 0; in GetLargeResourceRecord() 2116 if (m->timenow) in mDNS_Lock() 2117 LogMsg("mDNS_Lock: m->timenow already set (%ld/%ld)", m->timenow, mDNS_TimeNow_NoLock(m)); in mDNS_Lock() 2118 m->timenow = mDNS_TimeNow_NoLock(m); in mDNS_Lock() 2119 if (m->timenow == 0) m->timenow = 1; in mDNS_Lock() 2121 else if (m->timenow == 0) in mDNS_Lock() 2124 m->timenow = mDNS_TimeNow_NoLock(m); in mDNS_Lock() 2125 if (m->timenow == 0) m->timenow = 1; in mDNS_Lock() [all …]
|
H A D | uDNS.c | 856 if (m->mDNS_busy && m->timenow) return(m->timenow); in mDNSPlatformTimeNow() 2774 mDNSs32 timenow = mDNSPlatformTimeNow(m); in uDNS_ReceiveMsg() local 2794 if (timenow - (qptr->LastQTime + RESPONSE_WINDOW) > 0) in uDNS_ReceiveMsg() 2964 mDNSs32 timenow; in sendLLQRefresh() local 2966 timenow = mDNSPlatformTimeNow(m); in sendLLQRefresh() 2968 info->expire - timenow < 0) in sendLLQRefresh() 2994 q->LastQTime = timenow; in sendLLQRefresh() 3056 mDNSs32 timenow = mDNSPlatformTimeNow(m); in sendChallengeResponse() local 3063 info->retry = timenow + (kLLQ_DEF_RETRY * mDNSPlatformOneSecond); in sendChallengeResponse() 3078 q->LastQTime = timenow; in sendChallengeResponse() [all …]
|
H A D | mDNSEmbeddedAPI.h | 2140 mDNSs32 timenow; // The time that this particular activation of the mDNS code started member
|
/titanic_44/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()
|
/titanic_44/usr/src/cmd/fs.d/autofs/ |
H A D | autod_main.c | 103 time_t timenow; variable 379 if (ctime_r(&timenow, ctime_buf, CTIME_BUF_LEN) == NULL) in autofs_unmount_1_r() 411 if (ctime_r(&timenow, ctime_buf, CTIME_BUF_LEN) == NULL) in autofs_lookup_1_r() 453 if (ctime_r(&timenow, ctime_buf, CTIME_BUF_LEN) == NULL) in autofs_mntinfo_1_r() 723 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 | 2615 timenow = time(NULL); 2634 if (timenow > cachep->cache_time) { 2647 cp && (cp->cache_time >= timenow); 2714 timenow = time(NULL); 2750 cachep->cache_time = timenow + portmap_cache_valid_time; 3764 timenow = time(NULL); 3779 entry->cache_time = timenow + cache_time; 3798 timenow = time(NULL); 3811 if (timenow > ce->cache_time) { 3816 if (timenow > ce->cache_time) {
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | main.c | 1611 static struct timeval timenow; /* Current time */ variable 1636 (void) gettimeofday(&timenow, NULL); 1637 newp->c_time.tv_sec = timenow.tv_sec + time; 1638 newp->c_time.tv_usec = timenow.tv_usec; 1688 if (gettimeofday(&timenow, NULL) < 0) in calltimeout() 1690 if (!(p->c_time.tv_sec < timenow.tv_sec in calltimeout() 1691 || (p->c_time.tv_sec == timenow.tv_sec in calltimeout() 1692 && p->c_time.tv_usec <= timenow.tv_usec))) in calltimeout() 1713 (void) gettimeofday(&timenow, NULL); 1714 tvp->tv_sec = callout->c_time.tv_sec - timenow.tv_sec; [all …]
|
/titanic_44/usr/src/lib/libnsl/rpc/ |
H A D | svc.c | 1773 time_t timenow = time(NULL); in __svc_dup() local 1794 if ((dr = __svc_dupcache_victim(dc, timenow)) == NULL) in __svc_dup() 1797 if ((rc = __svc_dupcache_enter(req, dr, dc, drxid, drhash, timenow)) in __svc_dup() 1882 __svc_dupcache_victim(struct dupcache *dc, time_t timenow) in __svc_dupcache_victim() argument 1898 ((timenow - dr->dr_time) > dc->dc_time)) { in __svc_dupcache_victim() 1975 struct dupcache *dc, uint32_t drxid, uint32_t drhash, time_t timenow) in __svc_dupcache_enter() argument 1995 dr->dr_time = timenow; in __svc_dupcache_enter() 2067 time_t timenow = time(NULL); in __svc_dupcache_update() local 2104 dr->dr_time = timenow; in __svc_dupcache_update()
|
/titanic_44/usr/src/cmd/login/ |
H A D | login.c | 730 time_t timenow; in log_bad_attempts() local 735 (void) time(&timenow); in log_bad_attempts() 740 (void) strncat(log_entry[trys], ctime(&timenow), TIME_SIZE); in log_bad_attempts()
|