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

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

?? radius_acct_mib.c

?? vxworks下radius協(xié)議棧 的源代碼
?? C
?? 第 1 頁 / 共 2 頁
字號(hào):
/* radius_acct_mib.c */#ifdef __RADIUS_MIB__/**************************************************************************************************************************************************************** This file was automatically generated by Wind River Systems**** Emissary SNMP MIB Compiler, version 7.0.**** This file was generated using the -stub switch.**** **** This file contains stub function declarations to aid in building**** the agent MIB interface.  It creates all the MIB get, set, test, and**** next method routines that you will need to supply.  However,**** since it doesn't know your system, several things are left to you.**** Look for comments with `!!!' in them for places you're likely to want**** to change for your system.  Also, while the layout of the method**** routines is a commonly useful one, it will not fit all data structures**** and systems.  Look at this output as a guide to how to write your**** method routines; a guide that will, in most cases, significantly reduce**** the amount of typing you need to do.**** **** The code here assumes you've created a file called `mibleaf.h' with**** the -leaf option to the mibcompiler.**** **** YOU WILL PROBABLY MODIFY THIS FILE BUT BEWARE ACCIDENTALLY**** OVERWRITING IT BY REGENERATING IT WITH THE MIB COMPILER.**** **** Last build date: Thu Feb 17 17:32:59 2000**** from files:****  rfc2571.mib, rfc2620.mib*************************************************************************************************************************************************************//* Copyright 1984 - 2000 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history____________________01e,26jan01,tk	ifdef out entire file if __RADIUS_MIB__ is not defined 01d,22dec00,md  changed radiusAccServerEntryGet() to return only acct server type01c,22dec00,md  changed radiusAccServerEntryNext() to return only acct server type01b,19dec00,md  Fixed bug - radiusAccServerEntryNext() to search entire server                list instead of just basing on the compl01a,19dec00,md  merged from visual source safe*/#include "radius.h"#include "radius_mib_include.h"/********************************************************************************* Global Varialbles.********************************************************************************/M2_RADIUS_ACC_SERVER_INFO radiusAccServerInfo;M2_RADIUS_ACC_CLIENT_INFO radiusAccClientInfo;/********************************************************************************* Private function prototypes.********************************************************************************/void acc_server_mib_stat_sync 	(M2_RADIUS_ACC_SERVER_INFO* pRadiusAccServerInfo, RADIUS_SERVER_STATISTICS *pServerStat);static int radiusAccServerEntry_lookup 	(int compc, OIDC_T *compl, M2_RADIUS_ACC_SERVER_INFO* data);static unsigned radiusAccServerEntry_build_instance 	(M2_RADIUS_ACC_SERVER_INFO* data, OIDC_T* tmp_inst);/********************************************************************************* Method routines for the radiusAuthServerTable:********************************************************************************//******************************************************************************** radiusAcctServerEntryGetValue** An internal routine to retrieve the values of the variables, used by the * method routines radiusAcctServerEntryGet and radiusAcctServerEntryNext.* Parameters to this routine are** <lastmatch> 	- the last oid component that was matched to get to this leaf.* <pktp>      	- ptr to internal representation of the snmp pkt.* <vbp>       	- ptr to var bind being processed.* <pRadiusServerInfo>*			  	- the structure holding the info of RADIUS server.*******************************************************************************/static int  radiusAccServerEntryGetValue(OIDC_T      lastmatch,                                 SNMP_PKT_T *pktp,                                 VB_T       *vbp,                                 M2_RADIUS_ACC_SERVER_INFO *pRadiusAcctServerInfo)    {	switch(lastmatch) 		{		case LEAF_radiusAccServerAddress:			getproc_got_ip_address(pktp, vbp, 					pRadiusAcctServerInfo->radiusAccServerAddress);		break;		case LEAF_radiusAccClientServerPortNumber:			getproc_got_int32(pktp, vbp, 					pRadiusAcctServerInfo->radiusAccClientServerPortNumber);		break;				case LEAF_radiusAccClientRoundTripTime:			getproc_got_uint32(pktp, vbp, 					pRadiusAcctServerInfo->radiusAccClientRoundTripTime, VT_TIMETICKS);		break;		case LEAF_radiusAccClientRequests:			getproc_got_uint32(pktp, vbp, 					pRadiusAcctServerInfo->radiusAccClientRequests, VT_COUNTER);		break;		case LEAF_radiusAccClientRetransmissions:			getproc_got_uint32(pktp, vbp, 					pRadiusAcctServerInfo->radiusAccClientRetransmissions, VT_COUNTER);		break;		case LEAF_radiusAccClientResponses:			getproc_got_uint32(pktp, vbp, 					pRadiusAcctServerInfo->radiusAccClientResponses, VT_COUNTER);		break;		case LEAF_radiusAccClientMalformedResponses:			getproc_got_uint32(pktp, vbp, 					pRadiusAcctServerInfo->radiusAccClientMalformedResponses, VT_COUNTER);		break;		case LEAF_radiusAccClientBadAuthenticators:			getproc_got_uint32(pktp, vbp, 					pRadiusAcctServerInfo->radiusAccClientBadAuthenticators, VT_COUNTER);		break;		case LEAF_radiusAccClientPendingRequests:			getproc_got_uint32(pktp, vbp, 					pRadiusAcctServerInfo->radiusAccClientPendingRequests, VT_GAUGE);		break;		case LEAF_radiusAccClientTimeouts:			getproc_got_uint32(pktp, vbp, 					pRadiusAcctServerInfo->radiusAccClientTimeouts, VT_COUNTER);		break;		case LEAF_radiusAccClientUnknownTypes:			getproc_got_uint32(pktp, vbp, 					pRadiusAcctServerInfo->radiusAccClientUnknownTypes, VT_COUNTER);		break;		case LEAF_radiusAccClientPacketsDropped:			getproc_got_uint32(pktp, vbp, 					pRadiusAcctServerInfo->radiusAccClientPacketsDropped, VT_COUNTER);		break;		default:			return GEN_ERR;	}	return NO_ERROR;}/*******************************************************************************  radiusAccServerEntryGet**  Get method routine for for RADIUS Authentication server table***  Parameters to this routine are**  <lastmatch> - the last oid component that was matched to get to this leaf.*  <compc>     - count of components remaining in the unmatched portion i.e.*                the length of the instance portion.*  <compl>     - ptr to the oid sequence remaining, i.e. the instance portion.*  <pktp>      - ptr to internal representation of the snmp pkt.*  <vbp>       - ptr to var bind being processed.** RETURNS : N/A*******************************************************************************/void  radiusAccServerEntryGet (OIDC_T      lastmatch,                           int         compc,                           OIDC_T     *compl,                           SNMP_PKT_T *pktp,                           VB_T       *vbp){	int error;	/* find all the varbinds that share the same getproc and instance */	snmpdGroupByGetprocAndInstance(pktp, vbp, compc, compl);	/* use the instance (compc and compl) to look up the entry in the	* table.  This lookup routine will probably have to be changed to	* suit your system. 	*/	if (radiusAccServerEntry_lookup(compc, compl, &radiusAccServerInfo) != 0)		{		for ( ; vbp != NULL; vbp = vbp->vb_link)			{		    getproc_nosuchins(pktp, vbp);		    }		}		else		{		/* retrieve all the values from the same data structure */		for ( ; vbp != NULL; vbp = vbp->vb_link)			{			if ((error = radiusAccServerEntryGetValue				(vbp->vb_ml.ml_last_match, pktp, vbp, &radiusAccServerInfo)) != NO_ERROR)				{				getproc_error(pktp, vbp, error);				}			}		}}/*******************************************************************************  radiusAccServerEntryNext**  Next method routine for RADIUS Authentication server table***  Parameters to this routine are**  <lastmatch> - the last oid component that was matched to get to this leaf.*  <compc>     - count of components remaining in the unmatched portion i.e.*                the length of the instance portion.*  <compl>     - ptr to the oid sequence remaining, i.e. the instance portion.*  <pktp>      - ptr to internal representation of the snmp pkt.*  <vbp>       - ptr to var bind being processed.** RETURNS : N/A*******************************************************************************/void radiusAccServerEntryNext(OIDC_T      lastmatch,                            int         compc,                            OIDC_T     *compl,                            SNMP_PKT_T *pktp,                            VB_T       *vbp){	M2_RADIUS_ACC_SERVER_INFO *pRadiusAccServerInfo = &radiusAccServerInfo;	RW_CONTAINER_ITERATOR server_iterator;	RADIUS_SERVER* p_server = NULL;	RADIUS_SERVER_STATISTICS *p_server_stat;	RADIUS_SERVER *data;    RADIUS_SERVER *best;	OIDC_T tmp_inst [RADIUS_TBL_INDEX_LEN];	OIDC_T best_inst[RADIUS_TBL_INDEX_LEN];	unsigned inst_len;    unsigned best_inst_len;	int error;	int i;	bool found = false;	/* find all the varbinds that share the same getproc and instance */	snmpdGroupByGetprocAndInstance (pktp, vbp, compc, compl);	/* generate the instance of each table entry and find the	 * smallest instance that's larger than compc/compl	 */	best = 0;	semTake (g_sem_radius_mib, WAIT_FOREVER);	server_iterator = rw_container_create_copy_of_iterator 		(radius.server_controller.iterator);	rw_container_goto_front (server_iterator);	while (rw_container_is_at_end (server_iterator) == false)			{			data = rw_container_at (server_iterator);			if (data != NULL)				{				if (data->type == RADIUS_ACCOUNTING_SERVER_TYPE)                    {					inst_len = RADIUS_TBL_INDEX_LEN;					*tmp_inst = (UINT) data;    				if ((oidcmp2(inst_len, tmp_inst, compc, compl) > 0) &&       					((!best || (oidcmp2(inst_len, tmp_inst,							   inst_len, best_inst) < 0)))) 						{      					best = data;      					for (i = 0; i < inst_len; i++)       			 			best_inst[i] = tmp_inst[i];						best_inst_len = inst_len;    					}					}				}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久99九九99精品| 亚洲麻豆国产自偷在线| 色婷婷狠狠综合| 日韩成人免费在线| 中文字幕一区二区不卡| 欧美一区二区观看视频| 91美女福利视频| 久久精品国产77777蜜臀| 亚洲欧美日韩综合aⅴ视频| 久久众筹精品私拍模特| 欧美日韩国产美女| 91在线视频官网| 国产福利一区在线观看| 蜜臀a∨国产成人精品| 亚洲色欲色欲www| 日本一区免费视频| 日韩美女视频在线| 欧美日韩在线免费视频| 91亚洲国产成人精品一区二区三| 九九精品一区二区| 日本视频免费一区| 亚洲午夜久久久久久久久电影网| ...xxx性欧美| 中文字幕亚洲综合久久菠萝蜜| 久久久久一区二区三区四区| 日韩精品在线看片z| 欧美日韩国产小视频在线观看| 91免费在线看| aaa国产一区| 成人自拍视频在线| 从欧美一区二区三区| 国产精品资源网| 激情欧美一区二区| 国内精品国产成人国产三级粉色| 日韩精品一级中文字幕精品视频免费观看| 亚洲少妇中出一区| 亚洲另类在线制服丝袜| 久久国产尿小便嘘嘘尿| 亚洲第一综合色| 亚洲第一会所有码转帖| 午夜电影久久久| 日韩黄色免费电影| 视频一区二区中文字幕| 日韩高清不卡一区二区| 麻豆成人av在线| 久久精品国产网站| 九九视频精品免费| 国产成人午夜电影网| 国产91丝袜在线播放| www.亚洲人| 91麻豆精品在线观看| 在线精品视频免费观看| 欧美视频自拍偷拍| 欧美日韩久久不卡| 日韩视频免费直播| 久久久久亚洲综合| 亚洲欧洲国产日本综合| 夜夜亚洲天天久久| 日韩精品亚洲一区| 国产另类ts人妖一区二区| 国产jizzjizz一区二区| 91伊人久久大香线蕉| 欧美视频在线播放| 欧美一区二区三区思思人| 久久综合一区二区| 国产精品视频九色porn| 亚洲精品视频在线| 毛片av一区二区| 成人自拍视频在线观看| 精品视频在线免费观看| 精品国产一区二区精华| 国产精品免费丝袜| 午夜免费久久看| 国产伦精品一区二区三区免费迷 | 欧美一区二区三区日韩视频| 日韩精品一区二区在线观看| 中文字幕日韩欧美一区二区三区| 亚洲国产综合色| 国产一区二区调教| 在线免费观看不卡av| 欧美成人性战久久| 亚洲欧美视频在线观看视频| 美国欧美日韩国产在线播放| 欧美一区二区三区视频| 国产精品免费人成网站| 亚洲第一在线综合网站| 丁香啪啪综合成人亚洲小说 | 亚洲成人精品影院| 国产真实乱偷精品视频免| 在线观看不卡一区| 精品国产免费一区二区三区四区 | 亚洲女人****多毛耸耸8| 日本一道高清亚洲日美韩| 成人一区二区三区在线观看| 欧美色图第一页| 亚洲国产精品黑人久久久| 天使萌一区二区三区免费观看| 国产成人免费视频网站高清观看视频 | 精品国产乱码久久久久久闺蜜| 亚洲日本一区二区三区| 国产麻豆一精品一av一免费| 欧美日韩精品一区二区三区 | 日韩精品在线一区| 亚洲一区免费视频| 高清av一区二区| 日韩欧美激情四射| 亚洲国产乱码最新视频| aaa亚洲精品| 国产欧美1区2区3区| 秋霞午夜av一区二区三区 | 精品国产乱码久久久久久图片| 亚洲夂夂婷婷色拍ww47| 成人午夜在线免费| 日韩欧美一卡二卡| 一区二区三区成人| 成人午夜免费电影| 久久精品夜色噜噜亚洲aⅴ| 蜜臀精品久久久久久蜜臀| 欧美亚一区二区| 亚洲欧美激情一区二区| 不卡在线视频中文字幕| 久久久久国产免费免费| 日韩中文字幕区一区有砖一区| 色久优优欧美色久优优| 成人欧美一区二区三区小说| 丁香婷婷深情五月亚洲| 国产亚洲精品aa| 国产成人综合在线观看| 久久久久久免费毛片精品| 免费在线观看一区二区三区| 欧美丰满一区二区免费视频| 亚洲va在线va天堂| 欧美久久免费观看| 亚洲国产视频一区| 欧美日韩精品欧美日韩精品| 亚洲成av人综合在线观看| 精品污污网站免费看| 水野朝阳av一区二区三区| 7777精品伊人久久久大香线蕉的 | 懂色av一区二区三区蜜臀| www精品美女久久久tv| 精品一区二区三区在线观看| 日韩午夜中文字幕| 久久www免费人成看片高清| 日韩美女在线视频| 国产另类ts人妖一区二区| 久久精品视频免费| 高清在线成人网| 成人免费在线视频观看| 91麻豆国产自产在线观看| 一区二区三区在线视频观看| 在线免费观看日本欧美| 午夜电影久久久| 精品人在线二区三区| 国模套图日韩精品一区二区| 国产欧美精品国产国产专区| 91欧美一区二区| 偷拍亚洲欧洲综合| 精品美女一区二区| 国产成人啪午夜精品网站男同| 亚洲欧美日韩在线| 欧美日韩一二区| 久久国产精品99久久久久久老狼| 国产视频一区二区在线观看| 日韩精品一区二区在线| 国产专区综合网| 亚洲欧美电影院| 欧美一级专区免费大片| 国产激情一区二区三区桃花岛亚洲| 国产精品初高中害羞小美女文| 欧洲精品在线观看| 精品一区精品二区高清| 亚洲视频免费观看| 日韩视频一区二区三区| www.99精品| 日韩精品视频网| 中文字幕欧美一| 欧美精品成人一区二区三区四区| 国产麻豆欧美日韩一区| 亚洲精品免费在线| 精品国产乱码久久久久久老虎| 99久久夜色精品国产网站| 免费在线看成人av| 1024亚洲合集| 日韩精品一区二区三区视频在线观看 | av一区二区三区| 日本成人中文字幕在线视频 | 国产精品欧美一区二区三区| 欧美视频第二页| 粉嫩aⅴ一区二区三区四区| 亚洲成人综合网站| 中文字幕免费不卡| 日韩欧美国产午夜精品| 色域天天综合网| 国产一区二区美女诱惑| 香蕉av福利精品导航| 国产精品久久久久久久久快鸭 | 在线观看一区二区视频| 国产一二三精品| 蜜臀av一区二区在线观看|