From 72143cff9dbde52d6165742e43b1d20b13bb23e7 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 15 Nov 2020 18:28:21 +0100 Subject: Added DNS errors --- kernel/inc/net.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'kernel/inc/net.h') 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! -- cgit v1.2.3