diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-09-30 16:54:40 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-10-01 17:25:28 +0000 |
commit | a013823934b437c43960959ee725858e1b75ed15 (patch) | |
tree | 3e7246733dd48eff2a320a83c01baed81b182d93 /ui/qt/conversation_hash_tables_dialog.h | |
parent | 6193e3c74b9a5d4296c67cbb138f231861d56fba (diff) | |
download | wireshark-a013823934b437c43960959ee725858e1b75ed15.tar.gz |
Add the conversation hash tables internals dialog.
The GTK+ version dumps "new" and "old" hash values. It looks like
neither are valid since the code in conversation.c and
conversation_hashtables_dlg.c have diverged.
For now just dump the addresses and ports for each hash table in the Qt
UI.
Change-Id: I832522dff06da769bd4ad3ead3d541206f283a90
Reviewed-on: https://code.wireshark.org/review/10713
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/conversation_hash_tables_dialog.h')
-rw-r--r-- | ui/qt/conversation_hash_tables_dialog.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/ui/qt/conversation_hash_tables_dialog.h b/ui/qt/conversation_hash_tables_dialog.h new file mode 100644 index 0000000000..9b0752cad5 --- /dev/null +++ b/ui/qt/conversation_hash_tables_dialog.h @@ -0,0 +1,58 @@ +/* conversation_hash_tables_dialog.h + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef CONVERSATION_HASH_TABLES_DIALOG_H +#define CONVERSATION_HASH_TABLES_DIALOG_H + +#include <QDialog> + +namespace Ui { +class ConversationHashTablesDialog; +} + +class ConversationHashTablesDialog : public QDialog +{ + Q_OBJECT + +public: + explicit ConversationHashTablesDialog(QWidget *parent = 0); + ~ConversationHashTablesDialog(); + +private: + Ui::ConversationHashTablesDialog *ui; + + const QString hashTableToHtmlTable(const QString table_name, struct _GHashTable *hash_table); +}; + +#endif // CONVERSATION_HASH_TABLES_DIALOG_H + +/* + * Editor modelines + * + * Local Variables: + * c-basic-offset: 4 + * tab-width: 8 + * indent-tabs-mode: nil + * End: + * + * ex: set shiftwidth=4 tabstop=8 expandtab: + * :indentSize=4:tabSize=8:noTabs=true: + */ |