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 | 18219d3f7d6a5bc43825a41e0763158efbdb80d3 (patch) | |
tree | aca133d934ec93fc441d5a26937b2428d23573bd /include | |
parent | d2f26037a38ada4a5d40d1cf0b32bc5289f50312 (diff) |
netfilter: ebtables: do centralized size checking
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/netfilter_bridge/ebtables.h b/include/linux/netfilter_bridge/ebtables.h index 892f5b7771c7..fd085af8962d 100644 --- a/include/linux/netfilter_bridge/ebtables.h +++ b/include/linux/netfilter_bridge/ebtables.h | |||
@@ -215,6 +215,7 @@ struct ebt_match | |||
215 | int (*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); | 216 | const struct ebt_entry *e, void *matchdata, unsigned int datalen); |
217 | void (*destroy)(void *matchdata, unsigned int datalen); | 217 | void (*destroy)(void *matchdata, unsigned int datalen); |
218 | unsigned int matchsize; | ||
218 | struct module *me; | 219 | struct module *me; |
219 | }; | 220 | }; |
220 | 221 | ||
@@ -229,6 +230,7 @@ struct ebt_watcher | |||
229 | int (*check)(const char *tablename, unsigned int hookmask, | 230 | int (*check)(const char *tablename, unsigned int hookmask, |
230 | const struct ebt_entry *e, void *watcherdata, unsigned int datalen); | 231 | const struct ebt_entry *e, void *watcherdata, unsigned int datalen); |
231 | void (*destroy)(void *watcherdata, unsigned int datalen); | 232 | void (*destroy)(void *watcherdata, unsigned int datalen); |
233 | unsigned int targetsize; | ||
232 | struct module *me; | 234 | struct module *me; |
233 | }; | 235 | }; |
234 | 236 | ||
@@ -244,6 +246,7 @@ struct ebt_target | |||
244 | int (*check)(const char *tablename, unsigned int hookmask, | 246 | int (*check)(const char *tablename, unsigned int hookmask, |
245 | const struct ebt_entry *e, void *targetdata, unsigned int datalen); | 247 | const struct ebt_entry *e, void *targetdata, unsigned int datalen); |
246 | void (*destroy)(void *targetdata, unsigned int datalen); | 248 | void (*destroy)(void *targetdata, unsigned int datalen); |
249 | unsigned int targetsize; | ||
247 | struct module *me; | 250 | struct module *me; |
248 | }; | 251 | }; |
249 | 252 | ||