?? mibicmp.c
字號:
#include "VxWorks.h"
#include "sockLib.h"
#include "inetLib.h"
#include "taskLib.h"
#include "stdioLib.h"
#include "strLib.h"
#include "ioLib.h"
#include "fioLib.h"
#include "snmp.h"
#include "Mib2Func.h"
//0x2b,6,1,2,1,5,x
int IcmpGetVar(VARLIST *pVar)
{
U32 u32Index = pVar->oid[6];
U32 u32GetIndex = g_MFIndex.ICMP.Get.InMsgs___________pu32GetValue +\
u32Index - 1;
MibFuncPara para;
if (26 < u32Index || u32Index == 0)
{
return ERROR;
}
pVar->type = TAG_INTERGER;
if (OK != Mib2GetOne(u32GetIndex, ¶))
{
return ERROR;
}
return Mib2Get(pVar, ¶);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -