ReactOS
0.4.15-dev-2350-g7194f2f
|
Go to the source code of this file.
Classes | |
struct | AsnOctetString |
struct | AsnObjectIdentifier |
struct | AsnAny |
struct | SnmpVarBind |
struct | SnmpVarBindList |
#define ASN_BITS (ASN_UNIVERSAL | ASN_PRIMITIVE | 0x03) |
#define ASN_COUNTER32 (ASN_APPLICATION | ASN_PRIMITIVE | 0x01) |
#define ASN_COUNTER64 (ASN_APPLICATION | ASN_PRIMITIVE | 0x06) |
#define ASN_GAUGE32 (ASN_APPLICATION | ASN_PRIMITIVE | 0x02) |
#define ASN_INTEGER (ASN_UNIVERSAL | ASN_PRIMITIVE | 0x02) |
#define ASN_INTEGER32 ASN_INTEGER |
#define ASN_IPADDRESS (ASN_APPLICATION | ASN_PRIMITIVE | 0x00) |
#define ASN_NULL (ASN_UNIVERSAL | ASN_PRIMITIVE | 0x05) |
#define ASN_OBJECTIDENTIFIER (ASN_UNIVERSAL | ASN_PRIMITIVE | 0x06) |
#define ASN_OCTETSTRING (ASN_UNIVERSAL | ASN_PRIMITIVE | 0x04) |
#define ASN_OPAQUE (ASN_APPLICATION | ASN_PRIMITIVE | 0x04) |
#define ASN_SEQUENCE (ASN_UNIVERSAL | ASN_CONSTRUCTOR | 0x10) |
#define ASN_SEQUENCEOF ASN_SEQUENCE |
#define ASN_TIMETICKS (ASN_APPLICATION | ASN_PRIMITIVE | 0x03) |
#define ASN_UNSIGNED32 (ASN_APPLICATION | ASN_PRIMITIVE | 0x07) |
#define SNMP_EXCEPTION_ENDOFMIBVIEW (ASN_CONTEXT | ASN_PRIMITIVE | 0x02) |
#define SNMP_EXCEPTION_NOSUCHINSTANCE (ASN_CONTEXT | ASN_PRIMITIVE | 0x01) |
#define SNMP_EXCEPTION_NOSUCHOBJECT (ASN_CONTEXT | ASN_PRIMITIVE | 0x00) |
#define SNMP_EXTENSION_GET SNMP_PDU_GET |
#define SNMP_EXTENSION_GET_BULK SNMP_PDU_GETBULK |
#define SNMP_EXTENSION_GET_NEXT SNMP_PDU_GETNEXT |
#define SNMP_EXTENSION_SET_CLEANUP (ASN_PRIVATE | ASN_CONSTRUCTOR | 0x2) |
#define SNMP_EXTENSION_SET_COMMIT SNMP_PDU_SET |
#define SNMP_EXTENSION_SET_TEST (ASN_PRIVATE | ASN_CONSTRUCTOR | 0x0) |
#define SNMP_EXTENSION_SET_UNDO (ASN_PRIVATE | ASN_CONSTRUCTOR | 0x1) |
#define SNMP_PDU_GET (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x00) |
#define SNMP_PDU_GETBULK (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x05) |
#define SNMP_PDU_GETNEXT (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x01) |
#define SNMP_PDU_INFORM (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x06) |
#define SNMP_PDU_RESPONSE (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x02) |
#define SNMP_PDU_SET (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x03) |
#define SNMP_PDU_TRAP (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x07) |
#define SNMP_PDU_V1TRAP (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x04) |
typedef AsnOctetString AsnBits |
typedef AsnUnsigned32 AsnCounter32 |
typedef ULARGE_INTEGER AsnCounter64 |
typedef AsnOctetString AsnDisplayString |
typedef AsnUnsigned32 AsnGauge32 |
typedef AsnOctetString AsnImplicitSequence |
typedef LONG AsnInteger32 |
typedef AsnOctetString AsnIPAddress |
typedef AsnOctetString AsnNetworkAddress |
typedef AsnObjectIdentifier AsnObjectName |
typedef AsnAny AsnObjectSyntax |
typedef AsnOctetString AsnOpaque |
typedef AsnOctetString AsnSequence |
typedef AsnUnsigned32 AsnTimeticks |
typedef ULONG AsnUnsigned32 |
typedef BOOL(WINAPI * PFNSNMPEXTENSIONINIT) (DWORD dwUptimeReference, HANDLE *phSubagentTrapEvent, AsnObjectIdentifier *pFirstSupportedRegion) |
typedef BOOL(WINAPI * PFNSNMPEXTENSIONINITEX) (AsnObjectIdentifier *pNextSupportedRegion) |
typedef BOOL(WINAPI * PFNSNMPEXTENSIONQUERY) (BYTE bPduType, SnmpVarBindList *pVarBindList, AsnInteger32 *pErrorStatus, AsnInteger32 *pErrorIndex) |
typedef BOOL(WINAPI * PFNSNMPEXTENSIONQUERYEX) (UINT nRequestType, UINT nTransactionId, SnmpVarBindList *pVarBindList, AsnOctetString *pContextInfo, AsnInteger32 *pErrorStatus, AsnInteger32 *pErrorIndex) |
typedef BOOL(WINAPI * PFNSNMPEXTENSIONTRAP) (AsnObjectIdentifier *pEnterpriseOid, AsnInteger32 *pGenericTrapId, AsnInteger32 *pSpecificTrapId, AsnTimeticks *pTimeStamp, SnmpVarBindList *pVarBindList) |
BOOL WINAPI SnmpExtensionInit | ( | DWORD | dwUptimeReference, |
HANDLE * | phSubagentTrapEvent, | ||
AsnObjectIdentifier * | pFirstSupportedRegion | ||
) |
Definition at line 1313 of file main.c.
BOOL WINAPI SnmpExtensionInitEx | ( | AsnObjectIdentifier * | pNextSupportedRegion | ) |
BOOL WINAPI SnmpExtensionQuery | ( | BYTE | bPduType, |
SnmpVarBindList * | pVarBindList, | ||
AsnInteger32 * | pErrorStatus, | ||
AsnInteger32 * | pErrorIndex | ||
) |
Definition at line 1372 of file main.c.
BOOL WINAPI SnmpExtensionQueryEx | ( | UINT | nRequestType, |
UINT | nTransactionId, | ||
SnmpVarBindList * | pVarBindList, | ||
AsnOctetString * | pContextInfo, | ||
AsnInteger32 * | pErrorStatus, | ||
AsnInteger32 * | pErrorIndex | ||
) |
BOOL WINAPI SnmpExtensionTrap | ( | AsnObjectIdentifier * | pEnterpriseOid, |
AsnInteger32 * | pGenericTrapId, | ||
AsnInteger32 * | pSpecificTrapId, | ||
AsnTimeticks * | pTimeStamp, | ||
SnmpVarBindList * | pVarBindList | ||
) |
Definition at line 497 of file main.c.
Referenced by SnmpUtilOidToA().
Definition at line 170 of file main.c.
Referenced by test_SnmpUtilOidAppend().
INT WINAPI SnmpUtilOctetsCmp | ( | AsnOctetString * | pOctets1, |
AsnOctetString * | pOctets2 | ||
) |
Definition at line 276 of file main.c.
Referenced by InitFunctionPtrs().
INT WINAPI SnmpUtilOctetsCpy | ( | AsnOctetString * | pOctetsDst, |
AsnOctetString * | pOctetsSrc | ||
) |
Definition at line 215 of file main.c.
Referenced by InitFunctionPtrs().
VOID WINAPI SnmpUtilOctetsFree | ( | AsnOctetString * | pOctets | ) |
INT WINAPI SnmpUtilOctetsNCmp | ( | AsnOctetString * | pOctets1, |
AsnOctetString * | pOctets2, | ||
UINT | nChars | ||
) |
Definition at line 258 of file main.c.
Referenced by InitFunctionPtrs(), and SnmpUtilOctetsCmp().
INT WINAPI SnmpUtilOidAppend | ( | AsnObjectIdentifier * | pOidDst, |
AsnObjectIdentifier * | pOidSrc | ||
) |
Definition at line 289 of file main.c.
Referenced by mib2UdpEntryQuery(), setOidWithItem(), setOidWithItemAndInteger(), setOidWithItemAndIpAddr(), and test_SnmpUtilOidAppend().
INT WINAPI SnmpUtilOidCmp | ( | AsnObjectIdentifier * | pOid1, |
AsnObjectIdentifier * | pOid2 | ||
) |
Definition at line 382 of file main.c.
Referenced by test_SnmpUtilOidCmp(), and testQuery().
INT WINAPI SnmpUtilOidCpy | ( | AsnObjectIdentifier * | pOidDst, |
AsnObjectIdentifier * | pOidSrc | ||
) |
Definition at line 319 of file main.c.
Referenced by mib2IfNumberQuery(), setOidWithItem(), SnmpExtensionInit(), SnmpExtensionQuery(), test_SnmpUtilOidCpyFree(), and testQuery().
VOID WINAPI SnmpUtilOidFree | ( | AsnObjectIdentifier * | pOid | ) |
Definition at line 344 of file main.c.
Referenced by mib2IfNumberQuery(), setOidWithItem(), SnmpExtensionQuery(), test_SnmpUtilOidAppend(), test_SnmpUtilOidCpyFree(), and testInit().
INT WINAPI SnmpUtilOidNCmp | ( | AsnObjectIdentifier * | pOid1, |
AsnObjectIdentifier * | pOid2, | ||
UINT | nSubIds | ||
) |
Definition at line 358 of file main.c.
Referenced by findSupportedQuery(), getItemAndInstanceFromTable(), getItemAndIntegerInstanceFromOid(), getItemFromOid(), mib2IfNumberQuery(), SnmpExtensionQuery(), SnmpUtilOidCmp(), test_SnmpUtilOidNCmp(), and testQuery().
LPSTR WINAPI SnmpUtilOidToA | ( | AsnObjectIdentifier * | Oid | ) |
Definition at line 534 of file main.c.
Referenced by mib2IcmpQuery(), mib2IfEntryQuery(), mib2IfNumberQuery(), mib2IpAddrQuery(), mib2IpNetQuery(), mib2IpRouteQuery(), mib2IpStatsQuery(), mib2TcpQuery(), mib2UdpEntryQuery(), mib2UdpQuery(), SnmpExtensionQuery(), test_SnmpUtilOidToA(), testInit(), and testQuery().
Definition at line 568 of file main.c.
VOID WINAPI SnmpUtilPrintOid | ( | AsnObjectIdentifier * | Oid | ) |
Definition at line 549 of file main.c.
INT WINAPI SnmpUtilVarBindCpy | ( | SnmpVarBind * | pVbDst, |
SnmpVarBind * | pVbSrc | ||
) |
Definition at line 395 of file main.c.
Referenced by SnmpUtilVarBindListCpy(), and test_SnmpUtilVarBindCpyFree().
VOID WINAPI SnmpUtilVarBindFree | ( | SnmpVarBind * | pVb | ) |
Definition at line 425 of file main.c.
Referenced by SnmpUtilVarBindListCpy(), SnmpUtilVarBindListFree(), test_SnmpUtilVarBindCpyFree(), and testQuery().
INT WINAPI SnmpUtilVarBindListCpy | ( | SnmpVarBindList * | pVblDst, |
SnmpVarBindList * | pVblSrc | ||
) |
Definition at line 440 of file main.c.
Referenced by test_SnmpUtilVarBindListCpyFree().
VOID WINAPI SnmpUtilVarBindListFree | ( | SnmpVarBindList * | pVbl | ) |
Definition at line 480 of file main.c.
Referenced by test_SnmpUtilVarBindListCpyFree().