Axel Lin 
							
						 
					 
					
						
						
							
						
						5209af379a 
					 
					
						
						
							
							esp-netif: Improve esp_netif_is_netif_listed and esp_netif_get_handle_from_ifkey  
						
						 
						
						... 
						
						
						
						Each esp_netif_next_unsafe() call needs to iterate the s_head list.
It is inefficient with a do-while loop + esp_netif_next_unsafe() call.
Use SLIST_FOREACH instead to simplify the code and speed-up the matching.
While at it, also fix returning NULL from esp_netif_is_netif_listed().
Signed-off-by: Axel Lin <axel.lin@gmail.com > 
						
						
					 
					
						2021-05-20 13:51:22 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								David Cermak 
							
						 
					 
					
						
						
							
						
						1a41545c3e 
					 
					
						
						
							
							esp-netif: SLIP interface refactor to isolate interface from drivers  
						
						 
						
						
						
						
					 
					
						2020-07-15 15:46:46 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								David Cermak 
							
						 
					 
					
						
						
							
						
						6a47dc9275 
					 
					
						
						
							
							esp-netif: fix memory allocation issues found by static analyser  
						
						 
						
						
						
						
					 
					
						2020-05-13 07:16:45 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								David Cermak 
							
						 
					 
					
						
						
							
						
						7ef385963c 
					 
					
						
						
							
							esp_netif: minor update of coding style based on clang-tidy  
						
						 
						
						... 
						
						
						
						guidelines and fix some copyright notices 
						
						
					 
					
						2019-11-13 12:36:25 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								David Cermak 
							
						 
					 
					
						
						
							
						
						f839a1328c 
					 
					
						
						
							
							esp_netif: added locking for netif list management, unit tests to use unique if_keys, updated comments  
						
						 
						
						
						
						
					 
					
						2019-11-13 12:36:25 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								David Cermak 
							
						 
					 
					
						
						
							
						
						ba13275c6b 
					 
					
						
						
							
							esp_netif: update default DHCP IP addresses to be in line with old interface, added loopback implementation, explicit esp-netif init, sanity checks for parameters added  
						
						 
						
						
						
						
					 
					
						2019-11-13 12:36:25 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								David Cermak 
							
						 
					 
					
						
						
							
						
						ffe043b1a8 
					 
					
						
						
							
							esp_netif: Introduction of esp-netif component as a replacement of tcpip_adpter  
						
						 
						
						... 
						
						
						
						- provides object oriented access to network intefaces
- not limited to default netifs
- more generic abstraction to network input output functions
- event handler registration removed from component responsibility
- backward compatibility layer for legacy tcpip_apapter APIs
Closes IDF-39 
						
						
					 
					
						2019-11-13 12:36:25 +01:00