[riot-notifications] [RIOT-OS/RIOT] sys: new sock submodule for DTLS (#11909)

Aiman Ismail notifications at github.com
Wed Jul 31 11:17:54 CEST 2019


pokgak commented on this pull request.



> +#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifndef SOCK_DTLS_MBOX_SIZE
+#define SOCK_DTLS_MBOX_SIZE     (8)         /**< Size of mailbox */
+#endif
+
+/**
+ * @brief Information about DTLS sock
+ */
+struct sock_dtls {
+    dtls_context_t *dtls_ctx;               /**< sock context */
+    sock_udp_t *udp_sock;                   /**< Underlying UDP sock to use */
+    mbox_t mbox;                            /**< Mailbox for messaging */
+    msg_t mbox_queue[SOCK_DTLS_MBOX_SIZE];  /**< Queue of mailbox */

Yup, that's correct. Doxygen links correctly to `sock_dtls::mbox`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11909#discussion_r309118346
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190731/57a11b90/attachment.htm>


More information about the notifications mailing list