mirror of https://github.com/acidanthera/audk.git
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 <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@19642 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
ef422fc53c
commit
a57cdf337d
|
@ -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 @@ typedef UINT16 TCP_PORTNO;
|
|||
|
||||
#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)
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue