summaryrefslogtreecommitdiff
path: root/NetworkPkg/DnsDxe
diff options
context:
space:
mode:
authorJiaxin Wu <jiaxin.wu@intel.com>2016-01-14 03:00:38 +0000
committerjiaxinwu <jiaxinwu@Edk2>2016-01-14 03:00:38 +0000
commita74f05d972c816dde1262ffb75e3512075f7aff8 (patch)
treede2e5431f9c1a7b75936e60cb48faad56af2a5af /NetworkPkg/DnsDxe
parenta57cdf337d0b14126de32fec081c0468a1f6475e (diff)
downloadedk2-platforms-a74f05d972c816dde1262ffb75e3512075f7aff8.tar.xz
NetworkPkg: Remove DNS QType and QClass definition
This patch is used to remove DNS QType and QClass definition in DnsImpl.h since it will be exposed in NetLib.h. Cc: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com> Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com> Reviewed-by: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com> Reviewed-by: Ye Ting <ting.ye@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19643 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'NetworkPkg/DnsDxe')
-rw-r--r--NetworkPkg/DnsDxe/DnsImpl.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/NetworkPkg/DnsDxe/DnsImpl.h b/NetworkPkg/DnsDxe/DnsImpl.h
index 847cd15973..72b85cb111 100644
--- a/NetworkPkg/DnsDxe/DnsImpl.h
+++ b/NetworkPkg/DnsDxe/DnsImpl.h
@@ -1,7 +1,7 @@
/** @file
DnsDxe support functions implementation.
-Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -176,19 +176,6 @@ typedef struct {
UINT16 DataLength;
} DNS_ANSWER_SECTION;
-#define DNS_TYPE_A 1
-#define DNS_TYPE_NS 2
-#define DNS_TYPE_CNAME 5
-#define DNS_TYPE_PTR 12
-#define DNS_TYPE_HINFO 13
-#define DNS_TYPE_MX 15
-#define DNS_TYPE_AAAA 28
-#define DNS_TYPE_SRV_RR 33
-#define DNS_TYPE_AXFR 252
-#define DNS_TYPE_ANY 255
-
-#define DNS_CLASS_INET 1
-
#define DNS4_DOMAIN L"in-addr.arpa"
#define DNS6_DOMAIN L"IP6.ARPA"