summaryrefslogtreecommitdiffstats
path: root/include/libnetfilter_conntrack/libnetfilter_conntrack_ipv4.h
blob: d15a7e3272ff358b3a3b053c62370b5b27d2532f (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
/*
 * (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_

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)
};

#endif