summaryrefslogtreecommitdiff
path: root/libdhcp/tests/config.h
blob: 15b684cd4d17957efbbee447f37cc090fe1daff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* libdhcp/tests/config.h - Compile-time configuration for the libdhcp tests
 *
 * Copyright (C) 2024-2025  Luke T. Shumaker <lukeshu@lukeshu.com>
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

#ifndef _CONFIG_H_
#define _CONFIG_H_

#define CONFIG_COROUTINE_STACK_SIZE_DEFAULT    (16*1024)
#define CONFIG_COROUTINE_NAME_LEN              16
#define CONFIG_COROUTINE_NUM                   16

#define CONFIG_COROUTINE_MEASURE_STACK         1
#define CONFIG_COROUTINE_PROTECT_STACK         1
#define CONFIG_COROUTINE_DEBUG                 1
#define CONFIG_COROUTINE_VALGRIND              1
#define CONFIG_COROUTINE_GDB                   1

#define CONFIG_HEAP_SIZE                       (CONFIG_COROUTINE_STACK_SIZE_DEFAULT*CONFIG_COROUTINE_NUM+1024)

#define CONFIG_DHCP_CAN_RECV_UNICAST_IP_WITHOUT_IP      0 /* bool */
#define CONFIG_DHCP_DEBUG                               1 /* bool */
#define CONFIG_DHCP_OPT_SIZE                            312 /* minimum of 312 */
#define CONFIG_DHCP_SELECTING_NS                        (5*NS_PER_S)

#endif /* _CONFIG_H_ */