2006-08-25 11:28:00 +00:00
|
|
|
/* packet-ssl.h
|
|
|
|
*
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
2008-07-12 14:42:14 +00:00
|
|
|
* Copyright 1998 Gerald Combs
|
2006-08-25 11:28:00 +00:00
|
|
|
*
|
|
|
|
*
|
|
|
|
* 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
|
2012-06-28 22:56:06 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2006-08-25 11:28:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __PACKET_SSL_H__
|
|
|
|
#define __PACKET_SSL_H__
|
|
|
|
|
2013-03-01 23:53:11 +00:00
|
|
|
#include "ws_symbol_export.h"
|
2011-05-28 18:17:50 +00:00
|
|
|
|
2013-03-01 23:53:11 +00:00
|
|
|
WS_DLL_PUBLIC GHashTable *ssl_session_hash;
|
2006-08-25 11:28:00 +00:00
|
|
|
|
2013-03-01 23:53:11 +00:00
|
|
|
WS_DLL_PUBLIC void ssl_dissector_add(guint port, const gchar *protocol, gboolean tcp);
|
|
|
|
WS_DLL_PUBLIC void ssl_dissector_delete(guint port, const gchar *protocol, gboolean tcp);
|
|
|
|
|
|
|
|
WS_DLL_PUBLIC void ssl_set_master_secret(guint32 frame_num, address *addr_srv, address *addr_cli,
|
2007-01-04 09:20:18 +00:00
|
|
|
port_type ptype, guint32 port_srv, guint32 port_cli,
|
|
|
|
guint32 version, gint cipher, const guchar *_master_secret,
|
|
|
|
const guchar *_client_random, const guchar *_server_random,
|
|
|
|
guint32 client_seq, guint32 server_seq);
|
|
|
|
|
2012-01-28 16:48:06 +00:00
|
|
|
extern gboolean ssl_ignore_mac_failed;
|
|
|
|
|
2012-11-02 08:48:13 +00:00
|
|
|
gchar* ssl_association_info(void);
|
|
|
|
|
2006-08-25 11:28:00 +00:00
|
|
|
#endif /* __PACKET_SSL_H__ */
|