require '_h2ph_pre.ph';

unless(defined(&_SDLA_FR_H)) {
    eval 'sub _SDLA_FR_H () {1;}' unless defined(&_SDLA_FR_H);
    unless(defined(&PACKED)) {
	eval 'sub PACKED () { &__attribute__(( &packed));}' unless defined(&PACKED);
    }
    eval 'sub FR_MB_VECTOR () {0xe000;}' unless defined(&FR_MB_VECTOR);
    eval 'sub FR502_RX_VECTOR () {0xa000;}' unless defined(&FR502_RX_VECTOR);
    eval 'sub FR502_MBOX_OFFS () {0xf60;}' unless defined(&FR502_MBOX_OFFS);
    eval 'sub FR508_MBOX_OFFS () {0;}' unless defined(&FR508_MBOX_OFFS);
    eval 'sub FR502_FLAG_OFFS () {0x1ff0;}' unless defined(&FR502_FLAG_OFFS);
    eval 'sub FR508_FLAG_OFFS () {0x1000;}' unless defined(&FR508_FLAG_OFFS);
    eval 'sub FR502_RXMB_OFFS () {0x900;}' unless defined(&FR502_RXMB_OFFS);
    eval 'sub FR508_TXBC_OFFS () {0x1100;}' unless defined(&FR508_TXBC_OFFS);
    eval 'sub FR508_RXBC_OFFS () {0x1120;}' unless defined(&FR508_RXBC_OFFS);
    eval 'sub FR502_MAX_DATA () {4096;}' unless defined(&FR502_MAX_DATA);
    eval 'sub FR508_MAX_DATA () {4080;}' unless defined(&FR508_MAX_DATA);
    eval 'sub MIN_LGTH_FR_DATA_CFG () {300;}' unless defined(&MIN_LGTH_FR_DATA_CFG);
    eval 'sub FR_MAX_NO_DATA_BYTES_IN_FRAME () {15354;}' unless defined(&FR_MAX_NO_DATA_BYTES_IN_FRAME);
    eval 'sub HIGHEST_VALID_DLCI () {991;}' unless defined(&HIGHEST_VALID_DLCI);
    eval 'sub FR_WRITE () {0x1;}' unless defined(&FR_WRITE);
    eval 'sub FR_READ () {0x2;}' unless defined(&FR_READ);
    eval 'sub FR_ISSUE_IS_FRAME () {0x3;}' unless defined(&FR_ISSUE_IS_FRAME);
    eval 'sub FR_SET_CONFIG () {0x10;}' unless defined(&FR_SET_CONFIG);
    eval 'sub FR_READ_CONFIG () {0x11;}' unless defined(&FR_READ_CONFIG);
    eval 'sub FR_COMM_DISABLE () {0x12;}' unless defined(&FR_COMM_DISABLE);
    eval 'sub FR_COMM_ENABLE () {0x13;}' unless defined(&FR_COMM_ENABLE);
    eval 'sub FR_READ_STATUS () {0x14;}' unless defined(&FR_READ_STATUS);
    eval 'sub FR_READ_STATISTICS () {0x15;}' unless defined(&FR_READ_STATISTICS);
    eval 'sub FR_FLUSH_STATISTICS () {0x16;}' unless defined(&FR_FLUSH_STATISTICS);
    eval 'sub FR_LIST_ACTIVE_DLCI () {0x17;}' unless defined(&FR_LIST_ACTIVE_DLCI);
    eval 'sub FR_FLUSH_DATA_BUFFERS () {0x18;}' unless defined(&FR_FLUSH_DATA_BUFFERS);
    eval 'sub FR_READ_ADD_DLC_STATS () {0x19;}' unless defined(&FR_READ_ADD_DLC_STATS);
    eval 'sub FR_ADD_DLCI () {0x20;}' unless defined(&FR_ADD_DLCI);
    eval 'sub FR_DELETE_DLCI () {0x21;}' unless defined(&FR_DELETE_DLCI);
    eval 'sub FR_ACTIVATE_DLCI () {0x22;}' unless defined(&FR_ACTIVATE_DLCI);
    eval 'sub FR_DEACTIVATE_DLCI () {0x22;}' unless defined(&FR_DEACTIVATE_DLCI);
    eval 'sub FR_READ_MODEM_STATUS () {0x30;}' unless defined(&FR_READ_MODEM_STATUS);
    eval 'sub FR_SET_MODEM_STATUS () {0x31;}' unless defined(&FR_SET_MODEM_STATUS);
    eval 'sub FR_READ_ERROR_STATS () {0x32;}' unless defined(&FR_READ_ERROR_STATS);
    eval 'sub FR_FLUSH_ERROR_STATS () {0x33;}' unless defined(&FR_FLUSH_ERROR_STATS);
    eval 'sub FR_READ_DLCI_IB_MAPPING () {0x34;}' unless defined(&FR_READ_DLCI_IB_MAPPING);
    eval 'sub FR_READ_CODE_VERSION () {0x40;}' unless defined(&FR_READ_CODE_VERSION);
    eval 'sub FR_SET_INTR_MODE () {0x50;}' unless defined(&FR_SET_INTR_MODE);
    eval 'sub FR_READ_INTR_MODE () {0x51;}' unless defined(&FR_READ_INTR_MODE);
    eval 'sub FR_SET_TRACE_CONFIG () {0x60;}' unless defined(&FR_SET_TRACE_CONFIG);
    eval 'sub FR_FT1_STATUS_CTRL () {0x80;}' unless defined(&FR_FT1_STATUS_CTRL);
    eval 'sub FR_SET_FT1_MODE () {0x81;}' unless defined(&FR_SET_FT1_MODE);
    eval 'sub FPIPE_ENABLE_TRACING () {0x41;}' unless defined(&FPIPE_ENABLE_TRACING);
    eval 'sub FPIPE_DISABLE_TRACING () {0x42;}' unless defined(&FPIPE_DISABLE_TRACING);
    eval 'sub FPIPE_GET_TRACE_INFO () {0x43;}' unless defined(&FPIPE_GET_TRACE_INFO);
    eval 'sub FPIPE_FT1_READ_STATUS () {0x44;}' unless defined(&FPIPE_FT1_READ_STATUS);
    eval 'sub FPIPE_DRIVER_STAT_IFSEND () {0x45;}' unless defined(&FPIPE_DRIVER_STAT_IFSEND);
    eval 'sub FPIPE_DRIVER_STAT_INTR () {0x46;}' unless defined(&FPIPE_DRIVER_STAT_INTR);
    eval 'sub FPIPE_DRIVER_STAT_GEN () {0x47;}' unless defined(&FPIPE_DRIVER_STAT_GEN);
    eval 'sub FPIPE_FLUSH_DRIVER_STATS () {0x48;}' unless defined(&FPIPE_FLUSH_DRIVER_STATS);
    eval 'sub FPIPE_ROUTER_UP_TIME () {0x49;}' unless defined(&FPIPE_ROUTER_UP_TIME);
    eval 'sub FRRES_OK () {0x;}' unless defined(&FRRES_OK);
    eval 'sub FRRES_DISABLED () {0x1;}' unless defined(&FRRES_DISABLED);
    eval 'sub FRRES_INOPERATIVE () {0x2;}' unless defined(&FRRES_INOPERATIVE);
    eval 'sub FRRES_DLCI_INACTIVE () {0x3;}' unless defined(&FRRES_DLCI_INACTIVE);
    eval 'sub FRRES_DLCI_INVALID () {0x4;}' unless defined(&FRRES_DLCI_INVALID);
    eval 'sub FRRES_TOO_LONG () {0x5;}' unless defined(&FRRES_TOO_LONG);
    eval 'sub FRRES_TOO_MANY () {0x6;}' unless defined(&FRRES_TOO_MANY);
    eval 'sub FRRES_CIR_OVERFLOW () {0x7;}' unless defined(&FRRES_CIR_OVERFLOW);
    eval 'sub FRRES_BUFFER_OVERFLOW () {0x8;}' unless defined(&FRRES_BUFFER_OVERFLOW);
    eval 'sub FRRES_MODEM_FAILURE () {0x10;}' unless defined(&FRRES_MODEM_FAILURE);
    eval 'sub FRRES_CHANNEL_DOWN () {0x11;}' unless defined(&FRRES_CHANNEL_DOWN);
    eval 'sub FRRES_CHANNEL_UP () {0x12;}' unless defined(&FRRES_CHANNEL_UP);
    eval 'sub FRRES_DLCI_CHANGE () {0x13;}' unless defined(&FRRES_DLCI_CHANGE);
    eval 'sub FRRES_DLCI_MISMATCH () {0x14;}' unless defined(&FRRES_DLCI_MISMATCH);
    eval 'sub FRRES_INVALID_CMD () {0x1f;}' unless defined(&FRRES_INVALID_CMD);
    eval 'sub FRATTR_ () {1;}' unless defined(&FRATTR_);
    eval 'sub FR_EVENT_STATUS () {0x1;}' unless defined(&FR_EVENT_STATUS);
    eval 'sub FR_EVENT_DLC_STATUS () {0x2;}' unless defined(&FR_EVENT_DLC_STATUS);
    eval 'sub FR_EVENT_BAD_DLCI () {0x4;}' unless defined(&FR_EVENT_BAD_DLCI);
    eval 'sub FR_EVENT_LINK_DOWN () {0x40;}' unless defined(&FR_EVENT_LINK_DOWN);
    eval 'sub FR_MDM_DCD () {0x8;}' unless defined(&FR_MDM_DCD);
    eval 'sub FR_MDM_CTS () {0x20;}' unless defined(&FR_MDM_CTS);
    eval 'sub FR_INTR_RXRDY () {0x1;}' unless defined(&FR_INTR_RXRDY);
    eval 'sub FR_INTR_TXRDY () {0x2;}' unless defined(&FR_INTR_TXRDY);
    eval 'sub FR_INTR_MODEM () {0x4;}' unless defined(&FR_INTR_MODEM);
    eval 'sub FR_INTR_READY () {0x8;}' unless defined(&FR_INTR_READY);
    eval 'sub FR_INTR_DLC () {0x10;}' unless defined(&FR_INTR_DLC);
    eval 'sub FR_INTR_TIMER () {0x20;}' unless defined(&FR_INTR_TIMER);
    eval 'sub FR_INTR_TX_MULT_DLCIs () {0x80;}' unless defined(&FR_INTR_TX_MULT_DLCIs);
    eval 'sub FRCFG_STATION_CPE () {0;}' unless defined(&FRCFG_STATION_CPE);
    eval 'sub FRCFG_STATION_NODE () {1;}' unless defined(&FRCFG_STATION_NODE);
    eval 'sub FRCFG_IGNORE_TX_CIR () {0x1;}' unless defined(&FRCFG_IGNORE_TX_CIR);
    eval 'sub FRCFG_IGNORE_RX_CIR () {0x2;}' unless defined(&FRCFG_IGNORE_RX_CIR);
    eval 'sub FRCFG_DONT_RETRANSMIT () {0x4;}' unless defined(&FRCFG_DONT_RETRANSMIT);
    eval 'sub FRCFG_IGNORE_CBS () {0x8;}' unless defined(&FRCFG_IGNORE_CBS);
    eval 'sub FRCFG_THROUGHPUT () {0x10;}' unless defined(&FRCFG_THROUGHPUT);
    eval 'sub FRCFG_DIRECT_RX () {0x80;}' unless defined(&FRCFG_DIRECT_RX);
    eval 'sub FRCFG_AUTO_CONFIG () {0x8000;}' unless defined(&FRCFG_AUTO_CONFIG);
    eval 'sub FRCFG_BAUD_1200 () {12;}' unless defined(&FRCFG_BAUD_1200);
    eval 'sub FRCFG_BAUD_2400 () {24;}' unless defined(&FRCFG_BAUD_2400);
    eval 'sub FRCFG_BAUD_4800 () {48;}' unless defined(&FRCFG_BAUD_4800);
    eval 'sub FRCFG_BAUD_9600 () {96;}' unless defined(&FRCFG_BAUD_9600);
    eval 'sub FRCFG_BAUD_19200 () {19;}' unless defined(&FRCFG_BAUD_19200);
    eval 'sub FRCFG_BAUD_38400 () {38;}' unless defined(&FRCFG_BAUD_38400);
    eval 'sub FRCFG_BAUD_56000 () {56;}' unless defined(&FRCFG_BAUD_56000);
    eval 'sub FRCFG_BAUD_64000 () {64;}' unless defined(&FRCFG_BAUD_64000);
    eval 'sub FRCFG_BAUD_128000 () {128;}' unless defined(&FRCFG_BAUD_128000);
    eval 'sub FRCFG_MODE_EXT_CLK () {0x;}' unless defined(&FRCFG_MODE_EXT_CLK);
    eval 'sub FRCFG_MODE_INT_CLK () {0x1;}' unless defined(&FRCFG_MODE_INT_CLK);
    eval 'sub FRCFG_MODE_V35 () {0x;}' unless defined(&FRCFG_MODE_V35);
    eval 'sub FRCFG_MODE_RS232 () {0x2;}' unless defined(&FRCFG_MODE_RS232);
    eval 'sub TRC_OUTGOING_FRM () {0x1;}' unless defined(&TRC_OUTGOING_FRM);
    eval 'sub TRC_ABORT_ERROR () {0x10;}' unless defined(&TRC_ABORT_ERROR);
    eval 'sub TRC_CRC_ERROR () {0x20;}' unless defined(&TRC_CRC_ERROR);
    eval 'sub TRC_OVERRUN_ERROR () {0x40;}' unless defined(&TRC_OVERRUN_ERROR);
    eval 'sub MORE_TRC_DATA () {0x80;}' unless defined(&MORE_TRC_DATA);
    eval 'sub MAX_FRMS_TRACED () {0x7;}' unless defined(&MAX_FRMS_TRACED);
    eval 'sub NO_TRC_ELEMENTS_OFF () {0x9000;}' unless defined(&NO_TRC_ELEMENTS_OFF);
    eval 'sub BASE_TRC_ELEMENTS_OFF () {0x9002;}' unless defined(&BASE_TRC_ELEMENTS_OFF);
    eval 'sub TRC_ACTIVE () {0x1;}' unless defined(&TRC_ACTIVE);
    eval 'sub FLUSH_TRC_BUFFERS () {0x2;}' unless defined(&FLUSH_TRC_BUFFERS);
    eval 'sub FLUSH_TRC_STATISTICS () {0x4;}' unless defined(&FLUSH_TRC_STATISTICS);
    eval 'sub TRC_SIGNALLING_FRMS () {0x10;}' unless defined(&TRC_SIGNALLING_FRMS);
    eval 'sub TRC_INFO_FRMS () {0x20;}' unless defined(&TRC_INFO_FRMS);
    eval 'sub ACTIVATE_TRC () {( &TRC_ACTIVE |  &TRC_SIGNALLING_FRMS |  &TRC_INFO_FRMS);}' unless defined(&ACTIVATE_TRC);
    eval 'sub RESET_TRC () {( &FLUSH_TRC_BUFFERS |  &FLUSH_TRC_STATISTICS);}' unless defined(&RESET_TRC);
    eval 'sub FR_LINK_INOPER () {0x;}' unless defined(&FR_LINK_INOPER);
    eval 'sub FR_LINK_OPER () {0x1;}' unless defined(&FR_LINK_OPER);
    eval 'sub FR_DLCI_DELETED () {0x1;}' unless defined(&FR_DLCI_DELETED);
    eval 'sub FR_DLCI_ACTIVE () {0x2;}' unless defined(&FR_DLCI_ACTIVE);
    eval 'sub FR_DLCI_WAITING () {0x4;}' unless defined(&FR_DLCI_WAITING);
    eval 'sub FR_DLCI_NEW () {0x8;}' unless defined(&FR_DLCI_NEW);
    eval 'sub FR_DLCI_REPORT () {0x40;}' unless defined(&FR_DLCI_REPORT);
    eval 'sub FR_ISF_LVE () {2;}' unless defined(&FR_ISF_LVE);
    eval 'sub FR_ISF_FSE () {3;}' unless defined(&FR_ISF_FSE);
    eval 'sub UDPMGMT_UDP_PROTOCOL () {0x11;}' unless defined(&UDPMGMT_UDP_PROTOCOL);
    eval 'sub UDPMGMT_FPIPE_SIGNATURE () {"FPIPE8ND";}' unless defined(&UDPMGMT_FPIPE_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);
    if(defined(&_MSC_)) {
    }
}
1;
