Home
last modified time | relevance | path

Searched refs:ad_timestamp (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/lib/libnsl/rpc/
H A Dauth_des.c80 struct timeval ad_timestamp; /* timestamp sent */ member
262 (void) gettimeofday(&ad->ad_timestamp, NULL); in authdes_marshal()
263 ad->ad_timestamp.tv_sec += ad->ad_timediff.tv_sec; in authdes_marshal()
264 ad->ad_timestamp.tv_usec += ad->ad_timediff.tv_usec; in authdes_marshal()
265 while (ad->ad_timestamp.tv_usec >= USEC_PER_SEC) { in authdes_marshal()
266 ad->ad_timestamp.tv_usec -= USEC_PER_SEC; in authdes_marshal()
267 ad->ad_timestamp.tv_sec++; in authdes_marshal()
275 IXDR_PUT_INT32(ixdr, ad->ad_timestamp.tv_sec); in authdes_marshal()
276 IXDR_PUT_INT32(ixdr, ad->ad_timestamp.tv_usec); in authdes_marshal()
381 if (memcmp(&ad->ad_timestamp, &verf.adv_timestamp, in authdes_validate()
/titanic_41/usr/src/uts/common/rpc/sec/
H A Dauth_des.c97 struct timeval ad_timestamp; /* timestamp sent */ member
241 (void) gettimeofday(&ad->ad_timestamp, (struct timezone *)NULL); in authdes_marshal()
242 ad->ad_timestamp.tv_sec += ad->ad_timediff.tv_sec; in authdes_marshal()
243 ad->ad_timestamp.tv_usec += ad->ad_timediff.tv_usec; in authdes_marshal()
244 if (ad->ad_timestamp.tv_usec >= MILLION) { in authdes_marshal()
245 ad->ad_timestamp.tv_usec -= MILLION; in authdes_marshal()
246 ad->ad_timestamp.tv_sec += 1; in authdes_marshal()
254 IXDR_PUT_INT32(ixdr, ad->ad_timestamp.tv_sec); in authdes_marshal()
255 IXDR_PUT_INT32(ixdr, ad->ad_timestamp.tv_usec); in authdes_marshal()
356 if (bcmp((char *)&ad->ad_timestamp, (char *)&verf.adv_timestamp, in authdes_validate()