summaryrefslogtreecommitdiffstats
path: root/source/include/nameserv.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/nameserv.h')
-rw-r--r--source/include/nameserv.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/include/nameserv.h b/source/include/nameserv.h
index 49b6f1d3aac..91e88ee6b1c 100644
--- a/source/include/nameserv.h
+++ b/source/include/nameserv.h
@@ -421,6 +421,13 @@ struct res_rec {
char rdata[MAX_DGRAM_SIZE];
};
+#define NM_FLAGS_RS 0x80 /* Response. Cheat */
+#define NM_FLAGS_AA 0x40 /* Authoritative */
+#define NM_FLAGS_TC 0x20 /* Truncated */
+#define NM_FLAGS_RD 0x10 /* Recursion Desired */
+#define NM_FLAGS_RA 0x08 /* Recursion Available */
+#define NM_FLAGS_B 0x01 /* Broadcast */
+
/* An nmb packet. */
struct nmb_packet
{