Subversion Repositories Kolibri OS

Rev

Rev 339 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 339 Rev 485
Line 39... Line 39...
39
 
39
 
Line 40... Line 40...
40
RATE_LIMIT_INTERVAL equ 60		    ; seconds (delay between successive attempts)
40
RATE_LIMIT_INTERVAL equ 60		    ; seconds (delay between successive attempts)
Line 41... Line 41...
41
 
41
 
42
DEFEND_INTERVAL     equ 10		    ; seconds (min. wait between defensive ARPs)
42
DEFEND_INTERVAL     equ 10		    ; seconds (min. wait between defensive ARPs)
43
 
43
 
44
include 'macros.inc'
44
include '..\..\..\macros.inc'
45
include 'eth.inc'
45
include 'eth.inc'
46
include 'debug-fdo.inc'
46
include 'debug-fdo.inc'
Line 152... Line 152...
152
    mov     eax, dhcpMsg		    ; Setup the DHCP buffer to receive response
152
    mov     eax, dhcpMsg		    ; Setup the DHCP buffer to receive response
153
    mov     [dhcpMsgLen], eax		    ; Used as a pointer to the data
153
    mov     [dhcpMsgLen], eax		    ; Used as a pointer to the data
Line 154... Line 154...
154
 
154
 
155
    mov     eax,23			    ; wait here for event (data from remote)
155
    mov     eax,23			    ; wait here for event (data from remote)
156
    mov     ebx,TIMEOUT*10
156
    mov     ebx,TIMEOUT*10
Line 157... Line 157...
157
    int     0x40
157
    mcall
Line 158... Line 158...
158
 
158
 
159
    eth.poll [socketNum]
159
    eth.poll [socketNum]