/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; local 77 if (krb5_timeofday(kdc_context, &timenow) || 126 krb5_int32 timenow; local 129 if (krb5_timeofday(kdc_context, &timenow) || 137 eptr->timein = timenow;
|
H A D | kdc_preauth.c | 1254 krb5_timestamp timenow; local 1296 if ((retval = krb5_timeofday(context, &timenow)) != 0) 1299 if (labs(timenow - pa_enc->patimestamp) > context->clockskew) { 2258 krb5_timestamp timenow; local 2310 if ((retval = krb5_timeofday(context, &timenow))) 2322 if (timenow - psr->stime > rc_lifetime) { 2367 if (labs(timenow - sr->sam_patimestamp) > context->clockskew) {
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | netgroup.c | 222 time_t timenow = time(NULL); local 236 if (timenow > ce->cache_time) { 242 if (timenow > ce->cache_time)
|
/illumos-gate/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) 411 if (ctime_r(&timenow, ctime_buf, CTIME_BUF_LEN) == NULL) 453 if (ctime_r(&timenow, ctime_buf, CTIME_BUF_LEN) == NULL) 723 timenow = time((time_t *)NULL);
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | svc.c | 1772 time_t timenow = time(NULL); local 1793 if ((dr = __svc_dupcache_victim(dc, timenow)) == NULL) 1796 if ((rc = __svc_dupcache_enter(req, dr, dc, drxid, drhash, timenow)) 1877 * __svc_dupcache_victim(struct dupcache *dc, time_t timenow) 1881 __svc_dupcache_victim(struct dupcache *dc, time_t timenow) argument 1897 ((timenow - dr->dr_time) > dc->dc_time)) { 1969 * struct dupcache *dc, uint32_t drxid, uint32_t drhash, time_t timenow) 1974 struct dupcache *dc, uint32_t drxid, uint32_t drhash, time_t timenow) 1994 dr->dr_time = timenow; 2066 time_t timenow local 1973 __svc_dupcache_enter(struct svc_req *req, struct dupreq *dr, struct dupcache *dc, uint32_t drxid, uint32_t drhash, time_t timenow) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | main.c | 1611 static struct timeval timenow; /* Current time */ variable in typeref:struct:timeval 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) 1690 if (!(p->c_time.tv_sec < timenow.tv_sec 1691 || (p->c_time.tv_sec == timenow.tv_sec 1692 && p->c_time.tv_usec <= timenow.tv_usec))) 1713 (void) gettimeofday(&timenow, NULL); 1714 tvp->tv_sec = callout->c_time.tv_sec - timenow [all...] |
/illumos-gate/usr/src/cmd/login/ |
H A D | login.c | 730 time_t timenow; local 735 (void) time(&timenow); 740 (void) strncat(log_entry[trys], ctime(&timenow), TIME_SIZE);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNS.c | 803 if ((rr->LastAPTime + rr->ThisAPInterval) - m->timenow > mDNSPlatformOneSecond * 10) 805 LogMsg("SetNextAnnounceProbeTime: ProbeCount %d Next in %d %s", rr->ProbeCount, (rr->LastAPTime + rr->ThisAPInterval) - m->timenow, ARDisplayString(m, rr)); 806 LogMsg("SetNextAnnounceProbeTime: m->SuppressProbes %d m->timenow %d diff %d", m->SuppressProbes, m->timenow, m->SuppressProbes - m->timenow); 814 if (m->NextScheduledProbe - m->timenow < 0) 815 m->NextScheduledProbe = m->timenow; 843 if (m->SuppressProbes == 0 || m->SuppressProbes - m->timenow < 0) 851 m->SuppressProbes = NonZeroTime(m->timenow + DefaultProbeIntervalForTypeUnique/2 + mDNSRandom(DefaultProbeIntervalForTypeUnique/2)); 856 if (m->SuppressProbes - m->timenow < 14229 mDNSs32 timenow; local [all...] |
H A D | mDNSEmbeddedAPI.h | 1251 // if m->timenow < ExpiryTime then we have an active mapping, and we'll renew halfway to expiry 1252 // if m->timenow >= ExpiryTime then our mapping has expired, and we're trying to create one 2315 mDNSs32 timenow; // The time that this particular activation of the mDNS code started member in struct:mDNS_struct 3093 // Code that's protected by the main mDNS lock should just use the m->timenow value
|