a148a936b1
This patch adds the capability to create BACnet statistics trees. Find the respective menu items under 'Statistics->BACnet'. Packets can be sorted by different criteria: - Src/Dst IP adresses - Instance ID - Object Type - Service From me: - Don't use C++/C99-style comments. - Name variables for tick_stat_node() don't need to be static. - Change updateBacnetInfoValue() to require 'data' to be ep_ allocated. Change the couple of calls that did not send in ep_ allocated data to do so. - Change one or two functions to be static. - Do not use (memory-unsafe) g_sprintf(). - Use ep_strconcat() instead of leaking memory with g_strconcat(). - Put back one if(tree) that doesn't appear to do any harm. - Remove variable declarations and #includes from the header file. svn path=/trunk/; revision=36468
43 lines
1.3 KiB
C
43 lines
1.3 KiB
C
/* packet-bacapp.h
|
|
* by fkraemer, SAUTER
|
|
*
|
|
* $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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __PACKET_BACNET_H__
|
|
#define __PACKET_BACNET_H__
|
|
|
|
#define BACINFO_SERVICE 0
|
|
#define BACINFO_INVOKEID 1
|
|
#define BACINFO_INSTANCEID 2
|
|
#define BACINFO_OBJECTID 4
|
|
|
|
|
|
/* Used for BACnet statistics */
|
|
typedef struct _bacapp_info_value_t {
|
|
gchar *service_type;
|
|
gchar *invoke_id;
|
|
gchar *instance_ident;
|
|
gchar *object_ident;
|
|
} bacapp_info_value_t;
|
|
|
|
#endif /* __PACKET_BACNET_H__ */
|