60c195c729
Netfilter traditionally uses BSD integer types in its interface headers. This changes it to use the Linux strict integer types, like everyone else. Cc: netfilter-devel@vger.kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
28 lines
511 B
C
28 lines
511 B
C
#ifndef _XT_CONNBYTES_H
|
|
#define _XT_CONNBYTES_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
enum xt_connbytes_what {
|
|
XT_CONNBYTES_PKTS,
|
|
XT_CONNBYTES_BYTES,
|
|
XT_CONNBYTES_AVGPKT,
|
|
};
|
|
|
|
enum xt_connbytes_direction {
|
|
XT_CONNBYTES_DIR_ORIGINAL,
|
|
XT_CONNBYTES_DIR_REPLY,
|
|
XT_CONNBYTES_DIR_BOTH,
|
|
};
|
|
|
|
struct xt_connbytes_info
|
|
{
|
|
struct {
|
|
aligned_u64 from; /* count to be matched */
|
|
aligned_u64 to; /* count to be matched */
|
|
} count;
|
|
__u8 what; /* ipt_connbytes_what */
|
|
__u8 direction; /* ipt_connbytes_direction */
|
|
};
|
|
#endif
|