aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/inc/net.h')
-rw-r--r--kernel/inc/net.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/inc/net.h b/kernel/inc/net.h
index f9986e0..1111f22 100644
--- a/kernel/inc/net.h
+++ b/kernel/inc/net.h
@@ -39,6 +39,17 @@
#define DHCP_REPLY 2
#define DHCP_TRANSACTION_IDENTIFIER 0x18122002
+#define DNS_NOERROR 0
+#define DNS_FORMERR 1
+#define DNS_SERVFAIL 2
+#define DNS_NXDOMAIN 3
+#define DNS_NOTIMP 4
+#define DNS_REFUSED 5
+#define DNS_YXDOMAIN 6
+#define DNS_XRRSET 7
+#define DNS_NOTAUTH 8
+#define DNS_NOTZONE 9
+
#define HARDWARE_TYPE_ETHERNET 0x01
// Hardcoded ports - TODO!