TianoCore EDK2 master
|
#include <Uefi.h>
#include <Protocol/VlanConfig.h>
#include <Library/UefiApplicationEntryPoint.h>
#include <Library/UefiLib.h>
#include <Library/ShellLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/HiiLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiHiiServicesLib.h>
#include <Library/NetLib.h>
Go to the source code of this file.
Macros | |
#define | INVALID_NIC_INDEX 0xffff |
#define | INVALID_VLAN_ID 0xffff |
Functions | |
VOID | LocateNicHandleBuffer (OUT UINTN *NumberOfHandles, OUT EFI_HANDLE **HandleBuffer) |
UINTN | NicNameToIndex (IN CHAR16 *Name) |
EFI_HANDLE | NicNameToHandle (IN CHAR16 *Name) |
EFI_VLAN_CONFIG_PROTOCOL * | OpenVlanConfigProtocol (IN EFI_HANDLE Handle) |
VOID | CloseVlanConfigProtocol (IN EFI_HANDLE Handle) |
VOID | ShowNicVlanInfo (IN EFI_HANDLE Handle, IN UINTN NicIndex) |
VOID | DisplayVlan (IN CHAR16 *Name OPTIONAL) |
UINT16 | StrToVlanId (IN CHAR16 *String) |
VOID | AddVlan (IN CHAR16 *ParamStr) |
VOID | DeleteVlan (IN CHAR16 *ParamStr) |
EFI_STATUS EFIAPI | VlanConfigMain (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
GLOBAL_REMOVE_IF_UNREFERENCED EFI_STRING_ID | mStringVConfigHelpTokenId = STRING_TOKEN (STR_VCONFIG_HELP) |
UINT8 | VConfigStrings [] |
EFI_HANDLE | mImageHandle = NULL |
EFI_HII_HANDLE | mHiiHandle = NULL |
SHELL_PARAM_ITEM | mParamList [] |
Shell application for VLAN configuration.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file VConfig.c.
VOID AddVlan | ( | IN CHAR16 * | ParamStr | ) |
VOID CloseVlanConfigProtocol | ( | IN EFI_HANDLE | Handle | ) |
VOID DeleteVlan | ( | IN CHAR16 * | ParamStr | ) |
VOID DisplayVlan | ( | IN CHAR16 *Name | OPTIONAL | ) |
VOID LocateNicHandleBuffer | ( | OUT UINTN * | NumberOfHandles, |
OUT EFI_HANDLE ** | HandleBuffer | ||
) |
EFI_HANDLE NicNameToHandle | ( | IN CHAR16 * | Name | ) |
EFI_VLAN_CONFIG_PROTOCOL * OpenVlanConfigProtocol | ( | IN EFI_HANDLE | Handle | ) |
VOID ShowNicVlanInfo | ( | IN EFI_HANDLE | Handle, |
IN UINTN | NicIndex | ||
) |
UINT16 StrToVlanId | ( | IN CHAR16 * | String | ) |
EFI_STATUS EFIAPI VlanConfigMain | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
The actual entry point for the application.
[in] | ImageHandle | The firmware allocated handle for the EFI image. |
[in] | SystemTable | A pointer to the EFI System Table. |
EFI_SUCCESS | The entry point executed successfully. |
other | Some error occur when executing this entry point. |
EFI_HII_HANDLE mHiiHandle = NULL |
EFI_HANDLE mImageHandle = NULL |
SHELL_PARAM_ITEM mParamList[] |
GLOBAL_REMOVE_IF_UNREFERENCED EFI_STRING_ID mStringVConfigHelpTokenId = STRING_TOKEN (STR_VCONFIG_HELP) |