home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
HFILES.ZIP
/
LAN_5_C.H
< prev
next >
Wrap
C/C++ Source or Header
|
1990-07-19
|
5KB
|
99 lines
/*-------------------------------------------------------------------*/
/* TRACE 802.2 DATA DECLARATIONS */
/*-------------------------------------------------------------------*/
struct pdt_trace_on_parms
{
word cmd_table_length; /* Length of command table */
word reserved1; /* RESERVED */
dword start_tick_0; /* Adapter 0 timer start cnt */
dword stop_tick_0; /* Adapter 0 timer stop cnt */
dword start_tick_1; /* Adapter 1 timer start cnt */
dword stop_tick_1; /* Adapter 1 timer stop cnt */
byte reserved2[4]; /* RESERVED */
byte reserved3[8]; /* Reserved for application */
dword cmd_table_addr; /* Address of command table */
};
struct llc_trace_header
{
byte trace_code; /* Trace code */
byte adapter_number; /* Adapter number */
byte adapter_work_flag; /* Adapter work flag */
};
struct ccb_trace
{
struct llc_trace_header common; /* LLC trace header */
byte event_code; /* READ event code */
byte ccb_command_code; /* CCB command code */
byte rc_correlator; /* Return code / correlator */
byte element_flag; /* Queue element flag */
byte application_id; /* Application ID */
word process_id; /* Process ID */
dword ccb_virtual_addr; /* Virtual address of CCB */
word timer_tick_low_word; /* Low word of timer tick */
};
struct receive_trace
{
struct llc_trace_header common; /* LLC trace header */
byte event_code; /* READ event code */
word reserved; /* RESERVED */
byte element_flag; /* Queue element flag */
byte application_id; /* Application ID */
word process_id; /* Process ID */
dword sap_virtual_addr; /* Virtual address of SAP CB */
word timer_tick_low_word; /* Low word of timer tick */
};
struct status_exception_trace
{
struct llc_trace_header common; /* LLC trace header */
byte event_code; /* READ event code */
byte event_subcode; /* READ event sub-code */
byte reserved; /* RESERVED */
byte element_flag; /* Queue element flag */
byte application_id; /* Application ID */
word status; /* Status type */
dword status_data; /* Status information */
word timer_tick_low_word; /* Low word of timer tick */
};
struct timer_trace
{
struct llc_trace_header common; /* LLC trace header */
byte reserved1; /* RESERVED */
byte pisr_high; /* High byte of PISR */
byte pisr_low; /* Low byte of PISR */
word timer_count; /* Number of timer interrupts*/
byte reserved2[6]; /* RESERVED */
word timer_tick_low_word; /* Low word of timer tick */
};
struct interrupt_received
{
struct llc_trace_header common; /* LLC trace header */
byte activation_reason_code; /* Activation Record/Reason */
byte associated_command_code; /* Command code */
byte return_code; /* Return code */
byte command_specific[4]; /* Command specific data */
dword stack_ss_sp; /* Stack selector/offset */
word timer_tick_low_word; /* Low word of timer tick */
};
struct interrupt_error
{
struct llc_trace_header common; /* LLC trace header */
byte srb_ssb_arb_wk_area[11]; /* Work area for SRB/SSB/ARB */
word timer_tick_low_word; /* Low word of timer tick */
};