]> git.proxmox.com Git - mirror_edk2.git/blob - ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / ShellPkg / Library / UefiShellNetwork1CommandsLib / UefiShellNetwork1CommandsLib.h
1 /** @file
2 header file for NULL named library for network1 shell command functions.
3
4 Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved. <BR>
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9
10 #ifndef _UEFI_SHELL_NETWORK1_COMMANDS_LIB_H_
11 #define _UEFI_SHELL_NETWORK1_COMMANDS_LIB_H_
12
13 #include <Uefi.h>
14
15 #include <Guid/ShellLibHiiGuid.h>
16
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>
24
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>
40
41 extern EFI_HII_HANDLE gShellNetwork1HiiHandle;
42
43 /**
44 Function for 'ping' command.
45
46 @param[in] ImageHandle Handle to the Image (NULL if Internal).
47 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
48 **/
49 SHELL_STATUS
50 EFIAPI
51 ShellCommandRunPing (
52 IN EFI_HANDLE ImageHandle,
53 IN EFI_SYSTEM_TABLE *SystemTable
54 );
55
56 /**
57 Function for 'ifconfig' command.
58
59 @param[in] ImageHandle Handle to the Image (NULL if Internal).
60 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
61 **/
62 SHELL_STATUS
63 EFIAPI
64 ShellCommandRunIfconfig (
65 IN EFI_HANDLE ImageHandle,
66 IN EFI_SYSTEM_TABLE *SystemTable
67 );
68
69 #endif