~ubuntu-branches/ubuntu/quantal/iptables/quantal-proposed

« back to all changes in this revision

Viewing changes to include/linux/netfilter/xt_recent.h

  • Committer: Bazaar Package Importer
  • Author(s): Nicolas Valcárcel Scerpella
  • Date: 2009-05-06 16:35:21 UTC
  • mfrom: (5.1.6 upstream) (2.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20090506163521-2hbruo0m33h04wxf
Tags: 1.4.3.2-2ubuntu1
* Merge from debian unstable (LP: #372920), remaining changes:
  - Don't fail to run iptables-save if iptables module isn't loaded.
  - debian/patches/0901-build-libipq_pic.a.patch - Build libipq_pic.a with
    -fPIC. Upstream changed build system and patch modified accordingly.
  - Revert changes between 1.4.1.1-3 and 1.4.1.1-4, thus bringing back
    the howtos.
* Droped unexistent patches from debian/patches/series
* Droped 0903-autoload-module-in-iptables-save.diff, fixed upstream
* Added linuxdoc-tools to Build-Depends
* Modified debian/iptables{,-dev}.install to match DM syntax 
  (removed debian/tmp)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _LINUX_NETFILTER_XT_RECENT_H
 
2
#define _LINUX_NETFILTER_XT_RECENT_H 1
 
3
 
 
4
enum {
 
5
        XT_RECENT_CHECK    = 1 << 0,
 
6
        XT_RECENT_SET      = 1 << 1,
 
7
        XT_RECENT_UPDATE   = 1 << 2,
 
8
        XT_RECENT_REMOVE   = 1 << 3,
 
9
        XT_RECENT_TTL      = 1 << 4,
 
10
 
 
11
        XT_RECENT_SOURCE   = 0,
 
12
        XT_RECENT_DEST     = 1,
 
13
 
 
14
        XT_RECENT_NAME_LEN = 200,
 
15
};
 
16
 
 
17
struct xt_recent_mtinfo {
 
18
        u_int32_t seconds;
 
19
        u_int32_t hit_count;
 
20
        u_int8_t check_set;
 
21
        u_int8_t invert;
 
22
        char name[XT_RECENT_NAME_LEN];
 
23
        u_int8_t side;
 
24
};
 
25
 
 
26
#endif /* _LINUX_NETFILTER_XT_RECENT_H */