SUBDIRS = linux \
nftables
-noinst_HEADERS = cli.h \
+noinst_HEADERS = cli.h \
cache.h \
cmd.h \
datatype.h \
dccpopt.h \
+ nft.h \
expression.h \
fib.h \
hash.h \
#define _NFT_CLI_H_
#include <nftables/libnftables.h>
-#include <config.h>
#if defined(HAVE_LIBREADLINE) || defined(HAVE_LIBEDIT) || defined(HAVE_LIBLINENOISE)
extern int cli_init(struct nft_ctx *nft);
#ifndef NFTABLES_GMPUTIL_H
#define NFTABLES_GMPUTIL_H
-#include <config.h>
-
#ifdef HAVE_LIBGMP
#include <gmp.h>
#else
--- /dev/null
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+#ifndef NFTABLES_NFT_H
+#define NFTABLES_NFT_H
+
+#define _GNU_SOURCE
+
+#include <config.h>
+
+#endif /* NFTABLES_NFT_H */
#include <list.h>
#include <gmputil.h>
-#include "config.h"
#ifdef HAVE_VISIBILITY_HIDDEN
# define __visible __attribute__((visibility("default")))
# define EXPORT_SYMBOL(x) typeof(x) (x) __visible;
* later) as published by the Free Software Foundation.
*/
+#include <nft.h>
+
#include <expression.h>
#include <statement.h>
#include <rule.h>
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*/
-#include <config.h>
+#include <nft.h>
+
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
* later) as published by the Free Software Foundation.
*/
+#include <nft.h>
+
#include <erec.h>
#include <mnl.h>
#include <cmd.h>
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*/
+#include <nft.h>
+
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*/
+#include <nft.h>
+
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
+#include <nft.h>
+
#include <stddef.h>
#include <stdint.h>
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*/
-#define _GNU_SOURCE
-#include <config.h>
+#include <nft.h>
+
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*/
+#include <nft.h>
+
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*/
+#include <nft.h>
+
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*/
+#include <nft.h>
+
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
* later) as published by the Free Software Foundation.
*/
+#include <nft.h>
+
#include <nftables.h>
#include <erec.h>
#include <expression.h>
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*/
+#include <nft.h>
+
#include <stddef.h>
#include <stdlib.h>
#include <stdarg.h>
* later) as published by the Free Software Foundation.
*/
+#include <nft.h>
+
#include <nftables.h>
#include <expression.h>
#include <datatype.h>
* later) as published by the Free Software Foundation.
*/
+#include <nft.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <net/if.h>
* later) as published by the Free Software Foundation.
*/
+#include <nft.h>
+
#include <nftables.h>
#include <expression.h>
#include <intervals.h>
+#include <nft.h>
+
#include <stdint.h>
#include <netinet/in.h>
* later) as published by the Free Software Foundation.
*/
-#define _GNU_SOURCE
+#include <nft.h>
+
#include <stdio.h>
#include <string.h>
* it under the terms of the GNU General Public License version 2 (or any
* later) as published by the Free Software Foundation.
*/
+
+#include <nft.h>
+
#include <nftables/libnftables.h>
#include <erec.h>
#include <mnl.h>
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*/
+#include <nft.h>
+
#include <stdlib.h>
#include <stddef.h>
#include <unistd.h>
* later) as published by the Free Software Foundation.
*/
+#include <nft.h>
+
#include <stdint.h>
#include <expression.h>
#include <gmputil.h>
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*/
-#define _GNU_SOURCE
+#include <nft.h>
#include <errno.h>
#include <limits.h>
mpn/generic/sbpi1_div_qr.c, mpn/generic/sub_n.c,
mpn/generic/submul_1.c. */
+#include <nft.h>
+
#include <assert.h>
#include <ctype.h>
#include <limits.h>
* later) as published by the Free Software Foundation.
*/
+#include <nft.h>
+
#include <stdlib.h>
#include <string.h>
#include <limits.h>
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*/
+#include <nft.h>
+
#include <libmnl/libmnl.h>
#include <libnftnl/common.h>
#include <libnftnl/ruleset.h>
* later) as published by the Free Software Foundation.
*/
+#include <nft.h>
+
#include <string.h>
#include <fcntl.h>
#include <errno.h>
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*/
+#include <nft.h>
+
#include <string.h>
#include <errno.h>
#include <libmnl/libmnl.h>
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*/
+#include <nft.h>
+
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*/
+#include <nft.h>
+
#include <linux/netfilter/nf_tables.h>
#include <linux/netfilter/nf_log.h>
* Based on iptables/utils/nfnl_osf.c.
*/
+#include <nft.h>
+
#include <sys/time.h>
#include <ctype.h>
/* SPDX-License-Identifier: GPL-2.0-or-later */
-#include <config.h>
+#include <nft.h>
#include "nftutils.h"
* later) as published by the Free Software Foundation.
*/
+#include <nft.h>
+
#include <nftables.h>
#include <expression.h>
#include <datatype.h>
* programme.
*/
-#define _GNU_SOURCE
+#include <nft.h>
+
#include <string.h>
#include <errno.h>
#include <inttypes.h>
* later) as published by the Free Software Foundation.
*/
+#include <nft.h>
+
#include <nftables.h>
#include <expression.h>
#include <utils.h>
* later) as published by the Free Software Foundation.
*/
+#include <nft.h>
+
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
* later) as published by the Free Software Foundation.
*/
-#define _GNU_SOURCE
+#include <nft.h>
+
#include <errno.h>
#include <stdint.h> /* needed by gmputil.h */
#include <string.h>
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*/
+#include <nft.h>
+
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
* later) as published by the Free Software Foundation.
*/
+#include <nft.h>
+
#include <stdarg.h>
#include <nftables.h>
#include <utils.h>
*
*/
+#include <nft.h>
+
#include <stddef.h>
#include <stdlib.h>
#include <stdint.h>
* published by the Free Software Foundation.
*/
+#include <nft.h>
+
#include <errno.h>
#include <stddef.h>
#include <stdlib.h>
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*/
+#include <nft.h>
+
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
%{
+#include <nft.h>
+
#include <limits.h>
#include <glob.h>
#include <netinet/in.h>
* later) as published by the Free Software Foundation.
*/
+#include <nft.h>
+
#include <exthdr.h>
#include <sctp_chunk.h>
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*/
+#include <nft.h>
+
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
* later) as published by the Free Software Foundation.
*/
+#include <nft.h>
+
#include <nftables.h>
#include <expression.h>
#include <socket.h>
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*/
+#include <nft.h>
+
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
+#include <nft.h>
+
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*/
+#include <nft.h>
+
#include <stddef.h>
#include <stdlib.h>
#include <stdarg.h>
* later) as published by the Free Software Foundation.
*/
+#include <nft.h>
+
#include <nftables.h>
#include <erec.h>
#include <expression.h>
* later) as published by the Free Software Foundation.
*/
+#include <nft.h>
+
#include <stdlib.h>
#include <time.h>
#include <string.h>