require '_h2ph_pre.ph';

unless(defined(&__LINUX_PKT_CLS_H)) {
    eval 'sub __LINUX_PKT_CLS_H () {1;}' unless defined(&__LINUX_PKT_CLS_H);
    eval 'sub TC_POLICE_UNSPEC () {(-1);}' unless defined(&TC_POLICE_UNSPEC);
    eval 'sub TC_POLICE_OK () {0;}' unless defined(&TC_POLICE_OK);
    eval 'sub TC_POLICE_RECLASSIFY () {1;}' unless defined(&TC_POLICE_RECLASSIFY);
    eval 'sub TC_POLICE_SHOT () {2;}' unless defined(&TC_POLICE_SHOT);
    eval("sub TCA_POLICE_UNSPEC () { 0; }") unless defined(&TCA_POLICE_UNSPEC);
    eval("sub TCA_POLICE_TBF () { 1; }") unless defined(&TCA_POLICE_TBF);
    eval("sub TCA_POLICE_RATE () { 2; }") unless defined(&TCA_POLICE_RATE);
    eval("sub TCA_POLICE_PEAKRATE () { 3; }") unless defined(&TCA_POLICE_PEAKRATE);
    eval("sub TCA_POLICE_AVRATE () { 4; }") unless defined(&TCA_POLICE_AVRATE);
    eval("sub TCA_POLICE_RESULT () { 5; }") unless defined(&TCA_POLICE_RESULT);
    eval 'sub TCA_POLICE_MAX () { &TCA_POLICE_RESULT;}' unless defined(&TCA_POLICE_MAX);
    eval 'sub TC_U32_HTID {
        local($h) = @_;
	    eval q((($h)&0xfff00000));
    }' unless defined(&TC_U32_HTID);
    eval 'sub TC_U32_USERHTID {
        local($h) = @_;
	    eval q(( &TC_U32_HTID($h)>>20));
    }' unless defined(&TC_U32_USERHTID);
    eval 'sub TC_U32_HASH {
        local($h) = @_;
	    eval q(((($h)>>12)&0xff));
    }' unless defined(&TC_U32_HASH);
    eval 'sub TC_U32_NODE {
        local($h) = @_;
	    eval q((($h)&0xfff));
    }' unless defined(&TC_U32_NODE);
    eval 'sub TC_U32_KEY {
        local($h) = @_;
	    eval q((($h)&0xfffff));
    }' unless defined(&TC_U32_KEY);
    eval 'sub TC_U32_UNSPEC () {0;}' unless defined(&TC_U32_UNSPEC);
    eval 'sub TC_U32_ROOT () {(0xfff00000);}' unless defined(&TC_U32_ROOT);
    eval("sub TCA_U32_UNSPEC () { 0; }") unless defined(&TCA_U32_UNSPEC);
    eval("sub TCA_U32_CLASSID () { 1; }") unless defined(&TCA_U32_CLASSID);
    eval("sub TCA_U32_HASH () { 2; }") unless defined(&TCA_U32_HASH);
    eval("sub TCA_U32_LINK () { 3; }") unless defined(&TCA_U32_LINK);
    eval("sub TCA_U32_DIVISOR () { 4; }") unless defined(&TCA_U32_DIVISOR);
    eval("sub TCA_U32_SEL () { 5; }") unless defined(&TCA_U32_SEL);
    eval("sub TCA_U32_POLICE () { 6; }") unless defined(&TCA_U32_POLICE);
    eval 'sub TCA_U32_MAX () { &TCA_U32_POLICE;}' unless defined(&TCA_U32_MAX);
    eval 'sub TC_U32_TERMINAL () {1;}' unless defined(&TC_U32_TERMINAL);
    eval 'sub TC_U32_OFFSET () {2;}' unless defined(&TC_U32_OFFSET);
    eval 'sub TC_U32_VAROFFSET () {4;}' unless defined(&TC_U32_VAROFFSET);
    eval 'sub TC_U32_EAT () {8;}' unless defined(&TC_U32_EAT);
    eval 'sub TC_U32_MAXDEPTH () {8;}' unless defined(&TC_U32_MAXDEPTH);
    eval("sub TCA_RSVP_UNSPEC () { 0; }") unless defined(&TCA_RSVP_UNSPEC);
    eval("sub TCA_RSVP_CLASSID () { 1; }") unless defined(&TCA_RSVP_CLASSID);
    eval("sub TCA_RSVP_DST () { 2; }") unless defined(&TCA_RSVP_DST);
    eval("sub TCA_RSVP_SRC () { 3; }") unless defined(&TCA_RSVP_SRC);
    eval("sub TCA_RSVP_PINFO () { 4; }") unless defined(&TCA_RSVP_PINFO);
    eval("sub TCA_RSVP_POLICE () { 5; }") unless defined(&TCA_RSVP_POLICE);
    eval 'sub TCA_RSVP_MAX () { &TCA_RSVP_POLICE;}' unless defined(&TCA_RSVP_MAX);
    eval("sub TCA_ROUTE4_UNSPEC () { 0; }") unless defined(&TCA_ROUTE4_UNSPEC);
    eval("sub TCA_ROUTE4_CLASSID () { 1; }") unless defined(&TCA_ROUTE4_CLASSID);
    eval("sub TCA_ROUTE4_TO () { 2; }") unless defined(&TCA_ROUTE4_TO);
    eval("sub TCA_ROUTE4_FROM () { 3; }") unless defined(&TCA_ROUTE4_FROM);
    eval("sub TCA_ROUTE4_IIF () { 4; }") unless defined(&TCA_ROUTE4_IIF);
    eval("sub TCA_ROUTE4_POLICE () { 5; }") unless defined(&TCA_ROUTE4_POLICE);
    eval 'sub TCA_ROUTE4_MAX () { &TCA_ROUTE4_POLICE;}' unless defined(&TCA_ROUTE4_MAX);
    eval("sub TCA_FW_UNSPEC () { 0; }") unless defined(&TCA_FW_UNSPEC);
    eval("sub TCA_FW_CLASSID () { 1; }") unless defined(&TCA_FW_CLASSID);
    eval("sub TCA_FW_POLICE () { 2; }") unless defined(&TCA_FW_POLICE);
    eval 'sub TCA_FW_MAX () { &TCA_FW_POLICE;}' unless defined(&TCA_FW_MAX);
    eval("sub TCA_TCINDEX_UNSPEC () { 0; }") unless defined(&TCA_TCINDEX_UNSPEC);
    eval("sub TCA_TCINDEX_HASH () { 1; }") unless defined(&TCA_TCINDEX_HASH);
    eval("sub TCA_TCINDEX_MASK () { 2; }") unless defined(&TCA_TCINDEX_MASK);
    eval("sub TCA_TCINDEX_SHIFT () { 3; }") unless defined(&TCA_TCINDEX_SHIFT);
    eval("sub TCA_TCINDEX_FALL_THROUGH () { 4; }") unless defined(&TCA_TCINDEX_FALL_THROUGH);
    eval("sub TCA_TCINDEX_CLASSID () { 5; }") unless defined(&TCA_TCINDEX_CLASSID);
    eval("sub TCA_TCINDEX_POLICE () { 6; }") unless defined(&TCA_TCINDEX_POLICE);
    eval 'sub TCA_TCINDEX_MAX () { &TCA_TCINDEX_POLICE;}' unless defined(&TCA_TCINDEX_MAX);
}
1;
