Documentation

Documentation

Includes

lwip/opt.h

#include "lwip/opt.h"
#include "lwip/opt.h"

lwip/arch.h

#include "lwip/arch.h"
#include "lwip/arch.h"

lwip/ip_addr.h

#include "lwip/ip_addr.h"
#include "lwip/ip_addr.h"

lwip/err.h

#include "lwip/err.h"
#include "lwip/err.h"

lwip/sys.h

#include "lwip/sys.h"
#include "lwip/sys.h"

lwip/igmp.h

#include "lwip/igmp.h"
#include "lwip/igmp.h"

lwip/api.h

#include "lwip/api.h"
#include "lwip/api.h"

lwip/priv/tcpip_priv.h

#include "lwip/priv/tcpip_priv.h"
#include "lwip/priv/tcpip_priv.h"

Macros

Marco LWIP_HDR_API_MSG_H

#define LWIP_HDR_API_MSG_H


      

Marco API_MSG_M_DEF_SEM(m)

#define API_MSG_M_DEF_SEM(m) *m


      

Marco API_MSG_M_DEF_SEM(m)

#define API_MSG_M_DEF_SEM(m) API_MSG_M_DEF(m)


      

Marco API_MSG_M_DEF_SEM(m)

#define API_MSG_M_DEF_SEM(m) API_MSG_M_DEF(m)


      

Marco NETCONN_SHUT_RD

#define NETCONN_SHUT_RD  1
/* For the netconn API, these values are use as a bitmask! */

Marco NETCONN_SHUT_WR

#define NETCONN_SHUT_WR  2


      

Marco NETCONN_SHUT_RDWR

#define NETCONN_SHUT_RDWR (NETCONN_SHUT_RD | NETCONN_SHUT_WR)


      

Marco LWIP_API_MSG_SEM(msg)

#define LWIP_API_MSG_SEM(msg)         ((msg)->op_completed_sem)


      

Marco LWIP_API_MSG_SEM(msg)

#define LWIP_API_MSG_SEM(msg)         (&(msg)->conn->op_completed)


      

Marco NETIFAPI_IPADDR_DEF(type, m)

#define NETIFAPI_IPADDR_DEF(type, m) type m


      

Marco NETIFAPI_IPADDR_DEF(type, m)

#define NETIFAPI_IPADDR_DEF(type, m) const type * m

      

Functions

Func lwip_netconn_is_deallocated_msg

int lwip_netconn_is_deallocated_msg(void *msg);


      

Func lwip_netconn_is_err_msg

int lwip_netconn_is_err_msg(void *msg, err_t *err);


      

Func lwip_netconn_do_join_leave_group

void lwip_netconn_do_join_leave_group(void *m);


      

Func lwip_netconn_do_join_leave_group_netif

void lwip_netconn_do_join_leave_group_netif(void *m);


      

Func lwip_netconn_do_gethostbyname

void lwip_netconn_do_gethostbyname(void *arg);


      

Func netconn_free

void netconn_free(struct netconn *conn);

      

Vars

Variable op_completed_sem

sys_sem_t* op_completed_sem;


      

Variable lwip_netconn_do_newconn

void lwip_netconn_do_newconn        (void *m);


      

Variable lwip_netconn_do_delconn

void lwip_netconn_do_delconn        (void *m);


      

Variable lwip_netconn_do_bind

void lwip_netconn_do_bind           (void *m);


      

Variable lwip_netconn_do_bind_if

void lwip_netconn_do_bind_if        (void *m);


      

Variable lwip_netconn_do_connect

void lwip_netconn_do_connect        (void *m);


      

Variable lwip_netconn_do_disconnect

void lwip_netconn_do_disconnect     (void *m);


      

Variable lwip_netconn_do_listen

void lwip_netconn_do_listen         (void *m);


      

Variable lwip_netconn_do_send

void lwip_netconn_do_send           (void *m);


      

Variable lwip_netconn_do_recv

void lwip_netconn_do_recv           (void *m);


      

Variable lwip_netconn_do_accepted

void lwip_netconn_do_accepted       (void *m);


      

Variable lwip_netconn_do_write

void lwip_netconn_do_write          (void *m);


      

Variable lwip_netconn_do_getaddr

void lwip_netconn_do_getaddr        (void *m);


      

Variable lwip_netconn_do_close

void lwip_netconn_do_close          (void *m);


      

Variable lwip_netconn_do_shutdown

void lwip_netconn_do_shutdown       (void *m);


      

Variable netconn

struct netconn* netconn_alloc(enum netconn_type t, netconn_callback callback);

      

Consts

Types

Typedefs

Typedef netifapi_void_fn

typedef void (*netifapi_void_fn)(struct netif *netif);


      

Typedef netifapi_errt_fn

typedef err_t (*netifapi_errt_fn)(struct netif *netif);