summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sapsnc.h
blob: d1f739b2c738dc67ab06ca7b540cf0709e8d3a00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* packet-sapsnc.h
 * Routines for SAP SNC (Secure Network Connectoin) dissection
 * Copyright 2022, Martin Gallo <martin.gallo [AT] gmail.com>
 * Code contributed by SecureAuth Corp.
 *
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <gerald@wireshark.org>
 * Copyright 1998 Gerald Combs
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef __PACKET_SAPPSNC_H__
#define __PACKET_SAPPSNC_H__

#include <epan/packet.h>

extern /**
 * Dissect an SNC Frame. If data it's found for wrapped/signed frames, it
 * returns a new TVB buffer with the content. This function can be called
 * from any dissector that wants SNC frames to be decoded.
 */
tvbuff_t*
dissect_sapsnc_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 offset);

#endif /* __PACKET_SAPPSNC_H__ */