xref: /OK3568_Linux_fs/buildroot/package/fastd/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_FASTD
2	bool "fastd"
3	depends on BR2_USE_MMU # fork()
4	depends on BR2_TOOLCHAIN_HAS_THREADS
5	depends on !BR2_STATIC_LIBS # libuecc
6	select BR2_PACKAGE_LIBUECC
7	select BR2_PACKAGE_LIBSODIUM
8	select BR2_PACKAGE_LIBSODIUM_FULL
9	help
10	  Fast and Secure Tunneling Daemon
11
12	  https://github.com/NeoRaider/fastd/wiki
13
14if BR2_PACKAGE_FASTD
15
16config BR2_PACKAGE_FASTD_STATUS_SOCKET
17	bool "status socket support"
18	default y
19	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
20	select BR2_PACKAGE_JSON_C
21	help
22	  Enable support for a socket to get fastd's status.
23
24config BR2_PACKAGE_FASTD_OFFLOAD_L2TP
25	bool "l2tp offload support"
26	select BR2_PACKAGE_LIBMNL
27	help
28	  L2TP can be offloaded to the Linux kernel, significantly
29	  increasing throughput.
30
31endif
32
33comment "fastd needs a toolchain w/ threads, dynamic library"
34	depends on BR2_USE_MMU
35	depends on !BR2_TOOLCHAIN_HAS_THREADS \
36		|| BR2_STATIC_LIBS
37