]>
Commit | Line | Data |
---|---|---|
68fb0527 | 1 | /** @file\r |
2 | header file for NULL named library for network1 shell command functions.\r | |
3 | \r | |
28165f24 | 4 | Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved. <BR>\r |
68fb0527 | 5 | \r |
56ba3746 | 6 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
68fb0527 | 7 | \r |
8 | **/\r | |
9 | \r | |
a1d4bfcc | 10 | #ifndef _UEFI_SHELL_NETWORK1_COMMANDS_LIB_H_\r |
68fb0527 | 11 | #define _UEFI_SHELL_NETWORK1_COMMANDS_LIB_H_\r |
12 | \r | |
13 | #include <Uefi.h>\r | |
68fb0527 | 14 | \r |
bca163ff LG |
15 | #include <Guid/ShellLibHiiGuid.h>\r |
16 | \r | |
68fb0527 | 17 | #include <Protocol/Cpu.h>\r |
18 | #include <Protocol/ServiceBinding.h>\r | |
19 | #include <Protocol/Ip6.h>\r | |
20 | #include <Protocol/Ip6Config.h>\r | |
21 | #include <Protocol/Ip4.h>\r | |
7c25b7ea | 22 | #include <Protocol/Ip4Config2.h>\r |
68fb0527 | 23 | #include <Protocol/Arp.h>\r |
24 | \r | |
25 | #include <Library/BaseLib.h>\r | |
26 | #include <Library/BaseMemoryLib.h>\r | |
27 | #include <Library/DebugLib.h>\r | |
28 | #include <Library/MemoryAllocationLib.h>\r | |
29 | #include <Library/PcdLib.h>\r | |
30 | #include <Library/ShellCommandLib.h>\r | |
31 | #include <Library/ShellLib.h>\r | |
32 | #include <Library/SortLib.h>\r | |
33 | #include <Library/UefiLib.h>\r | |
34 | #include <Library/UefiRuntimeServicesTableLib.h>\r | |
35 | #include <Library/UefiBootServicesTableLib.h>\r | |
36 | #include <Library/HiiLib.h>\r | |
37 | #include <Library/NetLib.h>\r | |
38 | #include <Library/DevicePathLib.h>\r | |
39 | #include <Library/PrintLib.h>\r | |
40 | \r | |
47d20b54 | 41 | extern EFI_HII_HANDLE gShellNetwork1HiiHandle;\r |
68fb0527 | 42 | \r |
43 | /**\r | |
44 | Function for 'ping' command.\r | |
45 | \r | |
46 | @param[in] ImageHandle Handle to the Image (NULL if Internal).\r | |
47 | @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r | |
48 | **/\r | |
49 | SHELL_STATUS\r | |
50 | EFIAPI\r | |
51 | ShellCommandRunPing (\r | |
52 | IN EFI_HANDLE ImageHandle,\r | |
53 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
54 | );\r | |
55 | \r | |
56 | /**\r | |
57 | Function for 'ifconfig' command.\r | |
58 | \r | |
59 | @param[in] ImageHandle Handle to the Image (NULL if Internal).\r | |
60 | @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r | |
61 | **/\r | |
62 | SHELL_STATUS\r | |
63 | EFIAPI\r | |
64 | ShellCommandRunIfconfig (\r | |
65 | IN EFI_HANDLE ImageHandle,\r | |
66 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
67 | );\r | |
68 | \r | |
69 | #endif\r |