[haiku-bugs] Re: [Haiku] #13089: Implement rfc 1323 in our TCP stack

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Fri, 25 Nov 2016 00:39:33 -0000

#13089: Implement rfc 1323 in our TCP stack
--------------------------------------+----------------------------
   Reporter:  kallisti5               |      Owner:  axeld
       Type:  enhancement             |     Status:  new
   Priority:  high                    |  Milestone:  Unscheduled
  Component:  Network & Internet/TCP  |    Version:  R1/Development
 Resolution:                          |   Keywords:
 Blocked By:                          |   Blocking:
Has a Patch:  0                       |   Platform:  All
--------------------------------------+----------------------------

Comment (by kallisti5):

 at face value, it looks like our tcp protocol add-on already supports
 window scaling...


 http://cgit.haiku-os.org/haiku/tree/src/add-
 ons/kernel/network/protocols/tcp/TCPEndpoint.cpp#n444

 FreeBSD, sys/netinet/tcp_subr.c
 {{{
 tcp_newtcpcb
     if (V_tcp_do_rfc1323)
         tp->t_flags = (TF_REQ_SCALE|TF_REQ_TSTMP);
 }}}

 FreeBSD, sys/netinet/tcp_subr.c
 {{{
 tcp_maxseg
         if (tp->t_flags & TF_REQ_SCALE)
             optlen += PAD(TCPOLEN_WINDOW);
 }}}

--
Ticket URL: <https://dev.haiku-os.org/ticket/13089#comment:3>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: