Commit Graph

140 Commits

Author SHA1 Message Date
Jeff Morriss a5cee04fad Move the file utility functions from wiretap to libwsutil so that
libwireshark (and the plugins using those functions) do not depend on
wiretap on Windows.

While doing that, rename the eth_* functions to ws_*.

svn path=/trunk/; revision=25354
2008-05-22 15:46:27 +00:00
Jaap Keuter d967c76c2f Add PTV cursor API to Win32 exported functions
svn path=/trunk/; revision=25322
2008-05-20 06:29:11 +00:00
Anders Broman 3456e3bac6 Do not export the depreciated functions proto_tree_add_xx_hidden()
any more.

svn path=/trunk/; revision=25295
2008-05-14 08:01:33 +00:00
Ulf Lamping 79ebaba30a export emem_tree_foreach as requested by user
svn path=/trunk/; revision=25003
2008-04-13 21:59:39 +00:00
Stig Bjørlykke 41e9bde037 Added an option to save column widths in the recent file.
Not 100% implemented for usage with configuration profiles with 
different column layout yet, as this requires some of the recent
values to be saved in each profile.

svn path=/trunk/; revision=24949
2008-04-12 19:37:05 +00:00
Anders Broman 6dfb039a26 From Jonas Nilsson:
Add exports for packet-gsm_a decoding functions in libwireshark.def
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2427

svn path=/trunk/; revision=24944
2008-04-12 17:09:20 +00:00
Stephen Fisher bbcd8e7529 Remove ws_strsplit from libwireshark.def to fix Windows build
svn path=/trunk/; revision=24830
2008-04-07 05:37:29 +00:00
Martin Mathieson 9a042adc6a Export proto_register_prefix()
svn path=/trunk/; revision=24766
2008-04-04 05:26:47 +00:00
Guy Harris 1f19552893 Add a missing routine (proto_initialize_all_prefixes).
svn path=/trunk/; revision=24764
2008-04-04 00:38:11 +00:00
Anders Broman 4d1463f62d Export:
dissect_gsm_map_GlobalCellId
dissect_gsm_map_lcs_Ext_GeographicalInformation

Dissect GlobalCellId 
Fix offset in GeographicalInformation
use parameter tvb when calling be_chan_type()

svn path=/trunk/; revision=24728
2008-03-25 21:49:55 +00:00
Tomas Kukosa 27afff18dd export SRTP related functions
svn path=/trunk/; revision=24694
2008-03-19 08:24:57 +00:00
Stig Bjørlykke 3b4c2011cb Export get_column_custom_field from libwireshark.
svn path=/trunk/; revision=24680
2008-03-17 23:59:49 +00:00
Gerald Combs f9c1aac9bb From Anders: Add a couple of entries to libwireshark.def.
svn path=/trunk/; revision=24670
2008-03-17 18:13:01 +00:00
Jeff Morriss 74f8aef594 For Anders: add call_ber_oid_callback()
svn path=/trunk/; revision=24665
2008-03-17 14:17:00 +00:00
Anders Broman 85c905c9dd Add register_ber_oid_dissector_handle to the exported functions.
svn path=/trunk/; revision=24659
2008-03-16 19:38:22 +00:00
Anders Broman 2fbd6fcf1f Add register_ber_oid_dissector to the exported functions.
svn path=/trunk/; revision=24638
2008-03-15 11:40:49 +00:00
Anders Broman 7a5b90df34 From Peter Johansson :
Support for EtherCAT subdissectors.

svn path=/trunk/; revision=24566
2008-03-05 20:42:58 +00:00
Stig Bjørlykke 43272f9435 Added an option to Conversations and Endpoints to limit the list to match
the current display filter.

Some Hosts -> Endpoints cleanup.

svn path=/trunk/; revision=24368
2008-02-17 00:35:55 +00:00
Gerald Combs eba80d5c38 Add fvalue_string_repr_len.
svn path=/trunk/; revision=24337
2008-02-15 22:35:09 +00:00
Stephen Fisher 8f3a1b0d16 Check in changes originally checked in as SVN revision 24308 (new column
type: Custom) that were backed out in SVN revision 24309.

