Jiaxin Wu 
							
						 
					 
					
						
						
							
						
						913ba15120 
					 
					
						
						
							
							ShellPkg: Update 'ifconfig -r' implementation  
						
						... 
						
						
						
						This patch is used to update ifconfig -r implementation
to sync with UEFI Shell 2.2.
option -r means to reconfigure all or specified interface,
and set DHCP policy. If specified interface is already set
to DHCP, then refresh the IPv4 configuration.
If the interface name is specified
with '-r', DHCP DORA process will be triggered by the policy
transition (static -> dhcp).
Cc: Ye Ting <ting.ye@intel.com >
Cc: Fu Siyuan <siyuan.fu@intel.com >
Cc: Carsey Jaben <jaben.carsey@intel.com >
Cc: El-Haj-Mahmoud Samer <samer.el-haj-mahmoud@hpe.com >
Cc: Subramanian Sriram <sriram-s@hpe.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com >
Reviewed-by: Sriram Subramanian <sriram-s@hpe.com >
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com >
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com > 
						
						
					 
					
						2016-03-03 15:27:24 +08:00 
						 
				 
			
				
					
						
							
							
								Jiaxin Wu 
							
						 
					 
					
						
						
							
						
						db54ae0845 
					 
					
						
						
							
							ShellPkg: Revert git 'd6cf1af9' fix  
						
						... 
						
						
						
						'd6cf1af9' is associated with '3d0a49ad' commit. So, this patch is
used to respond the revert for '3d0a49ad' to adapt the Ipv4 config
policy update.
Cc: Subramanian Sriram <sriram-s@hpe.com >
Cc: El-Haj-Mahmoud Samer <samer.el-haj-mahmoud@hpe.com >
Cc: Ye Ting <ting.ye@intel.com >
Cc: Fu Siyuan <siyuan.fu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com >
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com >
Reviewed-by: Ye Ting <ting.ye@intel.com > 
						
						
					 
					
						2016-03-02 15:43:58 +08:00 
						 
				 
			
				
					
						
							
							
								Jiaxin Wu 
							
						 
					 
					
						
						
							
						
						d1baf355b1 
					 
					
						
						
							
							ShellPkg: Fix ifconfig hang issue with incomplete parameters  
						
						... 
						
						
						
						This patch is used to fix ifconfig hang issue with incomplete
parameters. In addition, some error related output information
is added to increase the interactivity.
Cc: Leekha Shaveta <shaveta@freescale.com >
Cc: Carsey Jaben <jaben.carsey@intel.com >
Cc: Ye Ting <ting.ye@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
Tested-by: Leekha Shaveta <shaveta@freescale.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19212  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-12-10 10:59:29 +00:00 
						 
				 
			
				
					
						
							
							
								Jiaxin Wu 
							
						 
					 
					
						
						
							
						
						6e3e562c9d 
					 
					
						
						
							
							ShellPkg: Fix wrong return status for Ifconfig.c  
						
						... 
						
						
						
						The Ifconfig command handler tries to return an EFI_STATUS when
the return type should be SHELL_STATUS.
Cc: Cohen Eugene <eugene@hp.com >
Cc: Carsey Jaben <jaben.carsey@intel.com >
Cc: Ye Ting <ting.ye@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Ye Ting <ting.ye@intel.com >
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19110  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-12-04 01:10:17 +00:00 
						 
				 
			
				
					
						
							
							
								Jiaxin Wu 
							
						 
					 
					
						
						
							
						
						34297cef1e 
					 
					
						
						
							
							ShellPkg: Get media status in ifconfig command  
						
						... 
						
						
						
						v2:
* Update to use NetLibDetectMedia() directly.
This patch is used to get media status in ifconfig command.
Cc: Ye Ting <ting.ye@intel.com >
Cc: Fu Siyuan <siyuan.fu@intel.com >
Cc: Jaben Carsey <jaben.carsey@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com >
Reviewed-by: Ye Ting <ting.ye@intel.com >
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18363  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-08-31 03:13:33 +00:00 
						 
				 
			
				
					
						
							
							
								Jiaxin Wu 
							
						 
					 
					
						
						
							
						
						d6cf1af908 
					 
					
						
						
							
							ShellPkg: Fix 'ifconfig' can't get the address from dhcp in some case  
						
						... 
						
						
						
						R18201 fix caused ifconfig in shell failed to get the address from dhcp with the
command "ifconfig -s eth0 dhcp" since the default policy is dhcp already.
We can fix it by following the rule to starting the Ip4 auto configuration.
Cc: Ye Ting <ting.ye@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
Reviwed-by: Ye Ting <ting.ye@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18244  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-08-20 06:45:19 +00:00 
						 
				 
			
				
					
						
							
							
								jiaxinwu 
							
						 
					 
					
						
						
							
						
						41a55ffe79 
					 
					
						
						
							
							ShellPkg: Remove Status definition in function scope  
						
						... 
						
						
						
						that are assigned but never used afterwards.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: jiaxinwu <jiaxin.wu@intel.com >
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17888  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-07-08 13:41:09 +00:00 
						 
				 
			
				
					
						
							
							
								jiaxinwu 
							
						 
					 
					
						
						
							
						
						7c25b7ea5b 
					 
					
						
						
							
							ShellPkg: Update ping/ifconfig library source code to consume Ip4Config2 protocol.  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: jiaxinwu <jiaxin.wu@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Tapan Shah <tapandshah@hp.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17869  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-07-08 02:53:41 +00:00 
						 
				 
			
				
					
						
							
							
								Qiu Shumin 
							
						 
					 
					
						
						
							
						
						e75390f029 
					 
					
						
						
							
							ShellPkg: Use safe string functions to refine code.  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17730  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-06-30 03:18:31 +00:00 
						 
				 
			
				
					
						
							
							
								Tapan Shah 
							
						 
					 
					
						
						
							
						
						c011b6c9e2 
					 
					
						
						
							
							ShellPkg: Standardized HP Copyright Message String  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16759  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-02-04 22:25:01 +00:00 
						 
				 
			
				
					
						
							
							
								Tapan Shah 
							
						 
					 
					
						
						
							
						
						ab7c10f28e 
					 
					
						
						
							
							ShellPkg: Update Network1 profile commands response output  
						
						... 
						
						
						
						Updates to Network1 profile commands response output. 
