VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/NetworkPkg/IScsiDxe/IScsiDns.h@ 99404

Last change on this file since 99404 was 99404, checked in by vboxsync, 20 months ago

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1/** @file
2 The header file of routines for IScsi driver to perform DNS
3 resolution based on UEFI DNS protocols.
4
5Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR>
6SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#ifndef _ISCSI_DNS_H_
11#define _ISCSI_DNS_H_
12
13/**
14 Retrieve the host address using the EFI_DNS4_PROTOCOL.
15
16 @param[in] Image The handle of the driver image.
17 @param[in] Controller The handle of the controller.
18 @param[in, out] NvData The Session config data structure.
19
20 @retval EFI_SUCCESS Operation succeeded.
21 @retval EFI_OUT_OF_RESOURCES Failed to allocate needed resources.
22 @retval EFI_DEVICE_ERROR An unexpected network error occurred.
23 @retval Others Other errors as indicated.
24
25**/
26EFI_STATUS
27IScsiDns4 (
28 IN EFI_HANDLE Image,
29 IN EFI_HANDLE Controller,
30 IN OUT ISCSI_SESSION_CONFIG_NVDATA *NvData
31 );
32
33/**
34 Retrieve the host address using the EFI_DNS6_PROTOCOL.
35
36 @param[in] Image The handle of the driver image.
37 @param[in] Controller The handle of the controller.
38 @param[in, out] NvData The Session config data structure.
39
40 @retval EFI_SUCCESS Operation succeeded.
41 @retval EFI_OUT_OF_RESOURCES Failed to allocate needed resources.
42 @retval EFI_DEVICE_ERROR An unexpected network error occurred.
43 @retval Others Other errors as indicated.
44
45**/
46EFI_STATUS
47IScsiDns6 (
48 IN EFI_HANDLE Image,
49 IN EFI_HANDLE Controller,
50 IN OUT ISCSI_SESSION_CONFIG_NVDATA *NvData
51 );
52
53#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette