home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
HFILES.ZIP
/
NETB_3_C.H
< prev
next >
Wrap
C/C++ Source or Header
|
1989-05-09
|
3KB
|
94 lines
/*------------------------------------------------------------------*/
/* NETBIOS TRACE DATA DECLARATIONS */
/*------------------------------------------------------------------*/
struct ncb_entry_header
{
byte trace_adapter_number; /* Adapter number for trace */
byte trace_environment_id; /* Trace environment ID */
byte trace_type; /* Trace type */
byte trace_modifier; /* Trace modifier */
byte reserved[4]; /* RESERVED */
};
struct ncb_trace_ncb
{
struct ncb_entry_header common; /* Trace entry header */
byte byte_preceding_ncb; /* Byte preceding NCB */
byte byte_following_ncb; /* Byte following NCB */
address post_address; /* Address of post routine */
address data_address; /* Address of data */
byte data_sample[16]; /* Sample of data at address */
};
struct ncb_trace_status
{
struct ncb_entry_header common; /* Trace entry header */
word ds_register; /* DS register contents */
word ss_register; /* SS register contents */
word sp_register; /* SP register contents */
address data_address; /* Address of data */
};
struct ncb_trace_ring_status
{
struct ncb_trace_status common; /* Trace entry header */
word ring_status; /* Ring status */
};
struct ncb_system_action
{
struct ncb_trace_status common; /* Trace entry header */
byte system_action_id; /* System action ID */
byte sap_value; /* SAP value affected */
};
struct ncb_trace_pc_error
{
struct ncb_trace_status common; /* Trace entry header */
word error_code; /* PC-Detected error code */
};
struct ncb_trace_adapter_status
{
struct ncb_trace_status common; /* Trace entry header */
word status_code; /* Adapter Check reason code */
};
struct ncb_trace_dlc_status
{
struct ncb_trace_status common; /* Trace entry header */
word station_id; /* Station ID */
word dlc_status; /* DLC Status code */
byte frmr_data[5]; /* FRMR data */
byte access_priority; /* Access priority */
byte remote_node_addr[6]; /* Remote node address */
};
struct ncb_trace_return_code
{
struct ncb_trace_status common; /* Trace entry header */
byte msg_header_xmit[16]; /* Message header transmitted*/
};
struct ncb_trace_receive
{
struct ncb_trace_status common; /* Trace entry header */
byte msg_header_rcv[16]; /* Message header received */
};
struct ncb_trace_ccb
{
struct ncb_trace_status common; /* Trace entry header */
byte ccb_data[16]; /* CCB data structure */
};