forked from osmocom/wireshark
Get rid of Warinings [-Wmissing-prototypes]
svn path=/trunk/; revision=53311
This commit is contained in:
parent
bfca717c45
commit
a7e417bf24
|
@ -36,6 +36,8 @@
|
|||
#include <epan/dissectors/packet-afp.h>
|
||||
#include "epan/timestats.h"
|
||||
|
||||
void register_tap_listener_afpstat(void);
|
||||
|
||||
/* used to keep track of the statistics for an entire program interface */
|
||||
typedef struct _afpstat_t {
|
||||
char *filter;
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
#include <epan/dissectors/packet-bssap.h>
|
||||
#include <epan/dissectors/packet-ansi_a.h>
|
||||
|
||||
void register_tap_listener_ansi_astat(void);
|
||||
|
||||
typedef struct _ansi_a_stat_t {
|
||||
int bsmap_message_type[0xff];
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#include <epan/tap.h>
|
||||
#include <epan/stat_cmd_args.h>
|
||||
|
||||
void register_tap_listener_gtkdhcpstat(void);
|
||||
|
||||
typedef const char* bootp_info_value_t;
|
||||
|
||||
|
|
|
@ -57,6 +57,8 @@
|
|||
|
||||
#define TTL_SEARCH 5
|
||||
|
||||
void register_tap_listener_comparestat(void);
|
||||
|
||||
/* information which will be printed */
|
||||
typedef struct _for_print {
|
||||
guint count;
|
||||
|
|
|
@ -36,6 +36,8 @@
|
|||
#define MICROSECS_PER_SEC 1000000
|
||||
#define NANOSECS_PER_SEC 1000000000
|
||||
|
||||
void register_tap_listener_dcerpcstat(void);
|
||||
|
||||
/* used to keep track of statistics for a specific procedure */
|
||||
typedef struct _rpc_procedure_t {
|
||||
const char *proc;
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
#include "epan/to_str.h"
|
||||
#include "epan/dissectors/packet-diameter.h"
|
||||
|
||||
void register_tap_listener_diameteravp(void);
|
||||
|
||||
/* used to keep track of the statistics for an entire program interface */
|
||||
typedef struct _diameteravp_t {
|
||||
|
|
|
@ -35,6 +35,8 @@
|
|||
#include <epan/stat_cmd_args.h>
|
||||
#include <epan/expert.h>
|
||||
|
||||
void register_tap_listener_expert_info(void);
|
||||
|
||||
/* Tap data */
|
||||
typedef enum severity_level_t {
|
||||
chat_level=0,
|
||||
|
|
|
@ -55,6 +55,8 @@
|
|||
#include <epan/dissectors/packet-ssl-utils.h>
|
||||
#endif
|
||||
|
||||
void register_tap_listener_follow(void);
|
||||
|
||||
WS_DLL_PUBLIC FILE *data_out_file;
|
||||
|
||||
typedef enum
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#include <stdio.h>
|
||||
#include <epan/stat_cmd_args.h>
|
||||
|
||||
void register_tap_listener_gtkfunnel(void);
|
||||
|
||||
struct _funnel_text_window_t {
|
||||
gchar* title;
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
#include <epan/dissectors/packet-bssap.h>
|
||||
#include <epan/dissectors/packet-gsm_a_common.h>
|
||||
|
||||
void register_tap_listener_gsm_astat(void);
|
||||
|
||||
typedef struct _gsm_a_stat_t {
|
||||
int bssmap_message_type[0xff];
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
#define REL_CMP_REASONS 26
|
||||
#define FACILITY_REASONS 11
|
||||
|
||||
void register_tap_listener_h225counter(void);
|
||||
|
||||
/* used to keep track of the statistics for an entire program interface */
|
||||
typedef struct _h225counter_t {
|
||||
|
|
|
@ -40,6 +40,8 @@
|
|||
/* following values represent the size of their valuestring arrays */
|
||||
#define NUM_RAS_STATS 7
|
||||
|
||||
void register_tap_listener_h225rassrt(void);
|
||||
|
||||
static const value_string ras_message_category[] = {
|
||||
{ 0, "Gatekeeper "},
|
||||
{ 1, "Registration "},
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#include <epan/stat_cmd_args.h>
|
||||
#include <epan/addr_resolv.h>
|
||||
|
||||
|
||||
void register_tap_listener_hosts(void);
|
||||
|
||||
gboolean dump_v4 = FALSE;
|
||||
gboolean dump_v6 = FALSE;
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include <epan/stat_cmd_args.h>
|
||||
#include <epan/dissectors/packet-http.h>
|
||||
|
||||
void register_tap_listener_gtkhttpstat(void);
|
||||
|
||||
/* used to keep track of the statictics for an entire program interface */
|
||||
typedef struct _http_stats_t {
|
||||
|
|
|
@ -40,6 +40,8 @@
|
|||
#include <epan/dissectors/packet-icmp.h>
|
||||
#include <math.h>
|
||||
|
||||
void register_tap_listener_icmpstat(void);
|
||||
|
||||
/* used to keep track of the ICMP statistics */
|
||||
typedef struct _icmpstat_t {
|
||||
char *filter;
|
||||
|
|
|
@ -41,6 +41,8 @@
|
|||
#include <epan/dissectors/packet-icmp.h>
|
||||
#include <math.h>
|
||||
|
||||
void register_tap_listener_icmpv6stat(void);
|
||||
|
||||
/* used to keep track of the ICMPv6 statistics */
|
||||
typedef struct _icmpv6stat_t {
|
||||
char *filter;
|
||||
|
|
|
@ -46,6 +46,8 @@
|
|||
#define CALC_TYPE_AVG 7
|
||||
#define CALC_TYPE_LOAD 8
|
||||
|
||||
void register_tap_listener_iostat(void);
|
||||
|
||||
typedef struct {
|
||||
const char *func_name;
|
||||
int calc_type;
|
||||
|
|
|
@ -47,6 +47,8 @@
|
|||
#include <epan/dissectors/packet-fc.h>
|
||||
#include <epan/dissectors/packet-fddi.h>
|
||||
|
||||
void register_tap_listener_iousers(void);
|
||||
|
||||
typedef struct _io_users_t {
|
||||
const char *type;
|
||||
char *filter;
|
||||
|
|
|
@ -35,6 +35,8 @@
|
|||
#include <epan/stat_cmd_args.h>
|
||||
#include <epan/dissectors/packet-mac-lte.h>
|
||||
|
||||
void register_tap_listener_mac_lte_stat(void);
|
||||
|
||||
/**********************************************/
|
||||
/* Table column identifiers and title strings */
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
#include "ui/tap-megaco-common.h"
|
||||
|
||||
|
||||
void register_tap_listener_megacostat(void);
|
||||
|
||||
static void
|
||||
megacostat_draw(void *pms)
|
||||
|
|
|
@ -37,6 +37,8 @@
|
|||
|
||||
#define NUM_TIMESTATS 11
|
||||
|
||||
void register_tap_listener_mgcpstat(void);
|
||||
|
||||
/* used to keep track of the statistics for an entire program interface */
|
||||
typedef struct _mgcpstat_t {
|
||||
char *filter;
|
||||
|
|
|
@ -37,6 +37,8 @@
|
|||
#include <epan/stat_cmd_args.h>
|
||||
#include <epan/strutil.h>
|
||||
|
||||
void register_tap_listener_protocolinfo(void);
|
||||
|
||||
typedef struct _pci_t {
|
||||
char *filter;
|
||||
int hf_index;
|
||||
|
|
|
@ -36,6 +36,8 @@
|
|||
#include <epan/tap.h>
|
||||
#include <epan/stat_cmd_args.h>
|
||||
|
||||
void register_tap_listener_protohierstat(void);
|
||||
|
||||
typedef struct _phs_t {
|
||||
struct _phs_t *sibling;
|
||||
struct _phs_t *child;
|
||||
|
|
|
@ -35,6 +35,8 @@
|
|||
#include <epan/dissectors/packet-radius.h>
|
||||
#include "epan/timestats.h"
|
||||
|
||||
void register_tap_listener_radiusstat(void);
|
||||
|
||||
typedef enum _radius_category {
|
||||
RADIUS_CAT_OVERALL = 0,
|
||||
RADIUS_CAT_ACCESS,
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include <epan/stat_cmd_args.h>
|
||||
#include <epan/dissectors/packet-rlc-lte.h>
|
||||
|
||||
void register_tap_listener_rlc_lte_stat(void);
|
||||
|
||||
enum {
|
||||
UEID_COLUMN,
|
||||
|
|
|
@ -40,6 +40,8 @@
|
|||
#define MICROSECS_PER_SEC 1000000
|
||||
#define NANOSECS_PER_SEC 1000000000
|
||||
|
||||
void register_tap_listener_rpcprogs(void);
|
||||
|
||||
/* used to keep track of statistics for a specific program/version */
|
||||
typedef struct _rpc_program_t {
|
||||
struct _rpc_program_t *next;
|
||||
|
|
|
@ -42,6 +42,8 @@
|
|||
#define MICROSECS_PER_SEC 1000000
|
||||
#define NANOSECS_PER_SEC 1000000000
|
||||
|
||||
void register_tap_listener_rpcstat(void);
|
||||
|
||||
/* used to keep track of statistics for a specific procedure */
|
||||
typedef struct _rpc_procedure_t {
|
||||
const char *proc;
|
||||
|
|
|
@ -49,6 +49,8 @@
|
|||
#include "ui/rtp_stream.h"
|
||||
#include "ui/tap-rtp-common.h"
|
||||
|
||||
void register_tap_listener_rtp_streams(void);
|
||||
|
||||
/* The one and only global rtpstream_tapinfo_t structure for tshark and wireshark.
|
||||
*/
|
||||
static rtpstream_tapinfo_t the_tapinfo_struct =
|
||||
|
|
|
@ -38,7 +38,8 @@
|
|||
#include "register.h"
|
||||
#include <epan/dissectors/packet-rtsp.h>
|
||||
|
||||
|
||||
void register_tap_listener_gtkrtspstat(void);
|
||||
|
||||
/* used to keep track of the statictics for an entire program interface */
|
||||
typedef struct _rtsp_stats_t {
|
||||
char *filter;
|
||||
|
|
|
@ -38,6 +38,8 @@
|
|||
#include <epan/dissectors/packet-scsi-smc.h>
|
||||
#include <epan/dissectors/packet-scsi-osd.h>
|
||||
|
||||
void register_tap_listener_scsistat(void);
|
||||
|
||||
static guint8 scsi_program=0;
|
||||
|
||||
/* used to keep track of statistics for a specific procedure */
|
||||
|
|
|
@ -37,6 +37,8 @@
|
|||
#include <epan/dissectors/packet-sctp.h>
|
||||
#include <epan/to_str.h>
|
||||
|
||||
void register_tap_listener_sctpstat(void);
|
||||
|
||||
typedef struct sctp_ep {
|
||||
struct sctp_ep* next;
|
||||
address src;
|
||||
|
|
|
@ -35,6 +35,8 @@
|
|||
#include "epan/value_string.h"
|
||||
#include <epan/dissectors/packet-sip.h>
|
||||
|
||||
void register_tap_listener_sipstat(void);
|
||||
|
||||
/* used to keep track of the statictics for an entire program interface */
|
||||
typedef struct _sip_stats_t {
|
||||
char *filter;
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include "epan/value_string.h"
|
||||
#include <epan/dissectors/packet-smb.h>
|
||||
|
||||
void register_tap_listener_smbsids(void);
|
||||
|
||||
static int
|
||||
smbsids_packet(void *pss _U_, packet_info *pinfo _U_, epan_dissect_t *edt _U_, const void *psi _U_)
|
||||
|
|
|
@ -38,6 +38,8 @@
|
|||
#define MICROSECS_PER_SEC 1000000
|
||||
#define NANOSECS_PER_SEC 1000000000
|
||||
|
||||
void register_tap_listener_smbstat(void);
|
||||
|
||||
/* used to keep track of the statistics for an entire program interface */
|
||||
typedef struct _smbstat_t {
|
||||
char *filter;
|
||||
|
|
|
@ -34,6 +34,8 @@
|
|||
#include <epan/stats_tree_priv.h>
|
||||
#include <epan/stat_cmd_args.h>
|
||||
|
||||
void register_tap_listener_stats_tree_stat(void);
|
||||
|
||||
/* actually unused */
|
||||
struct _st_node_pres {
|
||||
void *dummy;
|
||||
|
@ -118,7 +120,7 @@ init_stats_tree(const char *opt_arg, void *userdata _U_)
|
|||
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
register_stats_tree_tap (gpointer k _U_, gpointer v, gpointer p _U_)
|
||||
{
|
||||
stats_tree_cfg *cfg = (stats_tree_cfg *)v;
|
||||
|
|
|
@ -34,6 +34,8 @@
|
|||
#include <epan/stat_cmd_args.h>
|
||||
#include <epan/dissectors/packet-sv.h>
|
||||
|
||||
void register_tap_listener_sv(void);
|
||||
|
||||
static int
|
||||
sv_packet(void *prs _U_, packet_info *pinfo, epan_dissect_t *edt _U_, const void *pri)
|
||||
{
|
||||
|
|
|
@ -39,6 +39,8 @@
|
|||
#include "epan/value_string.h"
|
||||
#include <epan/dissectors/packet-wsp.h>
|
||||
|
||||
void register_tap_listener_wspstat(void);
|
||||
|
||||
/* used to keep track of the stats for a specific PDU type*/
|
||||
typedef struct _wsp_pdu_t {
|
||||
const gchar *type;
|
||||
|
|
Loading…
Reference in New Issue