require '_h2ph_pre.ph';

unless(defined(&icmp_pptr)) {
    sub icmp_pptr () {	 ($icmp_hun->{ih_pptr});}
}
unless(defined(&icmp_gwaddr)) {
    sub icmp_gwaddr () {	 ($icmp_hun->{ih_gwaddr});}
}
unless(defined(&icmp_id)) {
    sub icmp_id () {	 ($icmp_hun->{ih_idseq}->{icd_id});}
}
unless(defined(&icmp_seq)) {
    sub icmp_seq () {	 ($icmp_hun->{ih_idseq}->{icd_seq});}
}
unless(defined(&icmp_void)) {
    sub icmp_void () {	 ($icmp_hun->{ih_void});}
}
unless(defined(&icmp_pmvoid)) {
    sub icmp_pmvoid () {	 ($icmp_hun->{ih_pmtu}->{ipm_void});}
}
unless(defined(&icmp_nextmtu)) {
    sub icmp_nextmtu () {	 ($icmp_hun->{ih_pmtu}->{ipm_nextmtu});}
}
unless(defined(&icmp_num_addrs)) {
    sub icmp_num_addrs () {	 ($icmp_hun->{ih_rtradv}->{irt_num_addrs});}
}
unless(defined(&icmp_wpa)) {
    sub icmp_wpa () {	 ($icmp_hun->{ih_rtradv}->{irt_wpa});}
}
unless(defined(&icmp_lifetime)) {
    sub icmp_lifetime () {	 ($icmp_hun->{ih_rtradv}->{irt_lifetime});}
}
unless(defined(&icmp_otime)) {
    sub icmp_otime () {	 ($icmp_dun->{id_ts}->{its_otime});}
}
unless(defined(&icmp_rtime)) {
    sub icmp_rtime () {	 ($icmp_dun->{id_ts}->{its_rtime});}
}
unless(defined(&icmp_ttime)) {
    sub icmp_ttime () {	 ($icmp_dun->{id_ts}->{its_ttime});}
}
unless(defined(&icmp_ip)) {
    sub icmp_ip () {	 ($icmp_dun->{id_ip}->{idi_ip});}
}
unless(defined(&icmp_mask)) {
    sub icmp_mask () {	 ($icmp_dun->{id_mask});}
}
unless(defined(&icmp_data)) {
    sub icmp_data () {	 ($icmp_dun->{id_data});}
}
unless(defined(&ICMP_V6ADVLENMIN)) {
    sub ICMP_V6ADVLENMIN () {	(8+ $sizeof{'struct ip'} + 40);}
}
unless(defined(&ICMP_V6ADVLEN)) {
    sub ICMP_V6ADVLEN {
	local($p) = @_;
	eval q((8+ (($p)-> ($icmp_ip->{ip_hl}) << 2) + 40));
    }
}
unless(defined(&ICMP_MINLEN)) {
    sub ICMP_MINLEN () {	8;}
}
unless(defined(&ICMP_TSLEN)) {
    sub ICMP_TSLEN () {	(8+ 3* $sizeof{ &n_time});}
}
unless(defined(&ICMP_MASKLEN)) {
    sub ICMP_MASKLEN () {	12;}
}
unless(defined(&ICMP_ADVLENMIN)) {
    sub ICMP_ADVLENMIN () {	(8+ $sizeof{'struct ip'} + 8);}
}
unless(defined(&ICMP_ADVLEN)) {
    sub ICMP_ADVLEN {
	local($p) = @_;
	eval q((8+ (($p)-> ($icmp_ip->{ip_hl}) << 2) + 8));
    }
}
unless(defined(&ICMP_ECHOREPLY)) {
    sub ICMP_ECHOREPLY () {	0;}
}
unless(defined(&ICMP_UNREACH)) {
    sub ICMP_UNREACH () {	3;}
}
unless(defined(&ICMP_UNREACH_NET)) {
    sub ICMP_UNREACH_NET () {	0;}
}
unless(defined(&ICMP_UNREACH_HOST)) {
    sub ICMP_UNREACH_HOST () {	1;}
}
unless(defined(&ICMP_UNREACH_PROTOCOL)) {
    sub ICMP_UNREACH_PROTOCOL () {	2;}
}
unless(defined(&ICMP_UNREACH_PORT)) {
    sub ICMP_UNREACH_PORT () {	3;}
}
unless(defined(&ICMP_UNREACH_NEEDFRAG)) {
    sub ICMP_UNREACH_NEEDFRAG () {	4;}
}
unless(defined(&ICMP_UNREACH_SRCFAIL)) {
    sub ICMP_UNREACH_SRCFAIL () {	5;}
}
unless(defined(&ICMP_UNREACH_NET_UNKNOWN)) {
    sub ICMP_UNREACH_NET_UNKNOWN () {	6;}
}
unless(defined(&ICMP_UNREACH_HOST_UNKNOWN)) {
    sub ICMP_UNREACH_HOST_UNKNOWN () {	7;}
}
unless(defined(&ICMP_UNREACH_ISOLATED)) {
    sub ICMP_UNREACH_ISOLATED () {	8;}
}
unless(defined(&ICMP_UNREACH_NET_PROHIB)) {
    sub ICMP_UNREACH_NET_PROHIB () {	9;}
}
unless(defined(&ICMP_UNREACH_HOST_PROHIB)) {
    sub ICMP_UNREACH_HOST_PROHIB () {	10;}
}
unless(defined(&ICMP_UNREACH_TOSNET)) {
    sub ICMP_UNREACH_TOSNET () {	11;}
}
unless(defined(&ICMP_UNREACH_TOSHOST)) {
    sub ICMP_UNREACH_TOSHOST () {	12;}
}
unless(defined(&ICMP_UNREACH_FILTER_PROHIB)) {
    sub ICMP_UNREACH_FILTER_PROHIB () {	13;}
}
unless(defined(&ICMP_UNREACH_HOST_PRECEDENCE)) {
    sub ICMP_UNREACH_HOST_PRECEDENCE () {	14;}
}
unless(defined(&ICMP_UNREACH_PRECEDENCE_CUTOFF)) {
    sub ICMP_UNREACH_PRECEDENCE_CUTOFF () {	15;}
}
unless(defined(&ICMP_SOURCEQUENCH)) {
    sub ICMP_SOURCEQUENCH () {	4;}
}
unless(defined(&ICMP_REDIRECT)) {
    sub ICMP_REDIRECT () {	5;}
}
unless(defined(&ICMP_REDIRECT_NET)) {
    sub ICMP_REDIRECT_NET () {	0;}
}
unless(defined(&ICMP_REDIRECT_HOST)) {
    sub ICMP_REDIRECT_HOST () {	1;}
}
unless(defined(&ICMP_REDIRECT_TOSNET)) {
    sub ICMP_REDIRECT_TOSNET () {	2;}
}
unless(defined(&ICMP_REDIRECT_TOSHOST)) {
    sub ICMP_REDIRECT_TOSHOST () {	3;}
}
unless(defined(&ICMP_ALTHOSTADDR)) {
    sub ICMP_ALTHOSTADDR () {	6;}
}
unless(defined(&ICMP_ECHO)) {
    sub ICMP_ECHO () {	8;}
}
unless(defined(&ICMP_ROUTERADVERT)) {
    sub ICMP_ROUTERADVERT () {	9;}
}
unless(defined(&ICMP_ROUTERSOLICIT)) {
    sub ICMP_ROUTERSOLICIT () {	10;}
}
unless(defined(&ICMP_TIMXCEED)) {
    sub ICMP_TIMXCEED () {	11;}
}
unless(defined(&ICMP_TIMXCEED_INTRANS)) {
    sub ICMP_TIMXCEED_INTRANS () {	0;}
}
unless(defined(&ICMP_TIMXCEED_REASS)) {
    sub ICMP_TIMXCEED_REASS () {	1;}
}
unless(defined(&ICMP_PARAMPROB)) {
    sub ICMP_PARAMPROB () {	12;}
}
unless(defined(&ICMP_PARAMPROB_ERRATPTR)) {
    sub ICMP_PARAMPROB_ERRATPTR () {	0;}
}
unless(defined(&ICMP_PARAMPROB_OPTABSENT)) {
    sub ICMP_PARAMPROB_OPTABSENT () {	1;}
}
unless(defined(&ICMP_PARAMPROB_LENGTH)) {
    sub ICMP_PARAMPROB_LENGTH () {	2;}
}
unless(defined(&ICMP_TSTAMP)) {
    sub ICMP_TSTAMP () {	13;}
}
unless(defined(&ICMP_TSTAMPREPLY)) {
    sub ICMP_TSTAMPREPLY () {	14;}
}
unless(defined(&ICMP_IREQ)) {
    sub ICMP_IREQ () {	15;}
}
unless(defined(&ICMP_IREQREPLY)) {
    sub ICMP_IREQREPLY () {	16;}
}
unless(defined(&ICMP_MASKREQ)) {
    sub ICMP_MASKREQ () {	17;}
}
unless(defined(&ICMP_MASKREPLY)) {
    sub ICMP_MASKREPLY () {	18;}
}
unless(defined(&ICMP_MAXTYPE)) {
    sub ICMP_MAXTYPE () {	18;}
}
unless(defined(&ICMP_INFOTYPE)) {
    sub ICMP_INFOTYPE {
	local($type) = @_;
	eval q((($type) ==  &ICMP_ECHOREPLY || ($type) ==  &ICMP_ECHO || ($type) ==  &ICMP_ROUTERADVERT || ($type) ==  &ICMP_ROUTERSOLICIT || ($type) ==  &ICMP_TSTAMP || ($type) ==  &ICMP_TSTAMPREPLY || ($type) ==  &ICMP_IREQ || ($type) ==  &ICMP_IREQREPLY || ($type) ==  &ICMP_MASKREQ || ($type) ==  &ICMP_MASKREPLY));
    }
}
if(defined(&_KERNEL)) {
}
1;
