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:
parent
37332f049f
commit
652178a12a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131079
@ -1057,7 +1057,7 @@ tcp_input(m, off0)
|
|||||||
* for incoming connections is handled in tcp_syncache.
|
* for incoming connections is handled in tcp_syncache.
|
||||||
* XXX this is traditional behavior, may need to be cleaned up.
|
* 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 (thflags & TH_SYN) {
|
||||||
if (to.to_flags & TOF_SCALE) {
|
if (to.to_flags & TOF_SCALE) {
|
||||||
tp->t_flags |= TF_RCVD_SCALE;
|
tp->t_flags |= TF_RCVD_SCALE;
|
||||||
@ -1084,7 +1084,7 @@ tcp_input(m, off0)
|
|||||||
if (tp->sack_enable) {
|
if (tp->sack_enable) {
|
||||||
/* Delete stale (cumulatively acked) SACK holes */
|
/* Delete stale (cumulatively acked) SACK holes */
|
||||||
tcp_del_sackholes(tp, th);
|
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;
|
tp->rcv_lastend = th->th_seq + tlen;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2579,7 +2579,7 @@ static void
|
|||||||
tcp_dooptions(tp, to, cp, cnt, is_syn, th)
|
tcp_dooptions(tp, to, cp, cnt, is_syn, th)
|
||||||
struct tcpcb *tp;
|
struct tcpcb *tp;
|
||||||
struct tcpopt *to;
|
struct tcpopt *to;
|
||||||
u_char *cp;
|
u_char *cp;
|
||||||
int cnt;
|
int cnt;
|
||||||
int is_syn;
|
int is_syn;
|
||||||
struct tcphdr *th;
|
struct tcphdr *th;
|
||||||
|
@ -1057,7 +1057,7 @@ tcp_input(m, off0)
|
|||||||
* for incoming connections is handled in tcp_syncache.
|
* for incoming connections is handled in tcp_syncache.
|
||||||
* XXX this is traditional behavior, may need to be cleaned up.
|
* 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 (thflags & TH_SYN) {
|
||||||
if (to.to_flags & TOF_SCALE) {
|
if (to.to_flags & TOF_SCALE) {
|
||||||
tp->t_flags |= TF_RCVD_SCALE;
|
tp->t_flags |= TF_RCVD_SCALE;
|
||||||
@ -1084,7 +1084,7 @@ tcp_input(m, off0)
|
|||||||
if (tp->sack_enable) {
|
if (tp->sack_enable) {
|
||||||
/* Delete stale (cumulatively acked) SACK holes */
|
/* Delete stale (cumulatively acked) SACK holes */
|
||||||
tcp_del_sackholes(tp, th);
|
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;
|
tp->rcv_lastend = th->th_seq + tlen;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2579,7 +2579,7 @@ static void
|
|||||||
tcp_dooptions(tp, to, cp, cnt, is_syn, th)
|
tcp_dooptions(tp, to, cp, cnt, is_syn, th)
|
||||||
struct tcpcb *tp;
|
struct tcpcb *tp;
|
||||||
struct tcpopt *to;
|
struct tcpopt *to;
|
||||||
u_char *cp;
|
u_char *cp;
|
||||||
int cnt;
|
int cnt;
|
||||||
int is_syn;
|
int is_syn;
|
||||||
struct tcphdr *th;
|
struct tcphdr *th;
|
||||||
|
Loading…
Reference in New Issue
Block a user