亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
日韩高清在线电影| 亚洲精品视频在线看| 亚洲国产精品精华液ab| 亚洲图片自拍偷拍| 成人综合婷婷国产精品久久| 欧美四级电影在线观看| 中文子幕无线码一区tr| 日本中文字幕一区二区视频| 色婷婷综合视频在线观看| 国产无人区一区二区三区| 日韩av不卡在线观看| 欧美性做爰猛烈叫床潮| 亚洲图片欧美激情| 国产精品一区二区视频| 欧美大片日本大片免费观看| 亚洲成av人在线观看| 99精品久久只有精品| 中文字幕欧美日韩一区| 国产美女精品人人做人人爽| 777xxx欧美| 午夜久久久久久电影| 色婷婷激情久久| 玉米视频成人免费看| 成人av在线网站| 中文字幕二三区不卡| 国产高清不卡一区| 日本一区二区三区在线不卡| 国产麻豆91精品| 国产女主播视频一区二区| 国产一区二区在线观看视频| 日韩欧美国产一区二区三区| 男男gaygay亚洲| 欧美大胆一级视频| 久久爱www久久做| 久久夜色精品国产欧美乱极品| 久久精品999| 久久九九国产精品| 99re这里都是精品| 亚洲午夜久久久久久久久电影院 | 欧美剧情电影在线观看完整版免费励志电影| 中文字幕精品一区二区精品绿巨人 | 九九视频精品免费| 欧美精品一区二| 丰满放荡岳乱妇91ww| 国产午夜精品一区二区| a在线欧美一区| 一区二区三区在线视频观看58| 91麻豆精东视频| 日本中文字幕一区二区视频| 欧美电影免费提供在线观看| 国产成人午夜电影网| 自拍偷拍亚洲欧美日韩| 欧美日韩中文精品| 狠狠色综合播放一区二区| 欧美国产综合色视频| 欧美日韩中文字幕精品| 精品一区二区免费视频| 国产精品色一区二区三区| 欧美色网一区二区| 国产一区二区日韩精品| 亚洲天堂成人在线观看| 欧美精品黑人性xxxx| 国内偷窥港台综合视频在线播放| 国产精品久久久久久久蜜臀| 欧美三级在线播放| 国产精品12区| 亚洲国产色一区| 国产日产亚洲精品系列| 在线精品视频小说1| 国产乱妇无码大片在线观看| 国产精品乱码一区二区三区软件| 欧美中文字幕久久| 国产一区二区福利视频| 亚洲午夜免费电影| 国产精品高潮呻吟久久| 欧美一区二区三区性视频| 色综合中文字幕| 美女视频黄a大片欧美| 亚洲欧美日韩电影| 久久精子c满五个校花| 欧美日韩国产另类不卡| 99久久精品一区| 国产精品中文欧美| 人人超碰91尤物精品国产| 一区二区三区在线免费播放| 国产视频911| 精品久久久影院| 欧美肥大bbwbbw高潮| 色综合色狠狠综合色| 国产成人av一区二区三区在线| 日韩影院精彩在线| 亚洲福利国产精品| 亚洲一区二区在线免费观看视频 | 国产福利一区二区三区视频在线 | 99re视频这里只有精品| 精品一区二区在线看| 天堂成人免费av电影一区| 亚洲影视在线播放| 亚洲精品亚洲人成人网| 日韩理论片网站| 国产精品久久久久久久岛一牛影视| 欧美成人官网二区| 日韩天堂在线观看| 91精品国产入口在线| 欧美色图免费看| 91国模大尺度私拍在线视频| www.av亚洲| 成人美女视频在线看| 国产酒店精品激情| 国产成人在线视频网站| 韩国女主播一区二区三区| 激情另类小说区图片区视频区| 欧美a级一区二区| 日韩高清一级片| 免费在线看成人av| 老司机免费视频一区二区三区| 免费看日韩a级影片| 久久成人免费网| 国内精品伊人久久久久影院对白| 国产一区二区三区免费看| 国产主播一区二区三区| 成人一二三区视频| 一本大道久久a久久精二百| 在线中文字幕一区二区| 欧美另类z0zxhd电影| 日韩欧美精品在线视频| 国产亚洲综合在线| 成人欧美一区二区三区白人| 亚洲男帅同性gay1069| 亚洲国产中文字幕| 日本欧美大码aⅴ在线播放| 久久99精品久久只有精品| 经典三级视频一区| 成人一区二区三区在线观看| 91一区二区在线观看| 在线观看不卡一区| 日韩一级片网址| 国产精品丝袜91| 亚洲免费观看高清完整版在线| 天天综合色天天| 国产精品亚洲一区二区三区在线| 91在线国产福利| 欧美高清性hdvideosex| 国产亚洲自拍一区| 亚洲一区二区在线观看视频 | 日欧美一区二区| 国产一区二区伦理| 91蜜桃在线观看| 欧美电影一区二区| 亚洲国产成人一区二区三区| 一区二区三区**美女毛片| 奇米精品一区二区三区四区| 国产成人av一区二区三区在线| 91久久精品日日躁夜夜躁欧美| 91精品国产免费| 中文字幕免费一区| 日韩精品一二区| av亚洲精华国产精华| 日韩视频一区二区| 亚洲精品视频免费看| 韩国v欧美v日本v亚洲v| 色婷婷久久综合| 国产欧美精品在线观看| 日韩成人免费电影| 色综合视频一区二区三区高清| 久久午夜电影网| 日韩高清不卡在线| 日本乱人伦aⅴ精品| 日本一区二区三区高清不卡| 日韩精品国产精品| 欧美日韩在线三区| 亚洲精品福利视频网站| 成人一区二区三区在线观看| 日韩视频一区二区| 视频一区视频二区中文字幕| 日本久久精品电影| 亚洲女与黑人做爰| 99天天综合性| 国产精品动漫网站| 国产白丝网站精品污在线入口| 在线不卡欧美精品一区二区三区| 亚洲欧洲成人av每日更新| 国产精品一二三四| 日韩精品专区在线| 老司机精品视频在线| 精品视频在线看| 伊人夜夜躁av伊人久久| 成人激情黄色小说| 欧美国产成人在线| 国产激情一区二区三区| 久久久国产精品不卡| 久久97超碰色| 精品理论电影在线观看| 理论电影国产精品| 精品国产一区二区亚洲人成毛片| 亚洲成a人在线观看| 欧美精品在线一区二区| 亚洲高清免费视频| 欧美日韩国产综合久久| 亚洲精品乱码久久久久|