diff options
author | Daniel Lezcano <dlezcano@fr.ibm.com> | 2008-03-21 07:14:45 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-21 07:14:45 -0400 |
commit | 6f8b13bcb3369a5df2e63acc422bed6098f5b8c4 (patch) | |
tree | 715d53b85e86b26c113b417e269602d1cb8ca436 /include/net | |
parent | 0c96d8c50bffb7f02690dd8a8cf1adb8e07e100f (diff) |
[NETNS][IPV6] tcp6 - make proc per namespace
Make the proc for tcp6 to be per namespace.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ipv6.h | 4 | ||||
-rw-r--r-- | include/net/tcp.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index e01a563132e8..e82f1814d96b 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h | |||
@@ -595,8 +595,8 @@ extern int ac6_proc_init(void); | |||
595 | extern void ac6_proc_exit(void); | 595 | extern void ac6_proc_exit(void); |
596 | extern int raw6_proc_init(void); | 596 | extern int raw6_proc_init(void); |
597 | extern void raw6_proc_exit(void); | 597 | extern void raw6_proc_exit(void); |
598 | extern int tcp6_proc_init(void); | 598 | extern int tcp6_proc_init(struct net *net); |
599 | extern void tcp6_proc_exit(void); | 599 | extern void tcp6_proc_exit(struct net *net); |
600 | extern int udp6_proc_init(struct net *net); | 600 | extern int udp6_proc_init(struct net *net); |
601 | extern void udp6_proc_exit(struct net *net); | 601 | extern void udp6_proc_exit(struct net *net); |
602 | extern int udplite6_proc_init(void); | 602 | extern int udplite6_proc_init(void); |
diff --git a/include/net/tcp.h b/include/net/tcp.h index 6b08dab1b1fa..847e1634e1f4 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -1336,8 +1336,8 @@ struct tcp_iter_state { | |||
1336 | struct seq_operations seq_ops; | 1336 | struct seq_operations seq_ops; |
1337 | }; | 1337 | }; |
1338 | 1338 | ||
1339 | extern int tcp_proc_register(struct tcp_seq_afinfo *afinfo); | 1339 | extern int tcp_proc_register(struct net *net, struct tcp_seq_afinfo *afinfo); |
1340 | extern void tcp_proc_unregister(struct tcp_seq_afinfo *afinfo); | 1340 | extern void tcp_proc_unregister(struct net *net, struct tcp_seq_afinfo *afinfo); |
1341 | 1341 | ||
1342 | extern struct request_sock_ops tcp_request_sock_ops; | 1342 | extern struct request_sock_ops tcp_request_sock_ops; |
1343 | extern struct request_sock_ops tcp6_request_sock_ops; | 1343 | extern struct request_sock_ops tcp6_request_sock_ops; |