require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_NETINET_ICMP_VAR_H_)) {
    eval 'sub _NETINET_ICMP_VAR_H_ () {1;}' unless defined(&_NETINET_ICMP_VAR_H_);
    eval 'sub ICMP_STAT_ERROR () {0;}' unless defined(&ICMP_STAT_ERROR);
    eval 'sub ICMP_STAT_OLDSHORT () {1;}' unless defined(&ICMP_STAT_OLDSHORT);
    eval 'sub ICMP_STAT_OLDICMP () {2;}' unless defined(&ICMP_STAT_OLDICMP);
    eval 'sub ICMP_STAT_BADCODE () {3;}' unless defined(&ICMP_STAT_BADCODE);
    eval 'sub ICMP_STAT_TOOSHORT () {4;}' unless defined(&ICMP_STAT_TOOSHORT);
    eval 'sub ICMP_STAT_CHECKSUM () {5;}' unless defined(&ICMP_STAT_CHECKSUM);
    eval 'sub ICMP_STAT_BADLEN () {6;}' unless defined(&ICMP_STAT_BADLEN);
    eval 'sub ICMP_STAT_REFLECT () {7;}' unless defined(&ICMP_STAT_REFLECT);
    eval 'sub ICMP_STAT_PMTUCHG () {8;}' unless defined(&ICMP_STAT_PMTUCHG);
    eval 'sub ICMP_STAT_BMCASTECHO () {9;}' unless defined(&ICMP_STAT_BMCASTECHO);
    eval 'sub ICMP_STAT_BMCASTTSTAMP () {10;}' unless defined(&ICMP_STAT_BMCASTTSTAMP);
    eval 'sub ICMP_STAT_LAST () {16;}' unless defined(&ICMP_STAT_LAST);
    eval 'sub ICMP_STAT_OUTHIST () { &ICMP_STAT_LAST;}' unless defined(&ICMP_STAT_OUTHIST);
    eval 'sub ICMP_STAT_INHIST () {( &ICMP_STAT_LAST +  &ICMP_NTYPES);}' unless defined(&ICMP_STAT_INHIST);
    eval 'sub ICMP_NSTATS () {( &ICMP_STAT_LAST + 2*  &ICMP_NTYPES);}' unless defined(&ICMP_NSTATS);
    eval 'sub ICMPCTL_MASKREPL () {1;}' unless defined(&ICMPCTL_MASKREPL);
    if(0) {
	eval 'sub ICMPCTL_ERRRATELIMIT () {2;}' unless defined(&ICMPCTL_ERRRATELIMIT);
    }
    eval 'sub ICMPCTL_RETURNDATABYTES () {3;}' unless defined(&ICMPCTL_RETURNDATABYTES);
    eval 'sub ICMPCTL_ERRPPSLIMIT () {4;}' unless defined(&ICMPCTL_ERRPPSLIMIT);
    eval 'sub ICMPCTL_REDIRACCEPT () {5;}' unless defined(&ICMPCTL_REDIRACCEPT);
    eval 'sub ICMPCTL_REDIRTIMEOUT () {6;}' unless defined(&ICMPCTL_REDIRTIMEOUT);
    eval 'sub ICMPCTL_STATS () {7;}' unless defined(&ICMPCTL_STATS);
    eval 'sub ICMPCTL_BMCASTECHO () {8;}' unless defined(&ICMPCTL_BMCASTECHO);
    eval 'sub ICMPCTL_DYNAMIC_RT_MSG () {9;}' unless defined(&ICMPCTL_DYNAMIC_RT_MSG);
    if(defined(&_KERNEL)) {
    }
}
1;