Updating Network1 profile commands source code to include command name as a prefix in error message.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hp.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16731  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-02-03 21:27:55 +00:00 
						 
				 
			
				
					
						
							
							
								Scott Duplichan 
							
						 
					 
					
						
						
							
						
						a3d236df14 
					 
					
						
						
							
							ShellPkg: Prevent StrnCpy from overwriting null terminator when source is larger than destination.  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16035  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2014-09-02 19:50:09 +00:00 
						 
				 
			
				
					
						
							
							
								Jaben Carsey 
							
						 
					 
					
						
						
							
						
						284065b0a1 
					 
					
						
						
							
							This patch replaces StrCpy with StrnCpy or refactors out the usage of StrCpy through some other means.  
						
						... 
						
						
						
						This patch replaces StrCat with StrnCat or refactors out the usage of StrCat through some other means.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16005  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2014-08-29 22:01:54 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Phillips 
							
						 
					 
					
						
						
							
						
						891e9f0581 
					 
					
						
						
							
							ShellPkg: Fix ‘ifconfig’ so it will build with NIC_IP4_CONFIG_INFO.Permanent change, and update the STR_IFCONFIG_PERMANENT_STATUS string token.  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <chrisp@hp.com >
reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14744  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-10-04 15:38:38 +00:00 
						 
				 
			
				
					
						
							
							
								Samer El-Haj-Mahmoud elhaj 
							
						 
					 
					
						
						
							
						
						928927dd8e 
					 
					
						
						
							
							Fix spelling typo in the NIC_IP4_CONFIG_INFO.Permanent variable name, which was incorrectly called NIC_IP4_CONFIG_INFO.Perment  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud elhaj@hp.com  
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14743  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-10-01 22:12:51 +00:00 
						 
				 
			
				
					
						
							
							
								sfu5 
							
						 
					 
					
						
						
							
						
						75dce34062 
					 
					
						
						
							
							1. Fix a bug in PXE driver that the PXE boot do not restart if a new boot option on the different IP stack is selected.  
						
						... 
						
						
						
						2. Retrieve the IP information after iSCSI TCPv6 connection established and fill it into iBFT table.
3. Generate a random IAID for each NIC port to require different IPv6 address in PXE driver.
4. Update function EfiMtftp6Configure() and Mtftp6RrqHandleOack() to allocate at most one UdpIo.
5. Fix a typo from “destory” to “destroy” in network code.
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com >
Reviewed-by: Ye Ting <ting.ye@intel.com >
Reviewed-by: Ouyang Qian <qian.ouyang@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13859  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-10-17 08:23:41 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						035da677c8 
					 
					
						
						
							
							Update IfConfig.c to use TPL_CALLBACK instead of TPL_CALLBACK - 1 to follow UEFI spec.  
						
						... 
						
						
						
						Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Ting Ye <ting.ye@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13210  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-04-24 02:41:33 +00:00 
						 
				 
			
				
					
						
							
							
								ydong10 
							
						 
					 
					
						
						
							
						
						4ff7e37b4f 
					 
					
						
						
							
							Refine comments and two code style.  
						
						... 
						
						
						
						Signed-off-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12263  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2011-09-02 08:05:34 +00:00 
						 
				 
			
				
					
						
							
							
								jcarsey 
							
						 
					 
					
						
						
							
						
						a1d4bfcc3f 
					 
					
						
						
							
							add comments to function declarations and definitions and updated to match coding style document.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11505  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2011-04-05 20:55:45 +00:00 
						 
				 
			
				
					
						
							
							
								jcarsey 
							
						 
					 
					
						
						
							
						
						ae724571be 
					 
					
						
						
							
							Comment's added and fixed.  
						
						... 
						
						
						
						Pointer's checked for NULL before access and after memory allocations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11499  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2011-04-01 22:16:01 +00:00 
						 
				 
			
				
					
						
							
							
								jcarsey 
							
						 
					 
					
						
						
							
						
						33c031ee20 
					 
					
						
						
							
							pointer verification (not NULL) and buffer overrun fixes.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11459  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2011-03-30 19:33:03 +00:00 
						 
				 
			
				
					
						
							
							
								jcarsey 
							
						 
					 
					
						
						
							
						
						16751bb43d 
					 
					
						
						
							
							remove unused variable.  
						
						... 
						
						
						
						add some parens.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11457  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2011-03-30 16:12:42 +00:00 
						 
				 
			
				
					
						
							
							
								jcarsey 
							
						 
					 
					
						
						
							
						
						68fb05272b 
					 
					
						
						
							
							Add Network1 profile.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11423  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2011-03-25 20:47:02 +00:00