/* tap_sipstat.c
* sip message counter for ethereal
*
- * $Id: tap-sipstat.c,v 1.2 2004/05/01 21:34:24 guy Exp $
+ * $Id$
* Copied from gtk/sip_stat.c and tap-httpstat.c
*
* Ethereal - Network traffic analyzer
#include <string.h>
#include "epan/packet_info.h"
-#include "tap.h"
+#include <epan/tap.h>
#include "epan/value_string.h"
#include "register.h"
-#include "packet-sip.h"
+#include <epan/dissectors/packet-sip.h>
/* used to keep track of the statictics for an entire program interface */
typedef struct _sip_stats_t {
/* Main entry point to SIP tap */
static int
-sipstat_packet(void *psp, packet_info *pinfo _U_, epan_dissect_t *edt _U_, void *pri)
+sipstat_packet(void *psp, packet_info *pinfo _U_, epan_dissect_t *edt _U_, const void *pri)
{
- sip_info_value_t *value=pri;
+ const sip_info_value_t *value=pri;
sipstat_t *sp = (sipstat_t *)psp;
/* Total number of packets, including continuation packets */