Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 322 → Rev 323

/kernel/trunk/network/stack.inc
269,7 → 269,7
 
checksum:
pusha
 
mov eax, [checkAdd1]
xor edx, edx ; edx is the accumulative checksum
xor ebx, ebx
mov cx, [checkSize1]
276,8 → 276,6
shr cx, 1
jz cs1_1
 
mov eax, [checkAdd1]
 
cs1:
mov bh, [eax]
mov bl, [eax + 1]
301,11 → 299,11
cmp cx, 0
jz cs_exit ; Finished if no 2nd buffer
 
mov eax, [checkAdd2]
 
shr cx, 1
jz cs2_1
 
mov eax, [checkAdd2]
 
cs2:
mov bh, [eax]
mov bl, [eax + 1]
673,6 → 671,13
 
 
nots10:
cmp eax, 11
jnz nots11
 
call socket_read_packet
ret
 
nots11:
cmp eax, 254
jnz notdump