require '_h2ph_pre.ph';

unless(defined(&TCPT_NTIMERS)) {
    sub TCPT_NTIMERS () {	4;}
}
unless(defined(&TCPT_REXMT)) {
    sub TCPT_REXMT () {	0;}
}
unless(defined(&TCPT_PERSIST)) {
    sub TCPT_PERSIST () {	1;}
}
unless(defined(&TCPT_KEEP)) {
    sub TCPT_KEEP () {	2;}
}
unless(defined(&TCPT_2MSL)) {
    sub TCPT_2MSL () {	3;}
}
unless(defined(&TCPTV_MSL)) {
    sub TCPTV_MSL () {	( 30* &PR_SLOWHZ);}
}
unless(defined(&TCPTV_SRTTBASE)) {
    sub TCPTV_SRTTBASE () {	0;}
}
unless(defined(&TCPTV_SRTTDFLT)) {
    sub TCPTV_SRTTDFLT () {	( 3* &PR_SLOWHZ);}
}
unless(defined(&TCPTV_PERSMIN)) {
    sub TCPTV_PERSMIN () {	( 5* &PR_SLOWHZ);}
}
unless(defined(&TCPTV_PERSMAX)) {
    sub TCPTV_PERSMAX () {	( 60* &PR_SLOWHZ);}
}
unless(defined(&TCPTV_KEEP_INIT)) {
    sub TCPTV_KEEP_INIT () {	( 75* &PR_SLOWHZ);}
}
unless(defined(&TCPTV_KEEP_IDLE)) {
    sub TCPTV_KEEP_IDLE () {	(120*60* &PR_SLOWHZ);}
}
unless(defined(&TCPTV_KEEPINTVL)) {
    sub TCPTV_KEEPINTVL () {	( 75* &PR_SLOWHZ);}
}
unless(defined(&TCPTV_KEEPCNT)) {
    sub TCPTV_KEEPCNT () {	8;}
}
unless(defined(&TCPTV_MIN)) {
    sub TCPTV_MIN () {	( 1* &PR_SLOWHZ);}
}
unless(defined(&TCPTV_REXMTMAX)) {
    sub TCPTV_REXMTMAX () {	( 64* &PR_SLOWHZ);}
}
unless(defined(&TCP_LINGERTIME)) {
    sub TCP_LINGERTIME () {	120;}
}
unless(defined(&TCP_MAXRXTSHIFT)) {
    sub TCP_MAXRXTSHIFT () {	12;}
}
if(defined(&TCPTIMERS)) {
}
unless(defined(&TCPT_RANGESET)) {
    sub TCPT_RANGESET {
	local($tv, $value, $tvmin, $tvmax) = @_;
	eval q({ ($tv) = ($value);  &if (($tv) < ($tvmin)) ($tv) = ($tvmin);  &else  &if (($tv) > ($tvmax)) ($tv) = ($tvmax); });
    }
}
if(defined(&_KERNEL)) {
}
1;
