diff options
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, |