Joe Hershberger 
		22f68524f8 
		
	 
	
	
	sandbox: eth: Add support for using the 'lo' interface ... 
			The 'lo' interface on Linux doesn't support thinks like ARP or
link-layer access like we use to talk to a normal network interface.
A higher-level network API must be used to access localhost.
As written, this interface is limited to not supporting ICMP since the
API doesn't allow the socket to be opened for all IP traffic and be able
to receive at the same time. UDP is far more useful to test with, so it
was selected over ICMP. Ping won't work, but things like TFTP should
work.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org> 
		
	 
		2015-04-18 11:11:14 -06:00 
	 
	
	
		 
	
	
		
			
			
			
			
			
			2015-01-16 09:32:32 -08:00 
		 
	
		
			
			
			
			
			
			2015-02-24 13:10:20 -08:00 
		 
	
		
			
			
			
			
			
			2015-01-30 15:55:00 -06:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:11 -06:00 
		 
	
		
			
			
			
			
			
			2007-11-25 18:35:17 +01:00 
		 
	
		
			
			
			
			
			
			2012-05-23 14:19:21 -05:00 
		 
	
		
			
			
			
			
			
			2011-01-09 18:06:50 +01:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-11-13 22:13:32 +01:00 
		 
	
		
			
			
			
			
			
			2013-08-19 12:34:18 -05:00 
		 
	
		
			
			
			
			
			
			2010-07-12 00:14:29 -07:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2014-08-30 07:46:39 -04:00 
		 
	
		
			
			
			
			
			
			2014-08-30 07:46:39 -04:00 
		 
	
		
			
			
			
			
			
			2014-08-30 07:46:39 -04:00 
		 
	
		
			
			
			
			
			
			2014-08-30 07:46:39 -04:00 
		 
	
		
			
			
			
			
			
			2014-02-20 12:00:27 -05:00 
		 
	
		
			
			
			
			
			
			2012-05-23 14:19:21 -05:00 
		 
	
		
			
			
			
			
			
			2013-07-25 17:57:46 +02:00 
		 
	
		
			
			
			
			
			
			2014-08-28 17:18:49 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2014-10-25 15:27:35 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-10-14 16:06:53 -04:00 
		 
	
		
			
			
			
			
			
			2015-03-05 11:17:53 -05:00 
		 
	
		
			
			
			
			
			
			2015-03-05 11:17:53 -05:00 
		 
	
		
			
			
			
			
			
			2014-05-12 15:19:46 -04:00 
		 
	
		
			
			
			
			
			
			2008-08-26 23:08:19 -07:00 
		 
	
		
			
			
			
			
			
			2012-05-22 10:18:15 -05:00 
		 
	
		
			
			
			
			
			
			2009-02-10 00:16:27 +01:00 
		 
	
		
			
			
			
			
			
			2013-04-01 16:33:52 -04:00 
		 
	
		
			
			
			
			
			
			2015-01-30 09:19:16 -05:00 
		 
	
		
			
			
			
			
			
			2015-03-24 21:22:37 -06:00 
		 
	
		
			
			
			
			
			
			2014-10-27 14:35:55 +01:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2014-09-15 13:32:56 -04:00 
		 
	
		
			
			
			
			
			
			2014-10-25 07:02:02 -04:00 
		 
	
		
			
			
			
			
			
			2013-09-20 17:55:36 +02:00 
		 
	
		
			
			
			
			
			
			2013-08-19 12:34:18 -05:00 
		 
	
		
			
			
			
			
			
			2014-09-08 10:30:33 -07:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2014-05-12 15:19:46 -04:00 
		 
	
		
			
			
			
			
			
			2013-08-19 12:34:21 -05:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:13 -06:00 
		 
	
		
			
			
			
			
			
			2015-02-16 12:41:41 -05:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-06-24 19:11:14 -05:00 
		 
	
		
			
			
			
			
			
			2013-08-19 12:34:18 -05:00 
		 
	
		
			
			
			
			
			
			2014-04-18 10:42:30 -04:00 
		 
	
		
			
			
			
			
			
			2015-04-10 14:22:48 +02:00 
		 
	
		
			
			
			
			
			
			2015-03-18 23:36:09 +01:00 
		 
	
		
			
			
			
			
			
			2013-11-04 20:32:31 +01:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:13 -06:00 
		 
	
		
			
			
			
			
			
			2013-08-19 12:34:18 -05:00 
		 
	
		
			
			
			
			
			
			2013-08-19 12:34:18 -05:00 
		 
	
		
			
			
			
			
			
			2015-01-23 16:53:52 -05:00 
		 
	
		
			
			
			
			
			
			2008-08-29 13:58:07 -06:00 
		 
	
		
			
			
			
			
			
			2013-02-04 09:05:43 -05:00 
		 
	
		
			
			
			
			
			
			2009-06-12 20:47:16 +02:00 
		 
	
		
			
			
			
			
			
			2015-01-25 23:56:15 +01:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2014-10-23 09:59:21 -04:00 
		 
	
		
			
			
			
			
			
			2012-05-22 13:41:47 -05:00 
		 
	
		
			
			
			
			
			
			2012-05-23 14:19:21 -05:00 
		 
	
		
			
			
			
			
			
			2013-04-01 16:33:52 -04:00 
		 
	
		
			
			
			
			
			
			2013-08-19 12:34:18 -05:00 
		 
	
		
			
			
			
			
			
			2008-04-28 22:26:36 -07:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:11 -06:00 
		 
	
		
			
			
			
			
			
			2012-05-22 13:41:47 -05:00 
		 
	
		
			
			
			
			
			
			2015-03-24 21:22:37 -06:00 
		 
	
		
			
			
			
			
			
			2015-03-24 21:22:37 -06:00 
		 
	
		
			
			
			
			
			
			2014-04-18 10:42:30 -04:00 
		 
	
		
			
			
			
			
			
			2013-11-22 16:57:13 -06:00 
		 
	
		
			
			
			
			
			
			2014-12-18 13:21:41 -07:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:14 -06:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:13 -06:00 
		 
	
		
			
			
			
			
			
			2014-11-04 09:28:47 +09:00 
		 
	
		
			
			
			
			
			
			2014-11-04 09:27:40 +09:00 
		 
	
		
			
			
			
			
			
			2014-11-07 16:27:04 -05:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2015-01-30 15:55:00 -06:00 
		 
	
		
			
			
			
			
			
			2015-04-15 16:17:17 +02:00 
		 
	
		
			
			
			
			
			
			2015-01-30 15:55:00 -06:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2014-11-07 16:27:07 -05:00 
		 
	
		
			
			
			
			
			
			2012-11-04 11:00:36 -07:00 
		 
	
		
			
			
			
			
			
			2015-01-16 09:32:38 -08:00 
		 
	
		
			
			
			
			
			
			2014-02-04 16:42:45 +01:00 
		 
	
		
			
			
			
			
			
			2014-03-04 09:27:32 -05:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2015-01-21 10:30:36 +01:00 
		 
	
		
			
			
			
			
			
			2013-07-24 09:44:38 -04:00 
		 
	
		
			
			
			
			
			
			2015-01-21 10:30:21 +01:00