Home
last modified time | relevance | path

Searched refs:DIFF1970TO1601 (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_time.c116 const uint64_t DIFF1970TO1601 = 11644473600ULL; variable
141 if (nt_sec <= DIFF1970TO1601) { in smb_time_NT2local()
146 tsp->tv_sec = nt_sec - DIFF1970TO1601; in smb_time_NT2local()
168 nt_sec = tsp->tv_sec + DIFF1970TO1601; in smb_time_local2NT()
/titanic_50/usr/src/lib/libsmbfs/smb/
H A Dsubr.c238 static const uint64_t DIFF1970TO1601 = 11644473600ULL; variable
260 smb_time_server2local(nsec / 10000000 - DIFF1970TO1601, 0, tsp); in smb_time_NT2local()
270 *nsec = (((uint64_t)(seconds) & ~1) + DIFF1970TO1601) * in smb_time_local2NT()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_smb.c634 static const uint64_t DIFF1970TO1601 = 11644473600ULL; variable
654 if (nt_sec <= DIFF1970TO1601) { in format_nttime()
659 ux_sec = nt_sec - DIFF1970TO1601; in format_nttime()