Netstat: display number of queued (incoming) TCP packets

git-svn-id: svn://kolibrios.org@5016 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2014-08-02 17:30:23 +00:00
parent e7360b0f51
commit 3838117207

View File

@ -250,6 +250,10 @@ redraw:
mov edx, str_dumped mov edx, str_dumped
mcall mcall
add ebx, 18
mov edx, str_queued
mcall
end_of_draw: end_of_draw:
mcall 12, 2 mcall 12, 2
@ -590,9 +594,15 @@ not_105:
pop ebx pop ebx
push eax push eax
inc bl
push ebx
mcall 76
pop ebx
push eax
mov ebx, 0x000a0000 mov ebx, 0x000a0000
pop ecx pop ecx
mov edx, 134 shl 16 + 35 + 18*3 mov edx, 134 shl 16 + 35 + 18*4
mov esi, 0x40000000 mov esi, 0x40000000
mov edi, 0x00F3F3F3 mov edi, 0x00F3F3F3
mcall 47 mcall 47
@ -609,6 +619,10 @@ not_105:
pop ecx pop ecx
mcall mcall
sub edx, 18
pop ecx
mcall
jmp mainloop jmp mainloop
not_106: not_106:
@ -821,6 +835,7 @@ str_arp db 'ARP entrys:', 0
str_conflicts db 'ARP conflicts:', 0 str_conflicts db 'ARP conflicts:', 0
str_missed db 'Packets missed:',0 str_missed db 'Packets missed:',0
str_dumped db 'Packets dumped:',0 str_dumped db 'Packets dumped:',0
str_queued db 'Packets queued:',0
str_link db 'Link state:',0 str_link db 'Link state:',0
str_down db 'down', 0 str_down db 'down', 0