[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 61 Fn 06  - PC/tcp Kernel V2.05 - "net_info" - Get Interface Statisti  [N]

   AH = 06h
   BX = network descriptor (must be allocated and open)
   DS:SI -> 38-byte buffer (see below)

Return: CF clear if successful
       buffer filled
   CF set on error
       AX = error code (see INT 61"PC/TCP")
Desc:  returns the statistics relevant to the particular network interface
      used by the specified network descriptor

See Also: INT 61"PC/TCP",INT 61/AH=00h"PC/TCP",INT 61/AH=05h"PC/TCP"

Format of buffer:
Offset Size    Description
 00h   WORD    interface class (e.g. 802.3)
 02h   WORD    type (manufacturer) of interface
 04h   WORD    interface number
 06h   DWORD   (big-endian) IP address of interface
 0Ah   DWORD   subnet mask
 0Eh   WORD    0001h if interface is up
 10h   DWORD   total packets received
 14h   DWORD   total packets sent
 18h   DWORD   receive errors
 1Ch   DWORD   send errors
 20h   WORD    length of local net address (e.g. 0006h for Ethernet)
 22h   DWORD   pointer to local net address

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson