Commit Diff
Diff:
b37309336d8b88e26bf4ea71f6affbb5d19acff3
750b2386dc0771d3dfde91febd19b6eb0b75a8bb
Commit:
750b2386dc0771d3dfde91febd19b6eb0b75a8bb
Tree:
77968c75bd5eea7ffeebe8deb53a7bbcf77f53e4
Author:
pjp <pjp@delphinusdns.org>
Committer:
pjp <pjp@delphinusdns.org>
Date:
Sat Aug 1 08:45:44 2020 UTC
Message:
more TKEY (RFC 2930) defines
blob - ece39ff7bed2f73455714949578c2b6ed1e4428d
blob + 6bab2e52873acfdceabdb3fdb32e3e1b73147bdf
--- ddd-dns.h
+++ ddd-dns.h
@@ -27,7 +27,7 @@
*/
/*
- * $Id: ddd-dns.h,v 1.28 2020/08/01 07:46:30 pjp Exp $
+ * $Id: ddd-dns.h,v 1.29 2020/08/01 08:45:44 pjp Exp $
*/
#ifndef _DNS_H
@@ -135,6 +135,9 @@ struct dns_question_hdr {
/* When DNS_NOTAUTH, add a TSIG header with the following error codes */
+#define DNS_BADALG 0x15 /* RCODE (21) BADALG RFC 2930 sect. 2.6 */
+#define DNS_BADNAME 0x14 /* RCODE (20) BADNAME RFC 2930 sect. 2.6 */
+#define DNS_BADMODE 0x13 /* RCODE (19) BADMODE RFC 2930 sect. 2.6 */
#define DNS_BADTIME 0x12 /* RCODE (18) BADTIME RFC 2845 p. 3 */
#define DNS_BADKEY 0x11 /* RCODE (17) BADKEY RFC 2845 p. 3 */
#define DNS_BADSIG 0x10 /* RCODE (16) BADSIG RFC 2845 p. 3 */
repomaster@centroid.eu