summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-09-08 16:07:16 +0200
committerJan Engelhardt <jengelh@medozas.de>2011-09-08 16:07:16 +0200
commit891d5790b3f4caeed80f1449d280617c54df8837 (patch)
tree6328d4a4a0d4bffb76fc5ecf297b4386a1257191 /include
parentbf42cf92ea0c53e5470a20d62d00e5e83379f4d5 (diff)
parent153c23d9b14285b24aae3e96da0b547dcc7ee051 (diff)
Merge branch 'stable'
Diffstat (limited to 'include')
-rw-r--r--include/iptables.h8
-rw-r--r--include/xtables.h.in8
2 files changed, 8 insertions, 8 deletions
diff --git a/include/iptables.h b/include/iptables.h
index 65b32909..89217e29 100644
--- a/include/iptables.h
+++ b/include/iptables.h
@@ -18,14 +18,6 @@ extern int for_each_chain4(int (*fn)(const ipt_chainlabel, int, struct iptc_hand
extern void print_rule4(const struct ipt_entry *e,
struct iptc_handle *handle, const char *chain, int counters);
-/* kernel revision handling */
-extern int kernel_version;
-extern void get_kernel_version(void);
-#define LINUX_VERSION(x,y,z) (0x10000*(x) + 0x100*(y) + z)
-#define LINUX_VERSION_MAJOR(x) (((x)>>16) & 0xFF)
-#define LINUX_VERSION_MINOR(x) (((x)>> 8) & 0xFF)
-#define LINUX_VERSION_PATCH(x) ( (x) & 0xFF)
-
extern struct xtables_globals iptables_globals;
#endif /*_IPTABLES_USER_H*/
diff --git a/include/xtables.h.in b/include/xtables.h.in
index d50df79a..28e29337 100644
--- a/include/xtables.h.in
+++ b/include/xtables.h.in
@@ -477,6 +477,14 @@ extern void xtables_save_string(const char *value);
extern const struct xtables_pprot xtables_chain_protos[];
extern u_int16_t xtables_parse_protocol(const char *s);
+/* kernel revision handling */
+extern int kernel_version;
+extern void get_kernel_version(void);
+#define LINUX_VERSION(x,y,z) (0x10000*(x) + 0x100*(y) + z)
+#define LINUX_VERSION_MAJOR(x) (((x)>>16) & 0xFF)
+#define LINUX_VERSION_MINOR(x) (((x)>> 8) & 0xFF)
+#define LINUX_VERSION_PATCH(x) ( (x) & 0xFF)
+
/* xtoptions.c */
extern void xtables_option_metavalidate(const char *,
const struct xt_option_entry *);