Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1733 → Rev 1732

/kernel/branches/net/network/socket.inc
508,9 → 508,9
 
mov [eax + TCP_SOCKET.timer_persist], 0
mov [eax + TCP_SOCKET.t_state], TCB_SYN_SENT
push [TCP_sequence_num]
mov ebx, [TCP_sequence_num]
add [TCP_sequence_num], 6400
pop [eax + TCP_SOCKET.ISS]
mov [eax + TCP_SOCKET.ISS], ebx
mov [eax + TCP_SOCKET.timer_keepalive], TCP_time_keep_init
 
TCP_sendseqinit eax
517,6 → 517,10
 
; mov [ebx + TCP_SOCKET.timer_retransmission], ;; todo: create macro to set retransmission timer
 
push eax
call TCP_output
pop eax
 
mov ebx, eax
 
lea eax, [ebx + STREAM_SOCKET.snd]
526,10 → 530,6
call SOCKET_ring_create
 
mov [ebx + SOCKET.lock], 0
 
mov eax, ebx
call TCP_output
 
mov dword [esp+32], 0
ret