Stig Bjørlykke
13cfe2964f
Export add_ip_name_from_string from epan.
...
svn path=/trunk/; revision=32573
2010-04-27 07:41:34 +00:00
Gerasimos Dimitriadis
dc2ceaa379
Insert the function which analyzes Q.708 ISPCs in libwireshark.def
...
svn path=/trunk/; revision=32336
2010-03-31 05:36:31 +00:00
Bill Meier
c835846723
Convert tabs to spaces as per the comment in the file.
...
svn path=/trunk/; revision=32314
2010-03-27 18:43:12 +00:00
Anders Broman
1e784fc7fe
Add proto_tree_add_bitmask_text to libwireshark.def
...
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4621
svn path=/trunk/; revision=32311
2010-03-27 18:19:31 +00:00
Anders Broman
c62344e572
Make tap-diameter-avp.c compile on windows.
...
I hope strtok_s is portable.
svn path=/trunk/; revision=32134
2010-03-07 16:00:34 +00:00
Anders Broman
31622d1c34
Add oids_cleanup and oids_init to libwireshark.def to make it compile.
...
svn path=/trunk/; revision=32097
2010-03-03 19:23:12 +00:00
Guy Harris
6ca62ee1eb
Sort the geoip_db_ routines, add geoip_db_type(), remove extra
...
geoip_db_get_paths().
svn path=/trunk/; revision=32056
2010-02-28 21:13:40 +00:00
Stig Bjørlykke
0132384530
Forgot that etype_vals is DATA.
...
svn path=/trunk/; revision=31811
2010-02-07 10:41:06 +00:00
Stig Bjørlykke
d96a1078a2
Export etype_vals from libwireshark.
...
Moved some elements alphabetical.
This fixes request in bug 4468.
svn path=/trunk/; revision=31810
2010-02-07 10:29:41 +00:00
Gerasimos Dimitriadis
ba32bc6d54
Fix for Bug 3116
...
wrong decoding IMSI with GSM MAP protocol
svn path=/trunk/; revision=31764
2010-02-01 21:19:56 +00:00
Gerasimos Dimitriadis
6fd1cec787
From Jakub Zawadzki:
...
Remove prepare_bits_string from proto.c; Use
equivalent function decode_bits_in_field in to_str.c
svn path=/trunk/; revision=31665
2010-01-25 18:26:47 +00:00
Gerasimos Dimitriadis
065546cdcb
Change the prefix of the underscore escaping/unescaping
...
functions from g_ to ws_; Insert function names in
libwireshark.def
svn path=/trunk/; revision=31662
2010-01-25 18:14:01 +00:00
Ronnie Sahlberg
cb37c28c37
Export the dissect_mscldap_string() that is used to dissect
...
compressed dns strings.
svn path=/trunk/; revision=31650
2010-01-25 05:38:22 +00:00
Gerald Combs
708e80bf6f
Add profile_store_persconffiles.
...
svn path=/trunk/; revision=31338
2009-12-21 17:20:49 +00:00
Stig Bjørlykke
885093fe09
Export copy_persconffile_profile.
...
svn path=/trunk/; revision=31336
2009-12-21 14:41:04 +00:00
Jaap Keuter
6af0e4e002
From Richard Pecl:
...
Adding prefs_register_protocol_subtree to libwireshark.def
svn path=/trunk/; revision=31246
2009-12-11 17:35:10 +00:00
Tomas Kukosa
f11b9097f6
Export more BER functions
...
svn path=/trunk/; revision=30940
2009-11-12 14:44:40 +00:00
Stig Bjørlykke
3a5c9ec3b2
Load lua scripts in the plugins directory, both global and personal.
...
List loaded lua scripts in Help->About->Plugins.
svn path=/trunk/; revision=30675
2009-10-23 17:52:18 +00:00
Jeff Morriss
6274e6b1ff
... and emem_init isn't (it is called directly by reassemble_test).
...
svn path=/trunk/; revision=30651
2009-10-21 00:12:36 +00:00
Guy Harris
7443432ed5
ep_init_chunk() and se_init_chunk() are static.
...
svn path=/trunk/; revision=30650
2009-10-20 23:50:31 +00:00
Guy Harris
acf223006c
Add req_resp_hdrs_do_reassembly to the list of functions that are
...
exported by libwireshark, so it's usable by plugins.
svn path=/trunk/; revision=30468
2009-10-10 09:38:37 +00:00
Ronnie Sahlberg
06cd64f64b
mark the dcerpc 1632 and 3264 type dissectors exportable for windows
...
svn path=/trunk/; revision=30411
2009-10-09 04:11:36 +00:00
Kovarththanan Rajaratnam
ad7042d2a4
calculate_crc32c -> crc32c_calculate for proper 'namespacing'
...
svn path=/trunk/; revision=30405
2009-10-08 15:10:43 +00:00
Jeff Morriss
3c960cd5a2
As requested by Gregory Seidman on -dev: add CRC32 functions to libwireshark.def. Use consistent indentation in crc32.c.
...
svn path=/trunk/; revision=30401
2009-10-08 14:28:23 +00:00
Ronnie Sahlberg
d86f67b925
add a new function read_keytab_file_from_preferences(void)
...
that can be called by dissectoirs using kerberos keytab files.
This function will load a new keytab file on demand, if it is changed in
the preferences.
The previous code had you save the preferences and then restart
wireshark which is suboptimal from a user friendly perspective
svn path=/trunk/; revision=30384
2009-10-07 07:03:33 +00:00
Stig Bjørlykke
e162470d6b
Prime interesting fields when selecting a package, so Lua's ProtoField
...
can extract the field value correctly.
This fixes bug 4058.
svn path=/trunk/; revision=30252
2009-10-02 19:55:43 +00:00
Kovarththanan Rajaratnam
14d2f617c2
Refactor frame_data_init() into frame_data_set_before_dissect() and frame_data_set_after_dissect().
...
svn path=/trunk/; revision=30066
2009-09-22 14:23:20 +00:00
Kovarththanan Rajaratnam
2e282e7567
Introduce frame_data_cleanup() and start using it
...
svn path=/trunk/; revision=30023
2009-09-20 18:18:29 +00:00
Kovarththanan Rajaratnam
e56f27dc99
Introduce frame_data_init() and get rid of fill_in_fdata() in tshark.c
...
svn path=/trunk/; revision=30021
2009-09-20 17:51:16 +00:00
Kovarththanan Rajaratnam
b97cfa22fd
offset_from_real_beginning() is only called with 0 as second argument, so remove the argument completely. It seems that the second argument only acts as an accumulator allowing offset_from_real_beginning() to call itself recursively. To be consistent offset_from_real_beginning() is renamed to tvb_offset_from_real_beginning().
...
svn path=/trunk/; revision=29844
2009-09-10 16:54:02 +00:00
Kovarththanan Rajaratnam
8c48c6835f
Rename address_to_str() to ep_address_to_str() because:
...
1) This indicates that the string has ephemeral lifetime
2) More consistent with its existing seasonal counterpart, se_address_to_str().
svn path=/trunk/; revision=29747
2009-09-06 14:25:47 +00:00
Kovarththanan Rajaratnam
7d4cf0b966
col_custom_set_fstr() is unused. Remove it
...
svn path=/trunk/; revision=29722
2009-09-05 18:45:55 +00:00
Tomas Kukosa
9e282cf141
export t38_add_address, prefer destination port for T.38 conversation searching
...
svn path=/trunk/; revision=29564
2009-08-26 15:10:31 +00:00
Anders Broman
1108352f00
Use col_text in frame data.
...
- colum-utils needs more work, based on
Didier Gautherons optimizations patch http://wiki.wireshark.org/Development/Optimization
svn path=/trunk/; revision=29489
2009-08-21 10:12:47 +00:00
Anders Broman
7ec476b88a
From Didier Gautheron:
...
Part 2
Extracted from optimizations patch http://wiki.wireshark.org/Development/Optimization
Optimize expert info.
Slightly changed by me.
svn path=/trunk/; revision=29478
2009-08-19 18:37:13 +00:00
Kovarththanan Rajaratnam
8b515e9340
Switch a bunch of dissectors over to using tvb_new_subset_remaining()
...
svn path=/trunk/; revision=29446
2009-08-16 12:36:22 +00:00
Kovarththanan Rajaratnam
80a6d3fbcf
Introduce epan_dissect_init()/epan_dissect_cleanup(). These are used to initialise/cleanup stack allocated 'edt' structures. This should speed up dissection since we avoid some malloc traffic.
...
svn path=/trunk/; revision=29404
2009-08-13 19:42:46 +00:00
Kovarththanan Rajaratnam
261a8406bc
TRY_TO_FAKE_THIS_ITEM now fakes FT_PROTOCOL per default. If there are any users (e.g. proto_hier_stats.c, others?) that relies on FT_PROTOCOL nodes being created they'll now need to call the newly introduced epan_dissect_fake_protocols() to disable this optimization.
...
Also make use of TRY_TO_FAKE_THIS_ITEM in proto_tree_add_text_node(), proto_tree_add_none_format() and proto_tree_add_protocol_format().
svn path=/trunk/; revision=29380
2009-08-11 18:08:03 +00:00
Anders Broman
9ca4ac2bed
From Kovarththanan Rajaratnam:
...
Use frame_data values .
svn path=/trunk/; revision=29202
2009-07-27 03:34:57 +00:00
Anders Broman
c9b459f8e6
Take 2:
...
From Jakub Zawadzki:
This patch is cut&paste code from gtk/main_packet_list.c:packet_list_compare()
to new function frame_data_compare()
+ it make use of new function inside packet_list_compare() and
packet_list_compare_records()
svn path=/trunk/; revision=29165
2009-07-22 08:11:50 +00:00
Stig Bjørlykke
221225e0f3
From Kovarththanan Rajaratnam via bug 3719:
...
This patch optimizes proto_tree_prime_hfid() + friends and
plugs a memleak in the process.
From me:
Removed unused hfindex in proto_tree_new_item()
Fixed ref_count entry in struct header_field_info.
svn path=/trunk/; revision=29137
2009-07-18 20:10:14 +00:00
Stig Bjørlykke
27572c22f4
From Kovarththanan Rajaratnam via bug 3702:
...
This patch optimizes the data source name processing in add_new_data_source()
by delaying it. We now simply store the constant string and lazily compute the
name when needed. This gives a performance boost because we only need the name
if we have multiple data sources.
svn path=/trunk/; revision=29066
2009-07-12 10:19:13 +00:00
Stig Bjørlykke
57e7a91b06
Removed flags_set_truth
...
svn path=/trunk/; revision=28997
2009-07-07 18:22:23 +00:00
Gerald Combs
bfa7074d82
mkstemp cleanups.
...
svn path=/trunk/; revision=28923
2009-07-02 19:50:35 +00:00
Guy Harris
cf91fdf16b
Have tap listeners specify whether the "packet" routine requires
...
a protocol tree;
the column values.
This includes stats-tree listeners.
Have the routines to build the packet list, and to retap packets, honor
those requirements. This means that cf_retap_packets() no longer needs
an argument to specify whether to construct the column values or not, so
get rid of that argument.
This also means that there's no need for a tap to have a fake filter
to ensure that the protocol tree will be built, so don't set up a fake
"frame" filter.
While we're at it, clean up some cases where "no filter" was represented
as a null string rather than a null pointer.
Have a routine to return an indication of the number of tap listeners
with filters; use that rather than the global num_tap_filters.
Clean up some indentation and some gboolean vs. gint items.
svn path=/trunk/; revision=28645
2009-06-05 22:42:47 +00:00
Gerald Combs
fcd9a56161
From Vincenzo Condoleo via bug 2589:
...
Add IP packet comparison statistics.
svn path=/trunk/; revision=28426
2009-05-20 17:07:18 +00:00
Anders Broman
fbd05f0fce
Apply some of the patches from:
...
http://wiki.wireshark.org/Development/Optimization
svn path=/trunk/; revision=28355
2009-05-13 19:44:44 +00:00
Anders Broman
6f74922803
From Vincent Helfre and Me:
...
- Dissect GSM messages.
- Add functions to libwireshark needed by plugins.
svn path=/trunk/; revision=28068
2009-04-16 19:01:31 +00:00
Gerald Combs
21e87a963f
Replace a lot of pointer tracking and some GStrings with emem_strbufs. Add
...
ep_strbuf_printf and ep_strbuf_append_c.
svn path=/trunk/; revision=27873
2009-03-28 00:27:03 +00:00
Gerald Combs
446d43351c
Add initial support for string buffers - ep_allocated, growable strings
...
similar to GLib's GStrings. Use them to create the list of TCP flags.
svn path=/trunk/; revision=27872
2009-03-27 23:05:37 +00:00