]> git.proxmox.com Git - mirror_edk2.git/blob - ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / ShellPkg / Library / UefiShellNetwork2CommandsLib / UefiShellNetwork2CommandsLib.h
1 /** @file
2 Main file for NULL named library for network2 shell command functions.
3
4 Copyright (c) 2016, Intel Corporation. All rights reserved. <BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #ifndef _UEFI_SHELL_NETWORK2_COMMANDS_LIB_H_
10 #define _UEFI_SHELL_NETWORK2_COMMANDS_LIB_H_
11
12 #include <Protocol/Cpu.h>
13 #include <Protocol/ServiceBinding.h>
14 #include <Protocol/Ip6.h>
15 #include <Protocol/Ip6Config.h>
16
17 #include <Guid/ShellLibHiiGuid.h>
18
19 #include <Library/ShellLib.h>
20 #include <Library/ShellCommandLib.h>
21 #include <Library/BaseMemoryLib.h>
22 #include <Library/BaseLib.h>
23 #include <Library/PcdLib.h>
24 #include <Library/MemoryAllocationLib.h>
25 #include <Library/DebugLib.h>
26 #include <Library/UefiBootServicesTableLib.h>
27 #include <Library/HiiLib.h>
28 #include <Library/NetLib.h>
29
30 extern EFI_HII_HANDLE gShellNetwork2HiiHandle;
31
32 /**
33 Function for 'ping6' command.
34
35 @param[in] ImageHandle Handle to the Image (NULL if Internal).
36 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
37
38 @retval SHELL_SUCCESS The ping6 processed successfullly.
39 @retval others The ping6 processed unsuccessfully.
40
41 **/
42 SHELL_STATUS
43 EFIAPI
44 ShellCommandRunPing6 (
45 IN EFI_HANDLE ImageHandle,
46 IN EFI_SYSTEM_TABLE *SystemTable
47 );
48
49 /**
50 Function for 'ifconfig6' command.
51
52 @param[in] ImageHandle Handle to the Image (NULL if Internal).
53 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
54
55 @retval SHELL_SUCCESS The ifconfig6 command processed successfully.
56 @retval others The ifconfig6 command process failed.
57
58 **/
59 SHELL_STATUS
60 EFIAPI
61 ShellCommandRunIfconfig6 (
62 IN EFI_HANDLE ImageHandle,
63 IN EFI_SYSTEM_TABLE *SystemTable
64 );
65
66 #endif