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

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

?? m2lib.c

?? vxwork源代碼
?? C
字號(hào):
/* m2Lib.c - MIB-II API library for SNMP agents *//* Copyright 1984 - 2000 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------01f,25oct00,ham  doc: cleanup for vxWorks AE 1.0.01e,25jan95,jdi  doc cleanup.01d,11nov94,rhp  minor correction to library man page.01c,10nov94,rhp  edited man pages.01b,15feb94,jag  added MIB-II library documentation.01a,05jan94,elh  written*//*DESCRIPTIONThis library provides Management Information Base (MIB-II, defined inRFC 1213) services for applications wishing to have access to MIBparameters.To use this feature, include the following component:INCLUDE_MIB2_ALLThere are no specific provisions for MIB-I: all servicesare provided at the MIB-II level.  Applications that use this libraryfor MIB-I must hide the MIB-II extensions from higher level protocols.The library accesses all the MIB-II parameters, and presents them tothe application in data structures based on the MIB-II specifications.The routines provided by the VxWorks MIB-II library are separatedinto groups that follow the MIB-II definition.  Each supported grouphas its own interface library:.iP m2SysLib 15 3systems group.iP m2IfLibinterface group.iP m2IpLibIP group (includes AT).iP m2IcmpLibICMP group .iP m2TcpLibTCP group .iP m2UdpLibUDP group .LPMIB-II retains the AT group for backward compatibility, butincludes its functionality in the IP group.  The EGP and SNMP groupsare not supported by this interface.  The variables in each group havebeen subdivided into two types: table entries and scalar variables.Each type has a pair of routines that get and set the variables.USING THIS LIBRARYThere are four types of operations on each group:  - initializing the group  - getting variables and table entries  - setting variables and table entries  - deleting the group  Only the groups that are to be used need be initialized.  There is oneexception: to use the IP group, the interface group must also beinitialized.  Applications that require MIB-II support from all groups caninitialize all groups at once by calling the m2Init().  All MIB-II groupservices can be disabled by calling m2Delete().  Applications that needaccess only to a particular set of groups need only call theinitialization routines of the desired groups.To read the scalar variables for each group, call one of the followingroutines:    m2SysGroupInfoGet()    m2IfGroupInfoGet()    m2IpGroupInfoGet()    m2IcmpGroupInfoGet()    m2TcpGroupInfoGet()    m2UdpGroupInfoGet()The input parameter to the routine is always a pointer to a structurespecific to the associated group.  The scalar group structures followthe naming convention "M2_<groupname>".  The get routines fill in theinput structure with the values of all the group variables.The scalar variables can also be set to a user supplied value. Not allgroups permit setting variables, as specified by the MIB-II definition.  The following group routines allow setting variables:    m2SysGroupInfoSet()    m2IpGroupInfoSet()The input parameters to the variable-set routines are a bit fieldthat specifies which variables to set, and a group structure.  Thestructure is the same structure type used in the get operation.Applications need set only the structure fields corresponding to thebits that are set in the bit field.The MIB-II table routines read one entry at a time.  Each MIB-II groupthat has tables has a get routine for each table.  The followingtable-get routines are available:    m2IfTblEntryGet()    m2IpAddrTblEntryGet()    m2IpAtransTblEntryGet()    m2IpRouteTblEntryGet()    m2TcpConnEntryGet()    m2UdpTblEntryGet()The input parameters are a pointer to a table entry structure, and aflag value specifying one of two types of table search.  Each tableentry is a structure, where the struct type name follows this namingconvention: "M2_<Groupname><Tablename>TBL".  The MIB-II RFC specifies anindex that identifies a table entry.  Each get request must specify anindex value.  To retrieve the first entry in a table, set all theindex fields of the table-entry structure to zero, and use the searchparameter M2_NEXT_VALUE.  To retrieve subsequent entries, pass theindex returned from the previous invocation, incremented to the nextpossible lexicographical entry.  The search field can only be set tothe constants M2_NEXT_VALUE or M2_EXACT_VALUE:.iP M2_NEXT_VALUEretrieves a table entry that is either identical tothe index value specified as input, or is the closest entry followingthat value, in lexicographic order..iP M2_EXACT_VALUEretrieves a table entry that exactly matches the indexspecified in the input structure..LPSome MIB-II table entries can be added, modified and deleted.Routines to manipulate such entries are described in the manual pagesfor individual groups.All the IP network addresses that are exchanged with the MIB-IIlibrary must be in host-byte order; use ntohl() to convert addressesbefore calling these library routines.The following example shows how to initialize the MIB-II library forall groups..CS    extern FUNCPTR myTrapGenerator;    extern void *  myTrapGeneratorArg;    M2_OBJECTID mySysObjectId = { 8, {1,3,6,1,4,1,731,1} };    if (m2Init ("VxWorks 5.1.1 MIB-II library (sysDescr)",	        "support@wrs.com (sysContact)",	        "1010 Atlantic Avenue Alameda, California 94501 (sysLocation)",		 &mySysObjectId,		 myTrapGenerator,		 myTrapGeneratorArg,		 0) == OK)	/@ MIB-II groups initialized successfully @/.CEINCLUDE FILES: m2Lib.h SEE ALSO: m2IfLib, m2IpLib, m2IcmpLib, m2UdpLib, m2TcpLib, m2SysLib *//* includes */#include <vxWorks.h>#include "m2Lib.h"/******************************************************************************** m2Init - initialize the SNMP MIB-2 library ** This routine initializes the MIB-2 library by calling the initialization* routines for each MIB-2 group.  The parameters <pMib2SysDescr>* <pMib2SysContact>, <pMib2SysLocation>, and <pMib2SysObjectId> are passed* directly to m2SysInit();  <pTrapRtn> and <pTrapArg> are passed directly to* m2IfInit(); and <maxRouteTableSize> is passed to m2IpInit().** RETURNS: OK if successful, otherwise ERROR.** SEE ALSO:* m2SysInit(), m2TcpInit(), m2UdpInit(), m2IcmpInit(), m2IfInit(), m2IpInit()*/STATUS m2Init     (    char *		pMib2SysDescr,		/* sysDescr */    char *		pMib2SysContact,	/* sysContact */    char *		pMib2SysLocation,	/* sysLocation */    M2_OBJECTID	*	pMib2SysObjectId, 	/* sysObjectID */    FUNCPTR 		pTrapRtn, 		/* link up/down -trap routine */    void * 		pTrapArg,		/* trap routine arg */    int			maxRouteTableSize 	/* max size of routing table */     )    {    /* Call the initialization routine for each group in MIB-2 */    if ((m2SysInit (pMib2SysDescr, pMib2SysContact, pMib2SysLocation,		    pMib2SysObjectId) == ERROR) ||    	(m2IfInit (pTrapRtn, pTrapArg) == ERROR) ||        (m2IpInit (maxRouteTableSize) == ERROR) ||     	(m2TcpInit () == ERROR) ||    	(m2IcmpInit () == ERROR) ||	(m2UdpInit () == ERROR))	{	m2Delete ();				return (ERROR);			/* initialization failed */	}    return (OK);    }/******************************************************************************** m2Delete - delete all the MIB-II library groups** This routine cleans up the state associated with the MIB-II library.** RETURNS: OK (always).** SEE ALSO: m2SysDelete(), m2TcpDelete(), m2UdpDelete(), m2IcmpDelete(),* m2IfDelete(), m2IpDelete()*/STATUS m2Delete (void)    {    m2SysDelete ();	    m2IfDelete ();	    m2IpDelete ();    m2TcpDelete ();    m2IcmpDelete ();    m2UdpDelete ();    return (OK);    }

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆91免费观看| 久久久精品国产99久久精品芒果| 九九九久久久精品| 亚洲欧美一区二区久久| 欧美一卡二卡在线观看| 色狠狠综合天天综合综合| 九九精品一区二区| 亚洲一区二区三区视频在线播放| 久久女同互慰一区二区三区| 欧美日韩精品欧美日韩精品一综合| 国产伦精品一区二区三区免费| 亚洲伊人伊色伊影伊综合网| 欧美激情一区在线| 精品蜜桃在线看| 69av一区二区三区| 91香蕉视频黄| 成人免费毛片app| 狠狠色狠狠色合久久伊人| 五月婷婷色综合| 伊人色综合久久天天| 国产欧美日韩不卡免费| 欧美mv日韩mv国产网站app| 欧美日韩国产片| 色婷婷av久久久久久久| 成人午夜在线视频| 久久一留热品黄| 日韩一区二区免费在线观看| 欧美日韩高清一区二区| 在线精品视频免费观看| 色噜噜狠狠成人中文综合| 视频一区欧美精品| 香蕉成人啪国产精品视频综合网| 亚洲老妇xxxxxx| 综合激情成人伊人| 亚洲欧洲精品一区二区精品久久久| 久久久久久久国产精品影院| 久久精品一区蜜桃臀影院| 欧美tickling挠脚心丨vk| 日韩欧美自拍偷拍| 日韩欧美一级在线播放| 欧美一区二区三区的| 3d成人h动漫网站入口| 6080日韩午夜伦伦午夜伦| 欧美日本一区二区三区四区| 欧美日韩精品三区| 欧美一级电影网站| 国产福利91精品一区| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 久久久久国产免费免费 | 亚洲综合一二三区| 亚洲一区在线观看视频| 亚洲一区二区在线播放相泽| 一区二区三区四区激情| 91精品国产综合久久精品性色| 宅男在线国产精品| 日韩免费视频一区| 国产亚洲精品免费| 国产精品美女久久久久aⅴ| 1024国产精品| 亚洲va欧美va人人爽| 日本成人在线不卡视频| 国产一区二区精品久久| 成人毛片老司机大片| 欧美bbbbb| 国产精品一区二区久久精品爱涩| 国产99久久精品| 色94色欧美sute亚洲13| 91精品国产麻豆| 国产三级精品视频| 亚洲精品国产a久久久久久 | 亚洲精品乱码久久久久久黑人| 亚洲国产成人高清精品| 麻豆91在线看| 日韩主播视频在线| 狠狠色狠狠色综合| 色哟哟国产精品| 精品欧美一区二区久久| 国产精品久久久一区麻豆最新章节| 亚洲综合一二区| 国产主播一区二区| 日本道色综合久久| 日韩欧美国产一区在线观看| 国产精品无码永久免费888| 午夜视频在线观看一区二区| 国产一区二区在线电影| 日本aⅴ亚洲精品中文乱码| 国产**成人网毛片九色 | 国产精品理伦片| 舔着乳尖日韩一区| 成人午夜电影网站| 欧美蜜桃一区二区三区| 国产农村妇女精品| 日韩高清在线不卡| 亚洲图片一区二区| 粉嫩一区二区三区性色av| 91精品综合久久久久久| 青青草国产精品亚洲专区无| 本田岬高潮一区二区三区| 日韩一二三四区| 亚洲男同1069视频| 国产福利电影一区二区三区| 欧美精品久久久久久久久老牛影院| 欧美国产日韩一二三区| 天天综合日日夜夜精品| 91色porny蝌蚪| 成人av网站在线| 欧美成人性福生活免费看| 亚洲免费在线电影| 国产成人99久久亚洲综合精品| 欧美精品粉嫩高潮一区二区| 18成人在线观看| 懂色av一区二区夜夜嗨| 日韩一区二区精品葵司在线| 亚洲伊人色欲综合网| 91在线视频播放| 亚洲国产精品成人综合| 国内精品伊人久久久久av一坑| 欧美日韩精品福利| 一区二区三区在线视频观看| 国产精品亚洲成人| 欧美大黄免费观看| 天天射综合影视| 欧美最猛黑人xxxxx猛交| 亚洲卡通动漫在线| 99精品视频在线观看| 国产精品乱码一区二区三区软件 | 美国十次综合导航| 欧美精品乱人伦久久久久久| 亚洲综合另类小说| 色爱区综合激月婷婷| 亚洲精品中文在线观看| 色综合激情五月| 亚洲欧美激情视频在线观看一区二区三区| 国产成人精品亚洲日本在线桃色 | 亚洲精品成人天堂一二三| 99免费精品视频| 国产精品久久久久久久久快鸭| 高清不卡一区二区| 国产精品视频你懂的| 成人av在线一区二区| 国产精品不卡一区| 91美女在线视频| 亚洲综合一区二区三区| 欧美另类久久久品| 男人的天堂久久精品| 国产视频一区二区三区在线观看| 日本在线不卡视频一二三区| 91麻豆精品国产无毒不卡在线观看 | av资源站一区| 亚洲免费观看高清完整| 91高清在线观看| 欧美电视剧在线观看完整版| 韩国在线一区二区| 国产拍欧美日韩视频二区| 成人av集中营| 一区二区三区四区不卡视频| 欧美日韩成人综合在线一区二区| 日韩专区欧美专区| 久久这里只有精品首页| 成人免费精品视频| 一级精品视频在线观看宜春院| 欧美在线一二三四区| 久久午夜老司机| 99视频一区二区| 香蕉av福利精品导航| 精品99一区二区三区| 国产ts人妖一区二区| 亚洲三级在线观看| 在线成人av影院| 国产一区二区精品久久| 亚洲欧美另类图片小说| 在线播放国产精品二区一二区四区| 免费成人av在线播放| 中文字幕av一区二区三区高| 欧美性猛交xxxx黑人交| 青青草91视频| 欧美性受xxxx黑人xyx| 麻豆国产精品一区二区三区 | 欧美激情一区三区| 欧美视频一区二区三区四区| 国精产品一区一区三区mba桃花| 国产精品视频一区二区三区不卡| 欧美日本一区二区三区四区| 国产成a人亚洲| 五月婷婷久久综合| 国产精品成人一区二区三区夜夜夜 | 久久久久久久久久电影| 欧美专区亚洲专区| 另类小说一区二区三区| 亚洲黄色性网站| 国产亚洲人成网站| 欧美久久一区二区| 成人97人人超碰人人99| 日精品一区二区| 最新中文字幕一区二区三区| 精品久久人人做人人爽| 欧美性三三影院| 成人黄色综合网站| 久久国内精品视频| 亚洲国产精品嫩草影院|