Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
rpc_service_response_time_dialog.h
Go to the documentation of this file.
1
10#ifndef __RPC_SERVICE_RESPONSE_TIME_DIALOG_H__
11#define __RPC_SERVICE_RESPONSE_TIME_DIALOG_H__
12
14
15class QComboBox;
16
17struct _guid_key;
19struct _e_guid_t;
21
23{
24 Q_OBJECT
25
26public:
27 enum RpcFamily {
28 DceRpc,
29 OncRpc
30 };
31
32 RpcServiceResponseTimeDialog(QWidget &parent, CaptureFile &cf, struct register_srt *srt, RpcFamily dlg_type, const QString filter);
33 static TapParameterDialog *createDceRpcSrtDialog(QWidget &parent, const QString, const QString opt_arg, CaptureFile &cf);
34 static TapParameterDialog *createOncRpcSrtDialog(QWidget &parent, const QString, const QString opt_arg, CaptureFile &cf);
35
36 void addDceRpcProgram(_guid_key *key, struct _dcerpc_uuid_value *value);
37 void addDceRpcProgramVersion(_guid_key *key);
38 void addOncRpcProgram(uint32_t program, struct _rpc_prog_info_value *value);
39 void addOncRpcProgramVersion(uint32_t program, uint32_t version);
40 void updateOncRpcProcedureCount(uint32_t program, uint32_t version, int procedure);
41
42 void setDceRpcUuidAndVersion(struct _e_guid_t *uuid, int version);
43 void setOncRpcProgramAndVersion(int program, int version);
44 void setRpcNameAndVersion(const QString &program_name, int version);
45
46protected:
47 virtual void provideParameterData();
48
49public slots:
50 void dceRpcProgramChanged(const QString &program_name);
51 void oncRpcProgramChanged(const QString &program_name);
52
53private:
54 RpcFamily dlg_type_;
55 QComboBox *program_combo_;
56 QComboBox *version_combo_;
57 QList<unsigned> versions_;
58
59 // DCE-RPC
60 QMap<QString, struct _guid_key *> dce_name_to_uuid_key_;
61
62 // ONC-RPC
63 QMap<QString, uint32_t> onc_name_to_program_;
64 int onc_rpc_num_procedures_;
65
66 void clearVersionCombo();
67 void fillVersionCombo();
68
69};
70
71#endif // __RPC_SERVICE_RESPONSE_TIME_DIALOG_H__
Definition capture_file.h:21
Definition rpc_service_response_time_dialog.h:23
Definition service_response_time_dialog.h:22
Definition tap_parameter_dialog.h:43
Definition packet-dcerpc.h:449
Definition guid-utils.h:23
Definition packet.h:378
Definition packet-rpc.h:193
Definition srt_table.c:20