aboutsummaryrefslogtreecommitdiff
path: root/xlat/nf_ipset_msg_types.h
blob: b6b32bb8a64e6fbf5926bb663aa0d0f372df264a (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/* Generated by ./xlat/gen.sh from ./xlat/nf_ipset_msg_types.in; do not edit. */
#if !(defined(IPSET_CMD_NONE) || (defined(HAVE_DECL_IPSET_CMD_NONE) && HAVE_DECL_IPSET_CMD_NONE))
# define IPSET_CMD_NONE 0
#endif
#if !(defined(IPSET_CMD_PROTOCOL) || (defined(HAVE_DECL_IPSET_CMD_PROTOCOL) && HAVE_DECL_IPSET_CMD_PROTOCOL))
# define IPSET_CMD_PROTOCOL 1
#endif
#if !(defined(IPSET_CMD_CREATE) || (defined(HAVE_DECL_IPSET_CMD_CREATE) && HAVE_DECL_IPSET_CMD_CREATE))
# define IPSET_CMD_CREATE 2
#endif
#if !(defined(IPSET_CMD_DESTROY) || (defined(HAVE_DECL_IPSET_CMD_DESTROY) && HAVE_DECL_IPSET_CMD_DESTROY))
# define IPSET_CMD_DESTROY 3
#endif
#if !(defined(IPSET_CMD_FLUSH) || (defined(HAVE_DECL_IPSET_CMD_FLUSH) && HAVE_DECL_IPSET_CMD_FLUSH))
# define IPSET_CMD_FLUSH 4
#endif
#if !(defined(IPSET_CMD_RENAME) || (defined(HAVE_DECL_IPSET_CMD_RENAME) && HAVE_DECL_IPSET_CMD_RENAME))
# define IPSET_CMD_RENAME 5
#endif
#if !(defined(IPSET_CMD_SWAP) || (defined(HAVE_DECL_IPSET_CMD_SWAP) && HAVE_DECL_IPSET_CMD_SWAP))
# define IPSET_CMD_SWAP 6
#endif
#if !(defined(IPSET_CMD_LIST) || (defined(HAVE_DECL_IPSET_CMD_LIST) && HAVE_DECL_IPSET_CMD_LIST))
# define IPSET_CMD_LIST 7
#endif
#if !(defined(IPSET_CMD_SAVE) || (defined(HAVE_DECL_IPSET_CMD_SAVE) && HAVE_DECL_IPSET_CMD_SAVE))
# define IPSET_CMD_SAVE 8
#endif
#if !(defined(IPSET_CMD_ADD) || (defined(HAVE_DECL_IPSET_CMD_ADD) && HAVE_DECL_IPSET_CMD_ADD))
# define IPSET_CMD_ADD 9
#endif
#if !(defined(IPSET_CMD_DEL) || (defined(HAVE_DECL_IPSET_CMD_DEL) && HAVE_DECL_IPSET_CMD_DEL))
# define IPSET_CMD_DEL 10
#endif
#if !(defined(IPSET_CMD_TEST) || (defined(HAVE_DECL_IPSET_CMD_TEST) && HAVE_DECL_IPSET_CMD_TEST))
# define IPSET_CMD_TEST 11
#endif
#if !(defined(IPSET_CMD_HEADER) || (defined(HAVE_DECL_IPSET_CMD_HEADER) && HAVE_DECL_IPSET_CMD_HEADER))
# define IPSET_CMD_HEADER 12
#endif
#if !(defined(IPSET_CMD_TYPE) || (defined(HAVE_DECL_IPSET_CMD_TYPE) && HAVE_DECL_IPSET_CMD_TYPE))
# define IPSET_CMD_TYPE 13
#endif
#if !(defined(IPSET_CMD_RESTORE) || (defined(HAVE_DECL_IPSET_CMD_RESTORE) && HAVE_DECL_IPSET_CMD_RESTORE))
# define IPSET_CMD_RESTORE 14
#endif
#if !(defined(IPSET_CMD_HELP) || (defined(HAVE_DECL_IPSET_CMD_HELP) && HAVE_DECL_IPSET_CMD_HELP))
# define IPSET_CMD_HELP 15
#endif
#if !(defined(IPSET_CMD_VERSION) || (defined(HAVE_DECL_IPSET_CMD_VERSION) && HAVE_DECL_IPSET_CMD_VERSION))
# define IPSET_CMD_VERSION 16
#endif
#if !(defined(IPSET_CMD_QUIT) || (defined(HAVE_DECL_IPSET_CMD_QUIT) && HAVE_DECL_IPSET_CMD_QUIT))
# define IPSET_CMD_QUIT 17
#endif
#if !(defined(IPSET_CMD_COMMIT) || (defined(HAVE_DECL_IPSET_CMD_COMMIT) && HAVE_DECL_IPSET_CMD_COMMIT))
# define IPSET_CMD_COMMIT 18
#endif

#ifdef IN_MPERS

# error static const struct xlat nf_ipset_msg_types in mpers mode

#else

static
const struct xlat nf_ipset_msg_types[] = {
 XLAT(IPSET_CMD_NONE),
 XLAT(IPSET_CMD_PROTOCOL),
 XLAT(IPSET_CMD_CREATE),
 XLAT(IPSET_CMD_DESTROY),
 XLAT(IPSET_CMD_FLUSH),
 XLAT(IPSET_CMD_RENAME),
 XLAT(IPSET_CMD_SWAP),
 XLAT(IPSET_CMD_LIST),
 XLAT(IPSET_CMD_SAVE),
 XLAT(IPSET_CMD_ADD),
 XLAT(IPSET_CMD_DEL),
 XLAT(IPSET_CMD_TEST),
 XLAT(IPSET_CMD_HEADER),
 XLAT(IPSET_CMD_TYPE),

 XLAT(IPSET_CMD_RESTORE),
 XLAT(IPSET_CMD_HELP),
 XLAT(IPSET_CMD_VERSION),
 XLAT(IPSET_CMD_QUIT),

 XLAT(IPSET_CMD_COMMIT),
 XLAT_END
};

#endif /* !IN_MPERS */