diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-12-07 13:26:54 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-09 20:56:12 -0500 |
commit | cb5b09c17fe60056bc8f127ffc987d361c40ed4b (patch) | |
tree | d4335b5d15d34dfb0379c77c26c304690fee6b41 /include/net | |
parent | 1f9248e5606afc6485255e38ad57bdac08fa7711 (diff) |
neigh: wrap proc dointvec functions
This will be needed later on to provide better management of default values.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/neighbour.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/net/neighbour.h b/include/net/neighbour.h index 4cb5478e2f6e..ed7eba045297 100644 --- a/include/net/neighbour.h +++ b/include/net/neighbour.h | |||
@@ -296,6 +296,15 @@ void *neigh_seq_start(struct seq_file *, loff_t *, struct neigh_table *, | |||
296 | void *neigh_seq_next(struct seq_file *, void *, loff_t *); | 296 | void *neigh_seq_next(struct seq_file *, void *, loff_t *); |
297 | void neigh_seq_stop(struct seq_file *, void *); | 297 | void neigh_seq_stop(struct seq_file *, void *); |
298 | 298 | ||
299 | int neigh_proc_dointvec(struct ctl_table *ctl, int write, | ||
300 | void __user *buffer, size_t *lenp, loff_t *ppos); | ||
301 | int neigh_proc_dointvec_jiffies(struct ctl_table *ctl, int write, | ||
302 | void __user *buffer, | ||
303 | size_t *lenp, loff_t *ppos); | ||
304 | int neigh_proc_dointvec_ms_jiffies(struct ctl_table *ctl, int write, | ||
305 | void __user *buffer, | ||
306 | size_t *lenp, loff_t *ppos); | ||
307 | |||
299 | int neigh_sysctl_register(struct net_device *dev, struct neigh_parms *p, | 308 | int neigh_sysctl_register(struct net_device *dev, struct neigh_parms *p, |
300 | char *p_name, proc_handler *proc_handler); | 309 | char *p_name, proc_handler *proc_handler); |
301 | void neigh_sysctl_unregister(struct neigh_parms *p); | 310 | void neigh_sysctl_unregister(struct neigh_parms *p); |