Number of periodic update intervals to miss before marking the server ``down''.
PacketGap
Time in milliseconds between packets. Time is zero for a WAN,
nonzero for a LAN.
Network
Network number for this LAN.
LineSpeed
Linespeed in MBS. If the sign bit is set, KBS.
Currently always zero.
PacketSize
Packet size that will be sent on this LAN.
PacketsSent
Number of packets sent.
PacketsReceived
Number of packets received.
BadPktsReceived
Number of bad packets received.
If successful, the function returns a 1. If the LAN number
specified does not exist, the function returns a zero (0).
NOTE:
To details of how to display the information maintained in the
SAPL structure, refer to the
nwsapinfo(1ipx)
manual page.
Parameters
(IN) lanNumber
Specifies the network to return information about.
(OUT) LanDataBuffer
Pointer to the address of the SAPL structure to fill with data
about the LAN.
Usage
The lanNumber argument specifies the network to return information
about. LAN 0 is always the internal network. The other
LAN numbers are assigned sequentially starting with 1. You can
get the number of LANs from a
SAPStatistics(3sapd)
call.
If no internal LAN exists, the LanDataBuffer is set
to zeros and a successful (1) code is returned. The LanDataBuffer
argument is the address of the SAPL structure to fill with data
about the LAN.
Return values
If an error occurs, it returns a negative number which is the negative of
the error code.