wireshark/epan
Juanjo Martin f6ff90fed6 RTPS: Added custom type dissection support for RTPS batches
In RTPS, regular samples are serialized with the format
<encapsulation, serialized data> and thus, the dissection of the
encapsulation was suggested to be done in the custom dissector.

However, batches are serializing the encapsulation only once as
<encapsulation, sample 1, sample 2>. This makes us need to dissect
the encapsulation in the RTPS dissector and providing as (void*) data
to the custom dissector. This way we support the regular samples
dissection as well as the batches dissection.

I have defined rtps_dissector_data in packet-rtps.h and I suggest
we include that header file when we want to write a custom dissector.

Bug: 12029
Change-Id: I74ed4c31484f9a99ad6c44c6c34cc52be2adb7c8
Reviewed-on: https://code.wireshark.org/review/13413
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-02-04 05:10:51 +00:00
..
compress autotools: Don't use "user variables" to set build flags 2016-01-28 18:13:48 +00:00
crypt [airpdcap] Add support to decrypt TDLS traffic 2016-02-04 04:54:30 +00:00
dfilter autotools: Don't use "user variables" to set build flags 2016-01-28 18:13:48 +00:00
dissectors RTPS: Added custom type dissection support for RTPS batches 2016-02-04 05:10:51 +00:00
ftypes autotools: Don't use "user variables" to set build flags 2016-01-28 18:13:48 +00:00
nghttp2 autotools: Don't use "user variables" to set build flags 2016-01-28 18:13:48 +00:00
wmem autotools: Don't use "user variables" to set build flags 2016-01-28 18:13:48 +00:00
wslua autotools: Don't use "user variables" to set build flags 2016-01-28 18:13:48 +00:00
CMakeLists.txt Add Userlog dissector 2016-02-03 20:59:05 +00:00
CMakeListsCustom.txt.example
Makefile.am autotools: Don't use "user variables" to set build flags 2016-01-28 18:13:48 +00:00
Makefile.common Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
Makefile.nmake Revert "Build Flex-generated files with "warnings are errors"." 2015-12-05 17:13:28 +00:00
addr_and_mask.c Rename ipv4_addr and ipv6_addr to indicate their full contents. 2016-01-04 00:03:34 +00:00
addr_and_mask.h Rename ipv4_addr and ipv6_addr to indicate their full contents. 2016-01-04 00:03:34 +00:00
addr_resolv.c Don't use IP address strings as "names" for MAC addresses. 2016-01-19 07:23:53 +00:00
addr_resolv.h Don't use IP address strings as "names" for MAC addresses. 2016-01-19 07:23:53 +00:00
address.h Remaining ADDRESS macro to address function conversions 2015-11-03 12:20:34 +00:00
address_types.c Make address_to_display() use proper (non-)constness 2015-11-29 00:25:11 +00:00
address_types.h Add WS_DLL_PUBLIC for Address Type Registration 2015-10-09 17:42:06 +00:00
afn.c
afn.h
aftypes.c
aftypes.h
app_mem_usage.c
app_mem_usage.h
arcnet_pids.h
arptypes.h
asm_utils.c
asm_utils.h
asm_utils_win32_x86.asm
asn1.c asn1.c: fix printf arguments used with DEBUG flag 2015-10-09 18:45:26 +00:00
asn1.h Remove support for "old style" dissectors in PER API. 2015-11-24 23:33:37 +00:00
ax25_pids.h
bridged_pids.h
capture_dissectors.c Don't limit capture packet counts to a fixed set of protocols. 2015-12-22 05:23:06 +00:00
capture_dissectors.h Don't limit capture packet counts to a fixed set of protocols. 2015-12-22 05:23:06 +00:00
charsets.c
charsets.h
chdlctypes.h
circuit.c
circuit.h
color_filters.c Fix warning for epan/color-filters.c -[-Wcast-qual] 2016-01-21 15:23:35 +00:00
color_filters.h color_filter(.h): Fix The following parameters of ... are not documented 2016-01-26 13:32:49 +00:00
column-info.h ui: Improved splitting custom column multi-field 2015-12-21 13:36:27 +00:00
column-utils.c Remove the deprecated column types so users don't think they still exist. 2016-01-27 07:54:24 +00:00
column-utils.h Remove the deprecated column types so users don't think they still exist. 2016-01-27 07:54:24 +00:00
column.c Remove the deprecated column types so users don't think they still exist. 2016-01-27 07:54:24 +00:00
column.h Qt: Add missing multi-field column validation 2015-12-20 08:21:02 +00:00
conv_id.h
conversation.c Create an extended converstaion hastable taking more address information 2016-02-02 05:15:55 +00:00
conversation.h Create an extended converstaion hastable taking more address information 2016-02-02 05:15:55 +00:00
conversation_debug.h
conversation_table.c Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
conversation_table.h Avoid returning malloced memory as const [-Wcast-qual] 2016-01-21 02:30:18 +00:00
crc6-tvb.c
crc6-tvb.h
crc8-tvb.c
crc8-tvb.h
crc10-tvb.c
crc10-tvb.h
crc16-tvb.c
crc16-tvb.h
crc32-tvb.c
crc32-tvb.h
decode_as.c Don't allow multiple registrations of a protocol in dissector tables. 2015-11-04 12:39:40 +00:00
decode_as.h
diam_dict.h
diam_dict.l Use noyywrap rather than defining our own yywrap functions. 2015-12-05 08:06:50 +00:00
disabled_protos.c disabled_protos.c: Fix heur_compare() constness [-Wcast-qual] 2015-12-15 08:58:55 +00:00
disabled_protos.h
dissector_filters.c Tweak some names to better reflect what the named items are. 2015-10-29 04:22:02 +00:00
dissector_filters.h Move the definition of MAX_NUM_COLOR_CONVERSATION_COLORS. 2015-10-29 04:30:56 +00:00
doxygen.cfg.in
dtd.h
dtd_grammar.lemon
dtd_parse.h
dtd_parse.l Use noyywrap rather than defining our own yywrap functions. 2015-12-05 08:06:50 +00:00
dtd_preparse.l Use noyywrap rather than defining our own yywrap functions. 2015-12-05 08:06:50 +00:00
dvb_chartbl.c Eliminate proto_tree_add_text from odds and ends. 2015-09-15 02:20:13 +00:00
dvb_chartbl.h
dwarf.c
dwarf.h
eap.h
eapol_keydes_types.h
enterprise-numbers [Automatic update for 2016-01-31] 2016-01-31 16:05:55 +00:00
epan-int.h
epan.c Don't walk the entire protocol tree to extract the value of one field. 2016-01-04 21:14:42 +00:00
epan.h Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
epan_dissect.h
etypes.h Fix a lot of typos and misspellings 2016-01-08 20:04:56 +00:00
ex-opt.c
ex-opt.h
except.c
except.h
exceptions.h wslua: fix crash when a LUA error is raised in TRY block 2015-10-05 02:30:16 +00:00
exntest.c
expert.c Adds calculation of preamble length and frame duration. 2016-02-03 05:58:05 +00:00
expert.h epan: Don't export deregister functions 2015-12-11 08:35:11 +00:00
exported_pdu.c Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
exported_pdu.h [Nettrace] Add parsing of IP addresses and ports. 2015-10-23 07:14:18 +00:00
filter_expressions.c Plug memory leak in filter_expression_free 2015-12-23 08:46:59 +00:00
filter_expressions.h Get rid of the argument to filter_expression_init(). 2015-12-19 19:21:08 +00:00
follow.c Refactor "Follow Stream" functionality on all GUI interfaces. 2016-01-12 15:08:18 +00:00
follow.h Refactor "Follow Stream" functionality on all GUI interfaces. 2016-01-12 15:08:18 +00:00
frame_data.c Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
frame_data.h Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
frame_data_sequence.c
frame_data_sequence.h
funnel.c Fix warning for funnel.c [-Wcast-qual] 2016-01-21 02:44:10 +00:00
funnel.h Lua: Added reload_lua_plugins 2016-01-11 07:43:36 +00:00
g_int64_hash_routines.c
g_int64_hash_routines.h
garrayfix.h
gcp.c Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
gcp.h
geoip_db.c
geoip_db.h Rename ipv6-utils.h to ipv6.h. 2016-01-03 21:42:32 +00:00
golay.c
golay.h
guid-utils.c
guid-utils.h
iax2_codec_type.h
in_cksum.c
in_cksum.h
ip_opts.h
ipproto.c IPv6: Add ipv6extprotostr() to ipproto.h 2015-11-29 21:38:30 +00:00
ipproto.h IPv6: Add ipv6extprotostr() to ipproto.h 2015-11-29 21:38:30 +00:00
ipv4.c Rename ipv4_addr and ipv6_addr to indicate their full contents. 2016-01-04 00:03:34 +00:00
ipv4.h Rename ipv4_addr and ipv6_addr to indicate their full contents. 2016-01-04 00:03:34 +00:00
ipv6.h Rename ipv4_addr and ipv6_addr to indicate their full contents. 2016-01-04 00:03:34 +00:00
lapd_sapi.h
llcsaps.h SNA: add value 0xC8 to the list registered SAP 2015-09-27 20:41:10 +00:00
next_tvb.c
next_tvb.h
nlpid.h
oids.c Remove constness from bytestring_to_str() [-Wcast-qual] 2016-01-07 22:40:30 +00:00
oids.h
oids_test.c oids_test.c - Fix compile error 2016-01-06 00:54:49 +00:00
osi-utils.c
osi-utils.h
oui.c
oui.h
packet-range.c
packet-range.h
packet.c Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
packet.h Rename new_dissector_t to dissector_t. 2016-01-14 01:03:10 +00:00
packet_info.h Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
params.h
plugin_if.c plugin_if: fix bug in var assignment. 2016-01-16 17:53:42 +00:00
plugin_if.h plugin_if: Add function to get capture file info 2016-01-15 11:39:58 +00:00
ppptypes.h The Bridging Control Protocol is really two protocols. 2015-12-10 21:10:40 +00:00
prefs-int.h Fix warnings for epan/prefs.c [-Wcast-qual] 2016-01-08 15:28:45 +00:00
prefs.c prefs: Add missing newline for filter expressions heading 2016-02-02 11:20:03 +00:00
prefs.h extcap: Add Save functionality to options dialog 2016-02-01 12:12:41 +00:00
print.c Fix display of bytes as EBCDIC 2015-11-27 18:39:09 +00:00
print.h
print.ps
print_stream.c
print_stream.h
proto.c proto.c: fix indent (use tabs) 2016-02-02 05:23:13 +00:00
proto.h Adds calculation of preamble length and frame duration. 2016-02-03 05:58:05 +00:00
proto_data.c Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
proto_data.h Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
ps.h
ptvcursor.h
radius_dict.l Use noyywrap rather than defining our own yywrap functions. 2015-12-05 08:06:50 +00:00
range.c Allow hex and octal values to be used in ranges 2016-01-24 01:36:31 +00:00
range.h
reassemble.c Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
reassemble.h
reassemble_test.c Fix reassembly test broken by gbc5a037 2016-01-24 17:37:29 +00:00
reedsolomon.c
reedsolomon.h
req_resp_hdrs.c Officially remove tvb_get_string and tvb_get_stringz. 2015-11-27 05:11:25 +00:00
req_resp_hdrs.h
rtd_table.c Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
rtd_table.h rtd_table(.h): fix api reference 2015-11-02 11:38:09 +00:00
rtp_pt.h
sctpppids.h
show_exception.c Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
show_exception.h
slow_protocol_subtypes.h
sminmpec.c [Automatic update for 2016-01-31] 2016-01-31 16:05:55 +00:00
sminmpec.h Netflow/Ipfix: Add Barracuda NGFirewall 2015-12-21 09:17:38 +00:00
srt_table.c Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
srt_table.h srt_table(.h): fix api reference 2015-11-02 11:40:07 +00:00
stat_groups.h
stat_tap_ui.c Get rid of another unnecessary new_ prefix. 2015-12-29 00:48:29 +00:00
stat_tap_ui.h Get rid of another unnecessary new_ prefix. 2015-12-29 00:48:29 +00:00
stats_tree.c Fix constness 2016-01-20 16:10:17 +00:00
stats_tree.h
stats_tree_priv.h
stream.c
stream.h
strutil.c Fix constness 2016-01-20 16:12:07 +00:00
strutil.h Fix constness 2016-01-20 16:12:07 +00:00
t35.c
t35.h
tap-voip.h
tap.c Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
tap.h
tfs.c
tfs.h
time_fmt.h
timestamp.c
timestamp.h
timestats.c Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
timestats.h
to_str-int.h If it's used by dissectors, it belongs in to_str.h, not to_str-int.h. 2015-10-19 16:40:43 +00:00
to_str.c Remove constness from bytestring_to_str() [-Wcast-qual] 2016-01-07 22:40:30 +00:00
to_str.h Refactor "Follow Stream" functionality on all GUI interfaces. 2016-01-12 15:08:18 +00:00
tpg.c
tpg.h Officially remove tvb_get_string and tvb_get_stringz. 2015-11-27 05:11:25 +00:00
tvbparse.c Officially remove tvb_get_string and tvb_get_stringz. 2015-11-27 05:11:25 +00:00
tvbparse.h
tvbtest.c
tvbuff-int.h
tvbuff.c Fix build [-Werror=maybe-uninitialized] 2016-01-17 19:12:45 +00:00
tvbuff.h Rename ipv6-utils.h to ipv6.h. 2016-01-03 21:42:32 +00:00
tvbuff_base64.c
tvbuff_composite.c
tvbuff_real.c
tvbuff_subset.c
tvbuff_zlib.c Make zlib API constness-aware, take 2. 2015-12-16 17:58:09 +00:00
uat-int.h Spelling fixes for errors found by lintian 2015-12-07 07:11:54 +00:00
uat.c uat: Fix warnings [-Wcast-qual] 2015-12-31 22:56:34 +00:00
uat.h uat: Fix warnings [-Wcast-qual] 2015-12-31 22:56:34 +00:00
uat_load.l Spelling fixes for errors found by lintian 2015-12-07 07:11:54 +00:00
value_string.c
value_string.h
x264_prt_id.h
xdlc.c
xdlc.h