Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3143 → Rev 3144

/kernel/branches/net/network/tcp_input.inc
243,7 → 243,7
lodsw
rol ax, 8
DEBUGF 1,"TCP_input: Maxseg=%u\n", ax
mov [ebx + TCP_SOCKET.t_maxseg], eax
call TCP_mss
@@:
jmp .opt_loop
 
/kernel/branches/net/network/tcp_subr.inc
594,3 → 594,20
pop ecx
 
ret
 
 
 
 
; eax = max segment size
; ebx = socket ptr
align 4
TCP_mss:
 
cmp eax, 1420 ; FIXME
jbe @f
mov eax, 1420
@@:
mov [ebx + TCP_SOCKET.t_maxseg], eax
 
 
ret