~ubuntu-branches/ubuntu/precise/linux-lts-saucy/precise-proposed

« back to all changes in this revision

Viewing changes to include/uapi/linux/netfilter/xt_NFQUEUE.h

  • Committer: Package Import Robot
  • Author(s): Tim Gardner
  • Date: 2013-10-09 13:31:18 UTC
  • Revision ID: package-import@ubuntu.com-20131009133118-l5q5o2hmtz96hefq
Tags: upstream-3.11.0
ImportĀ upstreamĀ versionĀ 3.11.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* iptables module for using NFQUEUE mechanism
 
2
 *
 
3
 * (C) 2005 Harald Welte <laforge@netfilter.org>
 
4
 *
 
5
 * This software is distributed under GNU GPL v2, 1991
 
6
 * 
 
7
*/
 
8
#ifndef _XT_NFQ_TARGET_H
 
9
#define _XT_NFQ_TARGET_H
 
10
 
 
11
#include <linux/types.h>
 
12
 
 
13
/* target info */
 
14
struct xt_NFQ_info {
 
15
        __u16 queuenum;
 
16
};
 
17
 
 
18
struct xt_NFQ_info_v1 {
 
19
        __u16 queuenum;
 
20
        __u16 queues_total;
 
21
};
 
22
 
 
23
struct xt_NFQ_info_v2 {
 
24
        __u16 queuenum;
 
25
        __u16 queues_total;
 
26
        __u16 bypass;
 
27
};
 
28
 
 
29
struct xt_NFQ_info_v3 {
 
30
        __u16 queuenum;
 
31
        __u16 queues_total;
 
32
        __u16 flags;
 
33
#define NFQ_FLAG_BYPASS         0x01 /* for compatibility with v2 */
 
34
#define NFQ_FLAG_CPU_FANOUT     0x02 /* use current CPU (no hashing) */
 
35
#define NFQ_FLAG_MASK           0x03
 
36
};
 
37
 
 
38
#endif /* _XT_NFQ_TARGET_H */