summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Network/IScsiDxe/IScsiDhcp.h
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-17 08:28:51 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-17 08:28:51 +0000
commit12618416ec7a468bc7e47d9739cf973a0bb418fc (patch)
tree1a23c7d46665240f08b061aaa13832da602162d3 /MdeModulePkg/Universal/Network/IScsiDxe/IScsiDhcp.h
parentd16fc3dbb3461dab1cb8a8df21b9e3c2e09723e6 (diff)
downloadedk2-12618416ec7a468bc7e47d9739cf973a0bb418fc.zip
edk2-12618416ec7a468bc7e47d9739cf973a0bb418fc.tar.gz
edk2-12618416ec7a468bc7e47d9739cf973a0bb418fc.tar.bz2
[Description]
change the old code style to comply with Doxgen format [Impaction] add comments for every function [Reference Info] add comments to achieve the highest standard of code quality matrix git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5079 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network/IScsiDxe/IScsiDhcp.h')
-rw-r--r--MdeModulePkg/Universal/Network/IScsiDxe/IScsiDhcp.h24
1 files changed, 22 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiDhcp.h b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiDhcp.h
index 92b3039..75bc7a1 100644
--- a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiDhcp.h
+++ b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiDhcp.h
@@ -1,4 +1,5 @@
-/*++
+/** @file
+ Data structure for DHCP support
Copyright (c) 2004 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials
@@ -14,8 +15,9 @@ Module Name:
IScsiDhcp.h
Abstract:
+ The header file of IScsiDhcp.c
---*/
+**/
#ifndef _ISCSI_DHCP_H_
#define _ISCSI_DHCP_H_
@@ -45,6 +47,24 @@ typedef struct _ISCSI_ROOT_PATH_FIELD {
UINT8 Len;
} ISCSI_ROOT_PATH_FIELD;
+/**
+ Parse the DHCP ACK to get the address configuration and DNS information.
+
+ @param Image[in] The handle of the driver image.
+
+ @param Controller[in] The handle of the controller;
+
+ @param ConfigData[in] The session configuration data.
+
+ @retval EFI_SUCCESS The DNS information is got from the DHCP ACK.
+
+ @retval EFI_NO_MAPPING DHCP failed to acquire address and other information.
+
+ @retval EFI_INVALID_PARAMETER The DHCP ACK's DNS option is mal-formatted.
+
+ @retval EFI_DEVICE_ERROR Some unexpected error happened.
+
+**/
EFI_STATUS
IScsiDoDhcp (
IN EFI_HANDLE Image,