Reviewed-by: Fu Siyuan <siyuan...@intel.com>

-----Original Message-----
From: Wu, Jiaxin 
Sent: Tuesday, January 12, 2016 9:37 PM
To: edk2-devel@lists.01.org
Cc: Hegde Nagaraj P <nagaraj-p.he...@hpe.com>; Ye, Ting <ting...@intel.com>; 
Fu, Siyuan <siyuan...@intel.com>
Subject: [Patch 2/2] 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.he...@hpe.com>
Cc: Ye Ting <ting...@intel.com>
Cc: Fu Siyuan <siyuan...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <jiaxin...@intel.com>
---
 NetworkPkg/DnsDxe/DnsImpl.h | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

diff --git a/NetworkPkg/DnsDxe/DnsImpl.h b/NetworkPkg/DnsDxe/DnsImpl.h index 
847cd15..72b85cb 100644
--- a/NetworkPkg/DnsDxe/DnsImpl.h
+++ b/NetworkPkg/DnsDxe/DnsImpl.h
@@ -1,9 +1,9 @@
 /** @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  
http://opensource.org/licenses/bsd-license.php
 
@@ -174,23 +174,10 @@ typedef struct {
   UINT16      Class;
   UINT32      Ttl;
   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"
 
 
 #pragma pack()
--
1.9.5.msysgit.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to