/** @file\r
DnsDxe support functions implementation.\r
\r
-Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2015 - 2017, 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
#define DNS_STATE_DESTROY 2\r
\r
#define DNS_DEFAULT_TIMEOUT 2\r
-#define DNS_DEFAULT_RETRY 3\r
-#define DNS_DEFAULT_BLKSIZE 512\r
\r
#define DNS_TIME_TO_GETMAP 5\r
\r
} DNS6_SERVER_IP;\r
\r
typedef struct {\r
+ UINT32 RetryCounting;\r
UINT32 PacketToLive;\r
CHAR16 *QueryHostName;\r
EFI_IPv4_ADDRESS QueryIpAddress;\r
} DNS4_TOKEN_ENTRY;\r
\r
typedef struct {\r
+ UINT32 RetryCounting;\r
UINT32 PacketToLive;\r
CHAR16 *QueryHostName;\r
EFI_IPv6_ADDRESS QueryIpAddress;\r
IN EFI_IPv6_ADDRESS ServerIp\r
);\r
\r
-/**\r
- Fill QName for IP querying. QName is a domain name represented as \r
- a sequence of labels, where each label consists of a length octet \r
- followed by that number of octets. The domain name terminates with \r
- the zero length octet for the null label of the root.\r
-\r
- @param HostName Queried HostName \r
-\r
- @retval NULL Failed to fill QName.\r
- @return QName filled successfully.\r
- \r
-**/ \r
-CHAR8 *\r
-EFIAPI\r
-DnsFillinQNameForQueryIp (\r
- IN CHAR16 *HostName\r
- );\r
-\r
/**\r
Find out whether the response is valid or invalid.\r
\r
@param TokensMap All DNS transmittal Tokens entry. \r
@param Identification Identification for queried packet. \r
@param Type Type for queried packet.\r
+ @param Class Class for queried packet.\r
@param Item Return corresponding Token entry.\r
\r
@retval TRUE The response is valid.\r
IN NET_MAP *TokensMap,\r
IN UINT16 Identification,\r
IN UINT16 Type,\r
+ IN UINT16 Class,\r
OUT NET_MAP_ITEM **Item\r
);\r
\r