Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06988b06 authored by Jan Engelhardt's avatar Jan Engelhardt
Browse files

netfilter: xtables: add missing header inclusions for headers_check



Resolve these warnings on `make headers_check`:

usr/include/linux/netfilter/xt_CT.h:7: found __[us]{8,16,32,64} type
without #include <linux/types.h>
...

Signed-off-by: default avatarJan Engelhardt <jengelh@medozas.de>
parent 41a7cab6
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
#ifndef _XT_CT_H
#ifndef _XT_CT_H
#define _XT_CT_H
#define _XT_CT_H


#include <linux/types.h>

#define XT_CT_NOTRACK	0x1
#define XT_CT_NOTRACK	0x1


struct xt_ct_target_info {
struct xt_ct_target_info {
+2 −0
Original line number Original line Diff line number Diff line
#ifndef _XT_TCPOPTSTRIP_H
#ifndef _XT_TCPOPTSTRIP_H
#define _XT_TCPOPTSTRIP_H
#define _XT_TCPOPTSTRIP_H


#include <linux/types.h>

#define tcpoptstrip_set_bit(bmap, idx) \
#define tcpoptstrip_set_bit(bmap, idx) \
	(bmap[(idx) >> 5] |= 1U << (idx & 31))
	(bmap[(idx) >> 5] |= 1U << (idx & 31))
#define tcpoptstrip_test_bit(bmap, idx) \
#define tcpoptstrip_test_bit(bmap, idx) \
+2 −0
Original line number Original line Diff line number Diff line
#ifndef _XT_TPROXY_H
#ifndef _XT_TPROXY_H
#define _XT_TPROXY_H
#define _XT_TPROXY_H


#include <linux/types.h>

/* TPROXY target is capable of marking the packet to perform
/* TPROXY target is capable of marking the packet to perform
 * redirection. We can get rid of that whenever we get support for
 * redirection. We can get rid of that whenever we get support for
 * mutliple targets in the same rule. */
 * mutliple targets in the same rule. */
+2 −0
Original line number Original line Diff line number Diff line
#ifndef _XT_CLUSTER_MATCH_H
#ifndef _XT_CLUSTER_MATCH_H
#define _XT_CLUSTER_MATCH_H
#define _XT_CLUSTER_MATCH_H


#include <linux/types.h>

enum xt_cluster_flags {
enum xt_cluster_flags {
	XT_CLUSTER_F_INV	= (1 << 0)
	XT_CLUSTER_F_INV	= (1 << 0)
};
};
+2 −0
Original line number Original line Diff line number Diff line
#ifndef _XT_CONNLIMIT_H
#ifndef _XT_CONNLIMIT_H
#define _XT_CONNLIMIT_H
#define _XT_CONNLIMIT_H


#include <linux/types.h>

struct xt_connlimit_data;
struct xt_connlimit_data;


enum {
enum {
Loading