require '_h2ph_pre.ph';

unless(defined(&UBS_MAX_NQUEUE)) {
    eval 'sub UBS_MAX_NQUEUE () {60;}' unless defined(&UBS_MAX_NQUEUE);
}
unless(defined(&UBS_MAX_SCATTER)) {
    sub UBS_MAX_SCATTER () {	64;}
}
unless(defined(&UBS_MAX_AGGR)) {
    sub UBS_MAX_AGGR () {	5;}
}
unless(defined(&UBSEC_CARD)) {
    sub UBSEC_CARD {
	local($sid) = @_;
	eval q(((($sid) & 0xf0000000) >> 28));
    }
}
unless(defined(&UBSEC_SESSION)) {
    sub UBSEC_SESSION {
	local($sid) = @_;
	eval q(( ($sid) & 0x0fffffff));
    }
}
unless(defined(&UBSEC_SID)) {
    sub UBSEC_SID {
	local($crd, $sesn) = @_;
	eval q(((($crd) << 28) | (($sesn) & 0x0fffffff)));
    }
}
unless(defined(&UBSEC_RNG_BUFSIZ)) {
    sub UBSEC_RNG_BUFSIZ () {	16;}
}
if(0) {
}
unless(defined(&UBS_FLAGS_KEY)) {
    sub UBS_FLAGS_KEY () {	0x01;}
}
unless(defined(&UBS_FLAGS_LONGCTX)) {
    sub UBS_FLAGS_LONGCTX () {	0x02;}
}
unless(defined(&UBSEC_QFLAGS_COPYOUTIV)) {
    sub UBSEC_QFLAGS_COPYOUTIV () {	0x1;}
}
1;
