diff options
author | Martin Josefsson <gandalf@wlug.westbo.se> | 2004-05-26 15:54:49 +0000 |
---|---|---|
committer | Martin Josefsson <gandalf@wlug.westbo.se> | 2004-05-26 15:54:49 +0000 |
commit | b105bc9f4bf61ffa835950c3d4e4b6162e1e16f8 (patch) | |
tree | a3a34c099e170849facffa83f4c08561619fb7a7 /include/iptables_common.h | |
parent | 1da399c30a2c42490f1c6cb84857e31522546c9d (diff) |
Add versions of string_to_number() for use in 32bit userspace with 64bit kernel.
Diffstat (limited to 'include/iptables_common.h')
-rw-r--r-- | include/iptables_common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/iptables_common.h b/include/iptables_common.h index 25f23c3c..ca65594e 100644 --- a/include/iptables_common.h +++ b/include/iptables_common.h @@ -14,6 +14,14 @@ extern int string_to_number(const char *, unsigned int, unsigned int, unsigned int *); +extern int string_to_number_l(const char *, + unsigned long int, + unsigned long int, + unsigned long *); +extern int string_to_number_ll(const char *, + unsigned long long int, + unsigned long long int, + unsigned long long *); extern int iptables_insmod(const char *modname, const char *modprobe); void exit_error(enum exittype, char *, ...)__attribute__((noreturn, format(printf,2,3))); |