--- zzzz-none-000/linux-2.4.17/include/linux/net.h 2001-11-22 19:46:19.000000000 +0000 +++ sangam-fb-401/linux-2.4.17/include/linux/net.h 2005-04-05 07:07:46.000000000 +0000 @@ -139,6 +139,7 @@ extern int sock_recvmsg(struct socket *, struct msghdr *m, int len, int flags); extern int sock_readv_writev(int type, struct inode * inode, struct file * file, const struct iovec * iov, long count, long size); +extern struct socket *sockfd_lookup(int fd, int *err); extern int net_ratelimit(void); extern unsigned long net_random(void);