2 * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
3 * From ASN.1 module "RFC1157-SNMP"
4 * found in "RFC1157-SNMP.asn1"
5 * `asn1c -S/mnt/data/software/asn1c/skeletons -fcompound-names -fwide-types`
12 #include <asn_application.h>
14 /* Including external dependencies */
15 #include <OBJECT_IDENTIFIER.h>
16 #include "NetworkAddress.h"
18 #include "TimeTicks.h"
19 #include "VarBindList.h"
20 #include <constr_SEQUENCE.h>
27 typedef enum Trap_PDU__generic_trap {
28 Trap_PDU__generic_trap_coldStart = 0,
29 Trap_PDU__generic_trap_warmStart = 1,
30 Trap_PDU__generic_trap_linkDown = 2,
31 Trap_PDU__generic_trap_linkUp = 3,
32 Trap_PDU__generic_trap_authenticationFailure = 4,
33 Trap_PDU__generic_trap_egpNeighborLoss = 5,
34 Trap_PDU__generic_trap_enterpriseSpecific = 6
35 } e_Trap_PDU__generic_trap;
38 typedef struct Trap_PDU {
39 OBJECT_IDENTIFIER_t enterprise;
40 NetworkAddress_t agent_addr;
41 INTEGER_t generic_trap;
42 INTEGER_t specific_trap;
43 TimeTicks_t time_stamp;
44 VarBindList_t variable_bindings;
46 /* Context for parsing across buffer boundaries */
47 asn_struct_ctx_t _asn_ctx;
51 extern asn_TYPE_descriptor_t asn_DEF_Trap_PDU;
57 #endif /* _Trap_PDU_H_ */
58 #include <asn_internal.h>