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

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

?? m2icmplib.c

?? vxworks的完整的源代碼
?? C
字號:
/* m2IcmpLib.c - MIB-II ICMP-group API for SNMP Agents *//* Copyright 1984 - 2001 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------01d,15oct01,rae  merge from truestack ver 01e, base 01c (VIRTUAL_STACK)01c,25jan95,jdi  doc cleanup.01b,11nov94,rhp  edited man pages01a,08dec93,jag  written*//*DESCRIPTIONThis library provides MIB-II services for the ICMP group.  It provides routinesto initialize the group, and to access the group scalar variables. For abroader description of MIB-II services, see the manual entry for m2Lib.To use this feature, include the following component:INCLUDE_MIB2_ICMPUSING THIS LIBRARYThis library can be initialized and deleted by calling the routinesm2IcmpInit() and m2IcmpDelete() respectively, if only the ICMP group's servicesare needed.  If full MIB-II support is used, this group and all othergroups can be initialized and deleted by calling m2Init() andm2Delete().The group scalar variables are accessed by callingm2IcmpGroupInfoGet() as follows:.CS    M2_ICMP   icmpVars;    if (m2IcmpGroupInfoGet (&icmpVars) == OK)	/@ values in icmpVars are valid @/.CEINCLUDE FILES: m2Lib.h SEE ALSO:m2Lib, m2IfLib, m2IpLib, m2TcpLib, m2SysLib*//* includes */#include <vxWorks.h>#include "m2Lib.h"#include <netinet/in.h>#include <netinet/in_systm.h>#include <netinet/ip.h>#include <netinet/ip_icmp.h>#include <netinet/icmp_var.h>#include "errnoLib.h"#include "semLib.h"#ifdef VIRTUAL_STACK#include "netinet/vsLib.h"#endif /* VIRTUAL_STACK *//* external declarations */#ifndef VIRTUAL_STACKextern struct icmpstat    icmpstat;   	/* ICMP statistics structure */#endif /* VIRTUAL_STACK *//********************************************************************************* m2IcmpInit - initialize MIB-II ICMP-group access** This routine allocates the resources needed to allow access to the MIB-II* ICMP-group variables.  This routine must be called before any ICMP variables* can be accessed.** RETURNS: OK, always.** SEE ALSO: m2IcmpGroupInfoGet(), m2IcmpDelete()*/STATUS m2IcmpInit (void)    {    return (OK);    }/******************************************************************************** m2IcmpGroupInfoGet - get the MIB-II ICMP-group global variables** This routine fills in the ICMP structure at <pIcmpInfo> with the * MIB-II ICMP scalar variables.** RETURNS: OK, or ERROR if the input parameter <pIcmpInfo> is invalid.** ERRNO:* S_m2Lib_INVALID_PARAMETER** SEE ALSO: m2IcmpInit(), m2IcmpDelete()*/STATUS m2IcmpGroupInfoGet    (    M2_ICMP * pIcmpInfo          /* pointer to the ICMP group structure */    )    {    int ix;     /* Validate Pointer to ICMP structure */     if (pIcmpInfo == NULL)	{	errnoSet (S_m2Lib_INVALID_PARAMETER);        return (ERROR);	}     pIcmpInfo->icmpInMsgs  = 0;    pIcmpInfo->icmpOutMsgs = 0;     /* Add the counts of all the packet types Sent and Received */     for (ix = 0; ix < ICMP_MAXTYPE; ix++)        {#ifdef VIRTUAL_STACK        pIcmpInfo->icmpInMsgs      += _icmpstat.icps_inhist [ix];        pIcmpInfo->icmpOutMsgs     += _icmpstat.icps_outhist [ix];#else        pIcmpInfo->icmpInMsgs      += icmpstat.icps_inhist [ix];        pIcmpInfo->icmpOutMsgs     += icmpstat.icps_outhist [ix];#endif /* VIRTUAL_STACK */        }     /* Add to the Input count the ICMP packets received in error */ #ifdef VIRTUAL_STACK    pIcmpInfo->icmpInMsgs          += _icmpstat.icps_badcode +                                      _icmpstat.icps_tooshort +                                      _icmpstat.icps_checksum +                                      _icmpstat.icps_badlen;     pIcmpInfo->icmpInErrors         = _icmpstat.icps_badcode +                                      _icmpstat.icps_tooshort +                                      _icmpstat.icps_checksum +                                      _icmpstat.icps_badlen;     pIcmpInfo->icmpInDestUnreachs   = _icmpstat.icps_inhist [ICMP_UNREACH];    pIcmpInfo->icmpInTimeExcds      = _icmpstat.icps_inhist [ICMP_TIMXCEED];    pIcmpInfo->icmpInParmProbs      = _icmpstat.icps_inhist [ICMP_PARAMPROB];    pIcmpInfo->icmpInSrcQuenchs     = _icmpstat.icps_inhist [ICMP_SOURCEQUENCH];    pIcmpInfo->icmpInRedirects      = _icmpstat.icps_inhist [ICMP_REDIRECT];    pIcmpInfo->icmpInEchos          = _icmpstat.icps_inhist [ICMP_ECHO];    pIcmpInfo->icmpInEchoReps       = _icmpstat.icps_inhist [ICMP_ECHOREPLY];    pIcmpInfo->icmpInTimestamps     = _icmpstat.icps_inhist [ICMP_TSTAMP];    pIcmpInfo->icmpInTimestampReps  = _icmpstat.icps_inhist [ICMP_TSTAMPREPLY];    pIcmpInfo->icmpInAddrMasks      = _icmpstat.icps_inhist [ICMP_MASKREQ];    pIcmpInfo->icmpInAddrMaskReps   = _icmpstat.icps_inhist [ICMP_MASKREPLY];     pIcmpInfo->icmpOutErrors        = _icmpstat.icps_error;    pIcmpInfo->icmpOutDestUnreachs  = _icmpstat.icps_outhist [ICMP_UNREACH];    pIcmpInfo->icmpOutTimeExcds     = _icmpstat.icps_outhist [ICMP_TIMXCEED];    pIcmpInfo->icmpOutParmProbs     = _icmpstat.icps_outhist [ICMP_PARAMPROB];    pIcmpInfo->icmpOutSrcQuenchs    = _icmpstat.icps_outhist [ICMP_SOURCEQUENCH];    pIcmpInfo->icmpOutRedirects     = _icmpstat.icps_outhist [ICMP_REDIRECT];    pIcmpInfo->icmpOutEchos         = _icmpstat.icps_outhist [ICMP_ECHO];    pIcmpInfo->icmpOutEchoReps      = _icmpstat.icps_outhist [ICMP_ECHOREPLY];    pIcmpInfo->icmpOutTimestamps    = _icmpstat.icps_outhist [ICMP_TSTAMP];    pIcmpInfo->icmpOutTimestampReps = _icmpstat.icps_outhist [ICMP_TSTAMPREPLY];    pIcmpInfo->icmpOutAddrMasks     = _icmpstat.icps_outhist [ICMP_MASKREQ];    pIcmpInfo->icmpOutAddrMaskReps  = _icmpstat.icps_outhist [ICMP_MASKREPLY];#else    pIcmpInfo->icmpInMsgs          += icmpstat.icps_badcode +                                      icmpstat.icps_tooshort +                                      icmpstat.icps_checksum +                                      icmpstat.icps_badlen;     pIcmpInfo->icmpInErrors         = icmpstat.icps_badcode +                                      icmpstat.icps_tooshort +                                      icmpstat.icps_checksum +                                      icmpstat.icps_badlen;     pIcmpInfo->icmpInDestUnreachs   = icmpstat.icps_inhist [ICMP_UNREACH];    pIcmpInfo->icmpInTimeExcds      = icmpstat.icps_inhist [ICMP_TIMXCEED];    pIcmpInfo->icmpInParmProbs      = icmpstat.icps_inhist [ICMP_PARAMPROB];    pIcmpInfo->icmpInSrcQuenchs     = icmpstat.icps_inhist [ICMP_SOURCEQUENCH];    pIcmpInfo->icmpInRedirects      = icmpstat.icps_inhist [ICMP_REDIRECT];    pIcmpInfo->icmpInEchos          = icmpstat.icps_inhist [ICMP_ECHO];    pIcmpInfo->icmpInEchoReps       = icmpstat.icps_inhist [ICMP_ECHOREPLY];    pIcmpInfo->icmpInTimestamps     = icmpstat.icps_inhist [ICMP_TSTAMP];    pIcmpInfo->icmpInTimestampReps  = icmpstat.icps_inhist [ICMP_TSTAMPREPLY];    pIcmpInfo->icmpInAddrMasks      = icmpstat.icps_inhist [ICMP_MASKREQ];    pIcmpInfo->icmpInAddrMaskReps   = icmpstat.icps_inhist [ICMP_MASKREPLY];     pIcmpInfo->icmpOutErrors        = icmpstat.icps_error;    pIcmpInfo->icmpOutDestUnreachs  = icmpstat.icps_outhist [ICMP_UNREACH];    pIcmpInfo->icmpOutTimeExcds     = icmpstat.icps_outhist [ICMP_TIMXCEED];    pIcmpInfo->icmpOutParmProbs     = icmpstat.icps_outhist [ICMP_PARAMPROB];    pIcmpInfo->icmpOutSrcQuenchs    = icmpstat.icps_outhist [ICMP_SOURCEQUENCH];    pIcmpInfo->icmpOutRedirects     = icmpstat.icps_outhist [ICMP_REDIRECT];    pIcmpInfo->icmpOutEchos         = icmpstat.icps_outhist [ICMP_ECHO];    pIcmpInfo->icmpOutEchoReps      = icmpstat.icps_outhist [ICMP_ECHOREPLY];    pIcmpInfo->icmpOutTimestamps    = icmpstat.icps_outhist [ICMP_TSTAMP];    pIcmpInfo->icmpOutTimestampReps = icmpstat.icps_outhist [ICMP_TSTAMPREPLY];    pIcmpInfo->icmpOutAddrMasks     = icmpstat.icps_outhist [ICMP_MASKREQ];    pIcmpInfo->icmpOutAddrMaskReps  = icmpstat.icps_outhist [ICMP_MASKREPLY];#endif /* VIRTUAL_STACK */     return (OK);    }/********************************************************************************* m2IcmpDelete - delete all resources used to access the ICMP group** This routine frees all the resources allocated at the time the ICMP group was* initialized.  The ICMP group should not be accessed after this routine has * been called.** RETURNS: OK, always.** SEE ALSO: m2IcmpInit(), m2IcmpGroupInfoGet()*/STATUS m2IcmpDelete (void)    {    return (OK);    }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩国产欧美在线视频| 99久久综合狠狠综合久久| 国产一区欧美日韩| 99久久精品国产网站| 日韩一区二区麻豆国产| 亚洲蜜桃精久久久久久久| 日本中文字幕一区二区视频| 成人福利视频在线看| 欧美一区二区视频网站| 亚洲精品国产精品乱码不99| 国产真实乱偷精品视频免| 欧美日韩一区三区| 亚洲麻豆国产自偷在线| 粉嫩欧美一区二区三区高清影视 | 99精品视频在线免费观看| 91精品国产综合久久福利| 国产精品久久久久久久久快鸭 | 欧美一区二区女人| 亚洲精品国产精华液| www.视频一区| 久久久99精品久久| 久久精品国内一区二区三区| 欧美日韩视频第一区| 一级日本不卡的影视| 99天天综合性| 亚洲国产精品精华液2区45| 国产一区二区福利视频| 精品美女一区二区三区| 蜜桃av一区二区在线观看 | 天堂蜜桃一区二区三区 | 日韩精品一区二区在线| 久久精品久久精品| 精品裸体舞一区二区三区| 免费在线观看视频一区| 日韩三级免费观看| 久久99精品视频| 日韩一级黄色片| 九色|91porny| 欧美电影免费观看高清完整版在线观看| 午夜精品一区二区三区三上悠亚| 欧美日韩一区二区在线观看 | 国产一区二区三区蝌蚪| 精品久久人人做人人爱| 黄色日韩网站视频| 欧美国产丝袜视频| 日本道精品一区二区三区 | 国内精品不卡在线| 国产色婷婷亚洲99精品小说| 风间由美一区二区三区在线观看| 国产精品电影一区二区| 欧美这里有精品| 奇米精品一区二区三区在线观看一 | 欧美裸体bbwbbwbbw| 免费成人在线网站| 久久精品一区八戒影视| 99国产一区二区三精品乱码| 一区二区欧美在线观看| 欧美巨大另类极品videosbest | 大尺度一区二区| 一区二区视频在线| 日韩午夜在线观看| 成人av网站在线观看免费| 亚洲老妇xxxxxx| 日韩欧美自拍偷拍| 波多野结衣在线一区| 亚洲成在线观看| 久久久国产精品午夜一区ai换脸| 91视频一区二区| 日韩激情一二三区| 国产免费观看久久| 欧美日韩精品久久久| 国产精品一区二区91| 亚洲精品国产品国语在线app| 日韩欧美国产wwwww| 成人av免费网站| 日韩二区三区四区| 国产精品国产三级国产aⅴ无密码| 4438x亚洲最大成人网| 国产成人日日夜夜| 日产国产欧美视频一区精品| 中文字幕亚洲视频| 日韩午夜小视频| 9久草视频在线视频精品| 日韩精品一级二级| 一区二区三区精品在线观看| 久久在线观看免费| 欧美精品tushy高清| www.欧美.com| 国产美女视频91| 免费日韩伦理电影| 亚洲国产日韩精品| 亚洲人成电影网站色mp4| 精品日本一线二线三线不卡| 欧美日韩夫妻久久| 99国产精品99久久久久久| 国产在线不卡一区| 精品一区二区三区免费| 午夜激情一区二区| 夜夜操天天操亚洲| 亚洲天堂精品视频| 国产精品嫩草久久久久| 精品国产乱码久久久久久免费| 欧美剧在线免费观看网站| 欧洲激情一区二区| 色妹子一区二区| 99久久99久久综合| av色综合久久天堂av综合| 国产99久久久精品| 成人午夜电影小说| 国产成人精品一区二区三区网站观看| 毛片av一区二区| 麻豆国产欧美一区二区三区| 午夜激情一区二区| 日韩高清国产一区在线| 日韩av一区二区三区| 日本中文字幕一区| 精品一区二区三区日韩| 麻豆91免费观看| 国产综合久久久久久鬼色 | 天天综合色天天| 日韩福利视频导航| 毛片基地黄久久久久久天堂| 久久国产精品无码网站| 极品少妇xxxx偷拍精品少妇| 久久电影网电视剧免费观看| 九一九一国产精品| 成人午夜视频网站| 在线观看网站黄不卡| 欧美少妇bbb| 日韩午夜电影av| 久久众筹精品私拍模特| 国产精品无圣光一区二区| 国产精品女同互慰在线看| 亚洲三级在线播放| 亚洲大片免费看| 久久99精品久久久久久| 国产69精品久久99不卡| 色激情天天射综合网| 欧美日本一区二区| 久久久99精品久久| 一区二区成人在线| 毛片av一区二区三区| 菠萝蜜视频在线观看一区| 欧美综合一区二区| 亚洲精品一区二区三区香蕉| 中文字幕乱码亚洲精品一区| 亚洲男人的天堂在线aⅴ视频| 婷婷丁香久久五月婷婷| 国产精品一区二区在线观看网站| 99久久99精品久久久久久| 欧美日韩www| 国产午夜精品福利| 亚洲午夜精品网| 国产一区二区三区免费看| 91视频免费观看| www激情久久| 亚洲已满18点击进入久久| 麻豆国产精品777777在线| 97se亚洲国产综合在线| 日韩免费性生活视频播放| 综合在线观看色| 久久精品国产一区二区三 | 国产精品一区二区黑丝| 欧美三区在线观看| 国产精品天干天干在线综合| 亚洲成人你懂的| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 偷拍一区二区三区四区| 成人精品鲁一区一区二区| 日韩亚洲欧美高清| 亚洲国产一区二区三区青草影视| 国产一区二区三区视频在线播放| 欧美日韩一级二级三级| 国产精品嫩草久久久久| 狠狠色丁香婷婷综合久久片| 欧美日韩视频不卡| 亚洲人精品一区| 成人综合日日夜夜| 精品久久国产字幕高潮| 无吗不卡中文字幕| 在线免费观看日本一区| 综合av第一页| 成人国产精品免费观看| 精品国产百合女同互慰| 亚洲成在线观看| 欧美中文字幕久久| 一二三区精品视频| 色综合网站在线| 最新欧美精品一区二区三区| 国产盗摄女厕一区二区三区| 日韩欧美国产精品一区| 日韩福利电影在线观看| 欧美精品成人一区二区三区四区| 亚洲在线中文字幕| 91精品福利视频| 亚洲女厕所小便bbb| 99v久久综合狠狠综合久久| 中文字幕一区二区三中文字幕| 国产精品18久久久久久久久久久久| 日韩一区二区三区四区五区六区|