79#ifdef SOCK_HAS_ASYNC_CTX
Global UNIX address family definitions.
void(* sock_tcp_queue_cb_t)(sock_tcp_queue_t *queue, sock_async_flags_t flags, void *arg)
Event callback for sock_tcp_queue_t.
void(* sock_udp_cb_t)(sock_udp_t *sock, sock_async_flags_t flags, void *arg)
Event callback for sock_udp_t.
sock_async_flags_t
Flag types to signify asynchronous sock events.
void(* sock_tcp_cb_t)(sock_tcp_t *sock, sock_async_flags_t flags, void *arg)
Event callback for sock_tcp_t.
void(* sock_ip_cb_t)(sock_ip_t *sock, sock_async_flags_t flags, void *arg)
Event callback for sock_ip_t.
struct netconn * conn
lwIP network connection object
Asynchronous context for Asynchronous sock with event API.
lwip_sock_base_t base
parent class
lwip_sock_base_t base
parent class
unsigned short len
Length of the struct sock_tcp_queue::array.
struct sock_tcp * array
Allocation array for sock objects to generate.
unsigned short used
Used entries in struct sock_tcp_queue::array.
mutex_t mutex
Mutex to protect the queue.
mutex_t mutex
Mutex to protect the sock.
lwip_sock_base_t base
parent class
ssize_t last_offset
Offset in struct sock_tcp::last_buf since last read.
struct sock_tcp_queue * queue
Queue the sock might have been generated from.
struct pbuf * last_buf
Last received data.
lwip_sock_base_t base
parent class
Definitions for sock extension for asynchronous access.