~ubuntu-branches/ubuntu/precise/xtables-addons/precise-updates

« back to all changes in this revision

Viewing changes to extensions/xt_quota2.h

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2009-09-10 21:42:05 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090910214205-neqgwq7y5nctaty7
Tags: 1.18-1
* New Upstream Version
  This version has support for 2.6.31 (Closes: #545542)
* Bump standards version (no changes)
* Depend on quilt (Closes: #533653)

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
        XT_QUOTA_GROW   = 1 << 1,
7
7
        XT_QUOTA_PACKET = 1 << 2,
8
8
        XT_QUOTA_MASK   = 0x7,
9
 
 
10
 
        XT_QUOTA_COUNTER_NAME_LENGTH = 31,
11
9
};
12
10
 
13
 
struct quota_counter;
 
11
struct xt_quota_counter;
14
12
 
15
13
struct xt_quota_mtinfo2 {
16
 
        char name[XT_QUOTA_COUNTER_NAME_LENGTH];
 
14
        char name[15];
17
15
        u_int8_t flags;
18
16
 
19
17
        /* Comparison-invariant */
20
18
        aligned_u64 quota;
21
19
 
22
20
        /* Used internally by the kernel */
23
 
        struct quota_counter *master __attribute__((aligned(8)));
 
21
        struct xt_quota_counter *master __attribute__((aligned(8)));
24
22
};
25
23
 
26
24
#endif /* _XT_QUOTA_H */