patch-2.1.89 linux/include/net/tcp.h
Next file: linux/ipc/shm.c
Previous file: linux/include/net/sock.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Fri Mar 6 21:05:27 1998
- Orig file:
v2.1.88/linux/include/net/tcp.h
- Orig date:
Mon Feb 23 18:12:12 1998
diff -u --recursive --new-file v2.1.88/linux/include/net/tcp.h linux/include/net/tcp.h
@@ -54,7 +54,7 @@
extern int sysctl_tcp_timestamps;
extern int sysctl_tcp_window_scaling;
-/* These are AF independant. */
+/* These are AF independent. */
static __inline__ int tcp_bhashfn(__u16 lport)
{
return (lport ^ (lport >> 7)) & (TCP_BHTABLE_SIZE - 1);
@@ -65,7 +65,7 @@
* break TCP port selection. This function must also NOT wrap around
* when the next number exceeds the largest possible port (2^16-1).
*/
-static __inline__ int tcp_bhashnext(__u16 short lport, __u16 h)
+static __inline__ int tcp_bhashnext(__u16 lport, __u16 h)
{
__u32 s; /* don't change this to a smaller type! */
@@ -393,7 +393,7 @@
extern void tcp_close(struct sock *sk,
unsigned long timeout);
extern struct sock * tcp_accept(struct sock *sk, int flags);
-extern unsigned int tcp_poll(struct socket *sock, struct poll_table_struct *wait);
+extern unsigned int tcp_poll(struct file * file, struct socket *sock, struct poll_table_struct *wait);
extern int tcp_getsockopt(struct sock *sk, int level,
int optname, char *optval,
int *optlen);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov