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 "lwip/netif.h"
#include "net/netif.h"
#include "bhp/msg.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.
 
static bhp_msg_tlwip_netif_get_bhp (struct netif *netif)
 Get the IPC based Bottom Half Processor for LWIP.
 

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 59 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 48 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 70 of file compat.h.

◆ lwip_netif_get_bhp()

static bhp_msg_t * lwip_netif_get_bhp ( struct netif *  netif)
inlinestatic

Get the IPC based Bottom Half Processor for LWIP.

Parameters
[in]netifpointer to the LWIP network interface
Returns
pointer to the IPC based Bottom Half Processor descriptor, if Message based implementation of Bottom Half Processor is present.
NULL otherwise

Definition at line 85 of file compat.h.