TianoCore EDK2 master
Loading...
Searching...
No Matches
IScsiDns.h File Reference

Go to the source code of this file.

Functions

EFI_STATUS IScsiDns4 (IN EFI_HANDLE Image, IN EFI_HANDLE Controller, IN OUT ISCSI_SESSION_CONFIG_NVDATA *NvData)
 
EFI_STATUS IScsiDns6 (IN EFI_HANDLE Image, IN EFI_HANDLE Controller, IN OUT ISCSI_SESSION_CONFIG_NVDATA *NvData)
 

Detailed Description

The header file of routines for IScsi driver to perform DNS resolution based on UEFI DNS protocols.

Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file IScsiDns.h.

Function Documentation

◆ IScsiDns4()

EFI_STATUS IScsiDns4 ( IN EFI_HANDLE  Image,
IN EFI_HANDLE  Controller,
IN OUT ISCSI_SESSION_CONFIG_NVDATA NvData 
)

Retrieve the host address using the EFI_DNS4_PROTOCOL.

Parameters
[in]ImageThe handle of the driver image.
[in]ControllerThe handle of the controller.
[in,out]NvDataThe Session config data structure.
Return values
EFI_SUCCESSOperation succeeded.
EFI_OUT_OF_RESOURCESFailed to allocate needed resources.
EFI_DEVICE_ERRORAn unexpected network error occurred.
OthersOther errors as indicated.

Definition at line 42 of file IScsiDns.c.

◆ IScsiDns6()

EFI_STATUS IScsiDns6 ( IN EFI_HANDLE  Image,
IN EFI_HANDLE  Controller,
IN OUT ISCSI_SESSION_CONFIG_NVDATA NvData 
)

Retrieve the host address using the EFI_DNS6_PROTOCOL.

Parameters
[in]ImageThe handle of the driver image.
[in]ControllerThe handle of the controller.
[in,out]NvDataThe Session config data structure.
Return values
EFI_SUCCESSOperation succeeded.
EFI_OUT_OF_RESOURCESFailed to allocate needed resources.
EFI_DEVICE_ERRORAn unexpected network error occurred.
OthersOther errors as indicated.

Definition at line 249 of file IScsiDns.c.