require '_h2ph_pre.ph';

unless(defined(&_LINUX_IN_ROUTE_H)) {
    eval 'sub _LINUX_IN_ROUTE_H () {1;}' unless defined(&_LINUX_IN_ROUTE_H);
    eval 'sub RTCF_DEAD () { &RTNH_F_DEAD;}' unless defined(&RTCF_DEAD);
    eval 'sub RTCF_ONLINK () { &RTNH_F_ONLINK;}' unless defined(&RTCF_ONLINK);
    eval 'sub RTCF_NOPMTUDISC () { &RTM_F_NOPMTUDISC;}' unless defined(&RTCF_NOPMTUDISC);
    eval 'sub RTCF_NOTIFY () {0x10000;}' unless defined(&RTCF_NOTIFY);
    eval 'sub RTCF_DIRECTDST () {0x20000;}' unless defined(&RTCF_DIRECTDST);
    eval 'sub RTCF_REDIRECTED () {0x40000;}' unless defined(&RTCF_REDIRECTED);
    eval 'sub RTCF_TPROXY () {0x80000;}' unless defined(&RTCF_TPROXY);
    eval 'sub RTCF_FAST () {0x200000;}' unless defined(&RTCF_FAST);
    eval 'sub RTCF_MASQ () {0x400000;}' unless defined(&RTCF_MASQ);
    eval 'sub RTCF_SNAT () {0x800000;}' unless defined(&RTCF_SNAT);
    eval 'sub RTCF_DOREDIRECT () {0x1000000;}' unless defined(&RTCF_DOREDIRECT);
    eval 'sub RTCF_DIRECTSRC () {0x4000000;}' unless defined(&RTCF_DIRECTSRC);
    eval 'sub RTCF_DNAT () {0x8000000;}' unless defined(&RTCF_DNAT);
    eval 'sub RTCF_BROADCAST () {0x10000000;}' unless defined(&RTCF_BROADCAST);
    eval 'sub RTCF_MULTICAST () {0x20000000;}' unless defined(&RTCF_MULTICAST);
    eval 'sub RTCF_REJECT () {0x40000000;}' unless defined(&RTCF_REJECT);
    eval 'sub RTCF_LOCAL () {0x80000000;}' unless defined(&RTCF_LOCAL);
    eval 'sub RTCF_NAT () {( &RTCF_DNAT| &RTCF_SNAT);}' unless defined(&RTCF_NAT);
    eval 'sub RT_TOS {
        local($tos) = @_;
	    eval q((($tos) &IPTOS_TOS_MASK));
    }' unless defined(&RT_TOS);
}
1;
