Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 7915 → Rev 7895

/kernel/trunk/docs/sysfuncs.txt
4420,7 → 4420,7
* bl = 0 - subfunction number
* bh = device number
Returned value:
* eax = device type number, -1 on error
* eax = device type number
 
---------------------- Constants for registers: ----------------------
eax - SF_NETWORK_GET (74)
4856,7 → 4856,7
* eax = 76 - function number
* high half of ebx = 1 (IPv4)
* bh = device number
* bl = 7 (Set subnet mask)
* bl = 7 (Set DNS address)
* ecx = subnet mask
Returned value:
* eax = -1 on error
4996,8 → 4996,7
Returned value:
* eax = -1 on error
Remarks:
* ARP_entry struct is defined in ARP.inc in kernel and currently
looks like this:
ARP_entry struct is defined in ARP.inc in kernel and currently looks like this:
struct ARP_entry
IP dd ?
MAC dp ?
5006,7 → 5005,7
ends
 
======================================================================
===== Function 76, Protocol 5 - ARP, Subfunction 4, Add ARP entry ====
==== Function 76, Protocol 5 - ARP, Subfunction 4, Add ARP entry ====
======================================================================
Parameters:
* eax = 76 - function number
5017,16 → 5016,16
Returned value:
* eax = -1 on error
Remarks:
* See previous function for details on ARP entry.
See previous function for details on ARP entry.
 
======================================================================
=== Function 76, Protocol 5 - ARP, Subfunction 5, Remove ARP entry ===
=== Function 76, Protocol 5 - ARP, Subfunction 5, Remove ARP entry ====
======================================================================
Parameters:
* eax = 76 - function number
* high half of ebx = 5 (ARP)
* bh = device number
* bl = 5 (Remove ARP entry)
* bl = 3 (Read ARP entry)
* ecx = ARP entry number (0 based), use -1 to clear whole ARP table.
Returned value:
* eax = -1 on error