Rev 5201 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5201 | Rev 5565 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2014. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;; ARP.INC ;; |
6 | ;; ARP.INC ;; |
7 | ;; ;; |
7 | ;; ;; |
8 | ;; Part of the tcp/ip network stack for KolibriOS ;; |
8 | ;; Part of the tcp/ip network stack for KolibriOS ;; |
Line 291... | Line 291... | ||
291 | .collision: |
291 | .collision: |
292 | inc [ARP_CONFLICTS + edi] |
292 | inc [ARP_CONFLICTS + edi] |
293 | DEBUGF DEBUG_NETWORK_VERBOSE, "ARP_input: IP address conflict detected!\n" |
293 | DEBUGF DEBUG_NETWORK_VERBOSE, "ARP_input: IP address conflict detected!\n" |
Line 294... | Line 294... | ||
294 | 294 | ||
295 | .exit: |
- | |
296 | call NET_packet_free |
- | |
297 | add esp, 4 ; pop (balance stack) |
- | |
298 | 295 | .exit: |
|
- | 296 | DEBUGF DEBUG_NETWORK_VERBOSE, "ARP_input: exiting\n" |
|
299 | DEBUGF DEBUG_NETWORK_VERBOSE, "ARP_input: exiting\n" |
297 | call NET_BUFF_free |
Line 300... | Line -... | ||
300 | ret |
- | |
301 | 298 | ret |
|
302 | 299 | ||
303 | ;--------------------------------------------------------------------------- |
300 | ;--------------------------------------------------------------------------- |
304 | ; |
301 | ; |
305 | ; ARP_output_request |
302 | ; ARP_output_request |
Line 345... | Line 342... | ||
345 | mov esi, ETH_BROADCAST ; DestMac |
342 | mov esi, ETH_BROADCAST ; DestMac |
346 | movsw ; |
343 | movsw ; |
347 | movsd ; |
344 | movsd ; |
348 | popd [edi] ; DestIP |
345 | popd [edi] ; DestIP |
Line 349... | Line 346... | ||
349 | 346 | ||
350 | push edx eax |
347 | push eax |
351 | call [ebx + NET_DEVICE.transmit] |
348 | call [ebx + NET_DEVICE.transmit] |
Line 352... | Line 349... | ||
352 | ret |
349 | ret |
353 | 350 |