Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed-TFT-example-NCS36510 mbed-Accelerometer-example-NCS36510 mbed-Accelerometer-example-NCS36510
lwip_netifapi.c File Reference
Network Interface Sequential API module. More...
Go to the source code of this file.
Functions | |
static err_t | netifapi_do_netif_add (struct tcpip_api_call_data *m) |
Call netif_add() inside the tcpip_thread context. | |
static err_t | netifapi_do_netif_set_addr (struct tcpip_api_call_data *m) |
Call netif_set_addr() inside the tcpip_thread context. | |
static err_t | netifapi_do_netif_common (struct tcpip_api_call_data *m) |
Call the "errtfunc" (or the "voidfunc" if "errtfunc" is NULL) inside the tcpip_thread context. | |
err_t | netifapi_netif_add (struct netif *netif,#if LWIP_IPV4 const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw,#endifvoid *state, netif_init_fn init, netif_input_fn input) |
Call netif_add() in a thread-safe way by running that function inside the tcpip_thread context. | |
err_t | netifapi_netif_set_addr (struct netif *netif, const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw) |
Call netif_set_addr() in a thread-safe way by running that function inside the tcpip_thread context. | |
err_t | netifapi_netif_common (struct netif *netif, netifapi_void_fn voidfunc, netifapi_errt_fn errtfunc) |
call the "errtfunc" (or the "voidfunc" if "errtfunc" is NULL) in a thread-safe way by running that function inside the tcpip_thread context. |
Detailed Description
Network Interface Sequential API module.
Definition in file lwip_netifapi.c.
Function Documentation
static err_t netifapi_do_netif_add | ( | struct tcpip_api_call_data * | m ) | [static] |
Call netif_add() inside the tcpip_thread context.
Definition at line 61 of file lwip_netifapi.c.
static err_t netifapi_do_netif_common | ( | struct tcpip_api_call_data * | m ) | [static] |
Call the "errtfunc" (or the "voidfunc" if "errtfunc" is NULL) inside the tcpip_thread context.
Definition at line 106 of file lwip_netifapi.c.
static err_t netifapi_do_netif_set_addr | ( | struct tcpip_api_call_data * | m ) | [static] |
Call netif_set_addr() inside the tcpip_thread context.
Definition at line 87 of file lwip_netifapi.c.
err_t netifapi_netif_common | ( | struct netif * | netif, |
netifapi_void_fn | voidfunc, | ||
netifapi_errt_fn | errtfunc | ||
) |
call the "errtfunc" (or the "voidfunc" if "errtfunc" is NULL) in a thread-safe way by running that function inside the tcpip_thread context.
- Note:
- use only for functions where there is only "netif" parameter.
Definition at line 209 of file lwip_netifapi.c.
Generated on Tue Jul 12 2022 11:03:02 by
