| #ifndef _IPTABLES_COMMON_H |
| #define _IPTABLES_COMMON_H |
| /* Shared definitions between ipv4 and ipv6. */ |
| /* this is a special 64bit data type that is 8-byte aligned */ |
| #define aligned_u64 unsigned long long __attribute__((aligned(8))) |
| extern void exit_printhelp(void) __attribute__((noreturn)); |
| extern void exit_tryhelp(int) __attribute__((noreturn)); |
| int check_inverse(const char option[], int *invert, int *optind, int argc); |
| extern int string_to_number(const char *, |
| extern int string_to_number_l(const char *, |
| extern int string_to_number_ll(const char *, |
| extern int iptables_insmod(const char *modname, const char *modprobe); |
| extern int load_iptables_ko(const char *modprobe); |
| void exit_error(enum exittype, char *, ...)__attribute__((noreturn, |
| extern const char *program_name, *program_version; |
| #define _init __attribute__((constructor)) my_init |
| extern void init_extensions(void); |
| #endif /*_IPTABLES_COMMON_H*/ |