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

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

?? radius_auth_mib.c

?? vxworks下radius協議棧 的源代碼
?? C
?? 第 1 頁 / 共 2 頁
字號:
/* radius_auth_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: Mon Jan 31 17:38:09 2000**** from files:****  rfc1155.smi, rfc2571.mib, rfc2618.mib*************************************************************************************************************************************************************//* Copyright 1984 - 2000 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history____________________052301	tk	Fix bug 17 from Siemens: mapping of radius internal and MIB counters is			messed up in auth_server_mib_stat_sync.012601  tk	ifdef out entire file if __RADIUS_MIB__ is not defined01d,22dec00,md  changed radiusAuthServerEntryGet() to return only auth server type01c,22dec00,md  changed radiusAuthServerEntryNext() to return only auth server type01b,19dec00,md  Fixed bug - radiusAuthServerEntryNext() to search entire server                list instead of just basing on the compl01a,19dec00,md  merged from visual source safe*/#include <asn1conf.h>#include <asn1.h>#include <buffer.h>#include <mib.h>#include <snmpdefs.h>#include <snmp.h>#include <auxfuncs.h>#include "radius.h"#include "radius_mib_include.h"/********************************************************************************* Global Varialbles.********************************************************************************/M2_RADIUS_AUTH_SERVER_INFO radiusAuthServerInfo;M2_RADIUS_AUTH_CLIENT_INFO radiusAuthClientInfo;/********************************************************************************* Private function prototypes.********************************************************************************/void auth_server_mib_stat_sync 	(M2_RADIUS_AUTH_SERVER_INFO* pradiusAuthServerInfo, RADIUS_SERVER_STATISTICS *pServerStat);static int radiusAuthServerEntry_lookup 	(int compc, OIDC_T *compl, M2_RADIUS_AUTH_SERVER_INFO* data);static unsigned radiusAuthServerEntry_build_instance 	(M2_RADIUS_AUTH_SERVER_INFO* data, OIDC_T* tmp_inst);/********************************************************************************* Method routines for the radiusAuthServerTable:********************************************************************************//******************************************************************************** radiusAuthServerEntryGetValue** An internal routine to retrieve the values of the variables, used* by the method routines radiusAuthServerEntryGet and radiusAuthServerEntryNext.* 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.* <pradiusAuthServerInfo>*			  	- the structure holding the info of RADIUS server.*******************************************************************************/static int radiusAuthServerEntryGetValue(OIDC_T      lastmatch,                                  SNMP_PKT_T *pktp,                                  VB_T       *vbp,                                  M2_RADIUS_AUTH_SERVER_INFO *pradiusAuthServerInfo){  	switch(lastmatch)	  	{	  	case LEAF_radiusAuthServerAddress:	  	    getproc_got_ip_address(pktp, vbp,	  	    		pradiusAuthServerInfo->radiusAuthServerAddress);	    break;		case LEAF_radiusAuthClientServerPortNumber:		    getproc_got_int32(pktp, vbp,		    		pradiusAuthServerInfo->radiusAuthClientServerPortNumber);	    break;		case LEAF_radiusAuthClientRoundTripTime:		    getproc_got_uint32(pktp, vbp,		    		pradiusAuthServerInfo->radiusAuthClientRoundTripTime, VT_TIMETICKS);	    break;		case LEAF_radiusAuthClientAccessRequests:		   getproc_got_uint32(pktp, vbp,		   			pradiusAuthServerInfo->radiusAuthClientAccessRequests, VT_COUNTER);	    break;		case LEAF_radiusAuthClientAccessRetransmissions:		    getproc_got_uint32(pktp, vbp,		    	   	pradiusAuthServerInfo->radiusAuthClientAccessRetransmissions, VT_COUNTER);	    break;		case LEAF_radiusAuthClientAccessAccepts:		    getproc_got_uint32(pktp, vbp,		    	   	pradiusAuthServerInfo->radiusAuthClientAccessAccepts, VT_COUNTER);	    break;		case LEAF_radiusAuthClientAccessRejects:		    getproc_got_uint32(pktp, vbp,		    		pradiusAuthServerInfo->radiusAuthClientAccessRejects, VT_COUNTER);	    break;		case LEAF_radiusAuthClientAccessChallenges:		    getproc_got_uint32(pktp, vbp,		    		pradiusAuthServerInfo->radiusAuthClientAccessChallenges, VT_COUNTER);	    break;		case LEAF_radiusAuthClientMalformedAccessResponses:		    getproc_got_uint32(pktp, vbp,		    		pradiusAuthServerInfo->radiusAuthClientMalformedAccessResponses, VT_COUNTER);	    break;		case LEAF_radiusAuthClientBadAuthenticators:		    getproc_got_uint32(pktp, vbp,		    		pradiusAuthServerInfo->radiusAuthClientBadAuthenticators, VT_COUNTER);	    break;		case LEAF_radiusAuthClientPendingRequests:	    	getproc_got_uint32(pktp, vbp,	    			pradiusAuthServerInfo->radiusAuthClientPendingRequests, VT_GAUGE);	    break;		case LEAF_radiusAuthClientTimeouts:	    	getproc_got_uint32(pktp, vbp,	    			pradiusAuthServerInfo->radiusAuthClientTimeouts, VT_COUNTER);	    break;		case LEAF_radiusAuthClientUnknownTypes:		    getproc_got_uint32(pktp, vbp,		    		pradiusAuthServerInfo->radiusAuthClientUnknownTypes, VT_COUNTER);	    break;	  	case LEAF_radiusAuthClientPacketsDropped:	    	getproc_got_uint32(pktp, vbp,	    			pradiusAuthServerInfo->radiusAuthClientPacketsDropped, VT_COUNTER);	    break;	  	default:	    	return GEN_ERR;	    }	return NO_ERROR;}/*******************************************************************************  radiusAuthServerEntryGet**  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  radiusAuthServerEntryGet(OIDC_T      lastmatch,                            int         compc,                            OIDC_T     *compl,                            SNMP_PKT_T *pktp,                            VB_T       *vbp){	M2_RADIUS_AUTH_SERVER_INFO *pradiusAuthServerInfo = &radiusAuthServerInfo;	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 (radiusAuthServerEntry_lookup(compc, compl, pradiusAuthServerInfo) != 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 = radiusAuthServerEntryGetValue	    		(vbp->vb_ml.ml_last_match, pktp, vbp, pradiusAuthServerInfo)) != NO_ERROR)				{				getproc_error(pktp, vbp, error);				}			}		}}/*******************************************************************************  radiusAuthServerEntryNext**  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  radiusAuthServerEntryNext (OIDC_T      lastmatch,                             int         compc,                             OIDC_T     *compl,                             SNMP_PKT_T *pktp,                             VB_T       *vbp){	M2_RADIUS_AUTH_SERVER_INFO* pradiusAuthServerInfo = &radiusAuthServerInfo;	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_AUTHENTICATION_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;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99久久婷婷国产综合精品电影| 色网综合在线观看| 成人av电影观看| 欧美日韩一级片网站| 久久先锋影音av鲁色资源| 中文幕一区二区三区久久蜜桃| 午夜视黄欧洲亚洲| 高清视频一区二区| 欧美一区二区在线播放| 亚洲三级在线免费观看| 精东粉嫩av免费一区二区三区| 欧美亚洲国产一区二区三区va| 久久综合九色综合久久久精品综合| 亚洲一区二区三区中文字幕 | 国产在线不卡视频| 欧美色综合网站| 中文字幕日韩av资源站| 国产做a爰片久久毛片| 欧美日本一道本在线视频| 亚洲色图制服诱惑| 成人av在线资源网站| 亚洲精品一区二区在线观看| 亚洲成av人片在线观看| 91麻豆免费看| 国产精品久久久久久久岛一牛影视 | 天堂va蜜桃一区二区三区漫画版 | 国产综合色在线视频区| 制服丝袜av成人在线看| 中文字幕第一区二区| 国产又黄又大久久| 精品黑人一区二区三区久久| 蜜臀av一级做a爰片久久| 欧美日韩一区二区在线视频| 国产精品三级电影| 成人国产精品视频| 亚洲国产高清不卡| 成人午夜视频网站| 国产精品美女久久久久av爽李琼 | 亚洲美女在线国产| 色综合天天狠狠| 亚洲欧美偷拍另类a∨色屁股| 高清shemale亚洲人妖| 久久精品免费在线观看| 国产精品99久久久久久似苏梦涵| 久久久午夜精品理论片中文字幕| 久久99精品国产麻豆婷婷| 日韩精品资源二区在线| 国内偷窥港台综合视频在线播放| 337p粉嫩大胆色噜噜噜噜亚洲| 国内精品免费在线观看| 久久久久久久免费视频了| 国产成人8x视频一区二区| 欧美国产97人人爽人人喊| 成人av电影在线播放| 伊人色综合久久天天人手人婷| 91久久精品网| 日韩精品一级二级| 国产三级欧美三级日产三级99 | 欧美高清视频www夜色资源网| 五月天亚洲精品| 日韩三级视频在线观看| 日韩精品久久久久久| 精品国产乱码久久久久久影片| 国产suv一区二区三区88区| 国产精品视频看| 91欧美一区二区| 五月婷婷久久综合| 精品久久国产字幕高潮| 成人永久aaa| 日韩毛片精品高清免费| 欧美日韩国产bt| 狠狠色2019综合网| 亚洲情趣在线观看| 8x8x8国产精品| 国产宾馆实践打屁股91| 亚洲成国产人片在线观看| ww久久中文字幕| 91久久精品网| 国产在线一区观看| 国产精品久久久久久福利一牛影视 | 日韩美女视频19| 日韩一级完整毛片| 丁香激情综合五月| 久久福利视频一区二区| 国产日产欧美一区二区三区| 91传媒视频在线播放| 精品一区二区日韩| 亚洲午夜羞羞片| 国产欧美一区在线| 欧美一区二区三区免费| 色综合久久久久网| 国产乱一区二区| 日韩专区一卡二卡| 亚洲免费观看高清在线观看| 精品久久久网站| 欧美日韩精品综合在线| 99久久99久久综合| 黑人精品欧美一区二区蜜桃 | 日韩高清电影一区| 一区二区三区国产| 国产精品欧美极品| 久久精品欧美一区二区三区麻豆| 777欧美精品| 欧美日韩一区国产| 在线免费不卡电影| 91丨九色丨国产丨porny| 国产精品白丝av| 黄色日韩网站视频| 美腿丝袜亚洲三区| 日韩1区2区日韩1区2区| 天堂久久久久va久久久久| 一区二区三区**美女毛片| 亚洲精选免费视频| 1区2区3区精品视频| 中文字幕视频一区| 亚洲欧美自拍偷拍| 亚洲精品国久久99热| 亚洲欧洲精品一区二区精品久久久 | 欧美一区二区三区视频在线| 欧美嫩在线观看| 欧美精品v国产精品v日韩精品| 欧美日韩一区二区三区在线看| 日本高清不卡视频| 欧美三级三级三级爽爽爽| 欧美综合亚洲图片综合区| 91蝌蚪porny| 色婷婷久久久亚洲一区二区三区| 99久久精品99国产精品| 91国产精品成人| 色婷婷综合久久久久中文| 欧洲一区在线观看| 欧美一区二区成人6969| 91精品免费在线观看| 日韩美女一区二区三区| 精品国产污污免费网站入口| 久久综合九色综合欧美就去吻| 国产午夜精品一区二区| 亚洲欧洲国产日韩| 亚洲一区二区三区四区在线观看| 亚洲成a人v欧美综合天堂| 午夜久久久久久久久久一区二区| 免费成人av在线播放| 国产一区二区在线视频| 国产传媒欧美日韩成人| 91小宝寻花一区二区三区| 91久久一区二区| 91精品国产高清一区二区三区蜜臀| 欧美一卡2卡三卡4卡5免费| 欧美mv日韩mv国产网站app| 国产午夜精品久久久久久免费视| 国产精品毛片a∨一区二区三区| 亚洲宅男天堂在线观看无病毒| 日韩成人av影视| 懂色av一区二区三区免费看| 色哟哟亚洲精品| 欧美成人a视频| 亚洲色图另类专区| 蜜桃久久精品一区二区| 白白色 亚洲乱淫| 91超碰这里只有精品国产| 欧美极品少妇xxxxⅹ高跟鞋| 依依成人精品视频| 国产一区激情在线| 欧美专区在线观看一区| 国产性色一区二区| 性做久久久久久免费观看欧美| 岛国av在线一区| 欧美精品1区2区| 国产精品的网站| 狠狠色综合日日| 欧美日韩大陆一区二区| 欧美国产欧美综合| 免费看黄色91| 99国产麻豆精品| 久久久亚洲高清| 蜜臀av一区二区在线观看| 色94色欧美sute亚洲13| 精品福利视频一区二区三区| 亚洲午夜久久久久| gogo大胆日本视频一区| 久久综合精品国产一区二区三区 | 国产成a人无v码亚洲福利| 欧美二区三区的天堂| 自拍av一区二区三区| 国产成人在线免费| 日韩精品一区二区三区老鸭窝| 一二三四社区欧美黄| 91免费观看在线| 久久久亚洲欧洲日产国码αv| 免费欧美在线视频| 欧美人牲a欧美精品| 亚洲黄色性网站| 成人av在线一区二区| 精品福利在线导航| 青青草国产精品亚洲专区无| 欧美日韩精品综合在线| 亚洲无线码一区二区三区| 99国产精品99久久久久久| 日本一区二区免费在线观看视频| 国产专区综合网|