68fb0527 |
1 | /** @file\r |
2 | header file for NULL named library for network1 shell command functions.\r |
3 | \r |
4 | Copyright (c) 2010 - 2011, 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 | #if !defined (_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 <Protocol/Cpu.h>\r |
23 | #include <Protocol/ServiceBinding.h>\r |
24 | #include <Protocol/Ip6.h>\r |
25 | #include <Protocol/Ip6Config.h>\r |
26 | #include <Protocol/Ip4.h>\r |
27 | #include <Protocol/Ip4Config.h>\r |
28 | #include <Protocol/HiiConfigAccess.h>\r |
29 | #include <Protocol/HiiConfigRouting.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 |
48 | #include <Guid/NicIp4ConfigNvData.h>\r |
49 | \r |
50 | extern EFI_HANDLE gShellNetwork1HiiHandle;\r |
51 | \r |
52 | /**\r |
53 | Function for 'ping' command.\r |
54 | \r |
55 | @param[in] ImageHandle Handle to the Image (NULL if Internal).\r |
56 | @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r |
57 | **/\r |
58 | SHELL_STATUS\r |
59 | EFIAPI\r |
60 | ShellCommandRunPing (\r |
61 | IN EFI_HANDLE ImageHandle,\r |
62 | IN EFI_SYSTEM_TABLE *SystemTable\r |
63 | );\r |
64 | \r |
65 | /**\r |
66 | Function for 'ifconfig' command.\r |
67 | \r |
68 | @param[in] ImageHandle Handle to the Image (NULL if Internal).\r |
69 | @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r |
70 | **/\r |
71 | SHELL_STATUS\r |
72 | EFIAPI\r |
73 | ShellCommandRunIfconfig (\r |
74 | IN EFI_HANDLE ImageHandle,\r |
75 | IN EFI_SYSTEM_TABLE *SystemTable\r |
76 | );\r |
77 | \r |
78 | #endif\r |
79 | \r |