Module snmp_parser::snmp [] [src]

SNMP Parser

SNMP is defined in the following RFCs:

Structs

ErrorStatus
PduType
SnmpGenericPdu
SnmpMessage
SnmpTrapPdu
SnmpVariable
TrapType

Enums

NetworkAddress

This CHOICE represents an address from one of possibly several protocol families. Currently, only one protocol family, the Internet family, is present in this CHOICE.

ObjectSyntax
SnmpPdu

Functions

parse_der_octetstring_as_slice
parse_snmp_v1

Top-level message

parse_snmp_v1_pdu

Type Definitions

Counter

This application-wide type represents a non-negative integer which monotonically increases until it reaches a maximum value, when it wraps around and starts increasing again from zero. This memo specifies a maximum value of 2^32-1 (4294967295 decimal) for counters.

Gauge

This application-wide type represents a non-negative integer, which may increase or decrease, but which latches at a maximum value. This memo specifies a maximum value of 2^32-1 (4294967295 decimal) for gauges.

TimeTicks

This application-wide type represents a non-negative integer which counts the time in hundredths of a second since some epoch. When object types are defined in the MIB which use this ASN.1 type, the description of the object type identifies the reference epoch.