20#define SNMP_REQ_GETNEXT 1
22#define SNMP_REQ_GETBULK 5
23#define SNMP_REQ_INFORM 6
39typedef tvbuff_t* (*snmp_usm_decoder_t)(snmp_usm_params_t*, tvbuff_t* encryptedData,
packet_info *pinfo,
char const** error);
41typedef enum _snmp_usm_auth_model_t {
42 SNMP_USM_AUTH_MD5 = 0,
44 SNMP_USM_AUTH_SHA2_224,
45 SNMP_USM_AUTH_SHA2_256,
46 SNMP_USM_AUTH_SHA2_384,
47 SNMP_USM_AUTH_SHA2_512
48} snmp_usm_auth_model_t;
51 snmp_usm_key_t userName;
53 snmp_usm_auth_model_t authModel;
54 snmp_usm_key_t authPassword;
55 snmp_usm_key_t authKey;
57 snmp_usm_decoder_t privProtocol;
58 snmp_usm_key_t privPassword;
59 snmp_usm_key_t privKey;
72 unsigned priv_key_exp;
79 unsigned start_offset;
90 snmp_ue_assoc_t* user_assoc;
96 uint32_t request_frame_id;
97 uint32_t response_frame_id;
100 unsigned request_procedure_id;
101} snmp_request_response_t;
107extern unsigned dissect_snmp_pdu(tvbuff_t *,
int,
packet_info *, proto_tree *tree,
109extern int dissect_snmp_engineid(proto_tree *,
packet_info *, tvbuff_t *,
int,
int);
struct _packet_info packet_info
Represents the metadata and indexing information for a single captured frame.
proto_node proto_item
Definition proto.h:927
Definition packet-snmp.h:67
Definition packet-snmp.h:50
Definition packet-snmp.h:31
Definition packet-snmp.h:76
Definition packet-snmp.h:62
Definition packet-snmp.h:95