// /**
//
// Copyright (c) 2013 - 2014, Hewlett-Packard Development Company, L.P.
// Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.
// This program and the accompanying materials
// are licensed and made available under the terms and conditions of the BSD License
// which accompanies this distribution. The full text of the license may be found at
// http://opensource.org/licenses/bsd-license.php
//
// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
//
// Module Name:
//
// UefiShellNetwork1CommandsLib.uni
//
// Abstract:
//
// String definitions for UEFI Shell 2.0 network 1 commands
//
//
// **/
/=#
#langdef en-US "english"
#string STR_GEN_TOO_MANY #language en-US "%EError. %NToo many arguments specified.\r\n"
#string STR_GEN_TOO_FEW #language en-US "%EError. %NToo few arguments specified.\r\n"
#string STR_GEN_PARAM_INV #language en-US "%EError. %NIncorrect parameter.\r\n"
#string STR_GEN_PROBLEM #language en-US "%EError. %NThe argument '%B%s%N' is incorrect.\r\n"
#string STR_GEN_PROBLEM_OP2 #language en-US "%EError. %NThe argument '%B%s%N' is incorrect. Expected '%B%s%N' or '%B%s%N'.\r\n"
#string STR_GEN_PROBLEM_VAL #language en-US "%EError. %NThe argument '%B%s%N' has incorrect value.\r\n"
#string STR_GEN_NO_VALUE #language en-US "%EError. %NThe argument '%B%s%N' requires a value.\r\n"
#string STR_GEN_ERR_AD #language en-US "%EError. %NAccess denied.\r\n"
#string STR_GEN_ERR_UK #language en-US "%EError: %r\r\n"
#string STR_GEN_PARAM_CON #language en-US "%EError. %NParameters conflict\r\n"
#string STR_GEN_FILE_OPEN_FAIL #language en-US "%EError. %NThe file '%B%s%N' did not open.\r\n"
#string STR_GEN_FILE_AD #language en-US "%EError. %NAccess denied to file '%B%s%N'.\r\n"
#string STR_GEN_CRLF #language en-US "\r\n"
#string STR_GEN_NO_FILES #language en-US "No matching files were found.\r\n"
#string STR_GEN_DIR_NF #language en-US "Directory '%B%s%N' was not found.\r\n"
#string STR_GEN_FILE_NF #language en-US "File '%B%s%N' was not found.\r\n"
#string STR_GEN_FILE_NO_OPEN #language en-US "%EError. %N The file '%B%s%N' wouldn't open: %r.\r\n"
#string STR_GEN_IS_DIR #language en-US "'%B%s%N' is a directory.\r\n"
#string STR_GEN_PROTOCOL_NF #language en-US "%EError. %NThe protocol '%B%s%N' was required and not found (%g).\r\n"
#string STR_PING_CONFIG #language en-US "Config %r\r\n"
#string STR_PING_GETMODE #language en-US "GetModeData %r\r\n"
#string STR_PING_GETDATA #language en-US "GetData %r\r\n"
#string STR_PING_SEND_REQUEST #language en-US "Echo request sequence %d did not complete successfully.\r\n"
#string STR_PING_NOSOURCE_INDO #language en-US "There are no sources in %s's multicast domain.\r\n"
#string STR_PING_NETWORK_ERROR #language en-US "%EError.%N Network function failed with %r.\r\n"
#string STR_PING_NOROUTE_FOUND #language en-US "There is no route to the destination '%B%s%N' from the source '%B%s%N' was found.\r\n"
#string STR_PING_START #language en-US "Ping %s %d data bytes\r\n"
#string STR_PING_TIMEOUT #language en-US "Echo request sequence %d timeout.\r\n"
#string STR_PING_REPLY_INFO #language en-US "%d bytes from %s : icmp_seq=%d ttl=%d time%c%dms\r\n"
#string STR_PING_STAT #language en-US "\n%d packets transmitted, %d received, %d%% packet loss, time %dms\r\n"
#string STR_PING_RTT #language en-US "\nRtt(round trip time) min=%dms max=%dms avg=%dms\r\n"
#string STR_GET_HELP_PING #language en-US ""
".TH ping 0 "ping another IP address"\r\n"
".SH NAME\r\n"
"Pings the target host with an IPv4 stack.\r\n"
".SH SYNOPSIS\r\n"
" \r\n"
"PING [-_s SourceIp] [-n count] [-l size] TargetIp\r\n"
".SH OPTIONS\r\n"
" \r\n"
" -n - Specifies the number of echo request datagram to be sent.\r\n"
" -l - Specifies the size of the data buffer in the echo request datagram.\r\n"
" -_s - Specifies the source adapter as IPv4 address.\r\n"
" SourceIp - Specifies the IPv4 address of the source machine.\r\n"
" TargetIp - Specifies the IPv4 address of the target machine.\r\n"
".SH DESCRIPTION\r\n"
" \r\n"
"NOTES:\r\n"
" 1. This command uses the ICMPv4 ECHO_REQUEST datagram to elicit ECHO_REPLY\r\n"
" from a host.\r\n"
".SH EXAMPLES\r\n"
" \r\n"
"EXAMPLES:\r\n"
" * To ping the target host with 64 bytes data:\r\n"
" fs0:\> ping -l 64 192.168.0.1\r\n"
" \r\n"
" * To ping the target host by sending 20 echo request datagram:\r\n"
" fs0:\> ping -n 20 202.120.100.1\r\n"
".SH RETURNVALUES\r\n"
" \r\n"
"RETURN VALUES:\r\n"
" SHELL_SUCCESS The action was completed as requested.\r\n"
" SHELL_INVALID_PARAMETER One of the passed in parameters was incorrectly\r\n"
" formatted or its value was out of bounds.\r\n"
#string STR_IFCONFIG_GET_NIC_FAIL #language en-US "%HIfConfig%N: Unable to retrieve all NICs' configure data, %r\n"
#string STR_IFCONFIG_INTERFACE_NOT_FOUND #language en-US "%HIfConfig%N: The specified interface %H%s%N doesn't exist, use IfConfig -l to list the interfaces\n"
#string STR_IFCONFIG_INTERFACE_CONFIGURED #language en-US "%HIfConfig%N: Interface %H%s%N is already configured as DHCP, clean the configuration first\n"
#string STR_IFCONFIG_INVALID_IP_STR #language en-US "%HIfConfig%N: Invalid IP address, %s\n"
#string STR_IFCONFIG_INVALID_ADDR_PAIR #language en-US "%HIfConfig%N: The IP/netmask pair are incorrect\n"
#string STR_IFCONFIG_INVALID_GATEWAY #language en-US "%HIfConfig%N: Invalid gateway address\n"
#string STR_IFCONFIG_SET_FAIL #language en-US "%HIfConfig%N: Unable to set the NIC configure parameters, %r\n"
#string STR_IFCONFIG_START_SET_ADDR #language en-US "Create an IP and start to get the default address\n"
#string STR_IFCONFIG_IP_CHILD_FAIL #language en-US "%HIfConfig%N: Unable to create an IP child to start auto-config, %r\n"
#string STR_IFCONFIG_WAIT_SET_DONE #language en-US "Please wait, your console may stop responding for a while ...\n"
#string STR_IFCONFIG_GET_DEF_ADDR_FAIL #language en-US "Unable to get default IP\n"
#string STR_IFCONFIG_NIC_NAME #language en-US "%s\n"
#string STR_IFCONFIG_NIC_NOT_CONFIGURED #language en-US " Not configured.\n"
#string STR_IFCONFIG_CONFIG_SOURCE #language en-US " Source : %s\n"
#string STR_IFCONFIG_PERMANENT_STATUS #language en-US " Permanent : %s\n"
#string STR_IFCONFIG_ROUTES_SIZE #language en-US " Routes (%d entries):\n"
#string STR_IFCONFIG_ROUTES_ENTRY_INDEX #language en-US " Entry[%d]\n"
#string STR_IFCONFIG_CONF_IP_ADDR #language en-US "IfConfig: IP address conflict with MAC: %02x-%02x-%02x-%02x-%02x-%02x\n"
#string STR_IFCONFIG_SHOW_IP_ADDR #language en-US "%13s: %N%d.%d.%d.%d\n"
#string STR_IFCONFIG_SHOW_MAC_ADDR #language en-US " MAC : %02x-%02x-%02x-%02x-%02x-%02x\n"
#string STR_IFCONFIG_LINE_HELP #language en-US "Modify the default IP address of UEFI network stack"
#string STR_GET_HELP_IFCONFIG #language en-US ""
".TH ifconfig 0 "configure IPv4 adapter"\r\n"
".SH NAME\r\n"
"Modifies the default IP address of the UEFI IP4 Network Stack.\r\n"
".SH SYNOPSIS\r\n"
" \r\n"
"IFCONFIG [-c [Name]] [-l [Name]]\r\n"
"IFCONFIG [-s dhcp | > [permanent]]\r\n"
".SH OPTIONS\r\n"
" \r\n"
" -c - Clears the configuration\r\n"
" -l - Lists the configuration\r\n"
" -s - Sets the configuration\r\n"
" Name - Specifies an adapter name, i.e., eth0.\r\n"
" IP - Specifies the IPv4 address in four integer values:\r\n"
" - Example: 192.168.0.10\r\n"
" SubnetMask - Specifies a subnet mask in four integer values:\r\n"
" - Example: 255.255.255.0\r\n"
" GatewayMask - Specifies a default gateway in four integer values:\r\n"
" - Example: 192.168.0.1\r\n"
".SH DESCRIPTION\r\n"
" \r\n"
"NOTES:\r\n"
" 1. This command is used to modify the default IP address for the UEFI IP4\r\n"
" Network Stack.\r\n"
" 2. Use '-c' to clear the configuration for all or specified interface, and\r\n"
" the network stack for related interface will fall back to DHCP as the\r\n"
" default.\r\n"
" 3. Use '-l' to list the configuration for all or the specified interface.\r\n"
" 4. Use '-s static [permanent]' with \r\n"
" static IP4 address configuration for all or specified interface.\r\n"
" If permanent is not present, the configuration is one-time only, otherwise\r\n"
" this configuration request will survive a network stack reload.\r\n"
" 5. Use '-s dhcp [permanent]' for DHCP4 to request the IP4 address\r\n"
" configuration dynamically for all interface or specified interface.\r\n"
" If permanent is not present, the configuration is one-time only, otherwise\r\n"
" this configuration request will survive a network stack reload.\r\n"
".SH EXAMPLES\r\n"
" \r\n"
"EXAMPLES:\r\n"
" * To list the configuration for the interface eth0:\r\n"
" fs0:\> ifconfig -l eth0\r\n"
" \r\n"
" * To use DHCP4 to request the IP4 address configuration dynamically for the\r\n"
" interface eth0:\r\n"
" fs0:\> ifconfig -s eth0 dhcp\r\n"
" \r\n"
" * To use the static IP4 address configuration for the interface eth0, and\r\n"
" this configuration survives the network reload:\r\n"
" fs0:\> ifconfig -s eth0 static 192.168.0.5 255.255.255.0 192.168.0.1\r\n"
" permanent\r\n"