ps.c
svnversion.h
sync_pipe_write.c
- timestats.c
tap-megaco-common.c
tap-rtp-common.c
version_info.c
print.c \
ps.c \
sync_pipe_write.c \
- timestats.c \
tap-megaco-common.c \
tap-rtp-common.c \
version_info.c
ps.h \
register.h \
tempfile.h \
- timestats.h \
tap-megaco-common.h \
tap-rtp-common.h \
version_info.h \
editcap_SOURCES = \
editcap.c \
epan/crypt/md5.c \
- epan/nstime.c \
$(WTAP_PLUGIN_SOURCES)
# reordercap specifics
#include "packet-tcp.h"
#include "packet-http.h"
#include <epan/prefs.h>
-#include <epan/nstime.h>
#define PNAME "Certificate Management Protocol"
#define PSNAME "CMP"
#include <epan/asn1.h>
#include <epan/etypes.h>
#include <epan/expert.h>
-#include <epan/nstime.h>
#include "packet-ber.h"
#include "packet-acse.h"
#include <epan/packet.h>
#include <epan/asn1.h>
#include <epan/expert.h>
-#include <epan/nstime.h>
#include "packet-ber.h"
#include "packet-acse.h"
#include <epan/asn1.h>
#include <epan/etypes.h>
#include <epan/expert.h>
-#include <epan/nstime.h>
#include <stdio.h>
#include <string.h>
#include "epan/plugins.h"
#include "epan/report_err.h"
#include "epan/filesystem.h"
-#include "epan/nstime.h"
+#include "wsutil/nstime.h"
#undef WS_BUILD_DLL
#define RESET_SYMBOL_EXPORT
ipproto.c
ipv4.c
next_tvb.c
- nstime.c
oids.c
osi-utils.c
packet.c
ipproto.c \
ipv4.c \
next_tvb.c \
- nstime.c \
oids.c \
osi-utils.c \
packet.c \
llcsaps.h \
next_tvb.h \
nlpid.h \
- nstime.h \
oids.h \
osi-utils.h \
oui.h \
#include <epan/timestamp.h>
#include <epan/prefs.h>
-#include <epan/nstime.h>
#include <epan/dfilter/dfilter.h>
#include <epan/column.h>
#include <epan/packet.h>
#include "packet-tcp.h"
#include "packet-http.h"
#include <epan/prefs.h>
-#include <epan/nstime.h>
#define PNAME "Certificate Management Protocol"
#define PSNAME "CMP"
static int hf_cmp_PKIFailureInfo_duplicateCertReq = -1;
/*--- End of included file: packet-cmp-hf.c ---*/
-#line 70 "../../asn1/cmp/packet-cmp-template.c"
+#line 69 "../../asn1/cmp/packet-cmp-template.c"
/* Initialize the subtree pointers */
static gint ett_cmp = -1;
static gint ett_cmp_PollRepContent_item = -1;
/*--- End of included file: packet-cmp-ett.c ---*/
-#line 74 "../../asn1/cmp/packet-cmp-template.c"
+#line 73 "../../asn1/cmp/packet-cmp-template.c"
/*--- Included file: packet-cmp-fn.c ---*/
#line 1 "../../asn1/cmp/packet-cmp-fn.c"
/*--- End of included file: packet-cmp-fn.c ---*/
-#line 75 "../../asn1/cmp/packet-cmp-template.c"
+#line 74 "../../asn1/cmp/packet-cmp-template.c"
static int
dissect_cmp_pdu(tvbuff_t *tvb, proto_tree *tree, asn1_ctx_t *actx)
NULL, HFILL }},
/*--- End of included file: packet-cmp-hfarr.c ---*/
-#line 332 "../../asn1/cmp/packet-cmp-template.c"
+#line 331 "../../asn1/cmp/packet-cmp-template.c"
};
/* List of subtrees */
&ett_cmp_PollRepContent_item,
/*--- End of included file: packet-cmp-ettarr.c ---*/
-#line 338 "../../asn1/cmp/packet-cmp-template.c"
+#line 337 "../../asn1/cmp/packet-cmp-template.c"
};
module_t *cmp_module;
/*--- End of included file: packet-cmp-dis-tab.c ---*/
-#line 410 "../../asn1/cmp/packet-cmp-template.c"
+#line 409 "../../asn1/cmp/packet-cmp-template.c"
inited = TRUE;
}
#include <epan/asn1.h>
#include <epan/etypes.h>
#include <epan/expert.h>
-#include <epan/nstime.h>
#include "packet-ber.h"
#include "packet-acse.h"
static int hf_goose_utc_time = -1; /* UtcTime */
/*--- End of included file: packet-goose-hf.c ---*/
-#line 52 "../../asn1/goose/packet-goose-template.c"
+#line 51 "../../asn1/goose/packet-goose-template.c"
/* Initialize the subtree pointers */
static int ett_goose = -1;
static gint ett_goose_Data = -1;
/*--- End of included file: packet-goose-ett.c ---*/
-#line 57 "../../asn1/goose/packet-goose-template.c"
+#line 56 "../../asn1/goose/packet-goose-template.c"
/*--- Included file: packet-goose-fn.c ---*/
/*--- End of included file: packet-goose-fn.c ---*/
-#line 59 "../../asn1/goose/packet-goose-template.c"
+#line 58 "../../asn1/goose/packet-goose-template.c"
/*
* Dissect GOOSE PDUs inside a PPDU.
"UtcTime", HFILL }},
/*--- End of included file: packet-goose-hfarr.c ---*/
-#line 127 "../../asn1/goose/packet-goose-template.c"
+#line 126 "../../asn1/goose/packet-goose-template.c"
};
/* List of subtrees */
&ett_goose_Data,
/*--- End of included file: packet-goose-ettarr.c ---*/
-#line 133 "../../asn1/goose/packet-goose-template.c"
+#line 132 "../../asn1/goose/packet-goose-template.c"
};
static ei_register_info ei[] = {
#include <epan/prefs.h>
#include <epan/conversation.h>
#include "packet-scsi.h"
-#include <epan/nstime.h>
#include <epan/emem.h>
#include <epan/range.h>
#include <wsutil/crc32.h>
#include <epan/packet.h>
#include <epan/asn1.h>
#include <epan/expert.h>
-#include <epan/nstime.h>
#include "packet-ber.h"
#include "packet-acse.h"
static int hf_mms_Transitions_any_to_deleted = -1;
/*--- End of included file: packet-mms-hf.c ---*/
-#line 47 "../../asn1/mms/packet-mms-template.c"
+#line 46 "../../asn1/mms/packet-mms-template.c"
/* Initialize the subtree pointers */
static gint ett_mms = -1;
static gint ett_mms_FileAttributes = -1;
/*--- End of included file: packet-mms-ett.c ---*/
-#line 51 "../../asn1/mms/packet-mms-template.c"
+#line 50 "../../asn1/mms/packet-mms-template.c"
static expert_field ei_mms_mal_timeofday_encoding = EI_INIT;
static expert_field ei_mms_mal_utctime_encoding = EI_INIT;
/*--- End of included file: packet-mms-fn.c ---*/
-#line 56 "../../asn1/mms/packet-mms-template.c"
+#line 55 "../../asn1/mms/packet-mms-template.c"
/*
* Dissect MMS PDUs inside a PPDU.
NULL, HFILL }},
/*--- End of included file: packet-mms-hfarr.c ---*/
-#line 95 "../../asn1/mms/packet-mms-template.c"
+#line 94 "../../asn1/mms/packet-mms-template.c"
};
/* List of subtrees */
&ett_mms_FileAttributes,
/*--- End of included file: packet-mms-ettarr.c ---*/
-#line 101 "../../asn1/mms/packet-mms-template.c"
+#line 100 "../../asn1/mms/packet-mms-template.c"
};
static ei_register_info ei[] = {
#include <epan/asn1.h>
#include <epan/etypes.h>
#include <epan/expert.h>
-#include <epan/nstime.h>
#include <stdio.h>
#include <string.h>
static int hf_sv_smpMod = -1; /* T_smpMod */
/*--- End of included file: packet-sv-hf.c ---*/
-#line 105 "../../asn1/sv/packet-sv-template.c"
+#line 104 "../../asn1/sv/packet-sv-template.c"
/* Initialize the subtree pointers */
static int ett_sv = -1;
static gint ett_sv_ASDU = -1;
/*--- End of included file: packet-sv-ett.c ---*/
-#line 112 "../../asn1/sv/packet-sv-template.c"
+#line 111 "../../asn1/sv/packet-sv-template.c"
static expert_field ei_sv_mal_utctime = EI_INIT;
/*--- End of included file: packet-sv-fn.c ---*/
-#line 195 "../../asn1/sv/packet-sv-template.c"
+#line 194 "../../asn1/sv/packet-sv-template.c"
/*
* Dissect SV PDUs inside a PPDU.
NULL, HFILL }},
/*--- End of included file: packet-sv-hfarr.c ---*/
-#line 312 "../../asn1/sv/packet-sv-template.c"
+#line 311 "../../asn1/sv/packet-sv-template.c"
};
/* List of subtrees */
&ett_sv_ASDU,
/*--- End of included file: packet-sv-ettarr.c ---*/
-#line 320 "../../asn1/sv/packet-sv-template.c"
+#line 319 "../../asn1/sv/packet-sv-template.c"
};
static ei_register_info ei[] = {
#include <epan/column_info.h>
#include <epan/tvbuff.h>
-#include <epan/nstime.h>
+#include <wsutil/nstime.h>
#include "ws_symbol_export.h"
#define PINFO_FD_NUM(pinfo) ((pinfo)->fd->num)
#include <epan/guid-utils.h>
#include <epan/tvbuff.h>
-#include <epan/nstime.h>
+#include <wsutil/nstime.h>
#include <epan/dfilter/drange.h>
typedef struct _fvalue_t {
#include <glib.h>
#include "ipv4.h"
-#include "nstime.h"
+#include "wsutil/nstime.h"
#include "time_fmt.h"
#include "tvbuff.h"
#include "ftypes/ftypes.h"
#include <glib.h>
-#include "nstime.h"
+#include "wsutil/nstime.h"
#include "time_fmt.h"
#include <epan/packet_info.h>
#include "ws_symbol_export.h"
#include "wslua.h"
#include <epan/dissectors/packet-frame.h>
-#include <epan/nstime.h>
#include <math.h>
#include <epan/expert.h>
#include <epan/ex-opt.h>
#include <epan/funnel.h>
#include <epan/tvbparse.h>
#include <epan/epan.h>
-#include <epan/nstime.h>
+#include <wsutil/nstime.h>
#include "declare_wslua.h"
#include <epan/tap.h>
#include "epan/gcp.h"
-#include "../timestats.h"
+#include "wsutil/timestats.h"
#include "../file.h"
#include "../globals.h"
#include "../stat_menu.h"
#include <epan/stat_cmd_args.h>
#include <epan/value_string.h>
#include <epan/dissectors/packet-afp.h>
-#include "timestats.h"
+#include "wsutil/timestats.h"
/* used to keep track of the statistics for an entire program interface */
typedef struct _afpstat_t {
#include "epan/asn1.h"
#include "epan/dissectors/packet-camel.h"
#include "epan/camel-persistentdata.h"
-#include "timestats.h"
+#include "wsutil/timestats.h"
#include "epan/stat_cmd_args.h"
#include <epan/timestamp.h>
#include <epan/stat_cmd_args.h>
#include <epan/dissectors/packet-ip.h>
-#include "timestats.h"
+#include "wsutil/timestats.h"
/* For checksum */
#include <epan/epan_dissect.h>
#include <epan/stat_cmd_args.h>
#include "epan/value_string.h"
-#include "epan/nstime.h"
#include "epan/ftypes/ftypes.h"
#include "epan/to_str.h"
#include "epan/dissectors/packet-diameter.h"
#include <glib.h>
#include <wiretap/wtap.h>
-#include <epan/nstime.h>
#include <epan/proto.h>
#include <epan/funnel.h>
#include <epan/stat_cmd_args.h>
#include "epan/value_string.h"
#include <epan/dissectors/packet-h225.h>
-#include "timestats.h"
+#include "wsutil/timestats.h"
/* following values represent the size of their valuestring arrays */
#define NUM_RAS_STATS 7
#include <epan/stat_cmd_args.h>
#include "epan/value_string.h"
#include "epan/gcp.h"
-#include "timestats.h"
+#include "wsutil/timestats.h"
#include <epan/prefs-int.h>
#include "tap-megaco-common.h"
#include <epan/stat_cmd_args.h>
#include "epan/value_string.h"
#include "epan/dissectors/packet-mgcp.h"
-#include "timestats.h"
+#include "wsutil/timestats.h"
#define NUM_TIMESTATS 11
#include <epan/stat_cmd_args.h>
#include "epan/value_string.h"
#include <epan/dissectors/packet-radius.h>
-#include "timestats.h"
+#include "wsutil/timestats.h"
typedef enum _radius_category {
RADIUS_CAT_OVERALL = 0,
#include <epan/stat_cmd_args.h>
#include "epan/value_string.h"
#include <epan/dissectors/packet-smb.h>
-#include "timestats.h"
+#include "wsutil/timestats.h"
#define MICROSECS_PER_SEC 1000000
#define NANOSECS_PER_SEC 1000000000
#include <epan/packet_info.h>
#include <epan/tap.h>
#include <epan/stat_cmd_args.h>
-#include <epan/nstime.h>
#include <epan/dissectors/packet-sv.h>
static int
#include <epan/tap.h>
#include <epan/dissectors/packet-afp.h>
-#include "../timestats.h"
#include "../file.h"
#include "../stat_menu.h"
#include <epan/camel-persistentdata.h>
#include "../stat_menu.h"
-#include "../timestats.h"
#include "ui/simple_dialog.h"
#include <epan/asn1.h>
#include <epan/camel-persistentdata.h>
-#include "../timestats.h"
#include "../file.h"
#include "../stat_menu.h"
#include <epan/packet.h>
#include <epan/report_err.h>
#include <epan/dissectors/packet-ip.h>
-#include <epan/nstime.h>
#include <epan/in_cksum.h>
#include "../stat_menu.h"
-#include "../timestats.h"
+#include "wsutil/timestats.h"
#include "ui/simple_dialog.h"
#include <epan/address.h>
#include <epan/addr_resolv.h>
#include <epan/tap.h>
-#include <epan/nstime.h>
#include "../globals.h"
#include <epan/tap.h>
#include <epan/dissectors/packet-diameter.h>
-#include "../timestats.h"
#include "../file.h"
#include "../stat_menu.h"
#include <epan/dissectors/packet-scsi.h>
#include <epan/dissectors/packet-fc.h>
-#include "../timestats.h"
#include "ui/simple_dialog.h"
#include "../file.h"
#include "../stat_menu.h"
#include <epan/proto.h>
#include <epan/dfilter/dfilter.h>
-#include <epan/nstime.h>
#include <epan/strutil.h>
#include <epan/prefs.h>
#include <epan/filter_expressions.h>
#include <epan/prefs.h>
#include <epan/funnel.h>
-#include "../timestats.h"
#include "../file.h"
#include "../stat_menu.h"
#include "ui/progress_dlg.h"
#include <epan/tap.h>
#include <epan/dissectors/packet-gtp.h>
-#include "../timestats.h"
#include "ui/simple_dialog.h"
#include "../file.h"
#include "../stat_menu.h"
#include <epan/tap.h>
#include <epan/dissectors/packet-h225.h>
-#include "../timestats.h"
+#include "wsutil/timestats.h"
#include "ui/simple_dialog.h"
#include "../file.h"
#include "../stat_menu.h"
#include <epan/tap.h>
#include <epan/dissectors/packet-ldap.h>
-#include "../timestats.h"
#include "ui/simple_dialog.h"
#include "../file.h"
#include "../stat_menu.h"
#include "epan/gcp.h"
#include <epan/prefs-int.h>
-#include "../timestats.h"
+#include "wsutil/timestats.h"
#include "ui/simple_dialog.h"
#include "../file.h"
#include "../stat_menu.h"
#include <epan/tap.h>
#include "epan/dissectors/packet-mgcp.h"
-#include "../timestats.h"
+#include "wsutil/timestats.h"
#include "ui/simple_dialog.h"
#include "../file.h"
#include "../stat_menu.h"
#include <epan/tap.h>
#include <epan/dissectors/packet-ncp-int.h>
-#include "../timestats.h"
#include "ui/simple_dialog.h"
#include "../file.h"
#include "../stat_menu.h"
#include <epan/epan_dissect.h>
#include <epan/column_info.h>
#include <epan/column.h>
-#include <epan/nstime.h>
#include "color.h"
#include "color_filters.h"
#include <epan/tap.h>
#include <epan/dissectors/packet-radius.h>
-#include "../timestats.h"
+#include "wsutil/timestats.h"
#include "ui/simple_dialog.h"
#include "../file.h"
#include "../stat_menu.h"
#define __SERVICE_RESPONSE_TIME_TABLE_H__
#include <gtk/gtk.h>
-#include "epan/nstime.h"
-#include "../timestats.h"
+#include "wsutil/nstime.h"
+#include "wsutil/timestats.h"
/** @file
* Helper routines common to all service response time statistics tap.
#include <epan/tap.h>
#include <epan/dissectors/packet-smb2.h>
-#include "../timestats.h"
#include "ui/simple_dialog.h"
#include "../file.h"
#include "../globals.h"
#include <epan/tap.h>
#include <epan/dissectors/packet-smb.h>
-#include "../timestats.h"
#include "ui/simple_dialog.h"
#include "../file.h"
#include "../globals.h"
#include "../../epan/addr_resolv.h"
#include "../../epan/prefs.h"
#include "../../epan/filesystem.h"
-#include "../../epan/nstime.h"
+#include "../../wsutil/nstime.h"
#include <wireshark_application.h>
#include <epan/epan_dissect.h>
#include <epan/column_info.h>
#include <epan/column.h>
-#include <epan/nstime.h>
+#include <wsutil/nstime.h>
#include <epan/prefs.h>
#include "color.h"
#define __TIME_SHIFT_H__
#include "cfile.h"
-#include <epan/nstime.h>
+#include <wsutil/nstime.h>
#ifdef __cplusplus
extern "C" {
crc11.c
crcdrm.c
mpeg-audio.c
+ nstime.c
privileges.c
str_util.c
+ timestats.c
type_util.c
${WSUTIL_PLATFORM_FILES}
)
crc32.c \
crcdrm.c \
mpeg-audio.c \
+ nstime.c \
privileges.c \
str_util.c \
+ timestats.c \
type_util.c
# Header files that are not generated from other files
crc32.h \
crcdrm.h \
mpeg-audio.h \
+ nstime.h \
privileges.h \
str_util.h \
+ timestats.h \
type_util.h
#include <glib.h>
#include "epan/packet_info.h"
-#include "epan/nstime.h"
+#include "nstime.h"
/* Summary of time statistics*/
typedef struct _timestat_t {
/* functions */
/* Initialize a timestat_t struct */
-extern void time_stat_init(timestat_t *stats);
+WS_DLL_PUBLIC void time_stat_init(timestat_t *stats);
/* Update a timestat_t struct with a new sample */
-extern void time_stat_update(timestat_t *stats, const nstime_t *delta, packet_info *pinfo);
+WS_DLL_PUBLIC void time_stat_update(timestat_t *stats, const nstime_t *delta, packet_info *pinfo);
-extern gdouble get_average(const nstime_t *sum, guint32 num);
+WS_DLL_PUBLIC gdouble get_average(const nstime_t *sum, guint32 num);
#endif