]> git.proxmox.com Git - mirror_edk2.git/commitdiff
NetworkPkg: Remove DNS QType and QClass definition
authorJiaxin Wu <jiaxin.wu@intel.com>
Thu, 14 Jan 2016 03:00:38 +0000 (03:00 +0000)
committerjiaxinwu <jiaxinwu@Edk2>
Thu, 14 Jan 2016 03:00:38 +0000 (03:00 +0000)
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

NetworkPkg/DnsDxe/DnsImpl.h

index 847cd15973ef213d0fa4ece5c66427589fcec826..72b85cb111844335560c9104487e410c7c5d817d 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
 DnsDxe support functions implementation.\r
    \r
 /** @file\r
 DnsDxe support functions implementation.\r
    \r
-Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -176,19 +176,6 @@ typedef struct {
   UINT16      DataLength;\r
 } DNS_ANSWER_SECTION;\r
 \r
   UINT16      DataLength;\r
 } DNS_ANSWER_SECTION;\r
 \r
-#define DNS_TYPE_A      1\r
-#define DNS_TYPE_NS     2\r
-#define DNS_TYPE_CNAME  5\r
-#define DNS_TYPE_PTR    12\r
-#define DNS_TYPE_HINFO  13\r
-#define DNS_TYPE_MX     15\r
-#define DNS_TYPE_AAAA   28\r
-#define DNS_TYPE_SRV_RR 33\r
-#define DNS_TYPE_AXFR   252\r
-#define DNS_TYPE_ANY    255\r
-\r
-#define DNS_CLASS_INET  1\r
-\r
 #define DNS4_DOMAIN  L"in-addr.arpa"\r
 #define DNS6_DOMAIN  L"IP6.ARPA"\r
 \r
 #define DNS4_DOMAIN  L"in-addr.arpa"\r
 #define DNS6_DOMAIN  L"IP6.ARPA"\r
 \r