1 #ifndef _IPTABLES_COMMON_H
2 #define _IPTABLES_COMMON_H
3 /* Shared definitions between ipv4 and ipv6. */
11 /* this is a special 64bit data type that is 8-byte aligned */
12 #define aligned_u64 unsigned long long __attribute__((aligned(8)))
14 extern void exit_printhelp() __attribute__((noreturn));
15 extern void exit_tryhelp(int) __attribute__((noreturn));
16 int check_inverse(const char option[], int *invert, int *optind, int argc);
17 extern int string_to_number(const char *,
21 extern int string_to_number_l(const char *,
25 extern int string_to_number_ll(const char *,
26 unsigned long long int,
27 unsigned long long int,
28 unsigned long long *);
29 extern int iptables_insmod(const char *modname, const char *modprobe);
30 void exit_error(enum exittype, char *, ...)__attribute__((noreturn,
32 extern const char *program_name, *program_version;
39 extern void init_extensions(void);
42 #endif /*_IPTABLES_COMMON_H*/