Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ struct geoip_subnet {
};

struct geoip_info {
struct geoip_subnet *subnets;
aligned_u64 subnets;
u_int32_t count;
u_int32_t ref;
u_int16_t cc;
struct geoip_info *next;
struct geoip_info *prev;
aligned_u64 next;
aligned_u64 prev;
};

struct xt_geoip_match_info {
Expand All @@ -39,8 +39,8 @@ struct xt_geoip_match_info {
u_int16_t cc[XT_GEOIP_MAX];

/* Used internally by the kernel */
struct geoip_info *mem[XT_GEOIP_MAX];
u_int8_t *refcount;
aligned_u64 mem[XT_GEOIP_MAX];
aligned_u64 refcount;

/* not implemented yet:
void *fini;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ struct geoip_subnet {
};

struct geoip_info {
struct geoip_subnet *subnets;
aligned_u64 subnets;
u_int32_t count;
u_int32_t ref;
u_int16_t cc;
struct geoip_info *next;
struct geoip_info *prev;
aligned_u64 next;
aligned_u64 prev;
};

struct xt_geoip_match_info {
Expand All @@ -39,8 +39,8 @@ struct xt_geoip_match_info {
u_int16_t cc[XT_GEOIP_MAX];

/* Used internally by the kernel */
struct geoip_info *mem[XT_GEOIP_MAX];
u_int8_t *refcount;
aligned_u64 mem[XT_GEOIP_MAX];
aligned_u64 refcount;

/* not implemented yet:
void *fini;
Expand Down