19#ifndef NET_SOCK_ASYNC_TYPES_H
20#define NET_SOCK_ASYNC_TYPES_H
27#if defined (__clang__)
28# pragma clang diagnostic push
29# pragma clang diagnostic ignored "-Wtypedef-redefinition"
32#if defined(SOCK_HAS_ASYNC) || defined(DOXYGEN)
46#if defined(MODULE_SOCK_DTLS) || defined(DOXYGEN)
72#if defined(MODULE_SOCK_IP) || defined(DOXYGEN)
95#if defined(MODULE_SOCK_TCP) || defined(DOXYGEN)
138#if defined(MODULE_SOCK_UDP) || defined(DOXYGEN)
161#ifdef SOCK_HAS_ASYNC_CTX
165#include "sock_types.h"
166#ifdef MODULE_SOCK_DTLS
171#if defined (__clang__)
172# pragma clang diagnostic pop
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.
void(* sock_dtls_cb_t)(sock_dtls_t *sock, sock_async_flags_t flags, void *arg)
Event callback for sock_dtls_t.
@ SOCK_ASYNC_MSG_RECV
Message received event.
@ SOCK_ASYNC_MSG_SENT
Message sent event.
@ SOCK_ASYNC_PATH_PROP
Path property changed event.
@ SOCK_ASYNC_CONN_RDY
Connection ready event.
@ SOCK_ASYNC_CONN_FIN
Connection finished event.
@ SOCK_ASYNC_CONN_RECV
Listener received connection event.
Type definitions for asynchronous socks with Event Queue.
tinydtls-specific types and functions definitions
Information about DTLS sock.
uint16_t flags
option flags
uint16_t flags
option flags