require '_h2ph_pre.ph';

unless(defined(&_ALTQ_ALTQ_RIO_H_)) {
    eval 'sub _ALTQ_ALTQ_RIO_H_ () {1;}' unless defined(&_ALTQ_ALTQ_RIO_H_);
    require 'altq/altq_classq.ph';
    eval 'sub RIO_NDROPPREC () {3;}' unless defined(&RIO_NDROPPREC);
    eval 'sub RIOF_ECN4 () {0x01;}' unless defined(&RIOF_ECN4);
    eval 'sub RIOF_ECN6 () {0x02;}' unless defined(&RIOF_ECN6);
    eval 'sub RIOF_ECN () {( &RIOF_ECN4 |  &RIOF_ECN6);}' unless defined(&RIOF_ECN);
    eval 'sub RIOF_CLEARDSCP () {0x200;}' unless defined(&RIOF_CLEARDSCP);
    eval 'sub RIO_IF_ATTACH () { &_IOW(ord(\'Q\'), 1, \'struct rio_interface\');}' unless defined(&RIO_IF_ATTACH);
    eval 'sub RIO_IF_DETACH () { &_IOW(ord(\'Q\'), 2, \'struct rio_interface\');}' unless defined(&RIO_IF_DETACH);
    eval 'sub RIO_ENABLE () { &_IOW(ord(\'Q\'), 3, \'struct rio_interface\');}' unless defined(&RIO_ENABLE);
    eval 'sub RIO_DISABLE () { &_IOW(ord(\'Q\'), 4, \'struct rio_interface\');}' unless defined(&RIO_DISABLE);
    eval 'sub RIO_CONFIG () { &_IOWR(ord(\'Q\'), 6, \'struct rio_conf\');}' unless defined(&RIO_CONFIG);
    eval 'sub RIO_GETSTATS () { &_IOWR(ord(\'Q\'), 12, \'struct rio_stats\');}' unless defined(&RIO_GETSTATS);
    eval 'sub RIO_SETDEFAULTS () { &_IOW(ord(\'Q\'), 30, \'struct redparams\'[ &RIO_NDROPPREC]);}' unless defined(&RIO_SETDEFAULTS);
    if(defined(&_KERNEL)) {
    }
}
1;
