Re: [edk2] [Patch 2/2] NetworkPkg: Remove DNS QType and QClass definition

2016-01-12 Thread Fu, Siyuan
Reviewed-by: Fu Siyuan 

-Original Message-
From: Wu, Jiaxin 
Sent: Tuesday, January 12, 2016 9:37 PM
To: edk2-devel@lists.01.org
Cc: Hegde Nagaraj P ; Ye, Ting ; 
Fu, Siyuan 
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 
Cc: Ye Ting 
Cc: Fu Siyuan 
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu 
---
 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.
+Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.
 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_PTR12
-#define DNS_TYPE_HINFO  13
-#define DNS_TYPE_MX 15
-#define DNS_TYPE_   28
-#define DNS_TYPE_SRV_RR 33
-#define DNS_TYPE_AXFR   252
-#define DNS_TYPE_ANY255
-
-#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


Re: [edk2] [Patch 2/2] NetworkPkg: Remove DNS QType and QClass definition

2016-01-12 Thread Hegde, Nagaraj P
Reviewed-by: Hegde, Nagaraj P 

-Original Message-
From: Fu, Siyuan [mailto:siyuan...@intel.com] 
Sent: Wednesday, January 13, 2016 9:14 AM
To: Wu, Jiaxin; edk2-devel@lists.01.org
Cc: Hegde, Nagaraj P; Ye, Ting
Subject: RE: [Patch 2/2] NetworkPkg: Remove DNS QType and QClass definition

Reviewed-by: Fu Siyuan 

-Original Message-
From: Wu, Jiaxin 
Sent: Tuesday, January 12, 2016 9:37 PM
To: edk2-devel@lists.01.org
Cc: Hegde Nagaraj P ; Ye, Ting ; 
Fu, Siyuan 
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 
Cc: Ye Ting 
Cc: Fu Siyuan 
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu 
---
 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.
+Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.
 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_PTR12
-#define DNS_TYPE_HINFO  13
-#define DNS_TYPE_MX 15
-#define DNS_TYPE_   28
-#define DNS_TYPE_SRV_RR 33
-#define DNS_TYPE_AXFR   252
-#define DNS_TYPE_ANY255
-
-#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


Re: [edk2] [Patch 2/2] NetworkPkg: Remove DNS QType and QClass definition

2016-01-12 Thread Ye, Ting
Serial patches reviewed-by: Ye Ting  

-Original Message-
From: Wu, Jiaxin 
Sent: Tuesday, January 12, 2016 9:37 PM
To: edk2-devel@lists.01.org
Cc: Hegde Nagaraj P; Ye, Ting; Fu, Siyuan
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 
Cc: Ye Ting 
Cc: Fu Siyuan 
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu 
---
 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.
+Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.
 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_PTR12
-#define DNS_TYPE_HINFO  13
-#define DNS_TYPE_MX 15
-#define DNS_TYPE_   28
-#define DNS_TYPE_SRV_RR 33
-#define DNS_TYPE_AXFR   252
-#define DNS_TYPE_ANY255
-
-#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


[edk2] [Patch 2/2] NetworkPkg: Remove DNS QType and QClass definition

2016-01-12 Thread Jiaxin Wu
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 
Cc: Ye Ting 
Cc: Fu Siyuan 
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu 
---
 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.
+Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.
 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_PTR12
-#define DNS_TYPE_HINFO  13
-#define DNS_TYPE_MX 15
-#define DNS_TYPE_   28
-#define DNS_TYPE_SRV_RR 33
-#define DNS_TYPE_AXFR   252
-#define DNS_TYPE_ANY255
-
-#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