Jan Engelhardt
07cd29d9ce
xt_geoip: IPv6 support
2011-02-02 04:47:28 +01:00
Jan Engelhardt
eb9634aee6
xt_geoip: v4/v6 name preparations
2011-02-02 04:43:36 +01:00
Jan Engelhardt
19f241a09c
xt_geoip: cleanups, preparations for IPv6 geoip
2011-02-02 01:55:09 +01:00
Jan Engelhardt
cd7c8fc4fa
geoip: minor cleanups in help, opts and logic
2008-03-22 03:59:58 +01:00
Jan Engelhardt
f4c4208e75
geoip: use appropriate and normal types
...
For the header file, we need __u32 and so on because they are exported
to userspace and rather constitute a kernel header.
Use normal types instead of uintXX_t in the main code.
2008-03-22 03:59:57 +01:00
Jan Engelhardt
7aae90da5a
geoip: use local-portable aligned_u64 pointer values
...
A 64-bit kernel will interpret the pointer with 64 bits width, while
a 32-bit userspace filled in only 32 of it, leaving the other 32
undefined. This must be avoided.
2008-03-22 03:59:56 +01:00
Jan Engelhardt
fd5321c7d8
geoip: split user/kernel-visible parts of struct geoip_info
2008-03-22 03:59:56 +01:00
Jan Engelhardt
205a006ac9
geoip: use tabs not spaces and indent
2008-03-22 03:59:44 +01:00
Jan Engelhardt
f1615a03f3
geoip: remove unused code and unneeded per-info refcount
...
- freeing userspace memory is not the kernel's job, really.
- checkentry is called exactly once, as is destroy.
2008-03-22 03:59:44 +01:00
Jan Engelhardt
3554e348bc
geoip: import 20080214 code base
2008-03-22 03:59:42 +01:00