Subversion Repositories Kolibri OS

Rev

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

Rev 1162 Rev 1171
Line 529... Line 529...
529
 
529
 
530
;;; TODO: get device number in edx !!
530
;;; TODO: get device number in edx !!
531
    xor     edx, edx
531
    xor     edx, edx
Line -... Line 532...
-
 
532
    shl     edx, 2
-
 
533
 
532
    shl     edx, 2
534
    inc     [ARP_PACKETS_TX+edx]
533
 
535
 
534
    push    dword .returnaddr
536
    push    dword .returnaddr
535
    push    dword 60
537
    push    dword 60
536
    push    ebx
538
    push    ebx
Line 596... Line 598...
596
 
598
 
597
	cmp	word [edx + ARP_Packet.Opcode], ARP_REQ_OPCODE	; Is this a request packet?
599
	cmp	word [edx + ARP_Packet.Opcode], ARP_REQ_OPCODE	; Is this a request packet?
Line 598... Line 600...
598
	jne	.exit
600
	jne	.exit
599
 
601
 
-
 
602
	call	ETH_struc2dev
600
	call	ETH_struc2dev
603
	DEBUGF	1,"ARP Packet came from device: %u\n", edi
601
	DEBUGF	1,"Packet came from device: %u\n", edi
604
	inc	[ARP_PACKETS_RX+4*edi]
Line 602... Line 605...
602
	cmp	edi, -1
605
	cmp	edi, -1
603
	jz	.exit
606
	jz	.exit