OpenCores
URL https://opencores.org/ocsvn/hf-risc/hf-risc/trunk

Subversion Repositories hf-risc

[/] [hf-risc/] [trunk/] [tools/] [riscv-gnu-toolchain-master/] [linux-headers/] [include/] [linux/] [netfilter/] [xt_NFQUEUE.h] - Blame information for rev 13

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 13 serginhofr
/* 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 */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.