home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / detk45he.zip / lan_1_c.h < prev    next >
Text File  |  1998-10-01  |  9KB  |  132 lines

  1. /*----------------------------------------------------------------*/
  2. /*                   802.2 Command Codes                          */
  3. /*----------------------------------------------------------------*/
  4.      #define   LLC_DIR_INTERRUPT                            0x0000
  5.      #define   LLC_DIR_OPEN_ADAPTER                         0x0003
  6.      #define   LLC_DIR_CLOSE_ADAPTER                        0x0004
  7.      #define   LLC_DIR_SET_GROUP_ADDRESS                    0x0006
  8.      #define   LLC_DIR_SET_FUNCTIONAL_ADDRESS               0x0007
  9.      #define   LLC_DIR_READ_LOG                             0x0008
  10.      #define   LLC_TRANSMIT_DIR_FRAME                       0x000A
  11.      #define   LLC_TRANSMIT_I_FRAME                         0x000B
  12.      #define   LLC_TRANSMIT_UI_FRAME                        0x000D
  13.      #define   LLC_TRANSMIT_XID_CMD                         0x000E
  14.      #define   LLC_TRANSMIT_XID_RESP_FINAL                  0x000F
  15.      #define   LLC_TRANSMIT_XID_RESP_NOT_FINAL              0x0010
  16.      #define   LLC_TRANSMIT_TEST_CMD                        0x0011
  17.      #define   LLC_DLC_RESET                                0x0014
  18.      #define   LLC_DLC_OPEN_SAP                             0x0015
  19.      #define   LLC_DLC_CLOSE_SAP                            0x0016
  20.      #define   LLC_DLC_REALLOCATE_STATIONS                  0x0017
  21.      #define   LLC_DLC_OPEN_STATION                         0x0019
  22.      #define   LLC_DLC_CLOSE_STATION                        0x001A
  23.      #define   LLC_DLC_CONNECT_STATION                      0x001B
  24.      #define   LLC_DLC_MODIFY                               0x001C
  25.      #define   LLC_DLC_FLOW_CONTROL                         0x001D
  26.      #define   LLC_DLC_STATISTICS                           0x001E
  27.      #define   LLC_DIR_INITIALIZE                           0x0020
  28.      #define   LLC_DIR_STATUS                               0x0021
  29.      #define   LLC_DIR_TIMER_SET                            0x0022
  30.      #define   LLC_DIR_TIMER_CANCEL                         0x0023
  31.      #define   LLC_BUFFER_GET                               0x0026
  32.      #define   LLC_BUFFER_FREE                              0x0027
  33.      #define   LLC_RECEIVE                                  0x0028
  34.      #define   LLC_RECEIVE_CANCEL                           0x0029
  35.      #define   LLC_RECEIVE_MODIFY                           0x002A
  36.      #define   LLC_DIR_TIMER_CANCEL_GROUP                   0x002C
  37.      #define   LLC_DIR_SET_EXCEPTION_FLAGS                  0x002D
  38.      #define   LLC_READ                                     0x0031
  39.      #define   LLC_READ_CANCEL                              0x0032
  40.      #define   LLC_DLC_SET_THRESHOLD                        0x0033
  41.      #define   LLC_DIR_CLOSE_DIRECT                         0x0034
  42.      #define   LLC_DIR_OPEN_DIRECT                          0x0035
  43.      #define   LLC_PURGE_RESOURCES                          0x0036
  44.  
  45.  
  46. /*----------------------------------------------------------------*/
  47. /*                   802.2 Return Codes                           */
  48. /*----------------------------------------------------------------*/
  49.      #define   LLC_CCB_ACCEPTED                             0x0000
  50.      #define   LLC_INVALID_CCB_PTR                          0x0001
  51.      #define   LLC_INVALID_CCB                              0x0002
  52.      #define   LLC_INVALID_CCB_CHAIN                        0x0003
  53.      #define   LLC_ADAPTER_CLOSED_RC_ERROR                  0x0004
  54.      #define   LLC_UNACCEPTABLE_RC                          0x0005
  55.      #define   LLC_INVALID_COMMAND_PTR                      0x0006
  56.  
  57.      #define   LLC_COMMAND_ACCEPTED                         0x0000
  58.      #define   LLC_INVALID_COMMAND                          0x0001
  59.      #define   LLC_DUPLICATE_COMMAND                        0x0002
  60.      #define   LLC_ADAPTER_OPEN                             0x0003
  61.      #define   LLC_ADAPTER_CLOSED                           0x0004
  62.      #define   LLC_REQUIRED_PARAMETER                       0x0005
  63.      #define   LLC_INVALID_OPTION                           0x0006
  64.      #define   LLC_CMND_CAN                                 0x0007
  65.      #define   LLC_INVALID_PRIORITY                         0x0008
  66.      #define   LLC_CMND_CAN_BY_USER                         0x000A
  67.      #define   LLC_CMND_CAN_ADAPTER_CLOSED                  0x000B
  68.      #define   LLC_COMMAND_CMPL_NOT_OPENED                  0x000C
  69.      #define   LLC_TIMER_ERROR                              0x0011
  70.      #define   LLC_INVALID_LOG_ID                           0x0013
  71.      #define   LLC_INADEQUATE_LOG                           0x0015
  72.      #define   LLC_BAD_BUFFER_SIZE                          0x0016
  73.      #define   LLC_BAD_SAP_BUFFER_SIZE                      0x0018
  74.      #define   LLC_INADEQUATE_BUFFERS                       0x0019
  75.      #define   LLC_USER_AREA_TOO_LARGE                      0x001A
  76.      #define   LLC_INVALID_PARM_OFFSET                      0x001B
  77.      #define   LLC_INVALID_POINTER                          0x001C
  78.      #define   LLC_INVALID_ADAPTER                          0x001D
  79.      #define   LLC_NO_BUFFERS_AVAILABLE                     0x0020
  80.      #define   LLC_INADEQUATE_BUFFER_AREA                   0x0021
  81.      #define   LLC_TRANSMIT_ERROR                           0x0022
  82.      #define   LLC_DATA_REMOVAL_ERROR                       0x0023
  83.      #define   LLC_INVALID_MAC_FRAME                        0x0024
  84.      #define   LLC_MAX_CMND_EXCEEDED                        0x0025
  85.      #define   LLC_LINK_NOT_XMIT_I_FRAME                    0x0027
  86.      #define   LLC_INVALID_FRAME_LENGTH                     0x0028
  87.      #define   LLC_INADEQUATE_RCV_BUFFERS                   0x0030
  88.      #define   LLC_INVALID_NODE_ADDRESS                     0x0032
  89.      #define   LLC_INVALID_RCV_BUF_LEN                      0x0033
  90.      #define   LLC_INVALID_XMIT_BUF_LEN                     0x0034
  91.      #define   LLC_INVALID_STATION_ID                       0x0040
  92.      #define   LLC_PROTOCOL_ERROR                           0x0041
  93.      #define   LLC_PARM_EXCEEDED_MAX                        0x0042
  94.      #define   LLC_INVALID_SAP_VALUE                        0x0043
  95.      #define   LLC_INVALID_ROUTING_INFO                     0x0044
  96.      #define   LLC_NONEXISTENT_GRP_SAP                      0x0045
  97.      #define   LLC_INADEQUATE_LINK_STN                      0x0046
  98.      #define   LLC_SAP_NOT_CLOSED                           0x0047
  99.      #define   LLC_GRP_SAP_NOT_CLOSED                       0x0048
  100.      #define   LLC_GRP_SAP_MAX                              0x0049
  101.      #define   LLC_SEQUENCE_ERROR                           0x004A
  102.      #define   LLC_STATION_CLOSED_NOACK                     0x004B
  103.      #define   LLC_SEQUENCE_ERROR_CMND_OUT                  0x004C
  104.      #define   LLC_CONNECTION_FAILED                        0x004D
  105.      #define   LLC_MEMBER_SAP_NOT_FOUND                     0x004E
  106.      #define   LLC_INVALID_REMOTE_ADDR                      0x004F
  107.      #define   LLC_INVALID_CCB_POINTER                      0x0050
  108.      #define   LLC_INVALID_APPL_ID                          0x0052
  109.      #define   LLC_INVALID_APPL_KEYCODE                     0x0053
  110.      #define   LLC_INVALID_SYS_KEYCODE                      0x0054
  111.      #define   LLC_BUFFER_LEN_TOO_SMALL                     0x0055
  112.      #define   LLC_SYS_PROC_NOT_INSTALLED                   0x0056
  113.      #define   LLC_INADEQUATE_STN_AVAIALBLE                 0x0057
  114.      #define   LLC_INVALID_CCB_PARAMETER1                   0x0058
  115.      #define   LLC_INADEQUATE_ELEMENTS                      0x0059
  116.      #define   LLC_INITIALIZATION_FAILURE                   0x005A
  117.      #define   LLC_CCB_CHAIN_ERROR                          0x005B
  118.      #define   LLC_DIR_STN_NOT_ASSIGNED                     0x005C
  119.      #define   LLC_DD_NOT_INSTALLED                         0x005D
  120.      #define   LLC_ADAPTER_NOT_INSTALLED                    0x005E
  121.      #define   LLC_CHAIN_ADAPTER_ERROR                      0x005F
  122.      #define   LLC_ADAPTER_INITIALIZING                     0x0060
  123.      #define   LLC_MAX_USER_EXCEEDED                        0x0061
  124.      #define   LLC_SYSTEM_ACTION                            0x0062
  125.      #define   LLC_DIR_STN_NOT_AVAILABLE                    0x0063
  126.      #define   LLC_INVALID_DDNAME                           0x0064
  127.      #define   LLC_NO_GDT_SELECTORS                         0x0065
  128.      #define   LLC_CCB_PURGED                               0x0067
  129.      #define   LLC_INVALID_INTERFACE_APPLID                 0x0068
  130.      #define   LLC_SEGMENT_LOCK_UNSUCCESSFUL                0x0069
  131.      #define   LLC_COMMAND_IN_PROGRESS                      0x00FF
  132.