build: remove support for Linux 2.6.34

This commit is contained in:
Jan Engelhardt
2012-10-16 02:12:05 +02:00
parent ea3e4b2ed5
commit bb25bc08c4
8 changed files with 5 additions and 228 deletions

View File

@@ -11,23 +11,6 @@ struct net_device;
struct rtable;
struct sk_buff;
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 34)
struct xt_action_param {
union {
const struct xt_match *match;
const struct xt_target *target;
};
union {
const void *matchinfo, *targinfo;
};
const struct net_device *in, *out;
int fragoff;
unsigned int thoff, hooknum;
u_int8_t family;
bool hotdrop;
};
#endif
struct xtnu_match {
/*
* Making it smaller by sizeof(void *) on purpose to catch