forked from KolibriOS/kolibrios
Netstat: redraw window on network subsystem event.
Kernel: send event when IP configuration changed. git-svn-id: svn://kolibrios.org@3348 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
be4786e05f
commit
2c13dbe1c3
@ -30,7 +30,7 @@ include '..\macros.inc'
|
||||
include '..\network.inc'
|
||||
|
||||
START:
|
||||
mcall 40, EVM_REDRAW + EVM_BUTTON
|
||||
mcall 40, EVM_REDRAW + EVM_BUTTON + EVM_STACK2
|
||||
|
||||
redraw:
|
||||
mcall 12, 1
|
||||
@ -441,6 +441,8 @@ mainloop:
|
||||
je redraw
|
||||
cmp eax, 3
|
||||
je button
|
||||
cmp eax, 11
|
||||
je redraw
|
||||
|
||||
jmp draw_stats
|
||||
|
||||
|
@ -976,6 +976,7 @@ IPv4_api:
|
||||
mov eax, ecx
|
||||
call ARP_output_request ; now send a gratuitous ARP
|
||||
|
||||
call NET_send_event
|
||||
xor eax, eax
|
||||
ret
|
||||
|
||||
@ -985,6 +986,7 @@ IPv4_api:
|
||||
|
||||
.write_dns:
|
||||
mov [DNS_LIST + eax], ecx
|
||||
call NET_send_event
|
||||
xor eax, eax
|
||||
ret
|
||||
|
||||
@ -1001,6 +1003,7 @@ IPv4_api:
|
||||
or ecx, ebx
|
||||
mov [BROADCAST_LIST + eax], ecx
|
||||
|
||||
call NET_send_event
|
||||
xor eax, eax
|
||||
ret
|
||||
|
||||
@ -1010,5 +1013,7 @@ IPv4_api:
|
||||
|
||||
.write_gateway:
|
||||
mov [GATEWAY_LIST + eax], ecx
|
||||
|
||||
call NET_send_event
|
||||
xor eax, eax
|
||||
ret
|
Loading…
Reference in New Issue
Block a user