Loading...
Searching...
No Matches
compat.h File Reference

lwIP definition based on common netif_t struct for network stack-independent API. More...

Detailed Description

lwIP definition based on common netif_t struct for network stack-independent API.

Author
Erik Ekman eekma.nosp@m.n@go.nosp@m.ogle..nosp@m.com

Definition in file compat.h.

#include "bhp/event.h"
#include "event.h"
#include "lwip/netif.h"
#include "net/netif.h"
+ Include dependency graph for compat.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lwip_netif_t
 Representation of a network interface. More...
 
static void lwip_netif_dev_lock_init (struct netif *netif)
 Init the LWIP netif network device lock.
 
static void lwip_netif_dev_acquire (struct netif *netif)
 Acquire the LWIP netif network device.
 
static void lwip_netif_dev_release (struct netif *netif)
 Release the LWIP netif network device.
 

Function Documentation

◆ lwip_netif_dev_acquire()

static void lwip_netif_dev_acquire ( struct netif *  netif)
inlinestatic

Acquire the LWIP netif network device.

Parameters
[out]netifpointer to the LWIP network interface

Definition at line 64 of file compat.h.

◆ lwip_netif_dev_lock_init()

static void lwip_netif_dev_lock_init ( struct netif *  netif)
inlinestatic

Init the LWIP netif network device lock.

Parameters
[in]netifpointer to the LWIP network interface

Definition at line 53 of file compat.h.

◆ lwip_netif_dev_release()

static void lwip_netif_dev_release ( struct netif *  netif)
inlinestatic

Release the LWIP netif network device.

Parameters
[out]netifpointer to the LWIP network interface

Definition at line 75 of file compat.h.