Rev 3908 | Rev 5565 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3908 | Rev 5201 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2013. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2014. 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 316... | Line 316... | ||
316 | push eax |
316 | push eax |
Line 317... | Line 317... | ||
317 | 317 | ||
318 | DEBUGF DEBUG_NETWORK_VERBOSE, "ARP_output_request: ip=%u.%u.%u.%u device=0x%x\n",\ |
318 | DEBUGF DEBUG_NETWORK_VERBOSE, "ARP_output_request: ip=%u.%u.%u.%u device=0x%x\n",\ |
Line 319... | Line -... | ||
319 | [esp]:1, [esp + 1]:1, [esp + 2]:1, [esp + 3]:1, ebx |
- | |
320 | 319 | [esp]:1, [esp + 1]:1, [esp + 2]:1, [esp + 3]:1, ebx |
|
321 | lea eax, [ebx + ETH_DEVICE.mac] ; local device mac |
320 | |
322 | mov edx, ETH_BROADCAST ; broadcast mac |
321 | mov ax, ETHER_PROTO_ARP |
323 | mov ecx, sizeof.ARP_header |
322 | mov ecx, sizeof.ARP_header |
324 | mov di, ETHER_PROTO_ARP |
323 | mov edx, ETH_BROADCAST ; broadcast mac |
Line 325... | Line 324... | ||
325 | call ETH_output |
324 | call ETH_output |
326 | jz .exit |
325 | jz .exit |