config BR2_PACKAGE_NETSNIFF_NG
	bool "netsniff-ng"
	select BR2_PACKAGE_LIBNL
	select BR2_PACKAGE_LIBPCAP
	select BR2_PACKAGE_LIBCLI
	select BR2_PACKAGE_LIBNETFILTER_CONNTRACK
	select BR2_PACKAGE_LIBURCU
	select BR2_PACKAGE_LIBNET
	# Build with uClibc fails due to missing ceill()
	depends on !BR2_TOOLCHAIN_USES_UCLIBC
	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
	help
	  netsniff-ng is a free, performant Linux network analyzer and
	  networking toolkit. If you will, the Swiss army knife for
	  network packets.

comment "netsniff-ng needs a glibc or musl toolchain w/ threads, headers >= 3.0"
	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_UCLIBC \
		|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
