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

Commit 8b6f3f62 authored by Jan Engelhardt's avatar Jan Engelhardt Committed by David S. Miller
Browse files

[NETFILTER]: Annotate start of kernel fields in NF headers

parent cdfe8b97
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5,6 +5,8 @@ struct xt_rateest_target_info {
	char			name[IFNAMSIZ];
	int8_t			interval;
	u_int8_t		ewma_log;

	/* Used internally by the kernel */
	struct xt_rateest	*est __attribute__((aligned(8)));
};

+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ struct xt_connlimit_info {
	};
	unsigned int limit, inverse;

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

+1 −1
Original line number Diff line number Diff line
@@ -29,9 +29,9 @@ struct hashlimit_cfg {
struct xt_hashlimit_info {
	char name [IFNAMSIZ];		/* name */
	struct hashlimit_cfg cfg;
	struct xt_hashlimit_htable *hinfo;

	/* Used internally by the kernel */
	struct xt_hashlimit_htable *hinfo;
	union {
		void *ptr;
		struct xt_hashlimit_info *master;
+2 −0
Original line number Diff line number Diff line
@@ -9,6 +9,8 @@ enum xt_quota_flags {
struct xt_quota_info {
	u_int32_t		flags;
	u_int32_t		pad;

	/* Used internally by the kernel */
	aligned_u64		quota;
	struct xt_quota_info	*master;
};
+2 −0
Original line number Diff line number Diff line
@@ -26,6 +26,8 @@ struct xt_rateest_match_info {
	u_int32_t		pps1;
	u_int32_t		bps2;
	u_int32_t		pps2;

	/* Used internally by the kernel */
	struct xt_rateest	*est1 __attribute__((aligned(8)));
	struct xt_rateest	*est2 __attribute__((aligned(8)));
};
Loading