]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.h
ShellPkg: Update ping/ifconfig library source code to consume Ip4Config2 protocol.
[mirror_edk2.git] / ShellPkg / Library / UefiShellNetwork1CommandsLib / UefiShellNetwork1CommandsLib.h
... / ...
CommitLineData
1/** @file\r
2 header file for NULL named library for network1 shell command functions.\r
3\r
4 Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved. <BR>\r
5\r
6 This program and the accompanying materials\r
7 are licensed and made available under the terms and conditions of the BSD License\r
8 which accompanies this distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#ifndef _UEFI_SHELL_NETWORK1_COMMANDS_LIB_H_\r
17#define _UEFI_SHELL_NETWORK1_COMMANDS_LIB_H_\r
18\r
19#include <Uefi.h>\r
20#include <ShellBase.h>\r
21\r
22#include <Guid/ShellLibHiiGuid.h>\r
23\r
24#include <Protocol/Cpu.h>\r
25#include <Protocol/ServiceBinding.h>\r
26#include <Protocol/Ip6.h>\r
27#include <Protocol/Ip6Config.h>\r
28#include <Protocol/Ip4.h>\r
29#include <Protocol/Ip4Config2.h>\r
30#include <Protocol/Arp.h>\r
31\r
32#include <Library/BaseLib.h>\r
33#include <Library/BaseMemoryLib.h>\r
34#include <Library/DebugLib.h>\r
35#include <Library/MemoryAllocationLib.h>\r
36#include <Library/PcdLib.h>\r
37#include <Library/ShellCommandLib.h>\r
38#include <Library/ShellLib.h>\r
39#include <Library/SortLib.h>\r
40#include <Library/UefiLib.h>\r
41#include <Library/UefiRuntimeServicesTableLib.h>\r
42#include <Library/UefiBootServicesTableLib.h>\r
43#include <Library/HiiLib.h>\r
44#include <Library/NetLib.h>\r
45#include <Library/DevicePathLib.h>\r
46#include <Library/PrintLib.h>\r
47\r
48extern EFI_HANDLE gShellNetwork1HiiHandle;\r
49\r
50/**\r
51 Function for 'ping' command.\r
52\r
53 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
54 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
55**/\r
56SHELL_STATUS\r
57EFIAPI\r
58ShellCommandRunPing (\r
59 IN EFI_HANDLE ImageHandle,\r
60 IN EFI_SYSTEM_TABLE *SystemTable\r
61 );\r
62\r
63/**\r
64 Function for 'ifconfig' command.\r
65\r
66 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
67 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
68**/\r
69SHELL_STATUS\r
70EFIAPI\r
71ShellCommandRunIfconfig (\r
72 IN EFI_HANDLE ImageHandle,\r
73 IN EFI_SYSTEM_TABLE *SystemTable\r
74 );\r
75\r
76#endif\r
77\r