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

Class SNMPresponse

scapy/layers/snmp.py:211–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209
210
211class SNMPresponse(ASN1_Packet):
212 ASN1_codec = ASN1_Codecs.BER
213 ASN1_root = ASN1F_SNMP_PDU_RESPONSE(ASN1F_INTEGER("id", 0),
214 ASN1F_enum_INTEGER("error", 0, SNMP_error), # noqa: E501
215 ASN1F_INTEGER("error_index", 0),
216 ASN1F_SEQUENCE_OF("varbindlist", [], SNMPvarbind) # noqa: E501
217 )
218
219
220class SNMPset(ASN1_Packet):

Callers

nothing calls this directly

Calls 4

ASN1F_INTEGERClass · 0.90
ASN1F_enum_INTEGERClass · 0.90
ASN1F_SEQUENCE_OFClass · 0.90

Tested by

no test coverage detected