nf_conntrack_tuple_common.h revision 435483c91cf16117fc2b864cb6994435ad669bc6
1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12#ifndef _NF_CONNTRACK_TUPLE_COMMON_H
13#define _NF_CONNTRACK_TUPLE_COMMON_H
14
15enum ip_conntrack_dir
16{
17 IP_CT_DIR_ORIGINAL,
18 IP_CT_DIR_REPLY,
19 IP_CT_DIR_MAX
20};
21
22#define CTINFO2DIR(ctinfo) ((ctinfo) >= IP_CT_IS_REPLY ? IP_CT_DIR_REPLY : IP_CT_DIR_ORIGINAL)
23
24#endif
25