1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

White space & spelling fixes

Submitted by:	Xin LI <delphij@frontfree.net>
This commit is contained in:
Paul Saab 2004-06-25 04:11:26 +00:00
parent 37332f049f
commit 652178a12a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131079
2 changed files with 6 additions and 6 deletions

View File

@ -1057,7 +1057,7 @@ tcp_input(m, off0)
* for incoming connections is handled in tcp_syncache.
* XXX this is traditional behavior, may need to be cleaned up.
*/
tcp_dooptions(tp,&to, optp, optlen, thflags & TH_SYN,th);
tcp_dooptions(tp, &to, optp, optlen, thflags & TH_SYN, th);
if (thflags & TH_SYN) {
if (to.to_flags & TOF_SCALE) {
tp->t_flags |= TF_RCVD_SCALE;
@ -1084,7 +1084,7 @@ tcp_input(m, off0)
if (tp->sack_enable) {
/* Delete stale (cumulatively acked) SACK holes */
tcp_del_sackholes(tp, th);
tp->rcv_laststart = th->th_seq; /* last rec'vd segment*/
tp->rcv_laststart = th->th_seq; /* last recv'd segment*/
tp->rcv_lastend = th->th_seq + tlen;
}
@ -2579,7 +2579,7 @@ static void
tcp_dooptions(tp, to, cp, cnt, is_syn, th)
struct tcpcb *tp;
struct tcpopt *to;
u_char *cp;
u_char *cp;
int cnt;
int is_syn;
struct tcphdr *th;

View File

@ -1057,7 +1057,7 @@ tcp_input(m, off0)
* for incoming connections is handled in tcp_syncache.
* XXX this is traditional behavior, may need to be cleaned up.
*/
tcp_dooptions(tp,&to, optp, optlen, thflags & TH_SYN,th);
tcp_dooptions(tp, &to, optp, optlen, thflags & TH_SYN, th);
if (thflags & TH_SYN) {
if (to.to_flags & TOF_SCALE) {
tp->t_flags |= TF_RCVD_SCALE;
@ -1084,7 +1084,7 @@ tcp_input(m, off0)
if (tp->sack_enable) {
/* Delete stale (cumulatively acked) SACK holes */
tcp_del_sackholes(tp, th);
tp->rcv_laststart = th->th_seq; /* last rec'vd segment*/
tp->rcv_laststart = th->th_seq; /* last recv'd segment*/
tp->rcv_lastend = th->th_seq + tlen;
}
@ -2579,7 +2579,7 @@ static void
tcp_dooptions(tp, to, cp, cnt, is_syn, th)
struct tcpcb *tp;
struct tcpopt *to;
u_char *cp;
u_char *cp;
int cnt;
int is_syn;
struct tcphdr *th;