require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_ALTQ_ALTQ_CDNR_H_)) {
    eval 'sub _ALTQ_ALTQ_CDNR_H_ () {1;}' unless defined(&_ALTQ_ALTQ_CDNR_H_);
    require 'altq/altq.ph';
    eval 'sub TCETYPE_NONE () {0;}' unless defined(&TCETYPE_NONE);
    eval 'sub TCETYPE_TOP () {1;}' unless defined(&TCETYPE_TOP);
    eval 'sub TCETYPE_ELEMENT () {2;}' unless defined(&TCETYPE_ELEMENT);
    eval 'sub TCETYPE_TBMETER () {3;}' unless defined(&TCETYPE_TBMETER);
    eval 'sub TCETYPE_TRTCM () {4;}' unless defined(&TCETYPE_TRTCM);
    eval 'sub TCETYPE_TSWTCM () {5;}' unless defined(&TCETYPE_TSWTCM);
    eval 'sub tca_value () { ($tca_un->{un_value});}' unless defined(&tca_value);
    eval 'sub tca_dscp () { ($tca_un->{un_dscp});}' unless defined(&tca_dscp);
    eval 'sub tca_handle () { ($tca_un->{un_handle});}' unless defined(&tca_handle);
    eval 'sub tca_next () { ($tca_un->{un_next});}' unless defined(&tca_next);
    eval 'sub TCACODE_NONE () {0;}' unless defined(&TCACODE_NONE);
    eval 'sub TCACODE_PASS () {1;}' unless defined(&TCACODE_PASS);
    eval 'sub TCACODE_DROP () {2;}' unless defined(&TCACODE_DROP);
    eval 'sub TCACODE_RETURN () {3;}' unless defined(&TCACODE_RETURN);
    eval 'sub TCACODE_MARK () {4;}' unless defined(&TCACODE_MARK);
    eval 'sub TCACODE_HANDLE () {5;}' unless defined(&TCACODE_HANDLE);
    eval 'sub TCACODE_NEXT () {6;}' unless defined(&TCACODE_NEXT);
    eval 'sub TCACODE_MAX () {6;}' unless defined(&TCACODE_MAX);
    eval 'sub CDNR_NULL_HANDLE () {0;}' unless defined(&CDNR_NULL_HANDLE);
    unless(defined(&DSCP_EF)) {
	eval 'sub DSCP_MASK () {0xfc;}' unless defined(&DSCP_MASK);
	eval 'sub DSCP_CUMASK () {0x3;}' unless defined(&DSCP_CUMASK);
	eval 'sub DSCP_EF () {0xb8;}' unless defined(&DSCP_EF);
	eval 'sub DSCP_AF11 () {0x28;}' unless defined(&DSCP_AF11);
	eval 'sub DSCP_AF12 () {0x30;}' unless defined(&DSCP_AF12);
	eval 'sub DSCP_AF13 () {0x38;}' unless defined(&DSCP_AF13);
	eval 'sub DSCP_AF21 () {0x48;}' unless defined(&DSCP_AF21);
	eval 'sub DSCP_AF22 () {0x50;}' unless defined(&DSCP_AF22);
	eval 'sub DSCP_AF23 () {0x58;}' unless defined(&DSCP_AF23);
	eval 'sub DSCP_AF31 () {0x68;}' unless defined(&DSCP_AF31);
	eval 'sub DSCP_AF32 () {0x70;}' unless defined(&DSCP_AF32);
	eval 'sub DSCP_AF33 () {0x78;}' unless defined(&DSCP_AF33);
	eval 'sub DSCP_AF41 () {0x88;}' unless defined(&DSCP_AF41);
	eval 'sub DSCP_AF42 () {0x90;}' unless defined(&DSCP_AF42);
	eval 'sub DSCP_AF43 () {0x98;}' unless defined(&DSCP_AF43);
	eval 'sub AF_CLASSMASK () {0xe0;}' unless defined(&AF_CLASSMASK);
	eval 'sub AF_DROPPRECMASK () {0x18;}' unless defined(&AF_DROPPRECMASK);
    }
    if(defined(&_KERNEL)) {
    }
}
1;
