forked from KolibriOS/kolibrios
Enabled Requesting scale and timestamp by default.
git-svn-id: svn://kolibrios.org@2953 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
790b435709
commit
eaebc59a11
@ -897,7 +897,6 @@ SOCKET_send_pppoe:
|
|||||||
mov [esp+32], ecx
|
mov [esp+32], ecx
|
||||||
mov ebx, [eax + SOCKET.device]
|
mov ebx, [eax + SOCKET.device]
|
||||||
|
|
||||||
mov ecx, esi
|
|
||||||
call PPPoE_discovery_output
|
call PPPoE_discovery_output
|
||||||
cmp eax, -1
|
cmp eax, -1
|
||||||
je s_error
|
je s_error
|
||||||
|
@ -54,6 +54,8 @@ TCP_OPT_EOL = 0 ; End of option list.
|
|||||||
TCP_OPT_NOP = 1 ; No-Operation.
|
TCP_OPT_NOP = 1 ; No-Operation.
|
||||||
TCP_OPT_MAXSEG = 2 ; Maximum Segment Size.
|
TCP_OPT_MAXSEG = 2 ; Maximum Segment Size.
|
||||||
TCP_OPT_WINDOW = 3 ; window scale
|
TCP_OPT_WINDOW = 3 ; window scale
|
||||||
|
TCP_OPT_SACK_PERMIT = 4 ; Selective Acknowledgement
|
||||||
|
TCP_OPT_SACK = 5
|
||||||
TCP_OPT_TIMESTAMP = 8
|
TCP_OPT_TIMESTAMP = 8
|
||||||
|
|
||||||
; Fundamental timer values
|
; Fundamental timer values
|
||||||
|
@ -85,7 +85,7 @@ macro TCP_rcvseqinit ptr {
|
|||||||
macro TCP_init_socket socket {
|
macro TCP_init_socket socket {
|
||||||
|
|
||||||
mov [socket + TCP_SOCKET.t_maxseg], TCP_mss_default
|
mov [socket + TCP_SOCKET.t_maxseg], TCP_mss_default
|
||||||
mov [socket + TCP_SOCKET.t_flags], 0 ; we could also request scale and timestamp
|
mov [socket + TCP_SOCKET.t_flags], TF_REQ_SCALE or TF_REQ_TSTMP
|
||||||
|
|
||||||
mov [socket + TCP_SOCKET.t_srtt], TCP_time_srtt_default
|
mov [socket + TCP_SOCKET.t_srtt], TCP_time_srtt_default
|
||||||
mov [socket + TCP_SOCKET.t_rttvar], TCP_time_rtt_default * 4
|
mov [socket + TCP_SOCKET.t_rttvar], TCP_time_rtt_default * 4
|
||||||
|
Loading…
Reference in New Issue
Block a user