require '_h2ph_pre.ph';

unless(defined(&_LINUX_IPV6_ROUTE_H)) {
    eval 'sub _LINUX_IPV6_ROUTE_H () {1;}' unless defined(&_LINUX_IPV6_ROUTE_H);
    eval("sub RTA_IPV6_UNSPEC () { 0; }") unless defined(&RTA_IPV6_UNSPEC);
    eval("sub RTA_IPV6_HOPLIMIT () { 1; }") unless defined(&RTA_IPV6_HOPLIMIT);
    eval 'sub RTA_IPV6_MAX () { &RTA_IPV6_HOPLIMIT;}' unless defined(&RTA_IPV6_MAX);
    eval 'sub RTF_DEFAULT () {0x10000;}' unless defined(&RTF_DEFAULT);
    eval 'sub RTF_ALLONLINK () {0x20000;}' unless defined(&RTF_ALLONLINK);
    eval 'sub RTF_ADDRCONF () {0x40000;}' unless defined(&RTF_ADDRCONF);
    eval 'sub RTF_NONEXTHOP () {0x200000;}' unless defined(&RTF_NONEXTHOP);
    eval 'sub RTF_EXPIRES () {0x400000;}' unless defined(&RTF_EXPIRES);
    eval 'sub RTF_CACHE () {0x1000000;}' unless defined(&RTF_CACHE);
    eval 'sub RTF_FLOW () {0x2000000;}' unless defined(&RTF_FLOW);
    eval 'sub RTF_POLICY () {0x4000000;}' unless defined(&RTF_POLICY);
    eval 'sub RTF_LOCAL () {0x80000000;}' unless defined(&RTF_LOCAL);
    eval 'sub RTMSG_NEWDEVICE () {0x11;}' unless defined(&RTMSG_NEWDEVICE);
    eval 'sub RTMSG_DELDEVICE () {0x12;}' unless defined(&RTMSG_DELDEVICE);
    eval 'sub RTMSG_NEWROUTE () {0x21;}' unless defined(&RTMSG_NEWROUTE);
    eval 'sub RTMSG_DELROUTE () {0x22;}' unless defined(&RTMSG_DELROUTE);
}
1;
