Searched defs:fudge (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dsigning.c195 int err, fudge; local
247 for (fudge = 1; fudge <= nsmb_signing_fudge; fudge++) {
248 (void) smb_compute_MAC(ctx, m, rseqno + fudge, sigbuf);
251 (void) smb_compute_MAC(ctx, m, rseqno - fudge, sigbuf);
253 fudge = -fudge;
257 if (fudge <= nsmb_signing_fudge) {
259 rseqno, rseqno + fudge);
[all...]
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_sign.c240 int fudge, rsn, status; local
294 for (fudge = 1; fudge <= nsmb_signing_fudge; fudge++) {
295 (void) smb_compute_MAC(vcp, mp, rsn + fudge, sigbuf);
298 (void) smb_compute_MAC(vcp, mp, rsn - fudge, sigbuf);
300 fudge = -fudge;
304 if (fudge <= nsmb_signing_fudge) {
306 rqp->sr_mid, rsn, rsn + fudge);
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_verify.c148 u_int16_t fudge, sigfieldlen, otherfieldlen; local
189 /* Read the time signed and fudge. */
193 GETSHORT(fudge, cp);
275 /* Digest the time signed and fudge. */
308 if (abs((*timesigned) - time(NULL)) > fudge)
350 int n, type, length, fudge, error; local
421 /* Read the time signed and fudge. */
425 GETSHORT(fudge, cp);
452 /* Digest the time signed and fudge. */
473 if (abs(timesigned - time(NULL)) > fudge)
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dbufmod.c276 #define SNIT_HIWAT(msgsize, fudge) ((4 * msgsize * fudge) + 512)
277 #define SNIT_LOWAT(msgsize, fudge) ((2 * msgsize * fudge) + 256)
375 int fudge; local
382 fudge = snap <= 100 ? 4 :
385 sop->so_hiwat = SNIT_HIWAT(snap, fudge);
386 sop->so_lowat = SNIT_LOWAT(snap, fudge);
815 int fudge; local
822 fudge
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DDNSDigest.c1376 // 300 sec is fudge recommended in RFC 2485
1431 mDNSu16 fudge; local
1474 fudge = NToH16(ptr);
1480 if (delta > fudge)
1482 LogMsg("ERROR: DNSDigest_VerifyMessage - time skew > %d", fudge);
1526 buf = mDNSOpaque16fromIntVal(fudge);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddmu_tx.c1161 uint64_t towrite, tofree, tooverwrite, tounref, tohold, fudge; local
1200 towrite = tofree = tooverwrite = tounref = tohold = fudge = 0;
1222 fudge += refcount_count(&txh->txh_fudge);
1248 * XXX - the "fudge" factor is to account for skipped blocks that
1252 spa_get_asize(tx->tx_pool->dp_spa, tohold + fudge);
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_dyndns.c811 int signtime, fudge, rec_len; local
840 fudge = tp.tv_sec << 16;
841 fudge |= fudge_time;
842 *ptr = dyndns_put_nlong(*ptr, fudge); /* fudge time */
1347 * fields included. An error time of 300 seconds is used for fudge time. This
1399 * request message encrypted. An error time of 300 seconds is used for fudge

Completed in 81 milliseconds