xt_geoip: cleanups, preparations for IPv6 geoip

This commit is contained in:
Jan Engelhardt
2011-02-02 01:52:26 +01:00
parent 93a17fdde0
commit 19f241a09c
2 changed files with 16 additions and 15 deletions

View File

@@ -36,7 +36,7 @@ struct geoip_country_user {
struct geoip_country_kernel;
union geoip_country_group {
aligned_u64 user;
aligned_u64 user; /* struct geoip_country_user * */
struct geoip_country_kernel *kernel;
};
@@ -49,6 +49,6 @@ struct xt_geoip_match_info {
union geoip_country_group mem[XT_GEOIP_MAX];
};
#define COUNTRY(cc) (cc >> 8), (cc & 0x00FF)
#define COUNTRY(cc) ((cc) >> 8), ((cc) & 0x00FF)
#endif /* _LINUX_NETFILTER_XT_GEOIP_H */