home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / IE3802.ZIP / IEEE8022 / DLCERROR.H < prev    next >
Text File  |  1991-12-06  |  4KB  |  86 lines

  1.  
  2. struct CodeTable
  3. {
  4.         unsigned char code;
  5.         char *label;
  6. };
  7.  
  8. static struct CodeTable DLCErrorMsgs[] =
  9.         {
  10.          { 0x00, "Command Accepted"},
  11.          { 0x01, "Invalid command"},
  12.          { 0x02, "Duplicate command"},
  13.          { 0x03, "Adapter open"},
  14.          { 0x04, "Adapter closed - should be open"},
  15.          { 0x05, "Required parameter(s) not provided"},
  16.          { 0x06, "Option(s) invalid or incompatible"},
  17.          { 0x07, "Command canceled - catastrophic failure"},
  18.          { 0x08, "Unauthorized access priority"},
  19.          { 0x0A, "Command canceled by user request"},
  20.          { 0x0B, "Command canceled - adapter closed while in progress"},
  21.          { 0x0C, "Command completed successfully - adapter not open"},
  22.          { 0x11, "DIR.TIMER.SET or DIR.TIMER.CANCEL error"},
  23.          { 0x13, "Invalid LOG.ID"},
  24.          { 0x15, "Lost log data, inadequate buffer space - log reset"},
  25.          { 0x16, "Requested buffer size exceeds pool length"},
  26.          { 0x18, "Invalid buffer length"},
  27.          { 0x19, "Inadequate buffers available for request"},
  28.          { 0x1A, "User length too large for buffer length"},
  29.          { 0x1B, "The CCB_PARM_TAB pointer is invalid"},
  30.          { 0x1C, "A pointer in the CCB parm table is invalid"},
  31.          { 0x1D, "Invalid CCB_ADAPTER value"},
  32.          { 0x20, "Lost data on receive - no buffers available"},
  33.          { 0x21, "Lost data on receive - inadequate buffer space"},
  34.          { 0x22, "Error on frame transmission"},
  35.          { 0x23, "Error in frame transmit or strip process"},
  36.          { 0x24, "Unauthorized MAC frame"},
  37.          { 0x25, "Maximum commands exceeded"},
  38.          { 0x27, "Link not transmitting I frames - state changed from link opened"},
  39.          { 0x28, "Invalid transmit frame length"},
  40.          { 0x30, "Inadequate receive buffers for adapter to open"},
  41.          { 0x32, "Invalid NODE_ADDRESS"},
  42.          { 0x33, "Invalid adapter receive buffer length specified"},
  43.          { 0x34, "Invalid adapter transmit buffer length defined"},
  44.          { 0x40, "Invalid STATION.ID"},
  45.          { 0x41, "Protocol error - link in invalid state for command"},
  46.          { 0x42, "Parameter exceeded maximum allowed"},
  47.          { 0x43, "Invalid SAP_VALUE or value already in use"},
  48.          { 0x44, "Invalid routing information field length"},
  49.          { 0x45, "Requested group membership in non-existant group SAP"},
  50.          { 0x46, "Resources not available"},
  51.          { 0x47, "SAP cannot close unless all link stations are closed"},
  52.          { 0x48, "Group SAP cannot close - individual SAPs not closed"},
  53.          { 0x49, "Group SAP has reached maximum membership"},
  54.          { 0x4A, "Sequence error: incompatible command in progress"},
  55.          { 0x4B, "Station closed without remote acknowledgement"},
  56.          { 0x4C, "Sequence error: cannon close, DLC commands outstanding"},
  57.          { 0x4D, "Unsuccessful link station connection attempted"},
  58.          { 0x4E, "Member SAP not found in group SAP list"},
  59.          { 0x4F, "Invalid remote address - may not be a group address"},
  60.          { 0x50, "Invalid ccb pointer"},
  61.          { 0x52, "Invalid application id"},
  62.          { 0x53, "Invalid application key code"},
  63.          { 0x54, "Invalid system key code"},
  64.          { 0x55, "Buffer length too small"},
  65.          { 0x56, "Adapter's system process not installed"},
  66.          { 0x57, "Inadaquate stn avaliable"},
  67.          { 0x58, "Invalid parameter1"},
  68.          { 0x59, "Inadaquate queue elements"},
  69.          { 0x5A, "Initialize error"},
  70.          { 0x5B, "CCB chaining error"},
  71.          { 0x5C, "DIR.STN not assigned"},
  72.          { 0x5D, "Device driver not installed"},
  73.          { 0x5E, "Adapter not installed"},
  74.          { 0x5f, "Chain CCB must be for same adapter"},
  75.          { 0x60, "Adapter initializing"},
  76.          { 0x61, "Maximum user exceeded"},
  77.          { 0x62, "Command concelled - system action"},
  78.          { 0x63, "DIR.STN not available"},
  79.          { 0x64, "Invalid device driver name"},
  80.          { 0x65, "Not enough GDT selectors"},
  81.          { 0x68, "Application ID not valid for interface"},
  82.          { 0x69, "Segment cannot be locked"},
  83.          { 0xFF, "Command in progress"},
  84.          { 0, 0 }
  85.         };
  86.