config.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2022 Freie Universität Berlin
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 
21 #ifndef LIBSCHC_CONFIG_H
22 #define LIBSCHC_CONFIG_H
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
33 #ifndef CONFIG_LIBSCHC_STATIC_MEMBUF_LEN
34 #define CONFIG_LIBSCHC_STATIC_MEMBUF_LEN 1024
35 #endif
36 
42 #ifndef CONFIG_LIBSCHC_MBUF_POOL_SIZE
43 #define CONFIG_LIBSCHC_MBUF_POOL_SIZE 64
44 #endif
45 
49 #ifndef CONFIG_LIBSCHC_MAX_RX_CONNS
50 #define CONFIG_LIBSCHC_MAX_RX_CONNS 1
51 #endif
52 
56 #ifndef CONFIG_LIBSCHC_MAX_MTU_LEN
57 #define CONFIG_LIBSCHC_MAX_MTU_LEN 242
58 #endif
59 
63 #ifndef CONFIG_LIBSCHC_DEBUG
64 #define CONFIG_LIBSCHC_DEBUG
65 #endif
66 
67 #ifdef __cplusplus
68 }
69 #endif
70 
71 #endif /* LIBSCHC_CONFIG_H */