Re: [PATCH 1/1] extensions: add idletimer xt target extension

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 2010-06-14 16:33, Luciano Coelho wrote:
>+#ifndef _XT_IDLETIMER_H
>+#define _XT_IDLETIMER_H
>+
>+#include <linux/types.h>
>+
>+#define MAX_IDLETIMER_LABEL_SIZE 32

I suggest we go down to 28 on this one, so that there won't
be a wasted padding hole on 64-bit.

>+struct idletimer_tg_info {
>+	__u32 timeout;
>+
>+	char label[MAX_IDLETIMER_LABEL_SIZE];
>+
>+	/* for kernel module internal use only */
>+	struct idletimer_tg *timer __attribute((aligned(8)));
>+};
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux