Go to the documentation of this file.
23 #ifndef NET_SOCK_ASYNC_H
24 #define NET_SOCK_ASYNC_H
32 #if defined(SOCK_HAS_ASYNC) || defined(DOXYGEN)
33 #if defined(MODULE_SOCK_DTLS) || defined(DOXYGEN)
52 #if defined(MODULE_SOCK_IP) || defined(DOXYGEN)
70 #if defined(MODULE_SOCK_TCP) || defined(DOXYGEN)
105 #if defined(MODULE_SOCK_UDP) || defined(DOXYGEN)
123 #if defined(SOCK_HAS_ASYNC_CTX) || defined(DOXYGEN)
126 #if defined(MODULE_SOCK_DTLS) || defined(DOXYGEN)
144 #if defined(MODULE_SOCK_IP) || defined(DOXYGEN)
162 #if defined(MODULE_SOCK_TCP) || defined(DOXYGEN)
196 #if defined(MODULE_SOCK_UDP) || defined(DOXYGEN)
void sock_tcp_set_cb(sock_tcp_t *sock, sock_tcp_cb_t cb, void *cb_arg)
Sets event callback for sock_tcp_t.
sock_async_ctx_t * sock_tcp_get_async_ctx(sock_tcp_t *sock)
Gets the asynchronous event context from sock object.
void(* sock_ip_cb_t)(sock_ip_t *sock, sock_async_flags_t flags, void *arg)
Event callback for sock_ip_t.
sock_async_ctx_t * sock_tcp_queue_get_async_ctx(sock_tcp_queue_t *queue)
Gets the asynchronous event context from TCP listening queue.
Asynchronous context for Asynchronous sock with event API.
Definitions for sock extension for asynchronous access.
void sock_udp_set_cb(sock_udp_t *sock, sock_udp_cb_t cb, void *cb_arg)
Gets the asynchronous event context from sock object.
Information about DTLS sock.
void sock_ip_set_cb(sock_ip_t *sock, sock_ip_cb_t cb, void *cb_arg)
Sets event callback for sock_ip_t.
void(* sock_tcp_cb_t)(sock_tcp_t *sock, sock_async_flags_t flags, void *arg)
Event callback for sock_tcp_t.
sock_async_ctx_t * sock_dtls_get_async_ctx(sock_dtls_t *sock)
Gets the asynchronous event context from sock object.
void(* sock_dtls_cb_t)(sock_dtls_t *sock, sock_async_flags_t flags, void *arg)
Event callback for sock_dtls_t.
sock_async_ctx_t * sock_ip_get_async_ctx(sock_ip_t *sock)
Gets the asynchronous event context from sock object.
void(* sock_udp_cb_t)(sock_udp_t *sock, sock_async_flags_t type, void *arg)
Event callback for sock_udp_t.
sock_async_ctx_t * sock_udp_get_async_ctx(sock_udp_t *sock)
Gets the asynchronous event context from sock object.
Type definitions for asynchronous socks with Event Queue.
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_tcp_queue_set_cb(sock_tcp_queue_t *queue, sock_tcp_queue_cb_t cb, void *cb_arg)
Sets event callback for sock_tcp_queue_t.
void sock_dtls_set_cb(sock_dtls_t *sock, sock_dtls_cb_t cb, void *cb_arg)
Gets the asynchronous event context from sock object.