Changes since that revision include a reworking of the handling of the
cfile/cinfo variables in epan/column-utils.c, addition of three new
functions to libwireshark.def and a bug fix to prevent a crash when no
custom columns were not in use.

Compilation verified locally on MacOS X, Linux and Windows.


svn path=/trunk/; revision=24317
2008-02-13 05:05:33 +00:00
Stig Bjørlykke 71ad1e38f8 Add get_sctp_port to libwireshark.def
svn path=/trunk/; revision=24292
2008-02-08 14:47:21 +00:00
Gerald Combs a4a1f2a69e Make the "!="/"ne" change compile under Windows.
svn path=/trunk/; revision=24234
2008-01-31 20:18:07 +00:00
Stig Bjørlykke f3747bf637 Hide hidden devices in "Capture Interfaces" dialog.
Added a function to check for hidden devices, which also work correctly
for plumbed devices on solaris.

svn path=/trunk/; revision=24231
2008-01-31 16:47:05 +00:00
Stig Bjørlykke 1efb7e3627 Add Luis' uat_get_table_by_name() to fetch SMI uat tables.
svn path=/trunk/; revision=24229
2008-01-30 22:50:55 +00:00
Jeff Morriss 98ae26105c Add tvb_free (as per the request in http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2219)
svn path=/trunk/; revision=24191
2008-01-25 15:34:55 +00:00
Stig Bjørlykke 1621224a86 Free allocated data in prefs_reset, removed need for uat_reload_all and
made some cleanups in profile_dlg.

svn path=/trunk/; revision=24136
2008-01-19 01:18:35 +00:00
Stig Bjørlykke ce9142ead7 Added smi_modules_uat and smi_paths_uat to libwireshark.def.
svn path=/trunk/; revision=24134
2008-01-18 16:13:48 +00:00
Anders Broman 6cb56fba71 make per_constrained_integer handle 64bits needed for X2AP.
svn path=/trunk/; revision=24097
2008-01-15 17:59:43 +00:00
Stig Bjørlykke a2d1e9005d This patch adds support for configuration profiles, which can be used to
configure and use more than one set of preferences and configuration files.

This can be found in the "Configuration Profiles..." menu item from the Edit
menu, or by pressing Shift-Ctrl-A.  It's also possible to start wireshark
and tshark with a named profile by using the "-C ProfileName" option.
A new status pane in the main window will show the current profile.

The configuration files currently stored in the Profiles are:
- Preferences
- Capture Filters
- Display Filters
- Coloring Rules
- Disabled Protocols
- User Accessible Tables

The recent data are by design not added to the profile.

Planned future enhancements:
- make a more convenient function to switch between profiles
- add a "clone profile" button to copy an existing profile
- make the profiles list active and accept return as OK
- save users "Decode as" in the profile
- make new, clone and deletion of profiles more secure
- make some of the recent values available in the profile

This patch also fixes:
- setting default status pane sizes
- a bug setting status pane for packets when not having main lower pane.

svn path=/trunk/; revision=24089
2008-01-14 16:40:23 +00:00
Anders Broman de16039c51 Get rid of dissect_ber_boolean_value() and change the signature of
dissect_ber_boolean() to return a value and update asn2wrs to generate the new signature.
Regenerate all BER dissectors.

svn path=/trunk/; revision=24015
2008-01-04 16:21:07 +00:00
Anders Broman 73fee653de Get rid of ber_last_created_item(). (Final?)
svn path=/trunk/; revision=24010
2008-01-04 13:39:24 +00:00
Graeme Lunt 7a5f960bb7 Add missing proto_get_id
svn path=/trunk/; revision=23874
2007-12-15 15:17:07 +00:00
Anders Broman e5f48395f1 Move the routines tvb_skip_wsp() to tvbuff.c
svn path=/trunk/; revision=23818
2007-12-09 17:41:16 +00:00
Gerald Combs 0fa29bb1ea Add an oid_get_default_mib_path() function, and use it to display the MIB
path in About->Folders.

svn path=/trunk/; revision=23753
2007-12-04 18:43:40 +00:00
Tomas Kukosa a5ca7ec384 hide implementation of module list
(it makes easier change from GList to GTree as we have many modules now and GList implementation is slow for searching)

