Loading...
Searching...
No Matches
dtls.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2019 HAW Hamburg
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
36#ifndef NET_DTLS_H
37#define NET_DTLS_H
38
39#include "modules.h"
40
41#ifdef __cplusplus
42extern "C" {
43#endif
44
48#ifndef CONFIG_DTLS_PEER_MAX
49#if IS_USED(MODULE_GCOAP_DTLS)
50#define CONFIG_DTLS_PEER_MAX (2)
51#else
52#define CONFIG_DTLS_PEER_MAX (1)
53#endif
54#endif
55
56#ifdef __cplusplus
57}
58#endif
59
60#endif /* NET_DTLS_H */
Common macros and compiler attributes/pragmas configuration.