require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_NETINET_IF_INARP_H_)) {
    eval 'sub _NETINET_IF_INARP_H_ () {1;}' unless defined(&_NETINET_IF_INARP_H_);
    require 'sys/queue.ph';
    require 'netinet/in.ph';
    eval 'sub SIN_PROXY () {1;}' unless defined(&SIN_PROXY);
    if(defined(&_KERNEL)) {
	require 'net/pktqueue.ph';
	eval 'sub PROBE_WAIT () {1;}' unless defined(&PROBE_WAIT);
	eval 'sub PROBE_NUM () {3;}' unless defined(&PROBE_NUM);
	eval 'sub PROBE_MIN () {1;}' unless defined(&PROBE_MIN);
	eval 'sub PROBE_MAX () {2;}' unless defined(&PROBE_MAX);
	eval 'sub ANNOUNCE_WAIT () {2;}' unless defined(&ANNOUNCE_WAIT);
	eval 'sub ANNOUNCE_NUM () {2;}' unless defined(&ANNOUNCE_NUM);
	eval 'sub ANNOUNCE_INTERVAL () {2;}' unless defined(&ANNOUNCE_INTERVAL);
	eval 'sub MAX_CONFLICTS () {10;}' unless defined(&MAX_CONFLICTS);
	eval 'sub RATE_LIMIT_INTERVAL () {60;}' unless defined(&RATE_LIMIT_INTERVAL);
	eval 'sub DEFEND_INTERVAL () {10;}' unless defined(&DEFEND_INTERVAL);
    }
}
1;
