Loading...
Searching...
No Matches
config.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2022 Freie Universität Berlin
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
30#ifndef CONFIG_LIBSCHC_STATIC_MEMBUF_LEN
31#define CONFIG_LIBSCHC_STATIC_MEMBUF_LEN 1024
32#endif
33
39#ifndef CONFIG_LIBSCHC_MBUF_POOL_SIZE
40#define CONFIG_LIBSCHC_MBUF_POOL_SIZE 64
41#endif
42
46#ifndef CONFIG_LIBSCHC_MAX_RX_CONNS
47#define CONFIG_LIBSCHC_MAX_RX_CONNS 1
48#endif
49
53#ifndef CONFIG_LIBSCHC_MAX_MTU_LEN
54#define CONFIG_LIBSCHC_MAX_MTU_LEN 242
55#endif
56
60#ifndef CONFIG_LIBSCHC_DEBUG
61#define CONFIG_LIBSCHC_DEBUG
62#endif
63
64#ifdef __cplusplus
65}
66#endif
67