]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/HttpDxe/HttpDns.h
NetworkPkg:Enable Http Boot over Ipv6 stack
[mirror_edk2.git] / NetworkPkg / HttpDxe / HttpDns.h
index 0fb418635ca5b6a0f280839e9def5d8653486987..fa0c8f4a99f3dd962f2fb6d5ec5131c7525578b1 100644 (file)
@@ -35,4 +35,24 @@ HttpDns4 (
      OUT EFI_IPv4_ADDRESS         *IpAddress                \r
   );\r
 \r
+/**\r
+  Retrieve the host address using the EFI_DNS6_PROTOCOL.\r
+\r
+  @param[in]  HttpInstance        Pointer to HTTP_PROTOCOL instance.\r
+  @param[in]  HostName            Pointer to buffer containing hostname.\r
+  @param[out] IpAddress           On output, pointer to buffer containing IPv6 address.\r
+\r
+  @retval EFI_SUCCESS             Operation succeeded.\r
+  @retval EFI_OUT_OF_RESOURCES    Failed to allocate needed resources.\r
+  @retval EFI_DEVICE_ERROR        An unexpected network error occurred.\r
+  @retval Others                  Other errors as indicated.\r
+  \r
+**/\r
+EFI_STATUS\r
+HttpDns6 (\r
+  IN     HTTP_PROTOCOL            *HttpInstance,\r
+  IN     CHAR16                   *HostName,\r
+     OUT EFI_IPv6_ADDRESS         *IpAddress                \r
+  );\r
+\r
 #endif
\ No newline at end of file