Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3359 → Rev 3360

/kernel/branches/net/network/ARP.inc
517,6 → 517,9
.found_it:
cmp [esi + ARP_entry.Status], ARP_VALID_MAPPING ; Does it have a MAC assigned?
je .valid
if ARP_BLOCK
jmp .give_up
else
cmp [esi + ARP_entry.Status], ARP_AWAITING_RESPONSE ; Are we waiting for reply from remote end?
jne .give_up
push esi
524,6 → 527,7
call delay_ms
pop esi
jmp .found_it ; now check again
end if
 
.valid:
DEBUGF 1,"ARP_IP_to_MAC: found MAC\n"
/kernel/branches/net/network/stack.inc
29,6 → 29,7
endg
 
MAX_NET_DEVICES = 16
ARP_BLOCK = 1 ; true or false
 
MIN_EPHEMERAL_PORT = 49152
MIN_EPHEMERAL_PORT_N = 0x00C0 ; same in Network byte order (FIXME)