File: nfq_constants.h

package info (click to toggle)
nfqueue-bindings 0.4-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 232 kB
  • sloc: ansic: 257; python: 211; perl: 183; makefile: 28; sh: 25
file content (26 lines) | stat: -rw-r--r-- 691 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Don't include this file in C headers.  It's only used to export some
 * external library header constants to our modules, through %include in the
 * swig interface file.
 *
 */

#ifndef SWIG
#error "Only include in swig interface"
#endif

#include <linux/netfilter.h>
#include <libnetfilter_queue/libnetfilter_queue.h>

const int NF_DROP = NF_DROP;
const int NF_ACCEPT = NF_ACCEPT;
const int NF_STOLEN = NF_STOLEN;
const int NF_QUEUE = NF_QUEUE;
const int NF_REPEAT = NF_REPEAT;
const int NF_STOP = NF_STOP;
const int NF_MAX_VERDICT = NF_STOP;

const int NFQNL_COPY_NONE = NFQNL_COPY_NONE;
const int NFQNL_COPY_META = NFQNL_COPY_META;
const int NFQNL_COPY_PACKET = NFQNL_COPY_PACKET;