]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv6/udp_impl.h
net: change proto destroy method to return void
[net-next-2.6.git] / net / ipv6 / udp_impl.h
index 6e252f318f7c91c81f5cdf04d2822b476f26a8ae..92dd7da766d8c9855a71afd863a39f90418fde46 100644 (file)
@@ -5,11 +5,14 @@
 #include <net/protocol.h>
 #include <net/addrconf.h>
 #include <net/inet_common.h>
+#include <net/transp_v6.h>
 
-extern int     __udp6_lib_rcv(struct sk_buff **, struct hlist_head [], int );
+extern int     __udp6_lib_rcv(struct sk_buff *, struct hlist_head [], int );
 extern void    __udp6_lib_err(struct sk_buff *, struct inet6_skb_parm *,
                               int , int , int , __be32 , struct hlist_head []);
 
+extern int     udp_v6_get_port(struct sock *sk, unsigned short snum);
+
 extern int     udpv6_getsockopt(struct sock *sk, int level, int optname,
                                 char __user *optval, int __user *optlen);
 extern int     udpv6_setsockopt(struct sock *sk, int level, int optname,
@@ -26,7 +29,7 @@ extern int    udpv6_recvmsg(struct kiocb *iocb, struct sock *sk,
                              struct msghdr *msg, size_t len,
                              int noblock, int flags, int *addr_len);
 extern int     udpv6_queue_rcv_skb(struct sock * sk, struct sk_buff *skb);
-extern int     udpv6_destroy_sock(struct sock *sk);
+extern void    udpv6_destroy_sock(struct sock *sk);
 
 #ifdef CONFIG_PROC_FS
 extern int     udp6_seq_show(struct seq_file *seq, void *v);