2 header file for NULL named library for network1 shell command functions.
4 Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved. <BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
10 #ifndef _UEFI_SHELL_NETWORK1_COMMANDS_LIB_H_
11 #define _UEFI_SHELL_NETWORK1_COMMANDS_LIB_H_
15 #include <Guid/ShellLibHiiGuid.h>
17 #include <Protocol/Cpu.h>
18 #include <Protocol/ServiceBinding.h>
19 #include <Protocol/Ip6.h>
20 #include <Protocol/Ip6Config.h>
21 #include <Protocol/Ip4.h>
22 #include <Protocol/Ip4Config2.h>
23 #include <Protocol/Arp.h>
25 #include <Library/BaseLib.h>
26 #include <Library/BaseMemoryLib.h>
27 #include <Library/DebugLib.h>
28 #include <Library/MemoryAllocationLib.h>
29 #include <Library/PcdLib.h>
30 #include <Library/ShellCommandLib.h>
31 #include <Library/ShellLib.h>
32 #include <Library/SortLib.h>
33 #include <Library/UefiLib.h>
34 #include <Library/UefiRuntimeServicesTableLib.h>
35 #include <Library/UefiBootServicesTableLib.h>
36 #include <Library/HiiLib.h>
37 #include <Library/NetLib.h>
38 #include <Library/DevicePathLib.h>
39 #include <Library/PrintLib.h>
41 extern EFI_HANDLE gShellNetwork1HiiHandle
;
44 Function for 'ping' command.
46 @param[in] ImageHandle Handle to the Image (NULL if Internal).
47 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
52 IN EFI_HANDLE ImageHandle
,
53 IN EFI_SYSTEM_TABLE
*SystemTable
57 Function for 'ifconfig' command.
59 @param[in] ImageHandle Handle to the Image (NULL if Internal).
60 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
64 ShellCommandRunIfconfig (
65 IN EFI_HANDLE ImageHandle
,
66 IN EFI_SYSTEM_TABLE
*SystemTable