blob: df2a547bbfccaa8b26975c5b20bddad67c60eda5 (
plain)
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
27
28
29
30
31
32
33
34
35
36
37
|
/*
* (C) 2005 by Pablo Neira Ayuso <pablo@eurodev.net>
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated herein by reference.
*/
#ifndef _LIBNETFILTER_CONNTRACK_IPV4_H_
#define _LIBNETFILTER_CONNTRACK_IPV4_H_
#ifdef __cplusplus
extern "C" {
#endif
enum ipv4_flags {
IPV4_ORIG_SRC_BIT = 0,
IPV4_ORIG_SRC = (1 << IPV4_ORIG_SRC_BIT),
IPV4_ORIG_DST_BIT = 1,
IPV4_ORIG_DST = (1 << IPV4_ORIG_DST_BIT),
IPV4_ORIG = (IPV4_ORIG_SRC | IPV4_ORIG_DST),
IPV4_REPL_SRC_BIT = 2,
IPV4_REPL_SRC = (1 << IPV4_REPL_SRC_BIT),
IPV4_REPL_DST_BIT = 3,
IPV4_REPL_DST = (1 << IPV4_REPL_DST_BIT),
IPV4_REPL = (IPV4_REPL_SRC | IPV4_REPL_DST)
};
#ifdef __cplusplus
}
#endif
#endif
|