亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tcp_timer.h

?? ecos下的gui開發源代碼
?? H
字號:
//==========================================================================
//
//      include/netinet/tcp_timer.h
//
//==========================================================================
//####BSDCOPYRIGHTBEGIN####
//
// -------------------------------------------
//
// Portions of this software may have been derived from OpenBSD, 
// FreeBSD or other sources, and are covered by the appropriate
// copyright disclaimers included herein.
//
// Portions created by Red Hat are
// Copyright (C) 2002 Red Hat, Inc. All Rights Reserved.
//
// -------------------------------------------
//
//####BSDCOPYRIGHTEND####
//==========================================================================

/*
 * Copyright (c) 1982, 1986, 1993
 *	The Regents of the University of California.  All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 3. All advertising materials mentioning features or use of this software
 *    must display the following acknowledgement:
 *	This product includes software developed by the University of
 *	California, Berkeley and its contributors.
 * 4. Neither the name of the University nor the names of its contributors
 *    may be used to endorse or promote products derived from this software
 *    without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 *
 *	@(#)tcp_timer.h	8.1 (Berkeley) 6/10/93
 * $FreeBSD: src/sys/netinet/tcp_timer.h,v 1.18 1999/12/29 04:41:03 peter Exp $
 */

#ifndef _NETINET_TCP_TIMER_H_
#define _NETINET_TCP_TIMER_H_

/*
 * The TCPT_REXMT timer is used to force retransmissions.
 * The TCP has the TCPT_REXMT timer set whenever segments
 * have been sent for which ACKs are expected but not yet
 * received.  If an ACK is received which advances tp->snd_una,
 * then the retransmit timer is cleared (if there are no more
 * outstanding segments) or reset to the base value (if there
 * are more ACKs expected).  Whenever the retransmit timer goes off,
 * we retransmit one unacknowledged segment, and do a backoff
 * on the retransmit timer.
 *
 * The TCPT_PERSIST timer is used to keep window size information
 * flowing even if the window goes shut.  If all previous transmissions
 * have been acknowledged (so that there are no retransmissions in progress),
 * and the window is too small to bother sending anything, then we start
 * the TCPT_PERSIST timer.  When it expires, if the window is nonzero,
 * we go to transmit state.  Otherwise, at intervals send a single byte
 * into the peer's window to force him to update our window information.
 * We do this at most as often as TCPT_PERSMIN time intervals,
 * but no more frequently than the current estimate of round-trip
 * packet time.  The TCPT_PERSIST timer is cleared whenever we receive
 * a window update from the peer.
 *
 * The TCPT_KEEP timer is used to keep connections alive.  If an
 * connection is idle (no segments received) for TCPTV_KEEP_INIT amount of time,
 * but not yet established, then we drop the connection.  Once the connection
 * is established, if the connection is idle for TCPTV_KEEP_IDLE time
 * (and keepalives have been enabled on the socket), we begin to probe
 * the connection.  We force the peer to send us a segment by sending:
 *	<SEQ=SND.UNA-1><ACK=RCV.NXT><CTL=ACK>
 * This segment is (deliberately) outside the window, and should elicit
 * an ack segment in response from the peer.  If, despite the TCPT_KEEP
 * initiated segments we cannot elicit a response from a peer in TCPT_MAXIDLE
 * amount of time probing, then we drop the connection.
 */

/*
 * Time constants.
 */
#define	TCPTV_MSL	( 30*hz)		/* max seg lifetime (hah!) */
#define	TCPTV_SRTTBASE	0			/* base roundtrip time;
						   if 0, no idea yet */
#define	TCPTV_RTOBASE	(  3*hz)		/* assumed RTO if no info */
#define	TCPTV_SRTTDFLT	(  3*hz)		/* assumed RTT if no info */

#define	TCPTV_PERSMIN	(  5*hz)		/* retransmit persistence */
#define	TCPTV_PERSMAX	( 60*hz)		/* maximum persist interval */

#define	TCPTV_KEEP_INIT	( 75*hz)		/* initial connect keepalive */
#define	TCPTV_KEEP_IDLE	(120*60*hz)		/* dflt time before probing */
#define	TCPTV_KEEPINTVL	( 75*hz)		/* default probe interval */
#define	TCPTV_KEEPCNT	8			/* max probes before drop */

#define	TCPTV_MIN	(  1*hz)		/* minimum allowable value */
#define	TCPTV_REXMTMAX	( 64*hz)		/* max allowable REXMT value */

