summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@conectiva.com.br>2002-10-19 21:03:19 -0300
committerArnaldo Carvalho de Melo <acme@conectiva.com.br>2002-10-19 21:03:19 -0300
commit53008588b765cc238dd7b42a0455bb02df76cd39 (patch)
tree7084c793fed718a8b274f2ddfdd1317aa2ccdd09 /include/net
parentecf2c2143f0865f447020144b2ee6e4181f65814 (diff)
o ipv4: only produce one record per fib_seq_sholl call
Also move the fib code back to the fib implementation, and that will now be done for udp and arp, then finally burying the ip_proc stillborn.
Diffstat (limited to 'include/net')
-rw-r--r--include/net/ip.h1
-rw-r--r--include/net/ip_fib.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/net/ip.h b/include/net/ip.h
index 2d61d26fd188..bf14f1f50b90 100644
--- a/include/net/ip.h
+++ b/include/net/ip.h
@@ -282,6 +282,7 @@ extern void ip_icmp_error(struct sock *sk, struct sk_buff *skb, int err,
extern void ip_local_error(struct sock *sk, int err, u32 daddr, u16 dport,
u32 info);
+extern int ip_seq_release(struct inode *inode, struct file *file);
extern int ipv4_proc_init(void);
#endif /* _IP_H */
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h
index 01ac6fdd2617..debc59c4c240 100644
--- a/include/net/ip_fib.h
+++ b/include/net/ip_fib.h
@@ -129,7 +129,6 @@ struct fib_table
int (*tb_dump)(struct fib_table *table, struct sk_buff *skb,
struct netlink_callback *cb);
int (*tb_flush)(struct fib_table *table);
- int (*tb_seq_show)(struct fib_table *table, struct seq_file *seq);
void (*tb_select_default)(struct fib_table *table,
const struct flowi *flp, struct fib_result *res);
@@ -277,5 +276,6 @@ static inline void fib_res_put(struct fib_result *res)
#endif
}
+extern int fib_proc_init(void);
#endif /* _NET_FIB_H */