diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-10-08 05:35:13 -0400 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-10-08 05:35:13 -0400 |
commit | 0ac6ab1f7915fc820ca0cf8f597290dbb249edcc (patch) | |
tree | c64d67a8c1fef97a5cd4e17c533b60776a118e4d /include | |
parent | 8cc784eec6676b58e7f60419c88179aaa97bf71c (diff) |
netfilter: Change return types of targets/watchers 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.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/netfilter_bridge/ebtables.h b/include/linux/netfilter_bridge/ebtables.h index f9fda2c442a0..097432b94c55 100644 --- a/include/linux/netfilter_bridge/ebtables.h +++ b/include/linux/netfilter_bridge/ebtables.h | |||
@@ -221,7 +221,7 @@ struct ebt_watcher | |||
221 | { | 221 | { |
222 | struct list_head list; | 222 | struct list_head list; |
223 | const char name[EBT_FUNCTION_MAXNAMELEN]; | 223 | const char name[EBT_FUNCTION_MAXNAMELEN]; |
224 | void (*watcher)(const struct sk_buff *skb, unsigned int hooknr, | 224 | unsigned int (*watcher)(const struct sk_buff *skb, unsigned int hooknr, |
225 | const struct net_device *in, const struct net_device *out, | 225 | const struct net_device *in, const struct net_device *out, |
226 | const void *watcherdata, unsigned int datalen); | 226 | const void *watcherdata, unsigned int datalen); |
227 | bool (*check)(const char *tablename, unsigned int hookmask, | 227 | bool (*check)(const char *tablename, unsigned int hookmask, |
@@ -235,8 +235,8 @@ struct ebt_target | |||
235 | { | 235 | { |
236 | struct list_head list; | 236 | struct list_head list; |
237 | const char name[EBT_FUNCTION_MAXNAMELEN]; | 237 | const char name[EBT_FUNCTION_MAXNAMELEN]; |
238 | /* returns one of the standard verdicts */ | 238 | /* returns one of the standard EBT_* verdicts */ |
239 | int (*target)(struct sk_buff *skb, unsigned int hooknr, | 239 | unsigned int (*target)(struct sk_buff *skb, unsigned int hooknr, |
240 | const struct net_device *in, const struct net_device *out, | 240 | const struct net_device *in, const struct net_device *out, |
241 | const void *targetdata, unsigned int datalen); | 241 | const void *targetdata, unsigned int datalen); |
242 | bool (*check)(const char *tablename, unsigned int hookmask, | 242 | bool (*check)(const char *tablename, unsigned int hookmask, |