require '_h2ph_pre.ph';

unless(defined(&TF_ACKNOW)) {
    sub TF_ACKNOW () {	0x0001;}
}
unless(defined(&TF_DELACK)) {
    sub TF_DELACK () {	0x0002;}
}
unless(defined(&TF_NODELAY)) {
    sub TF_NODELAY () {	0x0004;}
}
unless(defined(&TF_NOOPT)) {
    sub TF_NOOPT () {	0x0008;}
}
unless(defined(&TF_SENTFIN)) {
    sub TF_SENTFIN () {	0x0010;}
}
unless(defined(&TF_REQ_SCALE)) {
    sub TF_REQ_SCALE () {	0x0020;}
}
unless(defined(&TF_RCVD_SCALE)) {
    sub TF_RCVD_SCALE () {	0x0040;}
}
unless(defined(&TF_REQ_TSTMP)) {
    sub TF_REQ_TSTMP () {	0x0080;}
}
unless(defined(&TF_RCVD_TSTMP)) {
    sub TF_RCVD_TSTMP () {	0x0100;}
}
unless(defined(&TF_SACK_PERMIT)) {
    sub TF_SACK_PERMIT () {	0x0200;}
}
unless(defined(&TF_SIGNATURE)) {
    sub TF_SIGNATURE () {	0x0400;}
}
if(defined(&TCP_SACK)) {
    if(defined( &TCP_SACK)  && defined( &TCP_FACK)) {
    }
}
if(defined( &TCP_SACK)) {
}
if(defined(&TCP_SACK)) {
}
unless(defined(&TCPOOB_HAVEDATA)) {
    sub TCPOOB_HAVEDATA () {	0x01;}
}
unless(defined(&TCPOOB_HADDATA)) {
    sub TCPOOB_HADDATA () {	0x02;}
}
unless(defined(&intotcpcb)) {
    sub intotcpcb {
	local($ip) = @_;
	eval q((($ip)-> &inp_ppcb));
    }
}
unless(defined(&sototcpcb)) {
    sub sototcpcb {
	local($so) = @_;
	eval q(( &intotcpcb( &sotoinpcb($so))));
    }
}
unless(defined(&TCP_RTT_SCALE)) {
    sub TCP_RTT_SCALE () {	8;}
}
unless(defined(&TCP_RTT_SHIFT)) {
    sub TCP_RTT_SHIFT () {	3;}
}
unless(defined(&TCP_RTTVAR_SCALE)) {
    sub TCP_RTTVAR_SCALE () {	4;}
}
unless(defined(&TCP_RTTVAR_SHIFT)) {
    sub TCP_RTTVAR_SHIFT () {	2;}
}
unless(defined(&TCP_REXMTVAL)) {
    sub TCP_REXMTVAL {
	local($tp) = @_;
	eval q((((($tp)-> &t_srtt >>  &TCP_RTT_SHIFT) + ($tp)-> &t_rttvar) >> 2));
    }
}
unless(defined(&TCPCTL_RFC1323)) {
    sub TCPCTL_RFC1323 () {	1;}
}
unless(defined(&TCPCTL_KEEPINITTIME)) {
    sub TCPCTL_KEEPINITTIME () {	2;}
}
unless(defined(&TCPCTL_KEEPIDLE)) {
    sub TCPCTL_KEEPIDLE () {	3;}
}
unless(defined(&TCPCTL_KEEPINTVL)) {
    sub TCPCTL_KEEPINTVL () {	4;}
}
unless(defined(&TCPCTL_SLOWHZ)) {
    sub TCPCTL_SLOWHZ () {	5;}
}
unless(defined(&TCPCTL_BADDYNAMIC)) {
    sub TCPCTL_BADDYNAMIC () {	6;}
}
unless(defined(&TCPCTL_RECVSPACE)) {
    sub TCPCTL_RECVSPACE () {	7;}
}
unless(defined(&TCPCTL_SENDSPACE)) {
    sub TCPCTL_SENDSPACE () {	8;}
}
unless(defined(&TCPCTL_IDENT)) {
    sub TCPCTL_IDENT () {	9;}
}
unless(defined(&TCPCTL_SACK)) {
    sub TCPCTL_SACK () {	10;}
}
unless(defined(&TCPCTL_MSSDFLT)) {
    sub TCPCTL_MSSDFLT () {	11;}
}
unless(defined(&TCPCTL_RSTPPSLIMIT)) {
    sub TCPCTL_RSTPPSLIMIT () {	12;}
}
unless(defined(&TCPCTL_MAXID)) {
    sub TCPCTL_MAXID () {	13;}
}
unless(defined(&TCPCTL_NAMES)) {
    sub TCPCTL_NAMES () {	{ { 0, 0}, { "rfc1323",  &CTLTYPE_INT }, { "keepinittime",  &CTLTYPE_INT }, { "keepidle",  &CTLTYPE_INT }, { "keepintvl",  &CTLTYPE_INT }, { "slowhz",  &CTLTYPE_INT }, { "baddynamic",  &CTLTYPE_STRUCT }, { "recvspace",  &CTLTYPE_INT }, { "sendspace",  &CTLTYPE_INT }, { "ident",  &CTLTYPE_STRUCT }, { "sack",  &CTLTYPE_INT }, { "mssdflt",  &CTLTYPE_INT }, { "rstppslimit",  &CTLTYPE_INT }, };}
}
if(defined(&_KERNEL)) {
    if(defined(&TCP_SACK)) {
    }
    if(defined( &INET6)  && !defined( &TCP6)) {
    }
    if(defined( &INET6)  && !defined( &TCP6)) {
    }
    if(defined(&INET6)) {
    }
    if(defined( &INET6)  && !defined( &TCP6)) {
    }
    if(defined(&TCP_SACK)) {
	if(defined(&DEBUG)) {
	}
    }
    if(defined( &TCP_SACK)) {
    }
    if(defined(&TCP_SIGNATURE)) {
    }
}
1;
