diff options
author | Peter Wu <peter@lekensteyn.nl> | 2015-02-20 19:33:16 +0100 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2015-03-06 04:02:00 +0000 |
commit | 4ca3dbae9440c202c9b2346010c1986ee8e8968e (patch) | |
tree | befdcd4335978d9439b32574223f2004cb752d72 /sync_pipe_write.c | |
parent | 554c8fd7caf3987637aa00f7b6c27d0a7fedfb02 (diff) | |
download | wireshark-4ca3dbae9440c202c9b2346010c1986ee8e8968e.tar.gz |
tcp: support variable-length tcp_dissect_pdus
Originally suggested by Bill Meier for the MQTT protocol[1], but the
Websocket protocol can also benefit from this. Since
DESEGMENT_ONE_MORE_SEGMENT is a valid packet length, use the zero length
instead as an indicator that the length is not yet known.
Updated documentation too and remove the function documentation from
packet-tcp.c since it is duplicated in packet-tcp.h.
A noteworthy WSDG change is that the get_pdu_len parameter of
tcp_dissect_pdus gained another void pointer since
v1.99.2rc0-890-gceb8d95 ("Lua: Expose tcp_dissect_pdus() to Lua").
[1]: https://www.wireshark.org/lists/wireshark-dev/201405/msg00044.html
Change-Id: I4eba380e00cd757635eb5639c2857356dae3171e
Reviewed-on: https://code.wireshark.org/review/7279
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'sync_pipe_write.c')
0 files changed, 0 insertions, 0 deletions