summaryrefslogtreecommitdiff
path: root/include/net/udp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/udp.h')
-rw-r--r--include/net/udp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/udp.h b/include/net/udp.h
index 4f72cabacc01..d27b8e7ef855 100644
--- a/include/net/udp.h
+++ b/include/net/udp.h
@@ -59,13 +59,13 @@ static inline int udp_lport_inuse(u16 num)
extern struct proto udp_prot;
-extern void udp_err(struct sk_buff *, unsigned char *, int);
+extern void udp_err(struct sk_buff *, u32);
extern int udp_connect(struct sock *sk,
struct sockaddr *usin, int addr_len);
extern int udp_sendmsg(struct sock *sk, struct msghdr *msg, int len);
-extern int udp_rcv(struct sk_buff *skb, unsigned short len);
+extern int udp_rcv(struct sk_buff *skb);
extern int udp_ioctl(struct sock *sk, int cmd, unsigned long arg);
extern int udp_disconnect(struct sock *sk, int flags);