diff options
author | Peter Wu <peter@lekensteyn.nl> | 2016-11-30 21:43:09 +0100 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-12-06 05:58:39 +0000 |
commit | 89bc07c5d59ead31cad3ab5eea4378b6bb60bce9 (patch) | |
tree | 535fc1fc686d9a4e4ed54b62e575a7865c6a046b /epan/dissectors/packet-dtls.h | |
parent | f96e9d067ba314c947a3caeafc909e9542042a64 (diff) |
DTLS: add support for use_srtp extension (RFC 5764)
Decryption support will be added later. Tested with
dtls-srtp-ws-sip.pcapng from the linked bug.
Change-Id: Ida1a2da754ef9aef16ad15ff64455b6f8e703ffd
Ping-Bug: 13193
Reviewed-on: https://code.wireshark.org/review/18996
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-dtls.h')
-rw-r--r-- | epan/dissectors/packet-dtls.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dtls.h b/epan/dissectors/packet-dtls.h index 49165b09ec..9c1d249c30 100644 --- a/epan/dissectors/packet-dtls.h +++ b/epan/dissectors/packet-dtls.h @@ -29,4 +29,11 @@ WS_DLL_PUBLIC void dtls_dissector_add(guint port, dissector_handle_t handle); WS_DLL_PUBLIC void dtls_dissector_delete(guint port, dissector_handle_t handle); + +/* Shared with packet-ssl-utils.c */ + +gint +dtls_dissect_hnd_hello_ext_use_srtp(tvbuff_t *tvb, proto_tree *tree, + guint32 offset, guint32 ext_len); + #endif /* __PACKET_DTLS_H__ */ |