summaryrefslogtreecommitdiffstats
path: root/package/libnftnl/Config.in
blob: 365ab10201742a59c8476d097494d40f34433958 (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
28
29
30
31
32
33
34
35
comment "libnftnl needs a toolchain w/ headers >= 3.1"
	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1

config BR2_PACKAGE_LIBNFTNL
	bool "libnftnl"
	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
	select BR2_PACKAGE_LIBMNL
	help
	  libnftnl is a userspace library providing a low-level
	  netlink programming interface (API) to the in-kernel
	  nf_tables subsystem. The library libnftnl has been
	  previously known as libnftables. This library is
	  currently used by nftables.

	  http://netfilter.org/projects/libnftnl/index.html

if BR2_PACKAGE_LIBNFTNL

config BR2_PACKAGE_LIBNFTNL_JSON
	bool "enable JSON support"
	select BR2_PACKAGE_JANSSON
	help
	  Enable JSON parsing support

config BR2_PACKAGE_LIBNFTNL_XML
	bool "enable XML support"
	depends on BR2_TOOLCHAIN_HAS_THREADS
	select BR2_PACKAGE_MXML
	help
	  Enable XML parsing support

comment "libnftnl XML parsing support needs a toolchain w/ threads"
	depends on !BR2_TOOLCHAIN_HAS_THREADS

endif
OpenPOWER on IntegriCloud