summaryrefslogtreecommitdiff
path: root/include/net/ping.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/ping.h')
-rw-r--r--include/net/ping.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/ping.h b/include/net/ping.h
index b9282f019804..db04802f1673 100644
--- a/include/net/ping.h
+++ b/include/net/ping.h
@@ -95,6 +95,14 @@ struct ping_seq_afinfo {
const struct seq_operations seq_ops;
};
+extern const struct file_operations ping_seq_fops;
+
+void *ping_seq_start(struct seq_file *seq, loff_t *pos, sa_family_t family);
+void *ping_seq_next(struct seq_file *seq, void *v, loff_t *pos);
+void ping_seq_stop(struct seq_file *seq, void *v);
+int ping_proc_register(struct net *net, struct ping_seq_afinfo *afinfo);
+void ping_proc_unregister(struct net *net, struct ping_seq_afinfo *afinfo);
+
extern int __init ping_proc_init(void);
extern void ping_proc_exit(void);
#endif