diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter/x_tables.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/netfilter/x_tables.h b/include/linux/netfilter/x_tables.h index b99ede51318a..90dc6ea2a683 100644 --- a/include/linux/netfilter/x_tables.h +++ b/include/linux/netfilter/x_tables.h | |||
@@ -214,7 +214,7 @@ struct xt_match | |||
214 | /* Free to use by each match */ | 214 | /* Free to use by each match */ |
215 | unsigned long data; | 215 | unsigned long data; |
216 | 216 | ||
217 | char *table; | 217 | const char *table; |
218 | unsigned int matchsize; | 218 | unsigned int matchsize; |
219 | unsigned int compatsize; | 219 | unsigned int compatsize; |
220 | unsigned int hooks; | 220 | unsigned int hooks; |
@@ -261,7 +261,7 @@ struct xt_target | |||
261 | /* Set this to THIS_MODULE if you are a module, otherwise NULL */ | 261 | /* Set this to THIS_MODULE if you are a module, otherwise NULL */ |
262 | struct module *me; | 262 | struct module *me; |
263 | 263 | ||
264 | char *table; | 264 | const char *table; |
265 | unsigned int targetsize; | 265 | unsigned int targetsize; |
266 | unsigned int compatsize; | 266 | unsigned int compatsize; |
267 | unsigned int hooks; | 267 | unsigned int hooks; |
@@ -277,7 +277,7 @@ struct xt_table | |||
277 | struct list_head list; | 277 | struct list_head list; |
278 | 278 | ||
279 | /* A unique name... */ | 279 | /* A unique name... */ |
280 | char name[XT_TABLE_MAXNAMELEN]; | 280 | const char name[XT_TABLE_MAXNAMELEN]; |
281 | 281 | ||
282 | /* What hooks you will enter on */ | 282 | /* What hooks you will enter on */ |
283 | unsigned int valid_hooks; | 283 | unsigned int valid_hooks; |