diff options
author | Patrick McHardy <kaber@trash.net> | 2006-05-29 18:20:32 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-17 21:28:49 -0700 |
commit | 62b7743483b402f8fb73545d5d487ca714e82766 (patch) | |
tree | f90e434e85c1f4391ad46310ee128ce25c1dca57 /include | |
parent | 957dc80ac30f3c4d53259fa936df807663ba54fa (diff) | |
download | op-kernel-dev-62b7743483b402f8fb73545d5d487ca714e82766.zip op-kernel-dev-62b7743483b402f8fb73545d5d487ca714e82766.tar.gz |
[NETFILTER]: x_tables: add quota match
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter/xt_quota.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/netfilter/xt_quota.h b/include/linux/netfilter/xt_quota.h new file mode 100644 index 0000000..acd7fd7 --- /dev/null +++ b/include/linux/netfilter/xt_quota.h @@ -0,0 +1,16 @@ +#ifndef _XT_QUOTA_H +#define _XT_QUOTA_H + +enum xt_quota_flags { + XT_QUOTA_INVERT = 0x1, +}; +#define XT_QUOTA_MASK 0x1 + +struct xt_quota_info { + u_int32_t flags; + u_int32_t pad; + aligned_u64 quota; + struct xt_quota_info *master; +}; + +#endif /* _XT_QUOTA_H */ |