2 Main file for NULL named library for network2 shell command functions.
4 Copyright (c) 2016, Intel Corporation. All rights reserved. <BR>
5 This program and the accompanying materials are licensed and made available under
6 the terms and conditions of the BSD License which accompanies this distribution.
7 The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #ifndef _UEFI_SHELL_NETWORK2_COMMANDS_LIB_H_
15 #define _UEFI_SHELL_NETWORK2_COMMANDS_LIB_H_
17 #include <Protocol/Cpu.h>
18 #include <Protocol/ServiceBinding.h>
19 #include <Protocol/Ip6.h>
20 #include <Protocol/Ip6Config.h>
22 #include <Guid/ShellLibHiiGuid.h>
24 #include <Library/ShellLib.h>
25 #include <Library/ShellCommandLib.h>
26 #include <Library/BaseMemoryLib.h>
27 #include <Library/BaseLib.h>
28 #include <Library/PcdLib.h>
29 #include <Library/MemoryAllocationLib.h>
30 #include <Library/DebugLib.h>
31 #include <Library/UefiBootServicesTableLib.h>
32 #include <Library/HiiLib.h>
33 #include <Library/NetLib.h>
35 extern EFI_HANDLE gShellNetwork2HiiHandle
;
38 Function for 'ping6' command.
40 @param[in] ImageHandle Handle to the Image (NULL if Internal).
41 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
43 @retval SHELL_SUCCESS The ping6 processed successfullly.
44 @retval others The ping6 processed unsuccessfully.
49 ShellCommandRunPing6 (
50 IN EFI_HANDLE ImageHandle
,
51 IN EFI_SYSTEM_TABLE
*SystemTable
55 Function for 'ifconfig6' command.
57 @param[in] ImageHandle Handle to the Image (NULL if Internal).
58 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
60 @retval SHELL_SUCCESS The ifconfig6 command processed successfully.
61 @retval others The ifconfig6 command process failed.
66 ShellCommandRunIfconfig6 (
67 IN EFI_HANDLE ImageHandle
,
68 IN EFI_SYSTEM_TABLE
*SystemTable