zephyr/subsys/net/lib/sockets
Robert Lubos 4c235dea73 net: tls: Add DTLS bio functions
Add binary IO functions for DTLS connections.

dtls_rx function is more complex than it's TLS counterpart due to fact,
that DTLS does not allow blocking operation for this function. A simple
timeout mechanism was implmented basing on the zsock_poll function.

This function also verifies peer address. As currently only a single
DTLS connection is supported on a socket, if a DTLS connection is
established, and we receive datagram from different peer, it is silently
dropped.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2018-08-13 15:24:34 +03:00
..
CMakeLists.txt
getaddrinfo.c net: getaddrinfo: Make availability depend on CONFIG_DNS_RESOLVER 2018-07-23 10:04:39 -07:00
Kconfig net: tls: Add DTLS protocol types 2018-08-13 15:24:34 +03:00
sockets_internal.h net: socket: Extract flag related functions to internal header file 2018-08-13 15:24:34 +03:00
sockets_tls.c net: tls: Add DTLS bio functions 2018-08-13 15:24:34 +03:00
sockets.c net: socket: Extract flag related functions to internal header file 2018-08-13 15:24:34 +03:00