require '_h2ph_pre.ph';

unless(defined(&_SDLA_X25_H)) {
    eval 'sub _SDLA_X25_H () {1;}' unless defined(&_SDLA_X25_H);
    unless(defined(&PACKED)) {
	eval 'sub PACKED () { &__attribute__(( &packed));}' unless defined(&PACKED);
    }
    eval 'sub X25_MAX_CHAN () {255;}' unless defined(&X25_MAX_CHAN);
    eval 'sub X25_MAX_DATA () {1024;}' unless defined(&X25_MAX_DATA);
    eval 'sub X25_MBOX_OFFS () {0x16b0;}' unless defined(&X25_MBOX_OFFS);
    eval 'sub X25_RXMBOX_OFFS () {0x1ad0;}' unless defined(&X25_RXMBOX_OFFS);
    eval 'sub X25_STATUS_OFFS () {0x1ef0;}' unless defined(&X25_STATUS_OFFS);
    eval 'sub X25_MB_VECTOR () {0xe000;}' unless defined(&X25_MB_VECTOR);
    eval 'sub X25_MISC_HDLC_BITS () {0x1f00;}' unless defined(&X25_MISC_HDLC_BITS);
    eval 'sub HDLC_LEVEL () {0x1;}' unless defined(&HDLC_LEVEL);
    eval 'sub X25_LEVEL () {0x2;}' unless defined(&X25_LEVEL);
    eval 'sub X25_AND_HDLC_LEVEL () {0x3;}' unless defined(&X25_AND_HDLC_LEVEL);
    eval 'sub DO_HDLC_LEVEL_ERROR_CHECKING () {0x4;}' unless defined(&DO_HDLC_LEVEL_ERROR_CHECKING);
    eval 'sub X25_SET_GLOBAL_VARS () {0xb;}' unless defined(&X25_SET_GLOBAL_VARS);
    eval 'sub X25_READ_MODEM_STATUS () {0xc;}' unless defined(&X25_READ_MODEM_STATUS);
    eval 'sub X25_READ_CODE_VERSION () {0x15;}' unless defined(&X25_READ_CODE_VERSION);
    eval 'sub X25_TRACE_CONFIGURE () {0x14;}' unless defined(&X25_TRACE_CONFIGURE);
    eval 'sub X25_READ_TRACE_DATA () {0x16;}' unless defined(&X25_READ_TRACE_DATA);
    eval 'sub X25_SET_INTERRUPT_MODE () {0x17;}' unless defined(&X25_SET_INTERRUPT_MODE);
    eval 'sub X25_READ_INTERRUPT_MODE () {0x18;}' unless defined(&X25_READ_INTERRUPT_MODE);
    eval 'sub X25_HDLC_LINK_CONFIGURE () {0x1;}' unless defined(&X25_HDLC_LINK_CONFIGURE);
    eval 'sub X25_HDLC_LINK_OPEN () {0x2;}' unless defined(&X25_HDLC_LINK_OPEN);
    eval 'sub X25_HDLC_LINK_CLOSE () {0x3;}' unless defined(&X25_HDLC_LINK_CLOSE);
    eval 'sub X25_HDLC_LINK_SETUP () {0x4;}' unless defined(&X25_HDLC_LINK_SETUP);
    eval 'sub X25_HDLC_LINK_DISC () {0x5;}' unless defined(&X25_HDLC_LINK_DISC);
    eval 'sub X25_HDLC_LINK_STATUS () {0x6;}' unless defined(&X25_HDLC_LINK_STATUS);
    eval 'sub X25_HDLC_READ_STATS () {0x7;}' unless defined(&X25_HDLC_READ_STATS);
    eval 'sub X25_HDLC_FLUSH_STATS () {0x8;}' unless defined(&X25_HDLC_FLUSH_STATS);
    eval 'sub X25_HDLC_READ_COMM_ERR () {0x9;}' unless defined(&X25_HDLC_READ_COMM_ERR);
    eval 'sub X25_HDLC_FLUSH_COMM_ERR () {0xa;}' unless defined(&X25_HDLC_FLUSH_COMM_ERR);
    eval 'sub X25_HDLC_FLUSH_BUFFERS () {0xd;}' unless defined(&X25_HDLC_FLUSH_BUFFERS);
    eval 'sub X25_HDLC_SPRVS_CNT_STAT () {0xf;}' unless defined(&X25_HDLC_SPRVS_CNT_STAT);
    eval 'sub X25_HDLC_SEND_UI_FRAME () {0x10;}' unless defined(&X25_HDLC_SEND_UI_FRAME);
    eval 'sub X25_HDLC_WRITE () {0x11;}' unless defined(&X25_HDLC_WRITE);
    eval 'sub X25_HDLC_READ () {0x21;}' unless defined(&X25_HDLC_READ);
    eval 'sub X25_HDLC_READ_CONFIG () {0x12;}' unless defined(&X25_HDLC_READ_CONFIG);
    eval 'sub X25_HDLC_SET_CONFIG () {0x13;}' unless defined(&X25_HDLC_SET_CONFIG);
    eval 'sub SET_PROTOCOL_LEVEL () {0x1f;}' unless defined(&SET_PROTOCOL_LEVEL);
    eval 'sub X25_READ () {0x22;}' unless defined(&X25_READ);
    eval 'sub X25_WRITE () {0x23;}' unless defined(&X25_WRITE);
    eval 'sub X25_PLACE_CALL () {0x30;}' unless defined(&X25_PLACE_CALL);
    eval 'sub X25_ACCEPT_CALL () {0x31;}' unless defined(&X25_ACCEPT_CALL);
    eval 'sub X25_CLEAR_CALL () {0x32;}' unless defined(&X25_CLEAR_CALL);
    eval 'sub X25_CLEAR_CONFRM () {0x33;}' unless defined(&X25_CLEAR_CONFRM);
    eval 'sub X25_RESET () {0x34;}' unless defined(&X25_RESET);
    eval 'sub X25_RESET_CONFRM () {0x35;}' unless defined(&X25_RESET_CONFRM);
    eval 'sub X25_RESTART () {0x36;}' unless defined(&X25_RESTART);
    eval 'sub X25_RESTART_CONFRM () {0x37;}' unless defined(&X25_RESTART_CONFRM);
    eval 'sub X25_INTERRUPT () {0x38;}' unless defined(&X25_INTERRUPT);
    eval 'sub X25_INTERRUPT_CONFRM () {0x39;}' unless defined(&X25_INTERRUPT_CONFRM);
    eval 'sub X25_REGISTRATION_RQST () {0x3a;}' unless defined(&X25_REGISTRATION_RQST);
    eval 'sub X25_REGISTRATION_CONFRM () {0x3b;}' unless defined(&X25_REGISTRATION_CONFRM);
    eval 'sub X25_IS_DATA_AVAILABLE () {0x40;}' unless defined(&X25_IS_DATA_AVAILABLE);
    eval 'sub X25_INCOMMING_CALL_CTL () {0x41;}' unless defined(&X25_INCOMMING_CALL_CTL);
    eval 'sub X25_CONFIGURE_PVC () {0x42;}' unless defined(&X25_CONFIGURE_PVC);
    eval 'sub X25_GET_ACTIVE_CHANNELS () {0x43;}' unless defined(&X25_GET_ACTIVE_CHANNELS);
    eval 'sub X25_READ_CHANNEL_CONFIG () {0x44;}' unless defined(&X25_READ_CHANNEL_CONFIG);
    eval 'sub X25_FLUSH_DATA_BUFFERS () {0x45;}' unless defined(&X25_FLUSH_DATA_BUFFERS);
    eval 'sub X25_READ_HISTORY_TABLE () {0x46;}' unless defined(&X25_READ_HISTORY_TABLE);
    eval 'sub X25_HISTORY_TABLE_CTL () {0x47;}' unless defined(&X25_HISTORY_TABLE_CTL);
    eval 'sub X25_GET_TX_D_BIT_STATUS () {0x48;}' unless defined(&X25_GET_TX_D_BIT_STATUS);
    eval 'sub X25_READ_STATISTICS () {0x49;}' unless defined(&X25_READ_STATISTICS);
    eval 'sub X25_FLUSH_STATISTICS () {0x4a;}' unless defined(&X25_FLUSH_STATISTICS);
    eval 'sub X25_READ_CONFIGURATION () {0x50;}' unless defined(&X25_READ_CONFIGURATION);
    eval 'sub X25_SET_CONFIGURATION () {0x51;}' unless defined(&X25_SET_CONFIGURATION);
    eval 'sub X25RES_OK () {0x;}' unless defined(&X25RES_OK);
    eval 'sub X25RES_ERROR () {0x1;}' unless defined(&X25RES_ERROR);
    eval 'sub X25RES_LINK_NOT_IN_ABM () {0x2;}' unless defined(&X25RES_LINK_NOT_IN_ABM);
    eval 'sub X25RES_LINK_CLOSED () {0x3;}' unless defined(&X25RES_LINK_CLOSED);
    eval 'sub X25RES_INVAL_LENGTH () {0x4;}' unless defined(&X25RES_INVAL_LENGTH);
    eval 'sub X25RES_INVAL_CMD () {0x5;}' unless defined(&X25RES_INVAL_CMD);
    eval 'sub X25RES_UNNUMBERED_FRAME () {0x6;}' unless defined(&X25RES_UNNUMBERED_FRAME);
    eval 'sub X25RES_FRM_REJECT_MODE () {0x7;}' unless defined(&X25RES_FRM_REJECT_MODE);
    eval 'sub X25RES_MODEM_FAILURE () {0x8;}' unless defined(&X25RES_MODEM_FAILURE);
    eval 'sub X25RES_N2_RETRY_LIMIT () {0x9;}' unless defined(&X25RES_N2_RETRY_LIMIT);
    eval 'sub X25RES_INVAL_LCN () {0x30;}' unless defined(&X25RES_INVAL_LCN);
    eval 'sub X25RES_INVAL_STATE () {0x31;}' unless defined(&X25RES_INVAL_STATE);
    eval 'sub X25RES_INVAL_DATA_LEN () {0x32;}' unless defined(&X25RES_INVAL_DATA_LEN);
    eval 'sub X25RES_NOT_READY () {0x33;}' unless defined(&X25RES_NOT_READY);
    eval 'sub X25RES_NETWORK_DOWN () {0x34;}' unless defined(&X25RES_NETWORK_DOWN);
    eval 'sub X25RES_CHANNEL_IN_USE () {0x35;}' unless defined(&X25RES_CHANNEL_IN_USE);
    eval 'sub X25RES_REGST_NOT_SUPPRT () {0x36;}' unless defined(&X25RES_REGST_NOT_SUPPRT);
    eval 'sub X25RES_INVAL_FORMAT () {0x37;}' unless defined(&X25RES_INVAL_FORMAT);
    eval 'sub X25RES_D_BIT_NOT_SUPPRT () {0x38;}' unless defined(&X25RES_D_BIT_NOT_SUPPRT);
    eval 'sub X25RES_FACIL_NOT_SUPPRT () {0x39;}' unless defined(&X25RES_FACIL_NOT_SUPPRT);
    eval 'sub X25RES_INVAL_CALL_ARG () {0x3a;}' unless defined(&X25RES_INVAL_CALL_ARG);
    eval 'sub X25RES_INVAL_CALL_DATA () {0x3b;}' unless defined(&X25RES_INVAL_CALL_DATA);
    eval 'sub X25RES_ASYNC_PACKET () {0x40;}' unless defined(&X25RES_ASYNC_PACKET);
    eval 'sub X25RES_PROTO_VIOLATION () {0x41;}' unless defined(&X25RES_PROTO_VIOLATION);
    eval 'sub X25RES_PKT_TIMEOUT () {0x42;}' unless defined(&X25RES_PKT_TIMEOUT);
    eval 'sub X25RES_PKT_RETRY_LIMIT () {0x43;}' unless defined(&X25RES_PKT_RETRY_LIMIT);
    eval 'sub X25RES_LINK_DISC () {0x;}' unless defined(&X25RES_LINK_DISC);
    eval 'sub X25RES_LINK_IN_ABM () {0x1;}' unless defined(&X25RES_LINK_IN_ABM);
    eval 'sub X25RES_NO_DATA () {0x1;}' unless defined(&X25RES_NO_DATA);
    eval 'sub X25RES_TRACE_INACTIVE () {0x2;}' unless defined(&X25RES_TRACE_INACTIVE);
    eval 'sub X25RES_LINK_IS_OPEN () {0x1;}' unless defined(&X25RES_LINK_IS_OPEN);
    eval 'sub X25RES_LINK_IS_DISC () {0x2;}' unless defined(&X25RES_LINK_IS_DISC);
    eval 'sub X25RES_LINK_IS_CLOSED () {0x3;}' unless defined(&X25RES_LINK_IS_CLOSED);
    eval 'sub X25RES_INVAL_PARAM () {0x31;}' unless defined(&X25RES_INVAL_PARAM);
    eval 'sub X25RES_INVAL_CONFIG () {0x35;}' unless defined(&X25RES_INVAL_CONFIG);
    eval 'sub X25CMD_Q_BIT_MASK () {0x4;}' unless defined(&X25CMD_Q_BIT_MASK);
    eval 'sub X25CMD_D_BIT_MASK () {0x2;}' unless defined(&X25CMD_D_BIT_MASK);
    eval 'sub X25CMD_M_BIT_MASK () {0x1;}' unless defined(&X25CMD_M_BIT_MASK);
    eval 'sub ASE_CLEAR_RQST () {0x2;}' unless defined(&ASE_CLEAR_RQST);
    eval 'sub ASE_RESET_RQST () {0x4;}' unless defined(&ASE_RESET_RQST);
    eval 'sub ASE_RESTART_RQST () {0x8;}' unless defined(&ASE_RESTART_RQST);
    eval 'sub ASE_INTERRUPT () {0x10;}' unless defined(&ASE_INTERRUPT);
    eval 'sub ASE_DTE_REGISTR_RQST () {0x20;}' unless defined(&ASE_DTE_REGISTR_RQST);
    eval 'sub ASE_CALL_RQST () {0x30;}' unless defined(&ASE_CALL_RQST);
    eval 'sub ASE_CALL_ACCEPTED () {0x31;}' unless defined(&ASE_CALL_ACCEPTED);
    eval 'sub ASE_CLEAR_CONFRM () {0x32;}' unless defined(&ASE_CLEAR_CONFRM);
    eval 'sub ASE_RESET_CONFRM () {0x33;}' unless defined(&ASE_RESET_CONFRM);
    eval 'sub ASE_RESTART_CONFRM () {0x34;}' unless defined(&ASE_RESTART_CONFRM);
    eval 'sub ASE_INTERRUPT_CONFRM () {0x35;}' unless defined(&ASE_INTERRUPT_CONFRM);
    eval 'sub ASE_DCE_REGISTR_CONFRM () {0x36;}' unless defined(&ASE_DCE_REGISTR_CONFRM);
    eval 'sub ASE_DIAGNOSTIC () {0x37;}' unless defined(&ASE_DIAGNOSTIC);
    eval 'sub ASE_CALL_AUTO_CLEAR () {0x38;}' unless defined(&ASE_CALL_AUTO_CLEAR);
    eval 'sub AUTO_RESPONSE_FLAG () {0x80;}' unless defined(&AUTO_RESPONSE_FLAG);
    eval 'sub TOE_RESTART_RQST () {0x3;}' unless defined(&TOE_RESTART_RQST);
    eval 'sub TOE_CALL_RQST () {0x5;}' unless defined(&TOE_CALL_RQST);
    eval 'sub TOE_CLEAR_RQST () {0x8;}' unless defined(&TOE_CLEAR_RQST);
    eval 'sub TOE_RESET_RQST () {0xa;}' unless defined(&TOE_RESET_RQST);
    eval 'sub PVE_CLEAR_RQST () {0x32;}' unless defined(&PVE_CLEAR_RQST);
    eval 'sub PVE_RESET_RQST () {0x33;}' unless defined(&PVE_RESET_RQST);
    eval 'sub PVE_RESTART_RQST () {0x34;}' unless defined(&PVE_RESTART_RQST);
    eval 'sub PVE_DIAGNOSTIC () {0x37;}' unless defined(&PVE_DIAGNOSTIC);
    eval 'sub INTR_ON_RX_FRAME () {0x1;}' unless defined(&INTR_ON_RX_FRAME);
    eval 'sub INTR_ON_TX_FRAME () {0x2;}' unless defined(&INTR_ON_TX_FRAME);
    eval 'sub INTR_ON_MODEM_STATUS_CHANGE () {0x4;}' unless defined(&INTR_ON_MODEM_STATUS_CHANGE);
    eval 'sub INTR_ON_COMMAND_COMPLETE () {0x8;}' unless defined(&INTR_ON_COMMAND_COMPLETE);
    eval 'sub INTR_ON_X25_ASY_TRANSACTION () {0x10;}' unless defined(&INTR_ON_X25_ASY_TRANSACTION);
    eval 'sub INTR_ON_TIMER () {0x40;}' unless defined(&INTR_ON_TIMER);
    eval 'sub DIRECT_RX_INTR_USAGE () {0x80;}' unless defined(&DIRECT_RX_INTR_USAGE);
    eval 'sub NO_INTR_PENDING () {0x;}' unless defined(&NO_INTR_PENDING);
    eval 'sub RX_INTR_PENDING () {0x1;}' unless defined(&RX_INTR_PENDING);
    eval 'sub TX_INTR_PENDING () {0x2;}' unless defined(&TX_INTR_PENDING);
    eval 'sub MODEM_INTR_PENDING () {0x4;}' unless defined(&MODEM_INTR_PENDING);
    eval 'sub COMMAND_COMPLETE_INTR_PENDING () {0x8;}' unless defined(&COMMAND_COMPLETE_INTR_PENDING);
    eval 'sub X25_ASY_TRANS_INTR_PENDING () {0x10;}' unless defined(&X25_ASY_TRANS_INTR_PENDING);
    eval 'sub TIMER_INTR_PENDING () {0x40;}' unless defined(&TIMER_INTR_PENDING);
    eval 'sub X25_RX_INTR () {0x1;}' unless defined(&X25_RX_INTR);
    eval 'sub X25_TX_INTR () {0x2;}' unless defined(&X25_TX_INTR);
    eval 'sub X25_MODEM_INTR () {0x4;}' unless defined(&X25_MODEM_INTR);
    eval 'sub X25_EVENT_INTR () {0x10;}' unless defined(&X25_EVENT_INTR);
    eval 'sub X25_CMD_INTR () {0x8;}' unless defined(&X25_CMD_INTR);
    eval 'sub X25_HDLC_ABM () {0x1;}' unless defined(&X25_HDLC_ABM);
    eval 'sub X25_RX_READY () {0x2;}' unless defined(&X25_RX_READY);
    eval 'sub X25_TRACE_READY () {0x8;}' unless defined(&X25_TRACE_READY);
    eval 'sub X25_EVENT_IND () {0x20;}' unless defined(&X25_EVENT_IND);
    eval 'sub X25_TX_READY () {0x40;}' unless defined(&X25_TX_READY);
    eval 'sub X25_XFER_MODE () {0x80;}' unless defined(&X25_XFER_MODE);
    eval 'sub X25_TXWIN_OPEN () {0x40;}' unless defined(&X25_TXWIN_OPEN);
    eval 'sub X25_RXBUF_MASK () {0x3f;}' unless defined(&X25_RXBUF_MASK);
    eval 'sub X25_RAISE_DTR () {0x1;}' unless defined(&X25_RAISE_DTR);
    eval 'sub X25_DROP_DTR () {0x2;}' unless defined(&X25_DROP_DTR);
    eval 'sub X25_CTS_MASK () {0x20;}' unless defined(&X25_CTS_MASK);
    eval 'sub X25_DCD_MASK () {0x8;}' unless defined(&X25_DCD_MASK);
    eval 'sub X25_STATION_DTE () {0x1;}' unless defined(&X25_STATION_DTE);
    eval 'sub X25_STATION_DCE () {0x2;}' unless defined(&X25_STATION_DCE);
    eval 'sub X25_PVC () {0x1;}' unless defined(&X25_PVC);
    eval 'sub X25_SVC_IN () {0x3;}' unless defined(&X25_SVC_IN);
    eval 'sub X25_SVC_TWOWAY () {0x7;}' unless defined(&X25_SVC_TWOWAY);
    eval 'sub X25_SVC_OUT () {0xb;}' unless defined(&X25_SVC_OUT);
    eval 'sub X25LOG_INCOMMING () {0x;}' unless defined(&X25LOG_INCOMMING);
    eval 'sub X25LOG_APPLICATION () {0x1;}' unless defined(&X25LOG_APPLICATION);
    eval 'sub X25LOG_AUTOMATIC () {0x2;}' unless defined(&X25LOG_AUTOMATIC);
    eval 'sub X25LOG_ERROR () {0x4;}' unless defined(&X25LOG_ERROR);
    eval 'sub X25LOG_TIMEOUT () {0x8;}' unless defined(&X25LOG_TIMEOUT);
    eval 'sub X25LOG_RECOVERY () {0x10;}' unless defined(&X25LOG_RECOVERY);
    eval 'sub X25LOG_CALL_RQST () {0xb;}' unless defined(&X25LOG_CALL_RQST);
    eval 'sub X25LOG_CALL_ACCEPTED () {0xf;}' unless defined(&X25LOG_CALL_ACCEPTED);
    eval 'sub X25LOG_CLEAR_RQST () {0x13;}' unless defined(&X25LOG_CLEAR_RQST);
    eval 'sub X25LOG_CLEAR_CONFRM () {0x17;}' unless defined(&X25LOG_CLEAR_CONFRM);
    eval 'sub X25LOG_RESET_RQST () {0x1b;}' unless defined(&X25LOG_RESET_RQST);
    eval 'sub X25LOG_RESET_CONFRM () {0x1f;}' unless defined(&X25LOG_RESET_CONFRM);
    eval 'sub X25LOG_RESTART_RQST () {0xfb;}' unless defined(&X25LOG_RESTART_RQST);
    eval 'sub X25LOG_RESTART_COMFRM () {0xff;}' unless defined(&X25LOG_RESTART_COMFRM);
    eval 'sub X25LOG_DIAGNOSTIC () {0xf1;}' unless defined(&X25LOG_DIAGNOSTIC);
    eval 'sub X25LOG_DTE_REG_RQST () {0xf3;}' unless defined(&X25LOG_DTE_REG_RQST);
    eval 'sub X25LOG_DTE_REG_COMFRM () {0xf7;}' unless defined(&X25LOG_DTE_REG_COMFRM);
    eval 'sub X25_TRC_ENABLE () {0x1;}' unless defined(&X25_TRC_ENABLE);
    eval 'sub X25_TRC_TIMESTAMP () {0x2;}' unless defined(&X25_TRC_TIMESTAMP);
    eval 'sub X25_TRC_DELAY () {0x4;}' unless defined(&X25_TRC_DELAY);
    eval 'sub X25_TRC_DATA () {0x8;}' unless defined(&X25_TRC_DATA);
    eval 'sub X25_TRC_SUPERVISORY () {0x10;}' unless defined(&X25_TRC_SUPERVISORY);
    eval 'sub X25_TRC_ASYNCHRONOUS () {0x20;}' unless defined(&X25_TRC_ASYNCHRONOUS);
    eval 'sub X25_TRC_HDLC () {0x40;}' unless defined(&X25_TRC_HDLC);
    eval 'sub X25_TRC_READ () {0x80;}' unless defined(&X25_TRC_READ);
    eval 'sub X25_TRC_TYPE_MASK () {0xf;}' unless defined(&X25_TRC_TYPE_MASK);
    eval 'sub X25_TRC_TYPE_RX_FRAME () {0x;}' unless defined(&X25_TRC_TYPE_RX_FRAME);
    eval 'sub X25_TRC_TYPE_TX_FRAME () {0x1;}' unless defined(&X25_TRC_TYPE_TX_FRAME);
    eval 'sub X25_TRC_TYPE_ERR_FRAME () {0x2;}' unless defined(&X25_TRC_TYPE_ERR_FRAME);
    eval 'sub X25_TRC_ERROR_MASK () {0xf0;}' unless defined(&X25_TRC_ERROR_MASK);
    eval 'sub X25_TRCERR_RX_ABORT () {0x10;}' unless defined(&X25_TRCERR_RX_ABORT);
    eval 'sub X25_TRCERR_RX_BADCRC () {0x20;}' unless defined(&X25_TRCERR_RX_BADCRC);
    eval 'sub X25_TRCERR_RX_OVERRUN () {0x30;}' unless defined(&X25_TRCERR_RX_OVERRUN);
    eval 'sub X25_TRCERR_RX_TOO_LONG () {0x40;}' unless defined(&X25_TRCERR_RX_TOO_LONG);
    eval 'sub X25_TRCERR_TX_ABORT () {0x70;}' unless defined(&X25_TRCERR_TX_ABORT);
    eval 'sub X25_TRCERR_TX_UNDERRUN () {0x80;}' unless defined(&X25_TRCERR_TX_UNDERRUN);
    eval 'sub X25_Q_BIT_MASK () {0x80;}' unless defined(&X25_Q_BIT_MASK);
    eval 'sub X25_D_BIT_MASK () {0x40;}' unless defined(&X25_D_BIT_MASK);
    eval 'sub X25_M_BITS_MASK () {0x30;}' unless defined(&X25_M_BITS_MASK);
    eval 'sub X25_LCN_MSB_MASK () {0xf;}' unless defined(&X25_LCN_MSB_MASK);
    eval 'sub X25PKT_DATA () {0x1;}' unless defined(&X25PKT_DATA);
    eval 'sub X25PKT_SUPERVISORY () {0x2;}' unless defined(&X25PKT_SUPERVISORY);
    eval 'sub X25PKT_CALL_RQST () {0xb;}' unless defined(&X25PKT_CALL_RQST);
    eval 'sub X25PKT_CALL_ACCEPTED () {0xf;}' unless defined(&X25PKT_CALL_ACCEPTED);
    eval 'sub X25PKT_CLEAR_RQST () {0x13;}' unless defined(&X25PKT_CLEAR_RQST);
    eval 'sub X25PKT_CLEAR_CONFRM () {0x17;}' unless defined(&X25PKT_CLEAR_CONFRM);
    eval 'sub X25PKT_RESET_RQST () {0x1b;}' unless defined(&X25PKT_RESET_RQST);
    eval 'sub X25PKT_RESET_CONFRM () {0x1f;}' unless defined(&X25PKT_RESET_CONFRM);
    eval 'sub X25PKT_RESTART_RQST () {0xfb;}' unless defined(&X25PKT_RESTART_RQST);
    eval 'sub X25PKT_RESTART_CONFRM () {0xff;}' unless defined(&X25PKT_RESTART_CONFRM);
    eval 'sub X25PKT_INTERRUPT () {0x23;}' unless defined(&X25PKT_INTERRUPT);
    eval 'sub X25PKT_INTERRUPT_CONFRM () {0x27;}' unless defined(&X25PKT_INTERRUPT_CONFRM);
    eval 'sub X25PKT_DIAGNOSTIC () {0xf1;}' unless defined(&X25PKT_DIAGNOSTIC);
    eval 'sub X25PKT_REGISTR_RQST () {0xf3;}' unless defined(&X25PKT_REGISTR_RQST);
    eval 'sub X25PKT_REGISTR_CONFRM () {0xf7;}' unless defined(&X25PKT_REGISTR_CONFRM);
    eval 'sub X25PKT_RR_MASKED () {0x1;}' unless defined(&X25PKT_RR_MASKED);
    eval 'sub X25PKT_RNR_MASKED () {0x5;}' unless defined(&X25PKT_RNR_MASKED);
    eval 'sub UDPMGMT_UDP_PROTOCOL () {0x11;}' unless defined(&UDPMGMT_UDP_PROTOCOL);
    eval 'sub UDPMGMT_XPIPE_SIGNATURE () {"XLINK8ND";}' unless defined(&UDPMGMT_XPIPE_SIGNATURE);
    eval 'sub UDPMGMT_DRVRSTATS_SIGNATURE () {"DRVSTATS";}' unless defined(&UDPMGMT_DRVRSTATS_SIGNATURE);
    eval 'sub UDPMGMT_REQUEST () {0x1;}' unless defined(&UDPMGMT_REQUEST);
    eval 'sub UDPMGMT_REPLY () {0x2;}' unless defined(&UDPMGMT_REPLY);
    eval 'sub UDP_OFFSET () {12;}' unless defined(&UDP_OFFSET);
    eval("sub UDP_XPIPE_TYPE () { 0; }") unless defined(&UDP_XPIPE_TYPE);
    eval 'sub XPIPE_ENABLE_TRACING () {0x14;}' unless defined(&XPIPE_ENABLE_TRACING);
    eval 'sub XPIPE_DISABLE_TRACING () {0x14;}' unless defined(&XPIPE_DISABLE_TRACING);
    eval 'sub XPIPE_GET_TRACE_INFO () {0x16;}' unless defined(&XPIPE_GET_TRACE_INFO);
    eval 'sub XPIPE_FT1_READ_STATUS () {0x74;}' unless defined(&XPIPE_FT1_READ_STATUS);
    eval 'sub XPIPE_DRIVER_STAT_IFSEND () {0x75;}' unless defined(&XPIPE_DRIVER_STAT_IFSEND);
    eval 'sub XPIPE_DRIVER_STAT_INTR () {0x76;}' unless defined(&XPIPE_DRIVER_STAT_INTR);
    eval 'sub XPIPE_DRIVER_STAT_GEN () {0x77;}' unless defined(&XPIPE_DRIVER_STAT_GEN);
    eval 'sub XPIPE_FLUSH_DRIVER_STATS () {0x78;}' unless defined(&XPIPE_FLUSH_DRIVER_STATS);
    eval 'sub XPIPE_ROUTER_UP_TIME () {0x79;}' unless defined(&XPIPE_ROUTER_UP_TIME);
    eval 'sub XPIPE_SET_FT1_MODE () {0x81;}' unless defined(&XPIPE_SET_FT1_MODE);
    eval 'sub XPIPE_FT1_STATUS_CTRL () {0x80;}' unless defined(&XPIPE_FT1_STATUS_CTRL);
    eval 'sub NO_BUFFS_OR_CLOSED_WIN () {0x33;}' unless defined(&NO_BUFFS_OR_CLOSED_WIN);
    eval 'sub DATA_LENGTH_TOO_BIG () {0x32;}' unless defined(&DATA_LENGTH_TOO_BIG);
    eval 'sub NO_DATA_AVAILABLE () {0x33;}' unless defined(&NO_DATA_AVAILABLE);
    eval 'sub Z80_TIMEOUT_ERROR () {0xa;}' unless defined(&Z80_TIMEOUT_ERROR);
    eval 'sub NO_BUFFS () {0x8;}' unless defined(&NO_BUFFS);
    eval 'sub TRACE_DEFAULT () {0x3;}' unless defined(&TRACE_DEFAULT);
    eval 'sub TRACE_SUPERVISOR_FRMS () {0x10;}' unless defined(&TRACE_SUPERVISOR_FRMS);
    eval 'sub TRACE_ASYNC_FRMS () {0x20;}' unless defined(&TRACE_ASYNC_FRMS);
    eval 'sub TRACE_ALL_HDLC_FRMS () {0x40;}' unless defined(&TRACE_ALL_HDLC_FRMS);
    eval 'sub TRACE_DATA_FRMS () {0x8;}' unless defined(&TRACE_DATA_FRMS);
}
1;
