]>
git.proxmox.com Git - mirror_iproute2.git/blob - include/iptables_common.h
1 #ifndef _IPTABLES_COMMON_H
2 #define _IPTABLES_COMMON_H
3 /* Shared definitions between ipv4 and ipv6. */
10 extern void exit_printhelp(void) __attribute__((noreturn
));
11 extern void exit_tryhelp(int) __attribute__((noreturn
));
12 int check_inverse(const char option
[], int *invert
, int *optind
, int argc
);
13 extern int string_to_number(const char *,
17 extern int string_to_number_l(const char *,
21 extern int string_to_number_ll(const char *,
22 unsigned long long int,
23 unsigned long long int,
24 unsigned long long *);
25 extern int iptables_insmod(const char *modname
, const char *modprobe
);
26 void exit_error(enum exittype
, char *, ...)__attribute__((noreturn
,
28 extern const char *program_name
, *program_version
;
35 extern void init_extensions(void);
38 #endif /*_IPTABLES_COMMON_H*/