wireshark/epan
Bill Meier a8562b2a66 Add handling of OSC over TCP; fix a bug in the UDP heuristic.
Bug Fixed: UDP heuristic wasn't properly setting the dissector
for the UDP conversation.

From https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9837#c3:

 I did a little survey about alternative OSC transmission, but UDP.

 As OSC is packet-based, it is tramitted raw via packet-oriented protocols (e.g. UDP).

 For reliable stream-based protocols (TCP, USB), the raw OSC packet is
 prefixed with the packets Int32 size as a packetization scheme.

 For unreliable stream-based protocols (RS232 and other serial lines),
 the raw OSC packet is SLIP and/or double SLIP encoded as packetization
 scheme.

 There was discussion in the past to make SLIP encoding the default for
 all stream-based protocols, but apparently it has never been adopted
 for any OSC via TCP implementation I've found in the web.

 As OSC is used in networked Audio, most implementations run with the
 Nagle algorithm disable, and send the prefixed length and the raw OSC
 packet separately.

Change-Id: Ife690cc5ea0575c65124a7b441431e1cc6ba5091
Reviewed-on: https://code.wireshark.org/review/858
Reviewed-by: Bill Meier <wmeier@newsguy.com>
Tested-by: Bill Meier <wmeier@newsguy.com>
2014-03-28 18:00:41 +00:00
..
crypt Fix some code remove by 296591399f 2014-03-05 09:25:47 +00:00
dfilter Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
dissectors Add handling of OSC over TCP; fix a bug in the UDP heuristic. 2014-03-28 18:00:41 +00:00
ftypes Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
wmem Introduce wmem_ascii_strdown() 2014-03-25 16:10:43 +00:00
wslua Allow chained calls with Lua TreeItem functions, and fix a couple of minor errors. 2014-03-28 04:27:43 +00:00
wspython Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
CMakeLists.txt ieee1722a dissector added 2014-03-21 15:12:38 +00:00
Makefile.am Remove Visual Studio solution and project files (and their existence from Makefiles) 2014-03-16 18:03:41 +00:00
Makefile.common Add a dissector table for EAPOL Key Descriptor types. 2014-03-23 19:18:51 +00:00
Makefile.nmake
addr_and_mask.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
addr_and_mask.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
addr_resolv.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
addr_resolv.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
address.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
address_to_str.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
afn.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
afn.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
aftypes.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
aftypes.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
app_mem_usage.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
app_mem_usage.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
arcnet_pids.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
arptypes.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
asm_utils.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
asm_utils.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
asm_utils_win32_x86.asm
asn1.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
asn1.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
atalk-utils.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
atalk-utils.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ax25_pids.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
bridged_pids.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
charsets.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
charsets.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
chdlctypes.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
circuit.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
circuit.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
column-info.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
column-utils.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
column-utils.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
column.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
column.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
conv_id.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
conversation.c Add debug printing functions for conversations, sip, sdp, rtp 2014-03-21 05:15:57 +00:00
conversation.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
conversation_debug.h Fix missing license in conversation_debug.h 2014-03-21 13:35:48 +00:00
crc8-tvb.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc8-tvb.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc16-tvb.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc16-tvb.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc32-tvb.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc32-tvb.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
decode_as.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
decode_as.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
diam_dict.h
diam_dict.l
disabled_protos.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
disabled_protos.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
dissector_filters.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
dissector_filters.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
doxygen.cfg.in
dtd.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
dtd_grammar.lemon
dtd_parse.h Remove trailing whitespace 2014-02-25 20:46:49 +00:00
dtd_parse.l
dtd_preparse.l
dvb_chartbl.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
dvb_chartbl.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
dwarf.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
dwarf.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
eap.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
eapol_keydes_types.h Add a dissector table for EAPOL Key Descriptor types. 2014-03-23 19:18:51 +00:00
emem.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
emem.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
enterprise-numbers [Automatic manuf, services and enterprise-numbers update for 2014-03-23] 2014-03-23 15:12:41 +00:00
epan-int.h Revert "Allow pcapng interface options to be available to dissectors." 2014-03-20 12:25:21 +00:00
epan.c Revert "Allow pcapng interface options to be available to dissectors." 2014-03-20 12:25:21 +00:00
epan.h Revert "Allow pcapng interface options to be available to dissectors." 2014-03-20 12:25:21 +00:00
epan_dissect.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
etypes.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ex-opt.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ex-opt.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
except.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
except.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
exceptions.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
exntest.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
expert.c Add filterable expert info for Lua 2014-03-26 05:20:17 +00:00
expert.h Add filterable expert info for Lua 2014-03-26 05:20:17 +00:00
exported_pdu.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
exported_pdu.h Exported PDU: add support for data length on the wire 2014-03-19 05:13:30 +00:00
filter_expressions.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
filter_expressions.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
follow.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
follow.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
frame_data.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
frame_data.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
frame_data_sequence.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
frame_data_sequence.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
frequency-utils.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
frequency-utils.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
funnel.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
funnel.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
garrayfix.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
gcp.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
gcp.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
geoip_db.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
geoip_db.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
golay.c Remove trailing whitespace 2014-02-25 20:46:49 +00:00
golay.h
greproto.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
guid-utils.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
guid-utils.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
h225-persistentdata.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
h225-persistentdata.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
iana_snap_pid.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
iax2_codec_type.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
in_cksum.c Fix warnings introduced in g2965913 2014-03-04 16:39:02 +00:00
in_cksum.h Fix warnings introduced in g2965913 2014-03-04 16:39:02 +00:00
ip_opts.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ipproto.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ipproto.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ipv4.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ipv4.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ipv6-utils.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
lapd_sapi.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
llcsaps.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
next_tvb.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
next_tvb.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
nlpid.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
oids.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
oids.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
oids_test.c First round converting OIDs from emem to wmem. Just internal functions so far. 2013-12-23 20:52:12 +00:00
osi-utils.c Fix some code remove by 296591399f 2014-03-05 09:25:47 +00:00
osi-utils.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
oui.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-range.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-range.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet.c Add Lua heuristic dissector support 2014-03-14 07:29:15 +00:00
packet.h Add Lua heuristic dissector support 2014-03-14 07:29:15 +00:00
packet_info.h Add Lua heuristic dissector support 2014-03-14 07:29:15 +00:00
params.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ppptypes.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
prefs-int.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
prefs.c Do not try to use unknown/non-existent webbrowser 2014-03-08 06:30:17 +00:00
prefs.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
print.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
print.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
print.ps
proto.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
proto.h Add filterable expert info for Lua 2014-03-26 05:20:17 +00:00
ps.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ptvcursor.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
radius_dict.l
range.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
range.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
reassemble.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
reassemble.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
reassemble_test.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
reedsolomon.c Remove trailing whitespace 2014-02-25 20:46:49 +00:00
reedsolomon.h Add correct license headers for reedsolomon code. 2014-02-12 01:47:48 +00:00
req_resp_hdrs.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
req_resp_hdrs.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
rtp_pt.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
sctpppids.h Add the PPID for 3GPP Pua. Move the (unregistered) M2TP PPID into that dissector. 2014-03-01 21:16:59 +00:00
show_exception.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
show_exception.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
sigcomp-udvm.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
sigcomp-udvm.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
sigcomp_state_hdlr.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
sigcomp_state_hdlr.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
sminmpec.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
sna-utils.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
sna-utils.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
stat_cmd_args.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
stat_cmd_args.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
stats_tree.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
stats_tree.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
stats_tree_priv.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
stream.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
stream.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
strutil.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
strutil.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
t35.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
t35.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap-voip.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tfs.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tfs.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
time_fmt.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
timestamp.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
timestamp.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
timestats.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
timestats.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
to_str-int.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
to_str.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
to_str.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tpg.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tpg.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tvbparse.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tvbparse.h
tvbtest.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tvbuff-int.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tvbuff.c Fix a typo in a comment; use consistent indentation matching that specified by the editor modelines. 2014-03-10 13:27:03 +00:00
tvbuff.h Have NFLOG TLV type and length be in host byte order. 2014-03-06 05:53:08 +00:00
tvbuff_base64.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tvbuff_composite.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tvbuff_real.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tvbuff_subset.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tvbuff_zlib.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
uat-int.h Remove trailing whitespace 2014-02-25 20:46:49 +00:00
uat.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
uat.h Fix all -fstrict-alias warnings found by gcc 4.1.2 2014-02-03 09:26:10 +00:00
uat_load.l
value_string.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
value_string.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
x264_prt_id.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
xdlc.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
xdlc.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00