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

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? mpbufcal.c

?? 這是全套的PPP協(xié)議的源碼
?? C
字號(hào):
/* mpBufCal.c - MP Buffer calculation source file *//* Copyright 1999 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------01b,06aug02,jr  fixed build warnings 01a,22feb01,sd  created from routerware source base*//**$Log:: /Rtrware/devdrvrs/Mp/mpbufcal $ *  * 4     2/08/99 12:12p Nishit * ppp_echo_request_sent() and * ppp_echo_request_received() return if * an unused port number is passed *  * 3     4/30/98 3:02p Alex * Mp v4.2.0 check in *  * 1     4/24/98 12:56a Release Engineer * code cleanup, code style changes, * linted, system level test * MP v4.2.0*//*DESCRIPTION: This module does the buffer requirement estimation. It computesthe buffer required for the Mp system, according to the method proposed byRFC 1717 and RFC 1990.This file contains functions to check if all the links are timed, to calculatethe longest delay among the delay of the links in the bundle and to estimatethe buffer requirement.INCLUDES: mp.h		  mpFramingLayerP.h*//* includes */#include "vxWorks.h"#include "ppp/mp.h"#include "private/ppp/mpFramingLayerP.h"#include "stdio.h"/******************************************************************************* if_all_links_are_timed - check if all the links in the bundle are timed** This function checks if all the links in the bundle are timed. This function * is used by the mp_estimate_buffer_requirement function during the buffer * calculation for the bundle. It checks all the links in the bundle to find if * all the links are timed. If any of the links in the bundle is NOT timed, then * it returns FALSE, else it returns TRUE.** RETURNS: TRUE/FALSE*/BOOL if_all_the_links_are_timed 	(	PFW_PLUGIN_OBJ_STATE 	* pMpFramingLayerState	)	{	UINT link_index;	MP_FRAMING_LAYER_STACK_DATA * pStackData = 		(MP_FRAMING_LAYER_STACK_DATA *) pMpFramingLayerState->stackData ;	for (link_index = 0x0000; link_index < 		pStackData->bundle.receiving_end.no_of_links; ++link_index)		{		if 		(pStackData->bundle.receiving_end.links[link_index].link_has_been_timed 																	== FALSE)			return (FALSE);		}			return (TRUE); 	}/******************************************************************************** find_longest_delay_of_all_links - find the longest delay of all the links in *																	the bundle** This function finds the longest delay of the links in the bundle. This * function is used by the mp_estimate_buffer_requirement function during the * buffer calculation for the bundle. The MAX delay among all the links in the * bundle is calculated.** RETURNS: delay value*/double find_longest_delay_of_all_links 	(	PFW_PLUGIN_OBJ_STATE 	* pMpFramingLayerState	)	{	UINT link_index;	MP_FRAMING_LAYER_STACK_DATA * pStackData = 		(MP_FRAMING_LAYER_STACK_DATA *) pMpFramingLayerState->stackData ;	double longest_delay = 0.0;	for (link_index = 0x0000; link_index < 			pStackData->bundle.receiving_end.no_of_links; ++link_index)		{ 		if (pStackData->bundle.receiving_end.links[link_index].delay > 															longest_delay)			longest_delay =				pStackData->bundle.receiving_end.links[link_index].delay;		}	return (longest_delay);	}/******************************************************************************** mp_estimate_buffer_requirement - calculate the buffer requirement for the *									Bundle** This function calculates the buffer requirement for the bundle using the * method proposed in the RFC 1990. It uses find_longest_delay_of_all_links * function to find the longest delay of all the links in the bundle. It * calculates the data rate of the channel, relative delay of the links and * calculates the slippage as dataRateOfChannel multiplied by the relativeDelay * value. The estimated buffer size is calculated as twice the sum of slippage * and local MRU of all the links in the bundle.** RETURNS: N/A*/void mp_estimate_buffer_requirement 	(	PFW_PLUGIN_OBJ_STATE 	* pMpFramingLayerState	)	{	UINT link_index;	MP_FRAMING_LAYER_STACK_DATA * pStackData = 		(MP_FRAMING_LAYER_STACK_DATA *) pMpFramingLayerState->stackData ;	double estimated_buffer_size;	double longest_delay_of_all_links;	double link_slippage;	double dataRateOfChannel;	double relativeDelay;	ULONG link_MRU;	estimated_buffer_size = 0x00000000;	/* bytes */		if (if_all_the_links_are_timed (pMpFramingLayerState) == TRUE)		{		longest_delay_of_all_links = find_longest_delay_of_all_links 														(pMpFramingLayerState);		}	else		return;	for (link_index = 0x0000; 		link_index < pStackData->bundle.receiving_end.no_of_links; ++link_index)		{		relativeDelay = longest_delay_of_all_links - 					pStackData->bundle.receiving_end.links[link_index].delay;			dataRateOfChannel = 			pStackData->bundle.memberLinks[link_index].speed /												 NUMBER_OF_BITS_IN_A_BYTE;		link_slippage = dataRateOfChannel * relativeDelay; 				link_MRU = pStackData->bundle.receiving_end.links[link_index].localMRU;				estimated_buffer_size += (link_slippage + link_MRU);		}		estimated_buffer_size *= 2;			/* ... SHOULD allocate at least twice that. RFC 1717. p12. */	pStackData->bundle.receiving_end.buffer.estimated_size = 										(ULONG) estimated_buffer_size;	pStackData->bundle.receiving_end.buffer.size_estimated = TRUE;	printf ("MP: MP (re-)estimates the buffer size for bundle %d \		to be %ld bytes", (int) pMpFramingLayerState->stackObj, \		pStackData->bundle.receiving_end.buffer.estimated_size);	}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区女| 亚洲码国产岛国毛片在线| 久久国产精品色婷婷| 亚洲视频免费看| 欧美成人一区二区三区在线观看| 99综合影院在线| 国产在线不卡一区| 日韩中文字幕一区二区三区| 综合亚洲深深色噜噜狠狠网站| 日韩女优电影在线观看| 91精彩视频在线观看| 国产精品白丝av| 美女视频免费一区| 亚洲第一会所有码转帖| 中文字幕在线播放不卡一区| 久久久综合网站| 日韩精品一区二| 777奇米四色成人影色区| 日韩欧美在线网站| 国产乱人伦偷精品视频免下载| 国产精品动漫网站| 91最新地址在线播放| 亚洲大片在线观看| 欧美国产1区2区| 日韩av二区在线播放| 91免费在线播放| 日韩福利电影在线| 亚洲一区二区在线免费看| 日本三级亚洲精品| 日韩亚洲欧美一区二区三区| 欧美日韩一级大片网址| 在线亚洲人成电影网站色www| 国产成人亚洲精品狼色在线| 国产一区中文字幕| 狠狠狠色丁香婷婷综合激情| 美女任你摸久久| 六月丁香婷婷色狠狠久久| 日本视频在线一区| 丝袜亚洲另类丝袜在线| 五月天精品一区二区三区| 亚洲va韩国va欧美va精品| 亚洲一区日韩精品中文字幕| 夜夜嗨av一区二区三区网页 | 亚洲精品中文字幕乱码三区| 亚洲视频在线一区二区| 亚洲色图在线视频| 夜夜揉揉日日人人青青一国产精品| 亚洲精品视频自拍| 亚洲图片欧美视频| 日韩有码一区二区三区| 精品一区免费av| 国产精品一区二区在线播放| 国产91精品免费| 99久久99久久精品免费观看| 日本道色综合久久| 5566中文字幕一区二区电影| 欧美一级在线视频| 国产午夜亚洲精品不卡| 亚洲欧美日韩一区| 五月激情丁香一区二区三区| 色婷婷av一区二区三区软件| 99久久精品免费| 欧美日韩亚洲另类| 91精品国产高清一区二区三区 | 欧美一区二区三区视频免费| 性做久久久久久| 青青草伊人久久| 国产精品亚洲一区二区三区妖精| 久久66热re国产| 狠狠色狠狠色综合| 蜜桃91丨九色丨蝌蚪91桃色| 久久精品国产一区二区| 久久电影网站中文字幕| 风间由美中文字幕在线看视频国产欧美| 久久精品99久久久| 成人精品一区二区三区四区 | 一区二区三区在线视频播放| 亚洲成av人在线观看| 狠狠狠色丁香婷婷综合激情| 99久久国产综合精品色伊| 欧美日本一区二区在线观看| 久久丝袜美腿综合| 亚洲午夜精品网| 国产在线精品一区二区三区不卡| 91影视在线播放| 日韩精品一区二区在线观看| 亚洲三级在线免费观看| 九一九一国产精品| 欧美伊人久久久久久久久影院| 欧美成人a视频| 亚洲免费观看高清完整版在线观看| 日韩av电影天堂| 97精品久久久午夜一区二区三区| 欧美裸体一区二区三区| 1024国产精品| 国产主播一区二区| 在线播放亚洲一区| 亚洲久草在线视频| 国产激情一区二区三区四区| 欧美日本视频在线| 亚洲欧美视频在线观看| 国产精品中文字幕欧美| 欧美精三区欧美精三区| 亚洲色图色小说| 国产福利91精品一区二区三区| 欧美一区二区三区白人| 一区二区三区视频在线观看| 国产在线播放一区二区三区| 制服丝袜av成人在线看| 日韩理论片在线| 成人综合婷婷国产精品久久 | 26uuu国产一区二区三区| 日韩欧美一区中文| 亚洲午夜久久久| 91亚洲精品乱码久久久久久蜜桃| 欧美videossexotv100| 亚洲一区在线播放| 色婷婷综合久久久久中文| 怡红院av一区二区三区| 91国在线观看| 日韩精品午夜视频| 精品国产免费人成电影在线观看四季 | 日产欧产美韩系列久久99| 欧美一区二区免费| 91精品国产手机| 亚洲成人激情自拍| 99精品久久免费看蜜臀剧情介绍| 国产亚洲成aⅴ人片在线观看| 国产麻豆成人精品| 26uuu亚洲综合色欧美| 久久er99热精品一区二区| 日韩一区二区在线播放| 日韩成人伦理电影在线观看| 538在线一区二区精品国产| 亚洲va国产va欧美va观看| 欧美日韩久久久| 蜜臀国产一区二区三区在线播放| 欧美二区三区的天堂| 青青青伊人色综合久久| 日韩视频一区二区| 久久精品久久精品| 久久亚洲综合色| 成人av免费在线| 伊人开心综合网| 欧美精品v日韩精品v韩国精品v| 五月天激情综合网| 日韩精品在线一区二区| 国产精品资源站在线| 国产日韩三级在线| 成a人片亚洲日本久久| 亚洲日本中文字幕区| 在线观看精品一区| 日韩和的一区二区| 2023国产精品| www.亚洲人| 图片区日韩欧美亚洲| 精品少妇一区二区三区免费观看| 国产一区二区三区久久久| 国产精品色噜噜| 欧美三级中文字| 精品一区二区三区视频| 国产精品日韩成人| 欧美精三区欧美精三区| 精品一二三四区| 亚洲精品视频免费看| 制服丝袜一区二区三区| 国产成人午夜精品影院观看视频 | 欧美疯狂性受xxxxx喷水图片| 久久99久久99精品免视看婷婷 | 青青草91视频| 国产蜜臀97一区二区三区| 在线观看免费成人| 精品一区二区三区免费播放| 国产精品全国免费观看高清| 欧美日韩精品欧美日韩精品| 国产一区二区网址| 亚洲小说春色综合另类电影| 欧美电影免费提供在线观看| 91免费版pro下载短视频| 三级欧美在线一区| 中文字幕中文乱码欧美一区二区| 欧美日韩国产系列| 国产999精品久久久久久| 丝袜国产日韩另类美女| 中文字幕一区二区在线观看| 欧美日韩在线三区| 国产v日产∨综合v精品视频| 五月综合激情网| 中文字幕中文在线不卡住| 欧美成人国产一区二区| 欧美午夜寂寞影院| 成人av午夜电影| 国产在线麻豆精品观看| 亚洲国产视频a| 亚洲视频中文字幕| 久久久91精品国产一区二区精品| 欧美三级韩国三级日本一级| 不卡视频一二三| 狠狠v欧美v日韩v亚洲ⅴ| 亚洲成人av中文|