TianoCore EDK2 master
Loading...
Searching...
No Matches
IScsiDns.c File Reference
#include "IScsiImpl.h"

Go to the source code of this file.

Functions

VOID EFIAPI IScsiCommonNotify (IN EFI_EVENT Event, IN VOID *Context)
 
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

Perform DNS resolution based on UEFI DNS protocols.

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

Definition in file IScsiDns.c.

Function Documentation

◆ IScsiCommonNotify()

VOID EFIAPI IScsiCommonNotify ( IN EFI_EVENT  Event,
IN VOID *  Context 
)

Notify the callback function when an event is triggered.

Parameters
[in]EventThe triggered event.
[in]ContextThe opaque parameter to the function.

Definition at line 20 of file IScsiDns.c.

◆ 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.