#define TCPTV_TWTRUNC	8			/* RTO factor to truncate TW */

#define	TCP_LINGERTIME	120			/* linger at most 2 minutes */

#define	TCP_MAXRXTSHIFT	12			/* maximum retransmits */

#define	TCPTV_DELACK	(hz / PR_FASTHZ / 2)	/* 100ms timeout */

#ifdef	TCPTIMERS
static char *tcptimers[] =
    { "REXMT", "PERSIST", "KEEP", "2MSL" };
#endif

/*
 * Force a time value to be in a certain range.
 */
#define	TCPT_RANGESET(tv, value, tvmin, tvmax) do { \
	(tv) = (value); \
	if ((u_long)(tv) < (u_long)(tvmin)) \
		(tv) = (tvmin); \
	else if ((u_long)(tv) > (u_long)(tvmax)) \
		(tv) = (tvmax); \
} while(0)

#ifdef _KERNEL
extern int tcp_keepinit;		/* time to establish connection */
extern int tcp_keepidle;		/* time before keepalive probes begin */
extern int tcp_keepintvl;		/* time between keepalive probes */
extern int tcp_maxidle;			/* time to drop after starting probes */
extern int tcp_delacktime;		/* time before sending a delayed ACK */
extern int tcp_maxpersistidle;
extern int tcp_rexmit_min;       /* min time between retransmissions */
extern int tcp_rexmit_shift_max; /* maximum retransmission attempts */
extern int tcp_msl;
extern int tcp_ttl;			/* time to live for TCP segs */
extern int tcp_backoff[];

void	tcp_timer_2msl __P((void *xtp));
void	tcp_timer_keep __P((void *xtp));
void	tcp_timer_persist __P((void *xtp));
void	tcp_timer_rexmt __P((void *xtp));
void	tcp_timer_delack __P((void *xtp));

#endif /* _KERNEL */

