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