| lwIP
    2.0.3
    Lightweight IP stack | 
#include "lwip/opt.h"#include "lwip/arch.h"#include "lwip/ip_addr.h"#include "lwip/err.h"#include "lwip/sys.h"#include "lwip/igmp.h"#include "lwip/api.h"#include "lwip/priv/tcpip_priv.h"| Data Structures | |
| struct | api_msg | 
| struct | dns_api_msg | 
| Functions | |
| void | lwip_netconn_do_newconn (void *m) | 
| void | lwip_netconn_do_delconn (void *m) | 
| void | lwip_netconn_do_bind (void *m) | 
| void | lwip_netconn_do_connect (void *m) | 
| void | lwip_netconn_do_disconnect (void *m) | 
| void | lwip_netconn_do_listen (void *m) | 
| void | lwip_netconn_do_send (void *m) | 
| void | lwip_netconn_do_recv (void *m) | 
| void | lwip_netconn_do_accepted (void *m) | 
| void | lwip_netconn_do_write (void *m) | 
| void | lwip_netconn_do_getaddr (void *m) | 
| void | lwip_netconn_do_close (void *m) | 
| void | lwip_netconn_do_join_leave_group (void *m) | 
| void | lwip_netconn_do_gethostbyname (void *arg) | 
| struct netconn * | netconn_alloc (enum netconn_type t, netconn_callback callback) | 
| void | netconn_free (struct netconn *conn) | 
netconn API lwIP internal implementations (do not use in application code)
| void lwip_netconn_do_accepted | ( | void * | m | ) | 
Indicate that a TCP pcb has been accepted Called from netconn_accept
| m | the api_msg_msg pointing to the connection | 
| void lwip_netconn_do_bind | ( | void * | m | ) | 
Bind a pcb contained in a netconn Called from netconn_bind.
| m | the api_msg_msg pointing to the connection and containing the IP address and port to bind to | 
| void lwip_netconn_do_close | ( | void * | m | ) | 
Close or half-shutdown a TCP pcb contained in a netconn Called from netconn_close In contrast to closing sockets, the netconn is not deallocated.
| m | the api_msg_msg pointing to the connection | 
| void lwip_netconn_do_connect | ( | void * | m | ) | 
Connect a pcb contained inside a netconn Called from netconn_connect.
| m | the api_msg_msg pointing to the connection and containing the IP address and port to connect to | 
| void lwip_netconn_do_delconn | ( | void * | m | ) | 
Delete the pcb inside a netconn. Called from netconn_delete.
| m | the api_msg_msg pointing to the connection | 
| void lwip_netconn_do_disconnect | ( | void * | m | ) | 
Disconnect a pcb contained inside a netconn Only used for UDP netconns. Called from netconn_disconnect.
| m | the api_msg_msg pointing to the connection to disconnect | 
| void lwip_netconn_do_getaddr | ( | void * | m | ) | 
Return a connection's local or remote address Called from netconn_getaddr
| m | the api_msg_msg pointing to the connection | 
| void lwip_netconn_do_gethostbyname | ( | void * | arg | ) | 
Execute a DNS query Called from netconn_gethostbyname
| arg | the dns_api_msg pointing to the query | 
| void lwip_netconn_do_join_leave_group | ( | void * | m | ) | 
Join multicast groups for UDP netconns. Called from netconn_join_leave_group
| m | the api_msg_msg pointing to the connection | 
| void lwip_netconn_do_listen | ( | void * | m | ) | 
Set a TCP pcb contained in a netconn into listen mode Called from netconn_listen.
| m | the api_msg_msg pointing to the connection | 
| void lwip_netconn_do_newconn | ( | void * | m | ) | 
Create a new pcb of a specific type inside a netconn. Called from netconn_new_with_proto_and_callback.
| m | the api_msg_msg describing the connection type | 
| void lwip_netconn_do_recv | ( | void * | m | ) | 
Indicate data has been received from a TCP pcb contained in a netconn Called from netconn_recv
| m | the api_msg_msg pointing to the connection | 
| void lwip_netconn_do_send | ( | void * | m | ) | 
Send some data on a RAW or UDP pcb contained in a netconn Called from netconn_send
| m | the api_msg_msg pointing to the connection | 
| void lwip_netconn_do_write | ( | void * | m | ) | 
Send some data on a TCP pcb contained in a netconn Called from netconn_write
| m | the api_msg_msg pointing to the connection | 
| struct netconn* netconn_alloc | ( | enum netconn_type | t, | 
| netconn_callback | callback | ||
| ) | 
Create a new netconn (of a specific type) that has a callback function. The corresponding pcb is NOT created!
| t | the type of 'connection' to create ( | 
| callback | a function to call on status changes (RX available, TX'ed) | 
| void netconn_free | ( | struct netconn * | conn | ) | 
Delete a netconn and all its resources. The pcb is NOT freed (since we might not be in the right thread context do this).
| conn | the netconn to free |