#endif /* !_NETINET_TCP_TIMER_H_ */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
|精品福利一区二区三区| 亚洲国产精品嫩草影院| 亚洲天堂精品视频| 精品一区二区久久| 欧美日韩一区二区三区四区| 亚洲国产精品99久久久久久久久| 亚洲午夜精品一区二区三区他趣| 粉嫩av一区二区三区| 日韩视频在线观看一区二区| 亚洲一区二区在线免费看| 国产aⅴ精品一区二区三区色成熟| 91麻豆精品久久久久蜜臀| 中文字幕制服丝袜成人av| 国产精品一二三在| 欧美不卡一区二区| 日本成人在线看| 7777精品伊人久久久大香线蕉超级流畅 | 日韩激情视频在线观看| 91丨porny丨首页| 中文字幕亚洲综合久久菠萝蜜| 国产精品一区二区男女羞羞无遮挡 | 老汉av免费一区二区三区| 欧美做爰猛烈大尺度电影无法无天| 国产欧美一区二区三区在线老狼| 久久99精品久久久久久国产越南 | 99久久精品免费看| 欧美国产一区二区在线观看| 国产精品99久久久| 久久蜜桃香蕉精品一区二区三区| 久久狠狠亚洲综合| 精品久久免费看| 国产一区二区三区久久久| 欧美tk丨vk视频| 激情小说亚洲一区| 久久久99精品久久| 丰满放荡岳乱妇91ww| 欧美激情综合网| av在线播放成人| 一区二区不卡在线视频 午夜欧美不卡在| 成人av免费在线播放| 亚洲同性同志一二三专区| 91视频com| 午夜一区二区三区视频| 欧美精品乱码久久久久久按摩| 日韩在线播放一区二区| 日韩欧美中文字幕一区| 激情综合五月天| 综合久久给合久久狠狠狠97色| 日本高清免费不卡视频| 丝袜诱惑制服诱惑色一区在线观看| 国产精品久久久久9999吃药| 99这里只有久久精品视频| 亚洲另类在线制服丝袜| 7777精品伊人久久久大香线蕉完整版| 蜜臀av一区二区三区| 久久夜色精品一区| 99精品热视频| 免费观看一级欧美片| 欧美国产亚洲另类动漫| 欧美三电影在线| 国产盗摄女厕一区二区三区| 亚洲精品视频在线观看网站| 欧美一级午夜免费电影| 成人不卡免费av| 日本欧美大码aⅴ在线播放| 国产亚洲一区二区在线观看| 色综合天天综合色综合av| 蜜桃一区二区三区四区| 中文字幕中文字幕一区二区| 7777精品久久久大香线蕉| 韩国av一区二区三区| 一区二区三区产品免费精品久久75| 精品少妇一区二区三区视频免付费 | 欧美久久久久久久久| 国产激情一区二区三区| 婷婷国产v国产偷v亚洲高清| 久久久精品欧美丰满| 欧美久久婷婷综合色| 91在线视频网址| 国产精品一二二区| 日本中文字幕一区二区有限公司| 中文乱码免费一区二区| 欧美久久一区二区| 91免费观看视频在线| 国产成人综合在线观看| 蜜桃视频在线观看一区| 香蕉影视欧美成人| **欧美大码日韩| 国产日韩精品视频一区| 日韩欧美一区二区久久婷婷| 在线观看免费亚洲| av网站免费线看精品| 国产jizzjizz一区二区| 国产麻豆视频一区二区| 麻豆久久久久久| 日韩av一二三| 日日夜夜免费精品| 一区二区免费在线播放| 综合久久久久久| 亚洲色图制服诱惑 | 久久先锋影音av鲁色资源网| 欧美日韩三级在线| 欧美午夜片在线看| 欧美私人免费视频| 欧美色涩在线第一页| 欧美性大战久久久久久久| 一本到高清视频免费精品| 成人免费高清在线观看| 成人免费视频一区二区| 成人在线综合网站| 成人精品国产免费网站| 不卡一二三区首页| 99久久精品99国产精品| 99国产欧美久久久精品| 久久久久久久久久久99999| 精品久久一区二区三区| 亚洲精品一区二区三区福利| 精品国产3级a| 国产欧美日韩在线观看| 欧美国产一区视频在线观看| 国产精品久99| 亚洲一区二区三区四区在线观看| 亚洲图片欧美一区| 日韩va亚洲va欧美va久久| 蜜臀av亚洲一区中文字幕| 麻豆免费精品视频| 国产 欧美在线| 日本久久一区二区三区| 欧美精品v日韩精品v韩国精品v| 欧美一区二区三区在线看| 久久人人爽爽爽人久久久| 国产精品卡一卡二| 亚洲一区精品在线| 久久精品理论片| 91在线国产观看| 91精品国产综合久久久久久漫画 | 久久综合色婷婷| 国产精品大尺度| 天堂一区二区在线| 国产成人综合在线| 欧美性三三影院| 久久久精品国产99久久精品芒果 | 国产女主播视频一区二区| 亚洲欧洲一区二区在线播放| 亚洲va韩国va欧美va精品 | 99久久久精品| 在线电影国产精品| 国产欧美精品一区二区色综合朱莉| 一区二区三区小说| 色欧美乱欧美15图片| 日韩亚洲欧美成人一区| 国产三级欧美三级| 午夜欧美视频在线观看| 国产黑丝在线一区二区三区| 欧美三级一区二区| 国产精品久久久久久福利一牛影视| 丝袜国产日韩另类美女| 成人理论电影网| 日韩视频中午一区| 亚洲伊人色欲综合网| 成人一级视频在线观看| 日韩一卡二卡三卡| 亚洲免费看黄网站| 国产精品中文字幕日韩精品| 欧美日本国产视频| 亚洲激情男女视频| 粉嫩av一区二区三区在线播放| 欧美电影一区二区三区| 亚洲精选视频免费看| 国产成人在线看| 精品对白一区国产伦| 首页国产欧美久久| 欧美中文字幕一二三区视频| 国产精品污网站| 国产一区二区成人久久免费影院 | 欧美日韩国产高清一区二区| 国产精品私人影院| 国产美女娇喘av呻吟久久| 欧美男生操女生| 亚洲午夜激情网页| 欧美性大战久久| 亚洲日本一区二区| 成人app网站| 国产校园另类小说区| 黄色日韩网站视频| 精品国产91乱码一区二区三区 | 欧美aaaaaa午夜精品| 欧美性猛片aaaaaaa做受| 日韩美女啊v在线免费观看| 国产精品 欧美精品| 国产欧美日韩在线观看| 国产成人综合在线观看| 国产视频911| 国产不卡在线播放| 国产精品对白交换视频| 99re这里只有精品首页| 国产精品国产三级国产有无不卡| 成人动漫在线一区| 亚洲男人的天堂网| 欧美色综合网站|