require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_NET_IF_PFLOW_H_)) {
    eval 'sub _NET_IF_PFLOW_H_ () {1;}' unless defined(&_NET_IF_PFLOW_H_);
    eval 'sub PFLOW_ID_LEN () {$sizeof{ &u_int64_t};}' unless defined(&PFLOW_ID_LEN);
    eval 'sub PFLOW_MAXFLOWS () {30;}' unless defined(&PFLOW_MAXFLOWS);
    eval 'sub PFLOW_ENGINE_TYPE () {42;}' unless defined(&PFLOW_ENGINE_TYPE);
    eval 'sub PFLOW_ENGINE_ID () {42;}' unless defined(&PFLOW_ENGINE_ID);
    eval 'sub PFLOW_MAXBYTES () {0xffffffff;}' unless defined(&PFLOW_MAXBYTES);
    eval 'sub PFLOW_TIMEOUT () {30;}' unless defined(&PFLOW_TIMEOUT);
    eval 'sub PFLOW_TMPL_TIMEOUT () {30;}' unless defined(&PFLOW_TMPL_TIMEOUT);
    eval 'sub PFLOW_V9_TMPL_SET_ID () {0;}' unless defined(&PFLOW_V9_TMPL_SET_ID);
    eval 'sub PFLOW_V10_TMPL_SET_ID () {2;}' unless defined(&PFLOW_V10_TMPL_SET_ID);
    eval 'sub PFIX_IE_octetDeltaCount () {1;}' unless defined(&PFIX_IE_octetDeltaCount);
    eval 'sub PFIX_IE_packetDeltaCount () {2;}' unless defined(&PFIX_IE_packetDeltaCount);
    eval 'sub PFIX_IE_protocolIdentifier () {4;}' unless defined(&PFIX_IE_protocolIdentifier);
    eval 'sub PFIX_IE_ipClassOfService () {5;}' unless defined(&PFIX_IE_ipClassOfService);
    eval 'sub PFIX_IE_sourceTransportPort () {7;}' unless defined(&PFIX_IE_sourceTransportPort);
    eval 'sub PFIX_IE_sourceIPv4Address () {8;}' unless defined(&PFIX_IE_sourceIPv4Address);
    eval 'sub PFIX_IE_destinationTransportPort () {11;}' unless defined(&PFIX_IE_destinationTransportPort);
    eval 'sub PFIX_IE_destinationIPv4Address () {12;}' unless defined(&PFIX_IE_destinationIPv4Address);
    eval 'sub PFIX_IE_flowEndSysUpTime () {21;}' unless defined(&PFIX_IE_flowEndSysUpTime);
    eval 'sub PFIX_IE_flowStartSysUpTime () {22;}' unless defined(&PFIX_IE_flowStartSysUpTime);
    eval 'sub PFIX_IE_sourceIPv6Address () {27;}' unless defined(&PFIX_IE_sourceIPv6Address);
    eval 'sub PFIX_IE_destinationIPv6Address () {28;}' unless defined(&PFIX_IE_destinationIPv6Address);
    eval 'sub PFLOW_SET_HDRLEN () {$sizeof{\'struct pflow_set_header\'};}' unless defined(&PFLOW_SET_HDRLEN);
    eval 'sub PFLOW_TMPL_IPV4_FIELD_COUNT () {10;}' unless defined(&PFLOW_TMPL_IPV4_FIELD_COUNT);
    eval 'sub PFLOW_TMPL_IPV4_ID () {256;}' unless defined(&PFLOW_TMPL_IPV4_ID);
    eval 'sub PFLOW_TMPL_IPV6_FIELD_COUNT () {10;}' unless defined(&PFLOW_TMPL_IPV6_FIELD_COUNT);
    eval 'sub PFLOW_TMPL_IPV6_ID () {257;}' unless defined(&PFLOW_TMPL_IPV6_ID);
    if(defined(&_KERNEL)) {
    }
    eval 'sub PFLOW_HDRLEN () {$sizeof{\'struct pflow_header\'};}' unless defined(&PFLOW_HDRLEN);
    eval 'sub PFLOW_V10_HDRLEN () {$sizeof{\'struct pflow_v10_header\'};}' unless defined(&PFLOW_V10_HDRLEN);
    eval 'sub PFLOW_V9_HDRLEN () {$sizeof{\'struct pflow_v9_header\'};}' unless defined(&PFLOW_V9_HDRLEN);
    eval 'sub PFLOW_PROTO_5 () {5;}' unless defined(&PFLOW_PROTO_5);
    eval 'sub PFLOW_PROTO_9 () {9;}' unless defined(&PFLOW_PROTO_9);
    eval 'sub PFLOW_PROTO_10 () {10;}' unless defined(&PFLOW_PROTO_10);
    eval 'sub PFLOW_PROTO_MAX () {11;}' unless defined(&PFLOW_PROTO_MAX);
    eval 'sub PFLOW_PROTO_DEFAULT () { &PFLOW_PROTO_5;}' unless defined(&PFLOW_PROTO_DEFAULT);
    eval 'sub PFLOW_PROTOS () {{ { "5",  &PFLOW_PROTO_5 }, { "9",  &PFLOW_PROTO_9 }, { "10",  &PFLOW_PROTO_10 }, };}' unless defined(&PFLOW_PROTOS);
    eval 'sub PFLOW_MASK_SRCIP () {0x1;}' unless defined(&PFLOW_MASK_SRCIP);
    eval 'sub PFLOW_MASK_DSTIP () {0x2;}' unless defined(&PFLOW_MASK_DSTIP);
    eval 'sub PFLOW_MASK_DSTPRT () {0x4;}' unless defined(&PFLOW_MASK_DSTPRT);
    eval 'sub PFLOW_MASK_VERSION () {0x8;}' unless defined(&PFLOW_MASK_VERSION);
    if(defined(&_KERNEL)) {
    }
}
1;
