require '_h2ph_pre.ph';

unless(defined(&__LINUX_DECNET_NETFILTER_H)) {
    eval 'sub __LINUX_DECNET_NETFILTER_H () {1;}' unless defined(&__LINUX_DECNET_NETFILTER_H);
    require 'linux/netfilter.ph';
    eval 'sub NFC_DN_SRC () {0x1;}' unless defined(&NFC_DN_SRC);
    eval 'sub NFC_DN_DST () {0x2;}' unless defined(&NFC_DN_DST);
    eval 'sub NFC_DN_IF_IN () {0x4;}' unless defined(&NFC_DN_IF_IN);
    eval 'sub NFC_DN_IF_OUT () {0x8;}' unless defined(&NFC_DN_IF_OUT);
    eval 'sub NF_DN_PRE_ROUTING () {0;}' unless defined(&NF_DN_PRE_ROUTING);
    eval 'sub NF_DN_LOCAL_IN () {1;}' unless defined(&NF_DN_LOCAL_IN);
    eval 'sub NF_DN_FORWARD () {2;}' unless defined(&NF_DN_FORWARD);
    eval 'sub NF_DN_LOCAL_OUT () {3;}' unless defined(&NF_DN_LOCAL_OUT);
    eval 'sub NF_DN_POST_ROUTING () {4;}' unless defined(&NF_DN_POST_ROUTING);
    eval 'sub NF_DN_HELLO () {5;}' unless defined(&NF_DN_HELLO);
    eval 'sub NF_DN_ROUTE () {6;}' unless defined(&NF_DN_ROUTE);
    eval 'sub NF_DN_NUMHOOKS () {7;}' unless defined(&NF_DN_NUMHOOKS);
    eval("sub NF_DN_PRI_FIRST () { INT_MIN; }") unless defined(&NF_DN_PRI_FIRST);
    eval("sub NF_DN_PRI_CONNTRACK () { -200; }") unless defined(&NF_DN_PRI_CONNTRACK);
    eval("sub NF_DN_PRI_MANGLE () { -150; }") unless defined(&NF_DN_PRI_MANGLE);
    eval("sub NF_DN_PRI_NAT_DST () { -100; }") unless defined(&NF_DN_PRI_NAT_DST);
    eval("sub NF_DN_PRI_FILTER () { 0; }") unless defined(&NF_DN_PRI_FILTER);
    eval("sub NF_DN_PRI_NAT_SRC () { 100; }") unless defined(&NF_DN_PRI_NAT_SRC);
    eval("sub NF_DN_PRI_DNRTMSG () { 200; }") unless defined(&NF_DN_PRI_DNRTMSG);
    eval("sub NF_DN_PRI_LAST () { INT_MAX; }") unless defined(&NF_DN_PRI_LAST);
    eval 'sub NFDN_RTMSG {
        local($r) = @_;
	    eval q((($r) +  &NLMSG_ALIGN($sizeof{\'struct nf_dn_rtmsg\'})));
    }' unless defined(&NFDN_RTMSG);
    eval 'sub DNRMG_L1_GROUP () {0x1;}' unless defined(&DNRMG_L1_GROUP);
    eval 'sub DNRMG_L2_GROUP () {0x2;}' unless defined(&DNRMG_L2_GROUP);
}
1;
