mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
![Andrea Gelmini](/assets/img/avatar_default.png)
include/linux/netfilter/nf_conntrack_tuple_common.h:5: ERROR: open brace '{' following enum go on the same line Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Patrick McHardy <kaber@trash.net>
12 lines
295 B
C
12 lines
295 B
C
#ifndef _NF_CONNTRACK_TUPLE_COMMON_H
|
|
#define _NF_CONNTRACK_TUPLE_COMMON_H
|
|
|
|
enum ip_conntrack_dir {
|
|
IP_CT_DIR_ORIGINAL,
|
|
IP_CT_DIR_REPLY,
|
|
IP_CT_DIR_MAX
|
|
};
|
|
|
|
#define CTINFO2DIR(ctinfo) ((ctinfo) >= IP_CT_IS_REPLY ? IP_CT_DIR_REPLY : IP_CT_DIR_ORIGINAL)
|
|
|
|
#endif /* _NF_CONNTRACK_TUPLE_COMMON_H */
|