diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ipv6.h | 2 | ||||
-rw-r--r-- | include/net/transp_v6.h | 12 |
2 files changed, 9 insertions, 5 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 4d9106580950..f2adedff927f 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h | |||
@@ -545,7 +545,7 @@ extern int compat_ipv6_getsockopt(struct sock *sk, | |||
545 | char __user *optval, | 545 | char __user *optval, |
546 | int __user *optlen); | 546 | int __user *optlen); |
547 | 547 | ||
548 | extern void ipv6_packet_init(void); | 548 | extern int ipv6_packet_init(void); |
549 | 549 | ||
550 | extern void ipv6_packet_cleanup(void); | 550 | extern void ipv6_packet_cleanup(void); |
551 | 551 | ||
diff --git a/include/net/transp_v6.h b/include/net/transp_v6.h index aa9a4a6b99df..27394e0447d8 100644 --- a/include/net/transp_v6.h +++ b/include/net/transp_v6.h | |||
@@ -23,10 +23,14 @@ extern int ipv6_frag_init(void); | |||
23 | extern void ipv6_frag_exit(void); | 23 | extern void ipv6_frag_exit(void); |
24 | 24 | ||
25 | /* transport protocols */ | 25 | /* transport protocols */ |
26 | extern void rawv6_init(void); | 26 | extern int rawv6_init(void); |
27 | extern void udpv6_init(void); | 27 | extern void rawv6_exit(void); |
28 | extern void udplitev6_init(void); | 28 | extern int udpv6_init(void); |
29 | extern void tcpv6_init(void); | 29 | extern void udpv6_exit(void); |
30 | extern int udplitev6_init(void); | ||
31 | extern void udplitev6_exit(void); | ||
32 | extern int tcpv6_init(void); | ||
33 | extern void tcpv6_exit(void); | ||
30 | 34 | ||
31 | extern int udpv6_connect(struct sock *sk, | 35 | extern int udpv6_connect(struct sock *sk, |
32 | struct sockaddr *uaddr, | 36 | struct sockaddr *uaddr, |