aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc/net.h
diff options
context:
space:
mode:
authorMarvin Borner2020-11-15 18:28:21 +0100
committerMarvin Borner2020-11-15 18:28:21 +0100
commit72143cff9dbde52d6165742e43b1d20b13bb23e7 (patch)
treeeb0adb8aacc77b4a3ab062788e8f015683be36bd /kernel/inc/net.h
parent0621c44e439bedf034399e1bff139ef506039eba (diff)
Added DNS errors
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!