diff options
Diffstat (limited to 'include/net/net_namespace.h')
-rw-r--r-- | include/net/net_namespace.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index 446245e3adea..767dcd401e57 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h | |||
@@ -283,6 +283,11 @@ struct ctl_path; | |||
283 | struct ctl_table; | 283 | struct ctl_table; |
284 | struct ctl_table_header; | 284 | struct ctl_table_header; |
285 | 285 | ||
286 | #ifdef CONFIG_SYSCTL | ||
287 | extern int net_sysctl_init(void); | ||
288 | #else | ||
289 | static inline int net_sysctl_init(void) { return 0; } | ||
290 | #endif | ||
286 | extern struct ctl_table_header *register_net_sysctl_table(struct net *net, | 291 | extern struct ctl_table_header *register_net_sysctl_table(struct net *net, |
287 | const struct ctl_path *path, struct ctl_table *table); | 292 | const struct ctl_path *path, struct ctl_table *table); |
288 | extern struct ctl_table_header *register_net_sysctl_rotable( | 293 | extern struct ctl_table_header *register_net_sysctl_rotable( |