20#ifndef LWIP_NETIF_COMPAT_H
21#define LWIP_NETIF_COMPAT_H
23#include "lwip/netif.h"
36 struct netif lwip_netif;
38#if IS_USED(MODULE_BHP_MSG)
87#if IS_USED(MODULE_BHP_MSG)
89 return &compat_netif->bhp;
static void lwip_netif_dev_release(struct netif *netif)
Release the LWIP netif network device.
static void lwip_netif_dev_acquire(struct netif *netif)
Acquire the LWIP netif network device.
static void lwip_netif_dev_lock_init(struct netif *netif)
Init the LWIP netif network device lock.
static bhp_msg_t * lwip_netif_get_bhp(struct netif *netif)
Get the IPC based Bottom Half Processor for LWIP.
#define container_of(PTR, TYPE, MEMBER)
Returns the container of a pointer to a member.
void rmutex_lock(rmutex_t *rmutex)
Locks a recursive mutex, blocking.
static void rmutex_init(rmutex_t *rmutex)
Initializes a recursive mutex object.
void rmutex_unlock(rmutex_t *rmutex)
Unlocks the recursive mutex.
Common network interface API definitions.
Message based Bottom Half Processor descriptor.
Bottom Half Processor descriptor.
Representation of a network interface.
netif_t common_netif
network interface descriptor
rmutex_t lock
lock for the interface
Network interface descriptor.