mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04: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);
|
|
}
|