Commit Diff
Diff:
54f6b64563368fb31c5a1ce93f96ee5886584c40
26a7272464db1ebf3cb69c1c3c01f51f71cd8269
Commit:
26a7272464db1ebf3cb69c1c3c01f51f71cd8269
Tree:
74ed215e1016e8642c1923fbd530d30e63adb4ec
Author:
pjp <pjp@delphinusdns.org>
Committer:
pjp <pjp@delphinusdns.org>
Date:
Tue Jul 14 07:00:18 2020 UTC
Message:
some offset counters
blob - acb7d0e7666b5fcc9bfd3fdc4e96ab6dc9a33689
blob + 885300cbdde79cd1cb062ad089df437438cc3efc
--- ddd-db.h
+++ ddd-db.h
@@ -27,7 +27,7 @@
*/
/*
- * $Id: ddd-db.h,v 1.44 2020/07/12 20:23:37 pjp Exp $
+ * $Id: ddd-db.h,v 1.45 2020/07/14 07:00:18 pjp Exp $
*/
#ifndef _DB_H
@@ -507,14 +507,14 @@ struct rr_imsg {
}; /* end of struct rr_imsg */
struct fwdpq {
- int read;
- int rc;
- int istcp;
- int cache;
- int tsigcheck;
- struct tsig tsig;
- char mac[32];
- int buflen;
+ int read; /* 4 */
+ int rc; /* 8 */
+ int istcp; /* 12 */
+ int cache; /* 16 */
+ int tsigcheck; /* 20 */
+ struct tsig tsig; /* 600 */
+ char mac[32]; /* 632 */
+ int buflen; /* 636 */
char buf[16384];
};
blob - 34c1f863698888f1a323decf8f5d815fe231065f
blob + a9c5b9e1213e24eda3104a5777bfb65ee43d00ba
--- ddd-dns.h
+++ ddd-dns.h
@@ -27,7 +27,7 @@
*/
/*
- * $Id: ddd-dns.h,v 1.22 2020/07/12 14:44:52 pjp Exp $
+ * $Id: ddd-dns.h,v 1.23 2020/07/14 07:00:18 pjp Exp $
*/
#ifndef _DNS_H
@@ -243,18 +243,18 @@ struct dns_question_hdr {
#define DNS_TLSA_SIZE_SHA512 64 /* RFC 6698 */
struct tsig {
- int have_tsig;
- int tsigverified;
- int tsigerrorcode;
- char tsigalg[DNS_MAXNAME];
- int tsigalglen;
- char tsigkey[DNS_MAXNAME];
- int tsigkeylen;
- char tsigmac[32];
- int tsigmaclen;
- u_int64_t tsig_timefudge;
- u_int16_t tsigorigid;
- int tsigoffset;
+ int have_tsig; /* 4 */
+ int tsigverified; /* 8 */
+ int tsigerrorcode; /* 12 */
+ char tsigalg[DNS_MAXNAME]; /* 267 */
+ int tsigalglen; /* 271 */
+ char tsigkey[DNS_MAXNAME]; /* 526 */
+ int tsigkeylen; /* 530 */
+ char tsigmac[32]; /* 562 */
+ int tsigmaclen; /* 566 */
+ u_int64_t tsig_timefudge; /* 574 */
+ u_int16_t tsigorigid; /* 576 */
+ int tsigoffset; /* 580 */
};
#define DEFAULT_TSIG_FUDGE 300
repomaster@centroid.eu