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

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

?? radius_auth_mib.c

?? vxworks下radius協(xié)議棧 的源代碼
?? C
?? 第 1 頁 / 共 2 頁
字號:
      					for (i = 0; i < inst_len; i++)       			 			best_inst[i] = tmp_inst[i];						best_inst_len = inst_len;    					}					}				}			rw_container_next (server_iterator);			}	rw_container_free_iterator (server_iterator);	if (best)	{		found = true;		p_server = best;	}	else	{		found = false;	}	if (found == true)		{		p_server_stat = &(p_server->statistics);		pradiusAuthServerInfo->radiusAuthServerIndex = (UINT)p_server;		pradiusAuthServerInfo->radiusAuthServerAddress = htonl (p_server->ip_address);		pradiusAuthServerInfo->radiusAuthClientServerPortNumber = p_server->port;		auth_server_mib_stat_sync (pradiusAuthServerInfo, p_server_stat);		radiusAuthServerEntry_build_instance (pradiusAuthServerInfo, best_inst);	    /* we found a next so get the values and set the instance for all	     * the varbinds for this row of this table.	     * NOTE: if you allow holes in the table then this code will have to	     * change significantly to accomodate that.  */	    for ( ; vbp ; vbp = vbp->vb_link)	    	{			if ((error = radiusAuthServerEntryGetValue				(vbp->vb_ml.ml_last_match, pktp, vbp, pradiusAuthServerInfo)) == NO_ERROR)				{  				nextproc_next_instance(pktp, vbp, RADIUS_TBL_INDEX_LEN, best_inst);				}			else				{				nextproc_error(pktp, vbp, error);				}			}		}	else  /* there's no more in this table */		{	    for ( ; vbp ; vbp = vbp->vb_link )			{			nextproc_no_next(pktp, vbp);			}		}	semGive (g_sem_radius_mib);}/******************************************************************************** Method routines for the radiusAuthClient variables:********************************************************************************//******************************************************************************** radiusAuthServerEntryGetValue** An internal routine to retrieve the values of the variables, used* by the method routines radiusAuthClientGet and radiusAuthClientNext.* 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.* <pradiusAuthClientInfo>*			  	- the structure holding the info of RADIUS Client.*******************************************************************************/static int  radiusAuthClientGetValue (OIDC_T      lastmatch,                             SNMP_PKT_T *pktp,                             VB_T       *vbp,                             M2_RADIUS_AUTH_CLIENT_INFO *pradiusAuthClientInfo){	switch(lastmatch)		{		case LEAF_radiusAuthClientInvalidServerAddresses:			{			getproc_got_uint32(pktp, vbp,				radiusAuthClientInfo.radiusAuthClientInvalidServerAddresses, VT_COUNTER);			}	    break;	  	case LEAF_radiusAuthClientIdentifier:			{	    /* if the data being returned is in dynamic storage and needs	     * to be free'd, change the 0 argument to a 1. */		    getproc_got_string(pktp, vbp,		    	strlen (radiusAuthClientInfo.radiusAuthClientIdentifier),		    	radiusAuthClientInfo.radiusAuthClientIdentifier, 0, VT_STRING);			}	    break;		default:	    	return GEN_ERR;		}	return NO_ERROR;}/*******************************************************************************  radiusAuthClientGet**  Get method routine for for RADIUS Authentication client 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  radiusAuthClientGet(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);	/* check that the instance is exactly .0 */	if (!((compc == 1) && (*compl == 0)))		{		for ( ; vbp; vbp = vbp->vb_link)			{			getproc_nosuchins(pktp, vbp);			}		}	  /* grab the actual data for this variable.  this lookup routine will	   * probably have to be changed for your system.  for scalar variables	   * there might not even be any lookup routine. */	else		{/* retrieve all the values from the same data structure */	    for ( ; vbp; vbp = vbp->vb_link)	    	{	    	if ((error = radiusAuthClientGetValue	    		(vbp->vb_ml.ml_last_match, pktp, vbp, &radiusAuthClientInfo)) != NO_ERROR)				{				getproc_error(pktp, vbp, error);				}			}	    }}/*******************************************************************************  radiusAuthClientNext**  Next method routine for RADIUS Authentication Client 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  radiusAuthClientNext(OIDC_T      lastmatch,                        int         compc,                        OIDC_T     *compl,                        SNMP_PKT_T *pktp,                        VB_T       *vbp){	OIDC_T instance = 0;	/* the only time there's a next for a scalar is if we're given	 * no instance at all. */	if (compc != 0)		{	    nextproc_no_next(pktp, vbp);		}	  /* grab the data for these variables.  you'll probably have to change	   * this lookup routine for your system.  for scalar variables there	   * might not even be any lookup routine. */	else 		{	    /* find all the varbinds in this group and retrieve their	     * values from the same data structure */	    for (snmpdGroupByGetprocAndInstance (pktp, vbp, compc, compl);	        vbp; vbp = vbp->vb_link)	        {	        nextproc_next_instance(pktp, vbp, 1, &instance);			radiusAuthClientGetValue(vbp->vb_ml.ml_last_match, pktp, vbp,				&radiusAuthClientInfo);			}	    }}/********************************************************************************* Private functions.********************************************************************************/static int radiusAuthServerEntry_lookup(int compc, OIDC_T *compl, M2_RADIUS_AUTH_SERVER_INFO* pradiusAuthServerInfo){	RW_CONTAINER_ITERATOR server_iterator;	RADIUS_SERVER* p_server;	RADIUS_SERVER_STATISTICS *p_server_stat;	bool item_found = false;	if ((compc != RADIUS_TBL_INDEX_LEN) || (compl == NULL))		{		return (-1);		}	semTake (g_sem_radius_mib, WAIT_FOREVER);	server_iterator = rw_container_create_copy_of_iterator 		(radius.server_controller.iterator);	if (server_iterator != 0)		{		item_found = rw_container_find_by_content ((RW_CONTAINER_ITEM*)*compl, server_iterator);		if (item_found == true)			{			p_server = (RADIUS_SERVER*) rw_container_at (server_iterator); 	        if (p_server->type == RADIUS_AUTHENTICATION_SERVER_TYPE)				{				p_server_stat = &(p_server->statistics);								pradiusAuthServerInfo->radiusAuthServerIndex = (UINT)p_server;				pradiusAuthServerInfo->radiusAuthServerAddress = htonl (p_server->ip_address);				pradiusAuthServerInfo->radiusAuthClientServerPortNumber = p_server->port;				auth_server_mib_stat_sync (pradiusAuthServerInfo, p_server_stat);				}			else				{				item_found = false;				}			}		rw_container_free_iterator (server_iterator);		}	semGive (g_sem_radius_mib);	if (item_found == true)		{		return (0);		}	else		{		return (-1);		}}/*******************************************************************************/static unsigned radiusAuthServerEntry_build_instance (M2_RADIUS_AUTH_SERVER_INFO* data, OIDC_T* tmp_inst){	*tmp_inst = data->radiusAuthServerIndex;	return (0);} /*******************************************************************************/void auth_server_mib_stat_sync 	(M2_RADIUS_AUTH_SERVER_INFO* pradiusAuthServerInfo, RADIUS_SERVER_STATISTICS *pServerStat){	pradiusAuthServerInfo->radiusAuthClientRoundTripTime = pServerStat->authentication_round_trip_time;	pradiusAuthServerInfo->radiusAuthClientAccessRequests = pServerStat->authentication_access_requests_tx;	pradiusAuthServerInfo->radiusAuthClientAccessRetransmissions = pServerStat->authentication_access_requests_retransmit;	pradiusAuthServerInfo->radiusAuthClientAccessAccepts = pServerStat->authentication_access_accepts_rx;	pradiusAuthServerInfo->radiusAuthClientAccessRejects = pServerStat->authentication_access_rejects_rx;	pradiusAuthServerInfo->radiusAuthClientAccessChallenges = pServerStat->authentication_access_challenges_rx;	pradiusAuthServerInfo->radiusAuthClientMalformedAccessResponses = pServerStat->authentication_malformed_access_responses_rx;	pradiusAuthServerInfo->radiusAuthClientBadAuthenticators = pServerStat->authentication_bad_authenticators_rx;	pradiusAuthServerInfo->radiusAuthClientPendingRequests = pServerStat->authentication_pending_access_requests;	pradiusAuthServerInfo->radiusAuthClientTimeouts = pServerStat->authentication_timeouts;	pradiusAuthServerInfo->radiusAuthClientUnknownTypes = pServerStat->authentication_unknown_type_packets_rx;	pradiusAuthServerInfo->radiusAuthClientPacketsDropped = pServerStat->authentication_dropped_packets_rx;}/*******************************************************************************/#endif	/* __RADIUS_MIB__ */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品成人一区二区三区| 成人午夜视频网站| 日韩有码一区二区三区| 亚洲精品写真福利| 亚洲视频在线一区二区| 亚洲免费毛片网站| 亚洲人成小说网站色在线 | 色婷婷av一区二区三区之一色屋| 久草精品在线观看| 久久草av在线| 国产在线精品视频| 国产精品一线二线三线精华| 国产精品一卡二| 国产999精品久久久久久绿帽| 成人综合在线网站| 91麻豆文化传媒在线观看| 99视频在线精品| 在线精品视频小说1| 欧美日韩国产一级片| 欧美一级搡bbbb搡bbbb| 亚洲精品在线一区二区| 日本一区二区免费在线观看视频| 国产精品嫩草影院com| 亚洲欧美日本在线| 午夜天堂影视香蕉久久| 久久综合综合久久综合| 国产成a人无v码亚洲福利| 91热门视频在线观看| 欧美三级韩国三级日本一级| 欧美一区二区视频在线观看2022| 精品美女一区二区三区| 中文字幕欧美国产| 亚洲一二三四在线| 麻豆国产欧美日韩综合精品二区| 国产精品18久久久久久久久久久久| 国产精品白丝jk白祙喷水网站| av一区二区三区四区| 9191国产精品| 日本一区二区三区四区| 一区二区三区中文字幕精品精品| 亚洲成人av中文| 国产一区美女在线| 日本韩国一区二区三区| 日韩视频免费直播| 国产精品久久久久久福利一牛影视| 亚洲精品中文在线| 精品一区二区国语对白| 91浏览器在线视频| 久久综合成人精品亚洲另类欧美 | 国产精品伊人色| 色综合天天综合网天天看片| 91精品久久久久久久99蜜桃| 国产亚洲欧美激情| 日日欢夜夜爽一区| 99热精品国产| 精品国产欧美一区二区| 国产麻豆精品在线| 日本乱人伦aⅴ精品| 日韩美女一区二区三区| 亚洲视频在线观看一区| 久久精品国内一区二区三区| 色综合天天狠狠| 久久久久久**毛片大全| 污片在线观看一区二区| 波多野结衣欧美| 日韩欧美一二三| 一区二区高清视频在线观看| 国产成人综合亚洲91猫咪| 91超碰这里只有精品国产| 亚洲欧美日韩国产综合在线| 国产美女一区二区| 日韩亚洲欧美在线| 亚洲午夜在线视频| 91亚洲国产成人精品一区二区三| 久久一区二区视频| 奇米影视一区二区三区| 日本精品裸体写真集在线观看| 国产精品天美传媒| 国产精品一区二区黑丝| 日韩精品一区二区三区四区视频| 亚洲精品精品亚洲| 99r国产精品| 国产精品久久久久久久久图文区 | 爽好久久久欧美精品| 91天堂素人约啪| 国产精品国产a级| 国产精品99久久久久久久女警 | 综合中文字幕亚洲| 国产98色在线|日韩| 欧美白人最猛性xxxxx69交| 亚洲成人久久影院| 日本丶国产丶欧美色综合| 综合久久国产九一剧情麻豆| 丁香六月久久综合狠狠色| 精品国产99国产精品| 91麻豆swag| 国产精品美女久久福利网站| 粉嫩绯色av一区二区在线观看 | 日韩成人一级大片| 欧美精品久久一区| 天堂一区二区在线| 91精品国产91久久久久久一区二区| 亚洲成人久久影院| 69堂国产成人免费视频| 免费一级欧美片在线观看| 欧美三级中文字幕在线观看| 亚洲一区二区三区中文字幕在线| 色婷婷综合五月| 亚洲最大的成人av| 欧美日韩国产精选| 日韩高清一区二区| 精品噜噜噜噜久久久久久久久试看| 开心九九激情九九欧美日韩精美视频电影 | 精品1区2区在线观看| 美日韩一区二区| 久久久五月婷婷| 成人97人人超碰人人99| 亚洲少妇30p| 欧美影视一区二区三区| 日本中文在线一区| 日韩精品在线一区二区| 国产成人免费视频网站| 国产精品污www在线观看| 国产乱码精品1区2区3区| 国产精品二三区| 日本高清成人免费播放| 日欧美一区二区| 欧美va日韩va| 国产成人精品免费在线| 亚洲视频精选在线| 欧美丝袜丝交足nylons图片| 免费在线视频一区| 国产亚洲一区二区三区| 91福利国产成人精品照片| 亚洲成人av免费| 久久精品一区二区三区av| 日韩一区二区精品在线观看| 国产一区二区美女| 亚洲视频免费观看| 宅男在线国产精品| 成人精品视频一区| 亚洲一区视频在线观看视频| 欧美一区二区视频观看视频| 韩国av一区二区三区四区| 国产精品麻豆一区二区 | 国产精品久久久久永久免费观看 | 久久99精品久久只有精品| 久久久777精品电影网影网 | 国产欧美精品一区二区色综合朱莉| av中文字幕在线不卡| 亚洲国产日韩综合久久精品| 日韩一卡二卡三卡国产欧美| 成人黄色电影在线| 午夜免费欧美电影| 精品毛片乱码1区2区3区| 91日韩在线专区| 精品一区二区免费| 亚洲综合免费观看高清完整版| 精品久久久久av影院| 色综合中文综合网| 国产女人水真多18毛片18精品视频| 日本久久电影网| 国产精品一二三四区| 天天色图综合网| 国产精品国产馆在线真实露脸| 欧美一区二区视频在线观看2022| 成人免费视频视频在线观看免费| 性久久久久久久| 亚洲免费电影在线| 欧美成人官网二区| 色婷婷久久久亚洲一区二区三区| 久久91精品国产91久久小草| 亚洲免费av在线| 国产精品初高中害羞小美女文| 亚洲精品国久久99热| 久久久久久久久99精品| 欧美日韩一区视频| 99视频精品免费视频| 国产成人自拍网| 日日摸夜夜添夜夜添亚洲女人| 亚洲精品乱码久久久久久黑人| 国产午夜精品一区二区三区嫩草 | 日本韩国一区二区三区| 成人h精品动漫一区二区三区| 青青草国产精品97视觉盛宴| 亚洲自拍偷拍综合| 久久精品夜夜夜夜久久| 日韩精品一区在线观看| 欧美日本不卡视频| 色综合亚洲欧洲| 不卡一区中文字幕| 国产精品综合在线视频| 久久成人麻豆午夜电影| 日韩中文字幕麻豆| 丝袜美腿亚洲一区二区图片| 一区二区激情视频| 一区二区成人在线观看| 亚洲视频狠狠干| 樱花草国产18久久久久| 亚洲人快播电影网|