2011-03-25 21:47:02 +01:00
|
|
|
/** @file
|
|
|
|
header file for NULL named library for network1 shell command functions.
|
|
|
|
|
2016-10-18 08:30:42 +02:00
|
|
|
Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved. <BR>
|
2011-03-25 21:47:02 +01:00
|
|
|
|
|
|
|
This program and the accompanying materials
|
|
|
|
are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
which accompanies this distribution. The full text of the license may be found at
|
|
|
|
http://opensource.org/licenses/bsd-license.php
|
|
|
|
|
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
|
|
|
**/
|
|
|
|
|
2011-04-05 22:55:45 +02:00
|
|
|
#ifndef _UEFI_SHELL_NETWORK1_COMMANDS_LIB_H_
|
2011-03-25 21:47:02 +01:00
|
|
|
#define _UEFI_SHELL_NETWORK1_COMMANDS_LIB_H_
|
|
|
|
|
|
|
|
#include <Uefi.h>
|
|
|
|
|
2011-09-21 03:56:00 +02:00
|
|
|
#include <Guid/ShellLibHiiGuid.h>
|
|
|
|
|
2011-03-25 21:47:02 +01:00
|
|
|
#include <Protocol/Cpu.h>
|
|
|
|
#include <Protocol/ServiceBinding.h>
|
|
|
|
#include <Protocol/Ip6.h>
|
|
|
|
#include <Protocol/Ip6Config.h>
|
|
|
|
#include <Protocol/Ip4.h>
|
2015-07-08 04:53:41 +02:00
|
|
|
#include <Protocol/Ip4Config2.h>
|
2011-03-25 21:47:02 +01:00
|
|
|
#include <Protocol/Arp.h>
|
|
|
|
|
|
|
|
#include <Library/BaseLib.h>
|
|
|
|
#include <Library/BaseMemoryLib.h>
|
|
|
|
#include <Library/DebugLib.h>
|
|
|
|
#include <Library/MemoryAllocationLib.h>
|
|
|
|
#include <Library/PcdLib.h>
|
|
|
|
#include <Library/ShellCommandLib.h>
|
|
|
|
#include <Library/ShellLib.h>
|
|
|
|
#include <Library/SortLib.h>
|
|
|
|
#include <Library/UefiLib.h>
|
|
|
|
#include <Library/UefiRuntimeServicesTableLib.h>
|
|
|
|
#include <Library/UefiBootServicesTableLib.h>
|
|
|
|
#include <Library/HiiLib.h>
|
|
|
|
#include <Library/NetLib.h>
|
|
|
|
#include <Library/DevicePathLib.h>
|
|
|
|
#include <Library/PrintLib.h>
|
|
|
|
|
|
|
|
extern EFI_HANDLE gShellNetwork1HiiHandle;
|
|
|
|
|
|
|
|
/**
|
|
|
|
Function for 'ping' command.
|
|
|
|
|
|
|
|
@param[in] ImageHandle Handle to the Image (NULL if Internal).
|
|
|
|
@param[in] SystemTable Pointer to the System Table (NULL if Internal).
|
|
|
|
**/
|
|
|
|
SHELL_STATUS
|
|
|
|
EFIAPI
|
|
|
|
ShellCommandRunPing (
|
|
|
|
IN EFI_HANDLE ImageHandle,
|
|
|
|
IN EFI_SYSTEM_TABLE *SystemTable
|
|
|
|
);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Function for 'ifconfig' command.
|
|
|
|
|
|
|
|
@param[in] ImageHandle Handle to the Image (NULL if Internal).
|
|
|
|
@param[in] SystemTable Pointer to the System Table (NULL if Internal).
|
|
|
|
**/
|
|
|
|
SHELL_STATUS
|
|
|
|
EFIAPI
|
|
|
|
ShellCommandRunIfconfig (
|
|
|
|
IN EFI_HANDLE ImageHandle,
|
|
|
|
IN EFI_SYSTEM_TABLE *SystemTable
|
|
|
|
);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|