summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/xt_connlimit.h
blob: 90ae8b474cb87cb9743069acf647b6fc81576662 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _XT_CONNLIMIT_H
#define _XT_CONNLIMIT_H

struct xt_connlimit_data;

struct xt_connlimit_info {
	union {
		u_int32_t v4_mask;
		u_int32_t v6_mask[4];
	};
	unsigned int limit, inverse;

	/* this needs to be at the end */
	struct xt_connlimit_data *data __attribute__((aligned(8)));
};

#endif /* _XT_CONNLIMIT_H */