wireshark/epan
Evan Huus 389423aaaa Replace pinfo->layer_names as a string with pinfo->layers as a wmem_list of
protocol IDs. This is substantially more efficient, which means we can build it
all the time rather than only if tree (in my benchmarks the extra time taken is
not large enough to be statistically significant even over tens of thousands of
packets).

This fixes what was probably a bug in btobex that relied on layer_names for
non-tree dissection. It also enables a much simpler fix for
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9303

svn path=/trunk/; revision=53089
2013-11-05 17:48:48 +00:00
..
crypt Fix (-W)documentation error found by Clang 2013-08-10 21:28:01 +00:00
dfilter Add a very small hack to make the UAT update callback error string freeable, and 2013-10-25 22:14:25 +00:00
dissectors Replace pinfo->layer_names as a string with pinfo->layers as a wmem_list of 2013-11-05 17:48:48 +00:00
ftypes Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9323 : 2013-10-27 21:56:58 +00:00
wmem Expose wmem_list_remove_frame to make it efficient to do pop operations as 2013-11-05 17:28:19 +00:00
wslua Require dissector_try_string to pass a data parameter to its subdissectors. There weren't that many calls, so might as well modify the function than create a need for dissector_try_string_new. 2013-11-02 15:52:25 +00:00
wspython Add support for RELATIVE-OID ASN.1 type. Bug 9192 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9192) 2013-10-06 02:31:10 +00:00
CMakeLists.txt Make it so out-of-tree builds (autofoo and cmake) have access to the various 2013-10-29 02:28:16 +00:00
Makefile.am Make it so out-of-tree builds (autofoo and cmake) have access to the various 2013-10-29 02:28:16 +00:00
Makefile.common From Michal Labedzki via 2013-10-23 01:36:49 +00:00
Makefile.nmake Take a blind stab at adding oids_test to nmake 2013-10-20 02:10:39 +00:00
addr_and_mask.c Move bitmask array from ipv4_addr_set_netmask_bits() to ip_get_subnet_mask() 2013-07-12 05:59:56 +00:00
addr_and_mask.h Move bitmask array from ipv4_addr_set_netmask_bits() to ip_get_subnet_mask() 2013-07-12 05:59:56 +00:00
addr_resolv.c g_slist_free_full() is glib 2.28 2013-10-23 14:04:19 +00:00
addr_resolv.h g_slist_free_full() is glib 2.28 2013-10-23 14:04:19 +00:00
address.h Switch the inline functions that use tvbuffs and emem back to macros. 2013-09-17 18:42:36 +00:00
address_to_str.c Fix indent (use 4 spaces) And add modelines info 2013-08-27 21:12:52 +00:00
adler32.c
adler32.h
afn.c
afn.h
aftypes.h
app_mem_usage.c app_mem_usage fixes: 2013-08-06 16:38:36 +00:00
app_mem_usage.h Add some very basic framework to fetch statistics of memory usage per component. 2013-07-31 18:26:14 +00:00
arcnet_pids.h
arptypes.h
asm_utils.c
asm_utils.h
asm_utils_win32_x86.asm
asn1.c Explicitly include emem.h where it is needed 2013-09-13 08:16:50 +00:00
asn1.h Remove all global variables in P1 dissector. Bug 8515 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8515) 2013-06-28 12:43:29 +00:00
atalk-utils.c
atalk-utils.h
ax25_pids.h
base64.c
base64.h
bitswap.c
bitswap.h
bridged_pids.h
camel-persistentdata.c
camel-persistentdata.h
charsets.c
charsets.h
chdlctypes.h
circuit.c Allow "circuit dissectors" to pass data between dissectors. Not sure if this is immediately useful (ie remove need for packet_info (private_)data), but opens the possibility. 2013-10-27 15:00:11 +00:00
circuit.h Allow "circuit dissectors" to pass data between dissectors. Not sure if this is immediately useful (ie remove need for packet_info (private_)data), but opens the possibility. 2013-10-27 15:00:11 +00:00
codecs.c
codecs.h
column-info.h After looking for something in the column-*.h files and 2013-10-18 13:06:05 +00:00
column-utils.c Remove "Cisco MDS-specific" fields from packet_info. 2 of the 3 fields were used strictly for columns that are considered "deprecated" and I think the third could be put in that category as well. 2013-10-27 23:18:19 +00:00
column-utils.h After looking for something in the column-*.h files and 2013-10-18 13:06:05 +00:00
column.c Remove "Cisco MDS-specific" fields from packet_info. 2 of the 3 fields were used strictly for columns that are considered "deprecated" and I think the third could be put in that category as well. 2013-10-27 23:18:19 +00:00
column.h From Ed Beroset via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9272 2013-10-15 18:27:35 +00:00
conv_id.h
conversation.c Allow try_conversation_dissector() to pass data to subdissectors. 2013-11-01 23:45:10 +00:00
conversation.h Bluetooth: Use dissector data instead of pinfo->private_data. Bug 7893 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7893) 2013-11-02 19:20:04 +00:00
crc8-tvb.c
crc8-tvb.h
crc16-tvb.c Add STANAG 5066 DTS CRC routines. Bug 9217 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9217) 2013-10-22 23:30:26 +00:00
crc16-tvb.h Add STANAG 5066 DTS CRC routines. Bug 9217 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9217) 2013-10-22 23:30:26 +00:00
crc32-tvb.c Add STANAG 5066 DTS CRC routines. Bug 9217 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9217) 2013-10-22 23:30:26 +00:00
crc32-tvb.h Add STANAG 5066 DTS CRC routines. Bug 9217 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9217) 2013-10-22 23:30:26 +00:00
diam_dict.h Remove trailing whitespace 2013-10-06 17:04:18 +00:00
diam_dict.l
disabled_protos.c Move disabled_protos.{h,c} into epan. 2013-07-12 01:40:06 +00:00
disabled_protos.h Move disabled_protos.{h,c} into epan. 2013-07-12 01:40:06 +00:00
dissector_filters.c
dissector_filters.h
doxygen.cfg.in
dtd.h
dtd_grammar.lemon
dtd_parse.h Make the minimum supported GLib version 2.16. 2013-05-20 17:27:05 +00:00
dtd_parse.l
dtd_preparse.l
dwarf.c From Michal Labedzki via 2013-10-24 12:41:27 +00:00
dwarf.h From Michal Labedzki via 2013-10-24 12:41:27 +00:00
eap.h
emem.c ZeroMemory -> SecureZeroMemory 2013-10-21 15:16:41 +00:00
emem.h Remove some emem functions that have now been completely replaced by wmem. 2013-09-04 21:24:51 +00:00
enterprise-numbers
epan-int.h Remove fdata->opt_comment, add pkt_comment to pinfo 2013-08-01 20:59:38 +00:00
epan.c Effectively remove the tree memory pool and port some of its behaviour to the 2013-11-04 14:12:59 +00:00
epan.h Reintroduce back epan_dissect_reset(), proto_tree_reset() 2013-10-20 10:21:25 +00:00
epan_dissect.h Some work on multi file dissection 2013-07-21 18:38:03 +00:00
etypes.h Beginnings of Motrola's MiNT protocol. 2013-10-18 13:09:22 +00:00
ex-opt.c
ex-opt.h
except.c
except.h
exceptions.h
exntest.c
expert.c Prefix all "Wireshark application specific" display filters with a "_ws." to distinguish them from dissector filters. 2013-10-09 12:56:19 +00:00
expert.h Make expert items used in "low level" proto functions filterable (and ensure they are called even with a NULL tree). I don't really like the Type Length Mismatch "protocol", but it doesn't seem that much different than the exception "protocols". 2013-10-03 01:54:02 +00:00
exported_pdu.c support exporting decrypted DVB-CI/CI+ SAC messages 2013-07-29 20:38:20 +00:00
exported_pdu.h Fix ABI check error for libwireshark 2013-10-15 20:14:47 +00:00
filesystem.c Revert part of 52896 and (for now) all of 52935. As Jeff pointed out, 2013-10-29 04:05:27 +00:00
filesystem.h
filter_expressions.c
filter_expressions.h
follow.c Explicitly include emem.h where it is needed 2013-09-13 08:16:50 +00:00
follow.h From Thomas ERSFELD (GSoC13) Prepare inclusion of Follow (TCP/UDP/SSL) feature in Qtshark 2013-07-23 08:56:30 +00:00
frame_data.c Explicitly include emem.h where it is needed 2013-09-13 08:16:50 +00:00
frame_data.h After looking for something in the column-*.h files and 2013-10-18 13:06:05 +00:00
frame_data_sequence.c Move some more modules into epan. 2013-07-11 23:57:11 +00:00
frame_data_sequence.h Move some more modules into epan. 2013-07-11 23:57:11 +00:00
frequency-utils.c
frequency-utils.h
funnel.c
funnel.h
garrayfix.h
gcp.c Explicitly include emem.h where it is needed 2013-09-13 08:16:50 +00:00
gcp.h Convert GCP to wmem. It is only called from dissectors in the proper scope 2013-09-04 20:42:12 +00:00
geoip_db.c Add a very small hack to make the UAT update callback error string freeable, and 2013-10-25 22:14:25 +00:00
geoip_db.h
golay.c
golay.h
greproto.h Peter Van Eynde 2013-05-11 10:46:36 +00:00
guid-utils.c Remove what appear to be the last two instances of pe_tree. Could this be the 2013-09-04 21:14:55 +00:00
guid-utils.h
h225-persistentdata.c
h225-persistentdata.h
iana_snap_pid.h
iax2_codec_type.h
in_cksum.c
in_cksum.h
ip_opts.h Add expert info to dissect_ip_tcp_options(). The proto_tree_add_text seems a bit duplicative, but the byte highlighting over the whole option is nice. 2013-06-30 03:16:32 +00:00
ipproto.c
ipproto.h
ipv4.c Move bitmask array from ipv4_addr_set_netmask_bits() to ip_get_subnet_mask() 2013-07-12 05:59:56 +00:00
ipv4.h
ipv6-utils.h Fix warnings found by Clang 5.0 (-Wself-assign and -Wparentheses-equality). 2013-10-16 17:19:59 +00:00
lapd_sapi.h
libwireshark.vcproj
llcsaps.h
next_tvb.c Require dissector_try_string to pass a data parameter to its subdissectors. There weren't that many calls, so might as well modify the function than create a need for dissector_try_string_new. 2013-11-02 15:52:25 +00:00
next_tvb.h
nlpid.h
oids.c Fix several [-Wunused-const-variable] warnings (using '#if 0'). 2013-10-26 03:16:57 +00:00
oids.h From beroset@mindspring.com: 2013-10-19 20:25:55 +00:00
oids_test.c From Ed Beroset via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9330: 2013-10-26 20:50:51 +00:00
osi-utils.c
osi-utils.h
oui.h Beginnings of Nintendo StreetProtocol support 2013-07-22 08:01:10 +00:00
packet-range.c Move some more modules into epan. 2013-07-11 23:57:11 +00:00
packet-range.h Move some more modules into epan. 2013-07-11 23:57:11 +00:00
packet.c Replace pinfo->layer_names as a string with pinfo->layers as a wmem_list of 2013-11-05 17:48:48 +00:00
packet.h Require dissector_try_string to pass a data parameter to its subdissectors. There weren't that many calls, so might as well modify the function than create a need for dissector_try_string_new. 2013-11-02 15:52:25 +00:00
packet_info.h Replace pinfo->layer_names as a string with pinfo->layers as a wmem_list of 2013-11-05 17:48:48 +00:00
params.h
plugins.c Move report_err.{h,c} from epan into wsutil: there's nothing epan-specific there and moving it avoids having to recompile the file for use in editcap and capinfos (which don't link against libwireshark). 2013-07-15 02:48:26 +00:00
plugins.h
ppptypes.h
prefs-int.h Convert preferences to wmem. Exposes some more memory leaks that didn't show up 2013-07-31 01:49:57 +00:00
prefs.c Fix up some formatting and white space. 2013-10-25 15:25:46 +00:00
prefs.h Add Preference to change Language (in QtShark) 2013-09-09 16:20:45 +00:00
print.c When printing PDML, don't assume that all values with bitmasks are represented 2013-10-13 16:10:43 +00:00
print.h Move the print modules into epan. 2013-07-12 03:50:50 +00:00
print.ps Move the print modules into epan. 2013-07-12 03:50:50 +00:00
proto.c Effectively remove the tree memory pool and port some of its behaviour to the 2013-11-04 14:12:59 +00:00
proto.h Effectively remove the tree memory pool and port some of its behaviour to the 2013-11-04 14:12:59 +00:00
ps.h Move the print modules into epan. 2013-07-12 03:50:50 +00:00
ptvcursor.h
radius_dict.l
range.c
range.h Fix (-W)documentation error found by Clang 2013-08-10 21:28:17 +00:00
reassemble.c Reorganize handling of incomplete fragments slightly. The logic hasn't changed 2013-10-08 15:05:45 +00:00
reassemble.h Update a comment 2013-10-09 21:59:41 +00:00
reassemble_test.c Remove fragment_data, add fragment_head, fragment_item - for now alias it to the same structure. 2013-07-17 21:12:24 +00:00
reedsolomon.c
reedsolomon.h
req_resp_hdrs.c emem -> wmem conversion: 2013-09-22 15:50:55 +00:00
req_resp_hdrs.h
rtp_pt.h
sctpppids.h Update SCTP PPIDs and use newly assigned value. 2013-09-22 17:16:02 +00:00
show_exception.c Prefix all "Wireshark application specific" display filters with a "_ws." to distinguish them from dissector filters. 2013-10-09 12:56:19 +00:00
show_exception.h proto_malformed SHOULD NOT be used outside of show_exception.c 2013-07-02 20:43:21 +00:00
sigcomp-udvm.c Explicitly include emem.h where it is needed 2013-09-13 08:16:50 +00:00
sigcomp-udvm.h
sigcomp_state_hdlr.c
sigcomp_state_hdlr.h
sminmpec.h
sna-utils.c Move a bunch of the crypt modules and pint.h into wsutil. 2013-08-01 23:34:47 +00:00
sna-utils.h
stat_cmd_args.c
stat_cmd_args.h
stats_tree.c Don't allow invalid ranges to be specified for the stats tree. Bug 9130 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9130) 2013-10-18 21:17:01 +00:00
stats_tree.h
stats_tree_priv.h
stream.c Explicitly include emem.h where it is needed 2013-09-13 08:16:50 +00:00
stream.h Remove fragment_data, add fragment_head, fragment_item - for now alias it to the same structure. 2013-07-17 21:12:24 +00:00
strutil.c From RobiOneKenobi via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9229 2013-10-12 12:38:56 +00:00
strutil.h From RobiOneKenobi via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9229 2013-10-12 12:38:56 +00:00
t35.c
t35.h
tap-voip.h
tap.c
tap.h
tcap-persistentdata.c
tcap-persistentdata.h
tfs.c Use "generic" tfs (tfs_supported_not_supported...) 2013-07-17 10:44:35 +00:00
tfs.h Use "generic" tfs (tfs_supported_not_supported...) 2013-07-17 10:44:35 +00:00
time_fmt.h
timestamp.c
timestamp.h
timestats.c As pointed out by Guy: timestats uses packet_info so it belongs in epan 2013-06-26 00:18:44 +00:00
timestats.h As pointed out by Guy: timestats uses packet_info so it belongs in epan 2013-06-26 00:18:44 +00:00
to_str.c [trivial] Use g_stpcpy() 2013-08-15 09:33:52 +00:00
to_str.h Add an item tracer to the TCP stream graph. Enable packet selection. 2013-08-30 21:15:24 +00:00
tpg.c
tpg.h emem -> wmem conversion: 2013-09-22 15:50:55 +00:00
tvbparse.c emem -> wmem conversion: 2013-09-22 15:50:55 +00:00
tvbparse.h
tvbtest.c emem -> wmem conversion: 2013-09-22 15:50:55 +00:00
tvbuff-int.h - no need for a doubly-linked list of TVBs, single is simpler 2013-09-07 18:20:52 +00:00
tvbuff.c Optimize tvb_ensure_bytes_exist through manual inlining and removal of redundant 2013-10-22 16:29:10 +00:00
tvbuff.h Try to clarify the documentation for tvb_length_remaining() and tvb_reported_length_remaining() based on Jörg's recommendation from bug 9263. 2013-11-03 18:02:17 +00:00
tvbuff_composite.c emem -> wmem conversion: 2013-09-22 15:50:55 +00:00
tvbuff_real.c Explicitly include emem.h where it is needed 2013-09-13 08:16:50 +00:00
tvbuff_subset.c Explicitly include emem.h where it is needed 2013-09-13 08:16:50 +00:00
uat-int.h Add a UAT dialog. Make UAT preferences uat_t * instead of void *. 2013-07-25 23:49:47 +00:00
uat.c Move report_err.{h,c} from epan into wsutil: there's nothing epan-specific there and moving it avoids having to recompile the file for use in editcap and capinfos (which don't link against libwireshark). 2013-07-15 02:48:26 +00:00
uat.h Fix (-W)documentation error found by Clang 2013-08-10 21:28:25 +00:00
uat_load.l Add a very small hack to make the UAT update callback error string freeable, and 2013-10-25 22:14:25 +00:00
value_string.c Replace some val_to_str calls with the equivalent val_to_str_const calls (and 2013-09-29 12:44:50 +00:00
value_string.h Replace some val_to_str calls with the equivalent val_to_str_const calls (and 2013-09-29 12:44:50 +00:00
x264_prt_id.h
xdlc.c Remove check_col. 2013-10-01 15:14:59 +00:00
xdlc.h Fix (-W)documentation error found by Clang 2013-08-10 21:29:08 +00:00