/** @file\r
\r
-Copyright (c) 2006, Intel Corporation\r
+Copyright (c) 2006 - 2008, Intel Corporation\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
// to validate a dhcp message. Refere the comments of the\r
// DHCP_OPTION_FORMAT structure.\r
//\r
-STATIC\r
-DHCP_OPTION_FORMAT\r
-DhcpOptionFormats [] = {\r
+STATIC DHCP_OPTION_FORMAT DhcpOptionFormats[] = {\r
{DHCP_TAG_NETMASK, DHCP_OPTION_IP, 1, 1 , TRUE},\r
{DHCP_TAG_TIME_OFFSET, DHCP_OPTION_INT32, 1, 1 , FALSE},\r
{DHCP_TAG_ROUTER, DHCP_OPTION_IP, 1, -1 , TRUE},\r
@return The point to the option's format, NULL if not found.\r
\r
**/\r
-STATIC\r
DHCP_OPTION_FORMAT *\r
DhcpFindOptionFormat (\r
IN UINT8 Tag\r
@return TRUE is the option is valid, otherwise FALSE.\r
\r
**/\r
-STATIC\r
BOOLEAN\r
DhcpOptionIsValid (\r
IN DHCP_OPTION_FORMAT *Format,\r
@retval EFI_INVALID_PARAMETER The DHCP option is mal-formated\r
\r
**/\r
-STATIC\r
EFI_STATUS\r
DhcpGetParameter (\r
IN UINT8 Tag,\r
@retval EFI_INVALID_PARAMETER The options are mal-formated.\r
\r
**/\r
-STATIC\r
EFI_STATUS\r
DhcpIterateBufferOptions (\r
IN UINT8 *Buffer,\r
@retval EFI_SUCCESS It always returns EFI_SUCCESS.\r
\r
**/\r
-STATIC\r
EFI_STATUS\r
DhcpGetOptionLen (\r
IN UINT8 Tag,\r
@retval EFI_SUCCESS It always returns EFI_SUCCESS\r
\r
**/\r
-STATIC\r
EFI_STATUS\r
DhcpFillOption (\r
IN UINT8 Tag,\r