Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

packet-ssl.h
1 /* packet-ssl.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
6 *
7 *
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
10
11 #ifndef __PACKET_SSL_H__
12 #define __PACKET_SSL_H__
13
14 #include "ws_symbol_export.h"
15 #include <epan/packet.h>
16
18 WS_DLL_PUBLIC GHashTable *ssl_session_hash;
20 WS_DLL_PUBLIC GHashTable *ssl_crandom_hash;
21
22 WS_DLL_PUBLIC void ssl_dissector_add(guint port, dissector_handle_t handle);
23 WS_DLL_PUBLIC void ssl_dissector_delete(guint port, dissector_handle_t handle);
24
25 WS_DLL_PUBLIC void ssl_set_master_secret(guint32 frame_num, address *addr_srv, address *addr_cli,
26 port_type ptype, guint32 port_srv, guint32 port_cli,
27 guint32 version, gint cipher, const guchar *_master_secret,
28 const guchar *_client_random, const guchar *_server_random,
29 guint32 client_seq, guint32 server_seq);
34 extern gboolean
35 tls_get_cipher_info(packet_info *pinfo, int *cipher_algo, int *cipher_mode, int *hash_algo);
36
41 gboolean
42 tls13_exporter(packet_info *pinfo, gboolean is_early,
43 const char *label, guint8 *context,
44 guint context_length, guint key_length, guchar **out);
45
46 #endif /* __PACKET_SSL_H__ */
_packet_info
Definition: packet_info.h:44
dissector_handle
Definition: packet.c:659
_address
Definition: address.h:47