Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-mstp.h
blob0426f43f0aeaa4547d619090c2655b69c5879cf2
1 /* packet-mstp.h
2 * Routines for BACnet MS/TP datalink dissection
3 * Copyright 2008 Steve Karg <skarg@users.sourceforge.net> Alabama
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef __MSTP_H__
13 #define __MSTP_H__
15 /**
16 * Returns a value string for the BACnet MS/TP Frame Type.
17 * @param val BACnet MS/TP Frame value
18 * @return constant C String with MS/TP Frame Type
20 const char *
21 mstp_frame_type_text(uint32_t val);
23 /**
24 * Dissects the BACnet MS/TP packet after the preamble,
25 * starting with the MS/TP Frame type octet. Passes
26 * the PDU, if there is one, to the BACnet dissector.
27 * @param tvb the tv buffer of the current data
28 * @param pinfo the packet info of the current data
29 * @param tree the tree to append this item to
30 * @param subtree the sub tree to append this item to
31 * @param offset the offset in the tvb
33 void
34 dissect_mstp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_tree *subtree, int offset);
36 #endif /* __MSTP_H__ */