Commit | Line | Data |
---|---|---|
68fb0527 | 1 | /** @file\r |
2 | header file for NULL named library for network1 shell command functions.\r | |
3 | \r | |
7c25b7ea | 4 | Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved. <BR>\r |
68fb0527 | 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 | |
a1d4bfcc | 16 | #ifndef _UEFI_SHELL_NETWORK1_COMMANDS_LIB_H_\r |
68fb0527 | 17 | #define _UEFI_SHELL_NETWORK1_COMMANDS_LIB_H_\r |
18 | \r | |
19 | #include <Uefi.h>\r | |
20 | #include <ShellBase.h>\r | |
21 | \r | |
bca163ff LG |
22 | #include <Guid/ShellLibHiiGuid.h>\r |
23 | \r | |
68fb0527 | 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 | |
7c25b7ea | 29 | #include <Protocol/Ip4Config2.h>\r |
68fb0527 | 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 | |
68fb0527 | 48 | extern 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 | |
56 | SHELL_STATUS\r | |
57 | EFIAPI\r | |
58 | ShellCommandRunPing (\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 | |
69 | SHELL_STATUS\r | |
70 | EFIAPI\r | |
71 | ShellCommandRunIfconfig (\r | |
72 | IN EFI_HANDLE ImageHandle,\r | |
73 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
74 | );\r | |
75 | \r | |
76 | #endif\r | |
77 | \r |