]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/DnsDxe/DnsImpl.h
BaseTools: resolve initialization order errors in VfrFormPkg.h
[mirror_edk2.git] / NetworkPkg / DnsDxe / DnsImpl.h
index 0ef8255e05bb717546262b0a66d491698c968f60..3c6296cb65ad4d5df0daa76beaf1d26018f01502 100644 (file)
@@ -1,7 +1,7 @@
 /** @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
@@ -86,7 +86,6 @@ extern EFI_DNS6_PROTOCOL             mDns6Protocol;
 #define DNS_STATE_DESTROY        2\r
 \r
 #define DNS_DEFAULT_TIMEOUT      2\r
-#define DNS_DEFAULT_RETRY        3\r
 \r
 #define DNS_TIME_TO_GETMAP       5\r
 \r
@@ -115,6 +114,7 @@ typedef struct {
 } DNS6_SERVER_IP;\r
 \r
 typedef struct {\r
+  UINT32                     RetryCounting;\r
   UINT32                     PacketToLive;\r
   CHAR16                     *QueryHostName;\r
   EFI_IPv4_ADDRESS           QueryIpAddress;\r
@@ -123,6 +123,7 @@ typedef struct {
 } DNS4_TOKEN_ENTRY;\r
 \r
 typedef struct {\r
+  UINT32                     RetryCounting;\r
   UINT32                     PacketToLive;\r
   CHAR16                     *QueryHostName;\r
   EFI_IPv6_ADDRESS           QueryIpAddress;\r
@@ -561,6 +562,7 @@ AddDns6ServerIp (
   @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
@@ -572,6 +574,7 @@ IsValidDnsResponse (
   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