svn path=/trunk/; revision=23669
2007-11-29 07:52:52 +00:00
Stig Bjørlykke 5fa904e278 Added tvb_get_ephemeral_faked_unicode and tvb_get_ephemeral_stringz
to epan/libwireshark.def

svn path=/trunk/; revision=23619
2007-11-27 11:21:12 +00:00
Gerald Combs dfb104544f Add relative start time, duration, and average data rate (bps) columns
to the conversation lists. Move the "copy" button down to the button bar
in order to free up some real estate. Add an nstime_cmp() function. Clean
up code in a few places.

svn path=/trunk/; revision=23516
2007-11-20 18:35:41 +00:00
Martin Mathieson 24d6a39eb0 Embedding EAP inside wimaxasncp.
svn path=/trunk/; revision=23474
2007-11-16 23:03:09 +00:00
Anders Broman de19156225 follow_tcp_stats -> follow_stats
svn path=/trunk/; revision=23351
2007-11-04 08:11:24 +00:00
Tomas Kukosa 84488ec016 asn2wrs
- parameterized object class assignment
 - octet string with extensible size constraint
 - RELATIVE-OID type (still not supported in packet-per/ber)
packet-per
 - octet string with extensible size constraint
more dissect_per_... functions exported from libwireshark.dll
PER dissectors regenerated
add forgotten packet-h323-template.h
fix svn properties for h323 files

svn path=/trunk/; revision=23309
2007-10-29 19:25:37 +00:00
Tomas Kukosa 136de3920c new codec table for registering codecs by name
new codec plugin type
search registered codecs in rtp player
fix memory leak in rtp player

svn path=/trunk/; revision=23270
2007-10-25 09:38:15 +00:00
Tomas Kukosa 44800d2c5a H.460 new dissector implemented (H.460.2-H.460.22)
H.225
 - change RysMessage_vals to h225_Rasmessage_vals
 - use #.PDU directive for H323-UserInformation and RasMessage instead of implementing it by hands
 - register RasMessage_PDU as "h225.ras" dissector for calling it from H.460
asn2wrs make PDUs exportable

svn path=/trunk/; revision=23226
2007-10-18 13:35:57 +00:00
Graham Bloice 74b161b108 Fixed sort order, used case-insensitive ascending
svn path=/trunk/; revision=23223
2007-10-18 11:42:59 +00:00
Stig Bjørlykke d6d6502bb7 Add eth_stdio_open to libwireshark.def
svn path=/trunk/; revision=23222
2007-10-18 11:29:32 +00:00
Tomas Kukosa e461d0d0e8 export more types from H.225.0 and H.245 which will be necessary for H.460.x, H.323 (Annex M,R), H.501
svn path=/trunk/; revision=23069
2007-10-05 07:44:03 +00:00
Sake Blok a592e6412c This patch adds two new column types:
- COL_REL_CONV_TIME which is used to display the time relative to the first frame that was seen in the conversation
- COL_DELTA_CONV_TIME which is used to display the delta time from the previous frame of the conversation

It also adds the function "col_set_time()" to "epan/column-utils.[ch]" which can be called from within a dissector to set either of these two columns to the appropiate time.

Last but not least, it lets the tcp-dissector make use of these two columns.


svn path=/trunk/; revision=23058
2007-10-03 14:02:08 +00:00
Tomas Kukosa 138050c4ea improvements in ROS handling in Q.932 and H.450
move common ROS code into ros/ros-*.cnf files

svn path=/trunk/; revision=22936
2007-09-24 11:01:53 +00:00
Tomas Kukosa c50da9f742 Support of QSIG Extensions
svn path=/trunk/; revision=22888
2007-09-17 13:23:25 +00:00
Gerald Combs d2d4fcd903 Add routines under Windows to check if npf.sys is running, and to
fetch the major OS version.  If we're running Windows >= 6 (Vista)
_and_ npf.sys isn't running, warn the user in Wireshark and TShark.
Add a recent prefs item to disable the warning in Wireshark.

svn path=/trunk/; revision=22877
2007-09-15 00:18:17 +00:00
Stig Bjørlykke a072f5e810 Added ipprotostr to libwireshark.def
svn path=/trunk/; revision=22805
2007-09-06 14:02:35 +00:00