20#ifndef LWIP_INIT_DEVS_H
21#define LWIP_INIT_DEVS_H
31void lwip_netif_init_devs(
void);
44#if IS_USED(MODULE_LWIP_SIXLOWPAN)
56typedef void (*lwip_netif_setup_func_t)(void);
61#define LWIP_INIT_ETH_NETIF(func) \
62 XFA_USE_CONST(lwip_netif_setup_func_t, lwip_netif_eth_xfa); \
63 XFA_ADD_PTR(lwip_netif_eth_xfa, func, func, &func)
68#define LWIP_INIT_6LOWPAN_NETIF(func) \
69 XFA_USE_CONST(lwip_netif_setup_func_t, lwip_netif_6lowpan_xfa); \
70 XFA_ADD_PTR(lwip_netif_6lowpan_xfa, func, func, &func)
lwIP definition based on common netif_t struct for network stack-independent API.
Definitions low-level network driver interface.
struct netif * lwip_add_ethernet(lwip_netif_t *netif, netdev_t *state)
Adds an Ethernet netif using the supplied netdev.
Representation of a network interface.
Structure to hold driver state.