| Wireshark 4.7.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
13#include "service_response_time_dialog.h"
14
15 class QUuid;
16 class QComboBox;
17
18 struct _guid_key;
19 struct _dcerpc_uuid_value;
20 struct _rpc_prog_info_value;
21
22 class RpcServiceResponseTimeDialog : public ServiceResponseTimeDialog
23{
24 Q_OBJECT
25
26 public:
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
41 void setDceRpcUuidAndVersion(const QUuid &uuid, int version);
42 void setOncRpcProgramAndVersion(int program, int version);
43 void setRpcNameAndVersion(const QString &program_name, int version);
44
45 protected:
46 virtual void provideParameterData();
47
48 public slots:
49 void dceRpcProgramChanged(const QString &program_name);
50 void oncRpcProgramChanged(const QString &program_name);
51
52 private:
53 RpcFamily dlg_type_;
54 QComboBox *program_combo_;
55 QComboBox *version_combo_;
56 QList<unsigned> versions_;
57
58 // DCE-RPC
59 QMap<QString, struct _guid_key *> dce_name_to_uuid_key_;
60
61 // ONC-RPC
62 QMap<QString, uint32_t> onc_name_to_program_;
63
64 void clearVersionCombo();
65 void fillVersionCombo();
66
67};
68
69#endif // __RPC_SERVICE_RESPONSE_TIME_DIALOG_H__
CaptureFile
Definition capture_file.h:21
RpcServiceResponseTimeDialog
Definition rpc_service_response_time_dialog.h:23
ServiceResponseTimeDialog
Definition service_response_time_dialog.h:22
TapParameterDialog
Definition tap_parameter_dialog.h:43
service_response_time_dialog.h
_dcerpc_uuid_value
Definition packet-dcerpc.h:432
_guid_key
Definition packet.h:379
_rpc_prog_info_value
Definition packet-rpc.h:192
register_srt
Definition srt_table.c:20