home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / HFILES.ZIP / NETB_3_C.H < prev    next >
C/C++ Source or Header  |  1989-05-09  |  3KB  |  94 lines

  1. /*------------------------------------------------------------------*/
  2. /*               NETBIOS TRACE DATA DECLARATIONS                    */
  3. /*------------------------------------------------------------------*/
  4.  
  5. struct     ncb_entry_header
  6.  {
  7.   byte       trace_adapter_number;      /* Adapter number for trace  */
  8.   byte       trace_environment_id;      /* Trace environment ID      */
  9.   byte       trace_type;                /* Trace type                */
  10.   byte       trace_modifier;            /* Trace modifier            */
  11.   byte       reserved[4];               /* RESERVED                  */
  12.  };
  13.  
  14. struct     ncb_trace_ncb
  15.  {
  16.   struct     ncb_entry_header common;   /* Trace entry header        */
  17.   byte       byte_preceding_ncb;        /* Byte preceding NCB        */
  18.   byte       byte_following_ncb;        /* Byte following NCB        */
  19.   address    post_address;              /* Address of post routine   */
  20.   address    data_address;              /* Address of data           */
  21.   byte       data_sample[16];           /* Sample of data at address */
  22.  };
  23.  
  24.  
  25. struct     ncb_trace_status
  26.  {
  27.   struct     ncb_entry_header common;   /* Trace entry header        */
  28.   word       ds_register;               /* DS register contents      */
  29.   word       ss_register;               /* SS register contents      */
  30.   word       sp_register;               /* SP register contents      */
  31.   address    data_address;              /* Address of data           */
  32.  };
  33.  
  34.  
  35. struct     ncb_trace_ring_status
  36.  {
  37.   struct     ncb_trace_status common;   /* Trace entry header        */
  38.   word       ring_status;               /* Ring status               */
  39.  };
  40.  
  41.  
  42. struct     ncb_system_action
  43.  {
  44.   struct     ncb_trace_status common;   /* Trace entry header        */
  45.   byte       system_action_id;          /* System action ID          */
  46.   byte       sap_value;                 /* SAP value affected        */
  47.  };
  48.  
  49.  
  50. struct     ncb_trace_pc_error
  51.  {
  52.   struct     ncb_trace_status common;   /* Trace entry header        */
  53.   word       error_code;                /* PC-Detected error code    */
  54.  };
  55.  
  56.  
  57. struct     ncb_trace_adapter_status
  58.  {
  59.   struct     ncb_trace_status common;   /* Trace entry header        */
  60.   word       status_code;               /* Adapter Check reason code */
  61.  };
  62.  
  63.  
  64. struct     ncb_trace_dlc_status
  65.  {
  66.   struct     ncb_trace_status common;   /* Trace entry header        */
  67.   word       station_id;                /* Station ID                */
  68.   word       dlc_status;                /* DLC Status code           */
  69.   byte       frmr_data[5];              /* FRMR data                 */
  70.   byte       access_priority;           /* Access priority           */
  71.   byte       remote_node_addr[6];       /* Remote node address       */
  72.  };
  73.  
  74.  
  75. struct     ncb_trace_return_code
  76.  {
  77.   struct     ncb_trace_status common;   /* Trace entry header        */
  78.   byte       msg_header_xmit[16];       /* Message header transmitted*/
  79.  };
  80.  
  81.  
  82. struct     ncb_trace_receive
  83.  {
  84.   struct     ncb_trace_status common;   /* Trace entry header        */
  85.   byte       msg_header_rcv[16];        /* Message header received   */
  86.  };
  87.  
  88.  
  89. struct     ncb_trace_ccb
  90.  {
  91.   struct     ncb_trace_status common;   /* Trace entry header        */
  92.   byte       ccb_data[16];              /* CCB data structure        */
  93.  };
  94.