Subversion Repositories Kolibri OS

Rev

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

Rev 261 Rev 373
Line 156... Line 156...
156
 
156
 
Line 157... Line 157...
157
    mov     al, [ebx + IP_PACKET.Protocol]
157
    mov     al, [ebx + IP_PACKET.Protocol]
158
 
158
 
-
 
159
    cmp     al , PROTOCOL_TCP
159
    cmp     al , PROTOCOL_TCP
160
    jne     .not_tcp
160
    jne     .not_tcp
161
    DEBUGF  1,"K : ip_rx - TCP packet\n"
161
    mov     eax, dword[buffer_number]
162
    mov     eax, dword[buffer_number]
Line 162... Line 163...
162
    call    tcp_rx
163
    call    tcp_rx
163
    jmp     .exit
164
    jmp     .exit
164
 
165
 
-
 
166
  .not_tcp:
165
  .not_tcp:
167
    cmp     al, PROTOCOL_UDP
166
    cmp     al, PROTOCOL_UDP
168
    jne     .not_udp
167
    jne     .not_udp
169
    DEBUGF  1,"K : ip_rx - UDP packet\n"
Line 168... Line 170...
168
    mov     eax, dword[buffer_number]
170
    mov     eax, dword[buffer_number]
169
    call    udp_rx
171
    call    udp_rx
170
    jmp     .exit
172
    jmp     .exit
Line -... Line 173...
-
 
173
 
171
 
174
  .not_udp:
172
  .not_udp:
175
    cmp     al , PROTOCOL_ICMP
173
    cmp     al , PROTOCOL_ICMP
176
    jne     .dump              ;protocol ain't supported
174
    jne     .dump              ;protocol ain't supported
177