MCPcopy Index your code
hub / github.com/secdev/scapy / SNMPget

Class SNMPget

scapy/layers/snmp.py:193–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191
192
193class SNMPget(ASN1_Packet):
194 ASN1_codec = ASN1_Codecs.BER
195 ASN1_root = ASN1F_SNMP_PDU_GET(ASN1F_INTEGER("id", 0),
196 ASN1F_enum_INTEGER("error", 0, SNMP_error),
197 ASN1F_INTEGER("error_index", 0),
198 ASN1F_SEQUENCE_OF("varbindlist", [], SNMPvarbind) # noqa: E501
199 )
200
201
202class SNMPnext(ASN1_Packet):

Callers 1

SNMPClass · 0.85

Calls 4

ASN1F_INTEGERClass · 0.90
ASN1F_enum_INTEGERClass · 0.90
ASN1F_SEQUENCE_OFClass · 0.90
ASN1F_SNMP_PDU_GETClass · 0.85

Tested by

no test coverage detected