require '_h2ph_pre.ph';

unless(defined(&rp_type)) {
    sub rp_type () {	 ($rp_ifpr->{ifpr_type});}
}
unless(defined(&rp_ifp)) {
    sub rp_ifp () {	 ($rp_ifpr->{ifpr_ifp});}
}
unless(defined(&rp_plen)) {
    sub rp_plen () {	 ($rp_ifpr->{ifpr_plen});}
}
unless(defined(&rp_raf)) {
    sub rp_raf () {	 ($rp_flags->{prf_ra});}
}
unless(defined(&rp_raf_onlink)) {
    sub rp_raf_onlink () {	 ($rp_flags->{prf_ra}->{onlink});}
}
unless(defined(&rp_raf_auto)) {
    sub rp_raf_auto () {	 ($rp_flags->{prf_ra}->{autonomous});}
}
unless(defined(&rp_statef_addmark)) {
    sub rp_statef_addmark () {	 ($rp_stateflags->{addmark});}
}
unless(defined(&rp_statef_delmark)) {
    sub rp_statef_delmark () {	 ($rp_stateflags->{delmark});}
}
unless(defined(&rp_rrf)) {
    sub rp_rrf () {	 ($rp_flags->{prf_rr});}
}
unless(defined(&rp_rrf_decrvalid)) {
    sub rp_rrf_decrvalid () {	 ($rp_flags->{prf_rr}->{decrvalid});}
}
unless(defined(&rp_rrf_decrprefd)) {
    sub rp_rrf_decrprefd () {	 ($rp_flags->{prf_rr}->{decrprefd});}
}
unless(defined(&ifpr2rp)) {
    sub ifpr2rp {
	local($ifpr) = @_;
	eval q((($ifpr)));
    }
}
unless(defined(&rp2ifpr)) {
    sub rp2ifpr {
	local($rp) = @_;
	eval q((($rp)));
    }
}
unless(defined(&RP_IN6)) {
    sub RP_IN6 {
	local($rp) = @_;
	eval q((($rp)-> ($rp_prefix->{sin6_addr})));
    }
}
unless(defined(&RR_INFINITE_LIFETIME)) {
    sub RR_INFINITE_LIFETIME () {	0xffffffff;}
}
1;
