require '_h2ph_pre.ph';

unless(defined(&FOR_ALL_PKCBS)) {
    sub FOR_ALL_PKCBS {
	local($p) = @_;
	eval q( &for( = ( ($pkcb_q->{q_forw})); ( ($pkcb_q->{q_forw}) !=  &pkcb_q)  && ( !=  &pkcb_q); = (($p) ->  ($pk_q->{q_forw}))));
    }
}
unless(defined(&PQEMPTY)) {
    sub PQEMPTY () {	( ($pkcb_q->{q_forw}) ==  &pkcb_q);}
}
unless(defined(&ia_ifp)) {
    sub ia_ifp () {	 ($ia_ifa->{ifa_ifp});}
}
unless(defined(&ia_flags)) {
    sub ia_flags () {	 ($ia_ifa->{ifa_flags});}
}
unless(defined(&ia_maxlcn)) {
    sub ia_maxlcn () {	 ($ia_xc->{xc_maxlcn});}
}
unless(defined(&LXS_NEWBORN)) {
    sub LXS_NEWBORN () {	0;}
}
unless(defined(&LXS_RESOLVING)) {
    sub LXS_RESOLVING () {	1;}
}
unless(defined(&LXS_FREE)) {
    sub LXS_FREE () {	2;}
}
unless(defined(&LXS_CONNECTING)) {
    sub LXS_CONNECTING () {	3;}
}
unless(defined(&LXS_CONNECTED)) {
    sub LXS_CONNECTED () {	4;}
}
unless(defined(&LXS_DISCONNECTING)) {
    sub LXS_DISCONNECTING () {	5;}
}
unless(defined(&LXS_LISTENING)) {
    sub LXS_LISTENING () {	6;}
}
unless(defined(&LXF_VALID)) {
    sub LXF_VALID () {	0x1;}
}
unless(defined(&LXF_RTHELD)) {
    sub LXF_RTHELD () {	0x2;}
}
unless(defined(&LXF_LISTEN)) {
    sub LXF_LISTEN () {	0x4;}
}
unless(defined(&calling_addrlen)) {
    sub calling_addrlen () {	0;}
}
unless(defined(&called_addrlen)) {
    sub called_addrlen () {	1;}
}
unless(defined(&q_bit)) {
    sub q_bit () {	2;}
}
unless(defined(&d_bit)) {
    sub d_bit () {	3;}
}
unless(defined(&fmt_identifier)) {
    sub fmt_identifier () {	4;}
}
unless(defined(&lc_group_number)) {
    sub lc_group_number () {	1;}
}
unless(defined(&p_r)) {
    sub p_r () {	5;}
}
unless(defined(&m_bit)) {
    sub m_bit () {	6;}
}
unless(defined(&p_s)) {
    sub p_s () {	7;}
}
unless(defined(&zilch)) {
    sub zilch () {	8;}
}
unless(defined(&X25GBITS)) {
    sub X25GBITS {
	local($Arg, $Index) = @_;
	eval q(((($Arg) &  ($x25_bitslice[&(Index)]->{bs_mask})) >>  ($x25_bitslice[&(Index)]->{bs_shift})));
    }
}
unless(defined(&X25SBITS)) {
    sub X25SBITS {
	local($Arg, $Index, $Val) = @_;
	eval q(($Arg) |= ((($Val) <<  ($x25_bitslice[&(Index)]->{bs_shift})) &  ($x25_bitslice[&(Index)]->{bs_mask})));
    }
}
unless(defined(&X25CSBITS)) {
    sub X25CSBITS {
	local($Arg, $Index, $Val) = @_;
	eval q(($Arg) = ((($Val) <<  ($x25_bitslice[&(Index)]->{bs_shift})) &  ($x25_bitslice[&(Index)]->{bs_mask})));
    }
}
unless(defined(&ISOFIFTTYPE)) {
    sub ISOFIFTTYPE {
	local($i,$t) = @_;
	eval q((($i)-> &if_type == ($t)));
    }
}
unless(defined(&ISISO8802)) {
    sub ISISO8802 {
	local($i) = @_;
	eval q((( &ISOFIFTTYPE($i,  &IFT_ETHER) ||  &ISOFIFTTYPE($i,  &IFT_ISO88023) ||  &ISOFIFTTYPE($i,  &IFT_ISO88024) ||  &ISOFIFTTYPE($i,  &IFT_ISO88025) ||  &ISOFIFTTYPE($i,  &IFT_ISO88026) ||  &ISOFIFTTYPE($i,  &IFT_P10) ||  &ISOFIFTTYPE($i,  &IFT_P80) ||  &ISOFIFTTYPE($i,  &IFT_FDDI))));
    }
}
if(defined( &_KERNEL)  && defined( &CCITT)) {
}
1;
