![Alexis La Goutte](/assets/img/avatar_default.png)
./packet-mstp.h:31:13: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param val ~~~~~~~~~^ ./packet-mstp.h:41:13: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tvb ~~~~~~~~~^ ./packet-mstp.h:42:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param pinfo ~~~~~~~~~~~^ ./packet-mstp.h:43:14: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param tree ~~~~~~~~~~^ ./packet-mstp.h:44:17: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param subtree ~~~~~~~~~~~~~^ ./packet-mstp.h:45:16: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param offset ~~~~~~~~~~~~^ ./packet-mstp.h:46:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return none ~^~~~~~~~~~~ svn path=/trunk/; revision=51264
53 lines
1.7 KiB
C
53 lines
1.7 KiB
C
/* packet-mstp.h
|
|
* Routines for BACnet MS/TP datalink dissection
|
|
* Copyright 2008 Steve Karg <skarg@users.sourceforge.net> Alabama
|
|
*
|
|
* $Id$
|
|
*
|
|
* 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 __MSTP_H__
|
|
#define __MSTP_H__
|
|
|
|
/**
|
|
* Returns a value string for the BACnet MS/TP Frame Type.
|
|
* @param val BACnet MS/TP Frame value
|
|
* @return constant C String with MS/TP Frame Type
|
|
*/
|
|
const gchar *
|
|
mstp_frame_type_text(guint32 val);
|
|
|
|
/**
|
|
* Dissects the BACnet MS/TP packet after the preamble,
|
|
* starting with the MS/TP Frame type octet. Passes
|
|
* the PDU, if there is one, to the BACnet dissector.
|
|
* @param tvb the tv buffer of the current data
|
|
* @param pinfo the packet info of the current data
|
|
* @param tree the tree to append this item to
|
|
* @param subtree the sub tree to append this item to
|
|
* @param offset the offset in the tvb
|
|
*/
|
|
void
|
|
dissect_mstp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_tree *subtree, gint offset);
|
|
|
|
#endif /* __MSTP_H__ */
|
|
|
|
|