require '_h2ph_pre.ph';

require 'sys/queue.ph';
unless(defined(&MRT_INIT)) {
    sub MRT_INIT () {	100;}
}
unless(defined(&MRT_DONE)) {
    sub MRT_DONE () {	101;}
}
unless(defined(&MRT_ADD_VIF)) {
    sub MRT_ADD_VIF () {	102;}
}
unless(defined(&MRT_DEL_VIF)) {
    sub MRT_DEL_VIF () {	103;}
}
unless(defined(&MRT_ADD_MFC)) {
    sub MRT_ADD_MFC () {	104;}
}
unless(defined(&MRT_DEL_MFC)) {
    sub MRT_DEL_MFC () {	105;}
}
unless(defined(&MRT_VERSION)) {
    sub MRT_VERSION () {	106;}
}
unless(defined(&MRT_ASSERT)) {
    sub MRT_ASSERT () {	107;}
}
unless(defined(&MAXVIFS)) {
    sub MAXVIFS () {	32;}
}
unless(defined(&VIFM_SET)) {
    sub VIFM_SET {
	local($n, $m) = @_;
	eval q((($m) |= (1<< ($n))));
    }
}
unless(defined(&VIFM_CLR)) {
    sub VIFM_CLR {
	local($n, $m) = @_;
	eval q((($m) &= ~(1<< ($n))));
    }
}
unless(defined(&VIFM_ISSET)) {
    sub VIFM_ISSET {
	local($n, $m) = @_;
	eval q((($m) & (1<< ($n))));
    }
}
unless(defined(&VIFM_SETALL)) {
    sub VIFM_SETALL {
	local($m) = @_;
	eval q((($m) = 0xffffffff));
    }
}
unless(defined(&VIFM_CLRALL)) {
    sub VIFM_CLRALL {
	local($m) = @_;
	eval q((($m) = 0x00000000));
    }
}
unless(defined(&VIFM_COPY)) {
    sub VIFM_COPY {
	local($mfrom, $mto) = @_;
	eval q((($mto) = ($mfrom)));
    }
}
unless(defined(&VIFM_SAME)) {
    sub VIFM_SAME {
	local($m1, $m2) = @_;
	eval q((($m1) == ($m2)));
    }
}
unless(defined(&VIFF_TUNNEL)) {
    sub VIFF_TUNNEL () {	0x1;}
}
unless(defined(&VIFF_SRCRT)) {
    sub VIFF_SRCRT () {	0x2;}
}
if(defined(&_KERNEL)) {
    if(defined(&RSVP_ISI)) {
    }
    eval 'sub IGMPMSG_NOCACHE () {1;}' unless defined(&IGMPMSG_NOCACHE);
    eval 'sub IGMPMSG_WRONGVIF () {2;}' unless defined(&IGMPMSG_WRONGVIF);
    if(defined(&UPCALL_TIMING)) {
    }
    eval 'sub MFCTBLSIZ () {256;}' unless defined(&MFCTBLSIZ);
    eval 'sub MAX_UPQ () {4;}' unless defined(&MAX_UPQ);
    eval 'sub MAX_BKT_SIZE () {10000;}' unless defined(&MAX_BKT_SIZE);
    eval 'sub MAXQSIZE () {10;}' unless defined(&MAXQSIZE);
    if(defined(&RSVP_ISI)) {
	if(0) {
	} else {
	}
    } else {
    }
}
1;
