Renamed IPv4_dest_to_dev to IPv4_route

git-svn-id: svn://kolibrios.org@3515 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2013-05-17 11:33:49 +00:00
parent a8351928d4
commit 6bf8356208

View File

@ -578,7 +578,7 @@ IPv4_output:
cmp eax, 1 shl 24 + 127 cmp eax, 1 shl 24 + 127
je .loopback je .loopback
call IPv4_dest_to_dev ; outputs device number in edi, dest ip in eax call IPv4_route ; outputs device number in edi, dest ip in eax
call ARP_IP_to_MAC call ARP_IP_to_MAC
test eax, 0xffff0000 ; error bits test eax, 0xffff0000 ; error bits
jnz .arp_error jnz .arp_error
@ -666,7 +666,7 @@ IPv4_output_raw:
sub esp, 8 sub esp, 8
push esi eax push esi eax
call IPv4_dest_to_dev call IPv4_route
call ARP_IP_to_MAC call ARP_IP_to_MAC
test eax, 0xffff0000 ; error bits test eax, 0xffff0000 ; error bits
@ -852,7 +852,7 @@ IPv4_fragment:
;--------------------------------------------------------------------------- ;---------------------------------------------------------------------------
; ;
; IPv4_dest_to_dev ; IPv4_route
; ;
; IN: eax = Destination IP ; IN: eax = Destination IP
; OUT: edi = device id * 4 ; OUT: edi = device id * 4
@ -860,7 +860,7 @@ IPv4_fragment:
; ;
;--------------------------------------------------------------------------- ;---------------------------------------------------------------------------
align 4 align 4
IPv4_dest_to_dev: IPv4_route:
cmp eax, 0xffffffff cmp eax, 0xffffffff
je .broadcast je .broadcast