![[Contents]](../images/toc_d.gif) 
![[Index]](../images/index_d.gif) 
![[Help]](../images/help_d.gif) 
![[Retrace]](../images/retrace_d.gif) 
![[Browse <]](../images/prev.gif) 
![[Browse >]](../images/next.gif) 
NAME
    GetGlobalStats -- Get interface accumulated statistics.
FUNCTION
    This command causes the device driver to retrieve various global
    runtime statistics for this network interface. The format of the
    data returned is as follows:
        struct Sana2DeviceStats
        {
            ULONG PacketsReceived;
            ULONG PacketsSent;
            ULONG BadData;
            ULONG Overruns;
            ULONG UnknownTypesReceived;
            ULONG Reconfigurations;
            timeval LastStart;
        };
IO REQUEST
    ios2_Command    - S2_GETGLOBALSTATS.
    ios2_StatData   - Pointer to Sana2DeviceStats structure to fill.
RESULTS
    ios2_Error      - Zero if successful; non-zero otherwise.
    ios2_WireError  - More specific error number.
NOTES
SEE ALSO
    S2_GETSPECIALSTATS
BUGS
[Back to Amiga Developer Docs]