ADAPTER_STATUS

typedef struct _ADAPTER_STATUS { /* adptst */

UCHAR adapter_address[6];

UCHAR rev_major;

UCHAR reserved0;

UCHAR adapter_type;

UCHAR rev_minor;

WORD duration;

WORD frmr_recv;

WORD frmr_xmit;

WORD iframe_recv_err;

WORD xmit_aborts;

DWORD xmit_success;

DWORD recv_success;

WORD iframe_xmit_err;

WORD recv_buff_unavail;

WORD t1_timeouts;

WORD ti_timeouts;

DWORD reserved1;

WORD free_ncbs;

WORD max_cfg_ncbs;

WORD max_ncbs;

WORD xmit_buf_unavail;

WORD max_dgram_size;

WORD pending_sess;

WORD max_cfg_sess;

WORD max_sess;

WORD max_sess_pkt_size;

WORD name_count;

} ADAPTER_STATUS, *PADAPTER_STATUS;

The ADAPTER_STATUS structure contains information about a network adapter. This structure is retrieved as part of the NCB structure. ADAPTER_STATUS is followed by as many NAME_BUFFER structures as are required to describe the network adapters on the system.

Members

adapter_address

Specifies the adapter's encoded address.

rev_major

Specifies the number of the software-release level. This value is 3 for IBM Netbios 3.x.

reserved0

Reserved. This value is always 0.

adapter_type

Specifies the adapter type. This value is 0xFF for a Token-ring adapter or 0xFE for an Ethernet adapter.

rev_minor

Specifies the number of the software-release level. This value is 0 for IBM Netbios x.0.

duration

Specifies the duration of the reporting period (in minutes).

frmr_recv

Specifies the number of FRMR frames received.

frmr_xmit

Specifies the number of FRMR frames transmitted.

iframe_recv_err

Specifies the number of I frames received in error.

xmit_aborts

Specifies the number of aborted transmissions.

xmit_success

Specifies the number of successfully transmitted packets.

recv_success

Specifies the number of successfully received packets.

iframe_xmit_err

Specifies the number of I frames transmitted in error.

recv_buff_unavail

Specifies the number of times a buffer was not available to service a request from a remote computer.

ti_timeouts

Specifies the number of times the DLC T1 timer expired.

reserved1

Reserved. This value is always 0.

free_ncbs

Specifies the current number of free network-control blocks.

max_cfg_ncbs

Undefined for IBM Netbios 3.0.

max_ncbs

Undefined for IBM Netbios 3.0.

xmit_buf_unavail

Undefined for IBM Netbios 3.0.

max_dgram_size

Specifies the maximum size of a datagram packet. This value is always at least 512 bytes.

pending_sess

Specifies the number of pending sessions.

max_cfg_sess

Specifies the configured maximum pending sessions.

max_sess

Undefined for IBM Netbios 3.0.

max_sess_pkt_size

Specifies the maximum size of a session data packet.

name_count

Specifies the number of names in the local names table.

See Also

NCB NAME_BUFFER