summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-01-11 15:05:33 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-01-11 15:05:33 +0000
commit5b35ff8362e79c359fb9b429eeea2e7bd67839f7 (patch)
tree761821d4be00879af0c6d78bf27e269b25891148 /sys/netinet/tcp_input.c
parent8e9dc0002dac34577eede687f50646cdad38b58a (diff)
Make TCP_SACK compile with new netinet
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 2b368b72ebd..8787479426a 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.24 1999/01/11 02:01:35 deraadt Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.25 1999/01/11 15:05:32 niklas Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -2514,7 +2514,7 @@ tcp_sack_option(tp, th, cp, optlen)
void
tcp_del_sackholes(tp, th)
struct tcpcb *tp;
- struct tcpiphdr *th;
+ struct tcphdr *th;
{
if (!tp->sack_disable && tp->t_state != TCPS_LISTEN) {
/* max because this could be an older ack just arrived */
@@ -2559,9 +2559,9 @@ tcp_clean_sackreport(tp)
int
tcp_sack_partialack(tp, th)
struct tcpcb *tp;
- struct tcpiphdr *th;
+ struct tcphdr *th;
{
- if (SEQ_LT(th->ti_ack, tp->snd_last)) {
+ if (SEQ_LT(th->th_ack, tp->snd_last)) {
/* Turn off retx. timer (will start again next segment) */
tp->t_timer[TCPT_REXMT] = 0;
tp->t_rtt = 0;
@@ -2908,8 +2908,8 @@ tcp_mss(tp, offer)
*/
int
tcp_newreno(tp, th)
-struct tcpcb *tp;
-struct tcphdr *th;
+ struct tcpcb *tp;
+ struct tcphdr *th;
{
if (SEQ_LT(th->th_ack, tp->snd_last)) {
tcp_seq onxt = tp->snd_nxt;