mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 06:11:06 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			352 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			352 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier: Apache-2.0
 | 
						|
 */
 | 
						|
 | 
						|
#include "lwip/if_api.h"
 | 
						|
 | 
						|
unsigned int if_nametoindex(const char *ifname)
 | 
						|
{
 | 
						|
    return lwip_if_nametoindex(ifname);
 | 
						|
}
 | 
						|
 | 
						|
char *if_indextoname(unsigned int ifindex, char *ifname)
 | 
						|
{
 | 
						|
    return lwip_if_indextoname(ifindex, ifname);
 | 
						|
}
 |