Ethernet for Nucleo and Disco board STM32F746 works with gcc and arm. IAC is untested
Dependents: STM32F746_iothub_client_sample_mqtt DISCO-F746NG_Ethernet Nucleo_F746ZG_Ethernet thethingsiO-DISCO_F746NG-mqtt ... more
netifapi.c File Reference
Network Interface Sequential API module. More...
Go to the source code of this file.
Functions | |
void | do_netifapi_netif_add (struct netifapi_msg_msg *msg) |
Call netif_add() inside the tcpip_thread context. | |
void | do_netifapi_netif_set_addr (struct netifapi_msg_msg *msg) |
Call netif_set_addr() inside the tcpip_thread context. | |
void | do_netifapi_netif_common (struct netifapi_msg_msg *msg) |
Call the "errtfunc" (or the "voidfunc" if "errtfunc" is NULL) inside the tcpip_thread context. | |
err_t | netifapi_netif_add (struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask, ip_addr_t *gw, void *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, ip_addr_t *ipaddr, ip_addr_t *netmask, ip_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 netifapi.c.
Function Documentation
void do_netifapi_netif_add | ( | struct netifapi_msg_msg * | msg ) |
Call netif_add() inside the tcpip_thread context.
Definition at line 45 of file netifapi.c.
void do_netifapi_netif_common | ( | struct netifapi_msg_msg * | msg ) |
Call the "errtfunc" (or the "voidfunc" if "errtfunc" is NULL) inside the tcpip_thread context.
Definition at line 80 of file netifapi.c.
void do_netifapi_netif_set_addr | ( | struct netifapi_msg_msg * | msg ) |
Call netif_set_addr() inside the tcpip_thread context.
Definition at line 65 of file netifapi.c.
err_t netifapi_netif_add | ( | struct netif * | netif, |
ip_addr_t * | ipaddr, | ||
ip_addr_t * | netmask, | ||
ip_addr_t * | gw, | ||
void * | 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.
- Note:
- for params
- See also:
- netif_add()
Definition at line 98 of file 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 148 of file netifapi.c.
err_t netifapi_netif_set_addr | ( | struct netif * | netif, |
ip_addr_t * | ipaddr, | ||
ip_addr_t * | netmask, | ||
ip_addr_t * | gw | ||
) |
Call netif_set_addr() in a thread-safe way by running that function inside the tcpip_thread context.
- Note:
- for params
- See also:
- netif_set_addr()
Definition at line 126 of file netifapi.c.
Generated on Tue Jul 12 2022 18:14:55 by 1.7.2