aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2008-10-08 05:35:13 -0400
committerPatrick McHardy <kaber@trash.net>2008-10-08 05:35:13 -0400
commit19eda879a136889110c692dec4c2ab59e0e43cef (patch)
treef74da210c3a103a86f5b0257e99cfaa6e8834ab8 /include
parent18219d3f7d6a5bc43825a41e0763158efbdb80d3 (diff)
netfilter: change return types of check functions for Ebtables extensions
Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter_bridge/ebtables.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/linux/netfilter_bridge/ebtables.h b/include/linux/netfilter_bridge/ebtables.h
index fd085af8962d..5f71719b7a27 100644
--- a/include/linux/netfilter_bridge/ebtables.h
+++ b/include/linux/netfilter_bridge/ebtables.h
@@ -211,8 +211,7 @@ struct ebt_match
211 int (*match)(const struct sk_buff *skb, const struct net_device *in, 211 int (*match)(const struct sk_buff *skb, const struct net_device *in,
212 const struct net_device *out, const void *matchdata, 212 const struct net_device *out, const void *matchdata,
213 unsigned int datalen); 213 unsigned int datalen);
214 /* 0 == let it in */ 214 bool (*check)(const char *tablename, unsigned int hookmask,
215 int (*check)(const char *tablename, unsigned int hookmask,
216 const struct ebt_entry *e, void *matchdata, unsigned int datalen); 215 const struct ebt_entry *e, void *matchdata, unsigned int datalen);
217 void (*destroy)(void *matchdata, unsigned int datalen); 216 void (*destroy)(void *matchdata, unsigned int datalen);
218 unsigned int matchsize; 217 unsigned int matchsize;
@@ -226,8 +225,7 @@ struct ebt_watcher
226 void (*watcher)(const struct sk_buff *skb, unsigned int hooknr, 225 void (*watcher)(const struct sk_buff *skb, unsigned int hooknr,
227 const struct net_device *in, const struct net_device *out, 226 const struct net_device *in, const struct net_device *out,
228 const void *watcherdata, unsigned int datalen); 227 const void *watcherdata, unsigned int datalen);
229 /* 0 == let it in */ 228 bool (*check)(const char *tablename, unsigned int hookmask,
230 int (*check)(const char *tablename, unsigned int hookmask,
231 const struct ebt_entry *e, void *watcherdata, unsigned int datalen); 229 const struct ebt_entry *e, void *watcherdata, unsigned int datalen);
232 void (*destroy)(void *watcherdata, unsigned int datalen); 230 void (*destroy)(void *watcherdata, unsigned int datalen);
233 unsigned int targetsize; 231 unsigned int targetsize;
@@ -242,8 +240,7 @@ struct ebt_target
242 int (*target)(struct sk_buff *skb, unsigned int hooknr, 240 int (*target)(struct sk_buff *skb, unsigned int hooknr,
243 const struct net_device *in, const struct net_device *out, 241 const struct net_device *in, const struct net_device *out,
244 const void *targetdata, unsigned int datalen); 242 const void *targetdata, unsigned int datalen);
245 /* 0 == let it in */ 243 bool (*check)(const char *tablename, unsigned int hookmask,
246 int (*check)(const char *tablename, unsigned int hookmask,
247 const struct ebt_entry *e, void *targetdata, unsigned int datalen); 244 const struct ebt_entry *e, void *targetdata, unsigned int datalen);
248 void (*destroy)(void *targetdata, unsigned int datalen); 245 void (*destroy)(void *targetdata, unsigned int datalen);
249 unsigned int targetsize; 246 unsigned int targetsize;