[BACK]Return to ipt_connbytes.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / include / linux / netfilter_ipv4

File: [Development] / linux-2.6-xfs / include / linux / netfilter_ipv4 / ipt_connbytes.h (download)

Revision 1.1, Fri Oct 28 16:02:11 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN

Merge up to 2.6.14
Merge of 2.6.x-xfs-melb:linux:24258a by kenmcd.

#ifndef _IPT_CONNBYTES_H
#define _IPT_CONNBYTES_H

enum ipt_connbytes_what {
	IPT_CONNBYTES_PKTS,
	IPT_CONNBYTES_BYTES,
	IPT_CONNBYTES_AVGPKT,
};

enum ipt_connbytes_direction {
	IPT_CONNBYTES_DIR_ORIGINAL,
	IPT_CONNBYTES_DIR_REPLY,
	IPT_CONNBYTES_DIR_BOTH,
};

struct ipt_connbytes_info
{
	struct {
		aligned_u64 from;	/* count to be matched */
		aligned_u64 to;		/* count to be matched */
	} count;
	u_int8_t what;		/* ipt_connbytes_what */
	u_int8_t direction;	/* ipt_connbytes_direction */
};
#endif