Revision: 19642
          http://sourceforge.net/p/edk2/code/19642
Author:   jiaxinwu
Date:     2016-01-14 03:00:16 +0000 (Thu, 14 Jan 2016)
Log Message:
-----------
MdeModulePkg: Add DNS QType and QClass values definition

This patch is used to add DNS QType and QClass values definition
in NetLib.h

Cc: Hegde Nagaraj P <[email protected]>
Cc: Ye Ting <[email protected]>
Cc: Fu Siyuan <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <[email protected]>
Reviewed-by: Hegde Nagaraj P <[email protected]>
Reviewed-by: Ye Ting <[email protected]>
Reviewed-by: Fu Siyuan <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdeModulePkg/Include/Library/NetLib.h

Modified: trunk/edk2/MdeModulePkg/Include/Library/NetLib.h
===================================================================
--- trunk/edk2/MdeModulePkg/Include/Library/NetLib.h    2016-01-13 06:33:44 UTC 
(rev 19641)
+++ trunk/edk2/MdeModulePkg/Include/Library/NetLib.h    2016-01-14 03:00:16 UTC 
(rev 19642)
@@ -2,7 +2,7 @@
   This library is only intended to be used by UEFI network stack modules.
   It provides basic functions for the UEFI network stack.
 
-Copyright (c) 2005 - 2012, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2005 - 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<BR>
@@ -63,6 +63,33 @@
 
 #define  IP6_PREFIX_LENGTH     64
 
+//
+// DNS QTYPE values
+//
+#define  DNS_TYPE_A            1
+#define  DNS_TYPE_NS           2
+#define  DNS_TYPE_CNAME        5
+#define  DNS_TYPE_SOA          6
+#define  DNS_TYPE_WKS          11
+#define  DNS_TYPE_PTR          12
+#define  DNS_TYPE_HINFO        13
+#define  DNS_TYPE_MINFO        14
+#define  DNS_TYPE_MX           15
+#define  DNS_TYPE_TXT          16
+#define  DNS_TYPE_AAAA         28
+#define  DNS_TYPE_SRV_RR       33
+#define  DNS_TYPE_AXFR         252
+#define  DNS_TYPE_MAILB        253
+#define  DNS_TYPE_ANY          255
+
+//
+// DNS QCLASS values
+//
+#define  DNS_CLASS_INET        1
+#define  DNS_CLASS_CH          3
+#define  DNS_CLASS_HS          4
+#define  DNS_CLASS_ANY         255
+
 #pragma pack(1)
 
 //


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to