patch-2.0.2 linux/include/net/tcp.h
Next file: linux/kernel/exit.c
Previous file: linux/include/linux/sched.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Fri Jul 5 18:29:39 1996
- Orig file:
v2.0.1/linux/include/net/tcp.h
- Orig date:
Tue May 21 19:52:38 1996
diff -u --recursive --new-file v2.0.1/linux/include/net/tcp.h linux/include/net/tcp.h
@@ -174,22 +174,6 @@
extern void tcp_delack_timer(unsigned long);
extern void tcp_retransmit_timer(unsigned long);
-/*
- * Default sequence number picking algorithm.
- * As close as possible to RFC 793, which
- * suggests using a 250kHz clock.
- * Further reading shows this assumes 2MB/s networks.
- * For 10MB/s ethernet, a 1MHz clock is appropriate.
- * That's funny, Linux has one built in! Use it!
- */
-
-static inline u32 tcp_init_seq(void)
-{
- struct timeval tv;
- do_gettimeofday(&tv);
- return tv.tv_usec+tv.tv_sec*1000000;
-}
-
static __inline__ int tcp_old_window(struct sock * sk)
{
return sk->window - (sk->acked_seq - sk->lastwin_seq);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov