| 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
15class QComboBox;
16
17struct _guid_key;
18struct _dcerpc_uuid_value;
19struct _e_guid_t;
20struct _rpc_prog_info_value;
21
22 class RpcServiceResponseTimeDialog : public ServiceResponseTimeDialog
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
41 void setDceRpcUuidAndVersion(struct _e_guid_t *uuid, int version);
42 void setOncRpcProgramAndVersion(int program, int version);
43 void setRpcNameAndVersion(const QString &program_name, int version);
44
45protected:
46 virtual void provideParameterData();
47
48public slots:
49 void dceRpcProgramChanged(const QString &program_name);
50 void oncRpcProgramChanged(const QString &program_name);
51
52private:
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
_e_guid_t
Definition guid-utils.h:23
_guid_key
Definition packet.h:378
_rpc_prog_info_value
Definition packet-rpc.h:192
register_srt
Definition srt_table.c:20