Subversion Repositories Kolibri OS

Rev

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

Rev 3200 Rev 3250
Line 74... Line 74...
74
        mov     edx, str_bytes_rx
74
        mov     edx, str_bytes_rx
75
        mcall
75
        mcall
76
        add     ebx, 18
76
        add     ebx, 18
77
        mov     edx, str_MAC
77
        mov     edx, str_MAC
78
        mcall
78
        mcall
79
        add     ebx, 18
-
 
80
        mov     edx, str_queue_in
-
 
81
        mcall
-
 
82
        add     ebx, 18
-
 
83
        mov     edx, str_queue_out
-
 
84
        mcall
-
 
Line 85... Line 79...
85
 
79
 
86
        mov     ebx, API_ETH + 4
80
        mov     ebx, API_ETH + 4
87
        mov     bh, [device]
81
        mov     bh, [device]
88
        mcall   76
82
        mcall   76
Line 194... Line 188...
194
        push    eax
188
        push    eax
195
        inc     bl
189
        inc     bl
196
        cmp     bl, 3
190
        cmp     bl, 3
197
        jbe     @r
191
        jbe     @r
Line 198... Line -...
198
 
-
 
199
        inc     bl   ;5
-
 
200
        inc     bl   ;6
-
 
201
 
-
 
202
  @@:
-
 
203
        push    ebx
-
 
204
        mcall   76
-
 
205
        pop     ebx
-
 
206
 
-
 
207
        push    eax
-
 
208
        inc     bl
-
 
209
        cmp     bl, 7
-
 
210
        jbe     @r
-
 
211
 
192
 
212
        mov     ebx, 0x000a0000
193
        mov     ebx, 0x000a0000
213
        pop     ecx
194
        pop     ecx
214
        mov     edx, 135 shl 16 + 75 + 6*18
195
        mov     edx, 135 shl 16 + 75 + 3*18
215
        mov     esi, 0x40000000
196
        mov     esi, 0x40000000
216
        mov     edi, 0x00bcbcbc
197
        mov     edi, 0x00bcbcbc
Line 217... Line 198...
217
        mcall   47
198
        mcall   47
218
 
199
 
219
        sub     edx, 18
200
        sub     edx, 18
Line 220... Line -...
220
        pop     ecx
-
 
221
        mcall
-
 
222
 
-
 
223
        sub     edx, 2*18
-
 
224
        pop     ecx
-
 
225
        mcall
-
 
226
 
-
 
227
        sub     edx, 18
-
 
228
        pop     ecx
201
        pop     ecx
229
        mcall
202
        mcall
230
 
203
 
Line 231... Line 204...
231
        sub     edx, 18
204
        sub     edx, 18
Line 575... Line 548...
575
str_packets_tx  db 'Packets sent:', 0
548
str_packets_tx  db 'Packets sent:', 0
576
str_packets_rx  db 'Packets received:', 0
549
str_packets_rx  db 'Packets received:', 0
577
str_bytes_tx    db 'Bytes sent:', 0
550
str_bytes_tx    db 'Bytes sent:', 0
578
str_bytes_rx    db 'Bytes received:', 0
551
str_bytes_rx    db 'Bytes received:', 0
579
str_MAC         db 'MAC address:', 0
552
str_MAC         db 'MAC address:', 0
580
str_queue_in    db 'IN-queue size:', 0
-
 
581
str_queue_out   db 'OUT-queue size:', 0
-
 
582
str_ip          db 'IP address:', 0
553
str_ip          db 'IP address:', 0
583
str_dns         db 'DNS address:', 0
554
str_dns         db 'DNS address:', 0
584
str_subnet      db 'Subnet mask:', 0
555
str_subnet      db 'Subnet mask:', 0
585
str_gateway     db 'Standard gateway:', 0
556
str_gateway     db 'Standard gateway:', 0
586
str_arp         db 'ARP entrys:', 0
557
str_arp         db 'ARP entrys:', 0