require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&lib_pcap_h)) {
    eval 'sub lib_pcap_h () {1;}' unless defined(&lib_pcap_h);
    require 'sys/types.ph';
    require 'sys/time.ph';
    require 'net/bpf.ph';
    require 'stdio.ph';
    eval 'sub PCAP_VERSION_MAJOR () {2;}' unless defined(&PCAP_VERSION_MAJOR);
    eval 'sub PCAP_VERSION_MINOR () {4;}' unless defined(&PCAP_VERSION_MINOR);
    eval 'sub PCAP_ERRBUF_SIZE () {256;}' unless defined(&PCAP_ERRBUF_SIZE);
    if((defined(&BPF_RELEASE) ? &BPF_RELEASE : 0) - 0< 199406) {
    }
    eval("sub PCAP_D_INOUT () { 0; }") unless defined(&PCAP_D_INOUT);
    eval("sub PCAP_D_IN () { 1; }") unless defined(&PCAP_D_IN);
    eval("sub PCAP_D_OUT () { 2; }") unless defined(&PCAP_D_OUT);
    eval 'sub PCAP_IF_LOOPBACK () {0x1;}' unless defined(&PCAP_IF_LOOPBACK);
}
1;
