From aa05e6c7e9e83b991ca4a0d621f92513b606033a Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Sun, 30 Oct 2016 12:07:56 +0000 Subject: [PATCH] Improved documentation for sysfn 76 git-svn-id: svn://kolibrios.org@6633 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/docs/sysfuncs.txt | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/kernel/trunk/docs/sysfuncs.txt b/kernel/trunk/docs/sysfuncs.txt index b7f0bfdbd5..f528cde946 100644 --- a/kernel/trunk/docs/sysfuncs.txt +++ b/kernel/trunk/docs/sysfuncs.txt @@ -4668,15 +4668,15 @@ Parameters: * bl = subfunction number Protocols and subfunctions: + Unless otherwise specified, output is in eax, additional input in ecx 0 - Ethernet: - 0 - Read MAC - - common subfunctions: - 0 - Read # packets sent - 1 - Read # packets received + 0 - Read MAC: + returns lower part of mac in EAX, upper part in BX 1 - IPv4: + 0 - Read # packets sent + 1 - Read # packets received 2 - Read IP 3 - Write IP 4 - Read DNS @@ -4687,12 +4687,20 @@ Protocols and subfunctions: 9 - Write gateway 2 - ICMP: - 3 - enable/disable ICMP echo reply + 0 - Read # packets sent + 1 - Read # packets received -3 - UDP -4 - TCP +3 - UDP: + 0 - Read # packets sent + 1 - Read # packets received + +4 - TCP: + 0 - Read # packets sent + 1 - Read # packets received 5 - ARP: + 0 - Read # packets sent + 1 - Read # packets received 2 - Read # ARP entry's 3 - Read ARP entry 4 - Add static ARP entry