diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2014-12-27 23:15:41 +0100 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2014-12-29 22:17:47 +0000 |
commit | 0d414e5d7fc6d466974bbc935c3543cb8f840f6c (patch) | |
tree | 4a5997891f437da623984be32bdd6bf04c697e8a /epan/dissectors/packet-udp.h | |
parent | 0905202c4e365873f65ffc3c9bcbd6681645404d (diff) |
Add ability to follow UDP stream by index
-z "follow,udp" tshark cli command now supports a stream index
It is now possible to select the UDP stream displayed in Qt GUI (like for TCP)
Change-Id: Ia367f36ea4f60db0fddb997a7e0903c09e172f2d
Reviewed-on: https://code.wireshark.org/review/6083
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-udp.h')
-rw-r--r-- | epan/dissectors/packet-udp.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/epan/dissectors/packet-udp.h b/epan/dissectors/packet-udp.h index b90de18b6d..a11a0afa17 100644 --- a/epan/dissectors/packet-udp.h +++ b/epan/dissectors/packet-udp.h @@ -23,6 +23,14 @@ #ifndef __PACKET_UDP_H__ #define __PACKET_UDP_H__ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +#include "ws_symbol_export.h" + +#include <epan/conversation.h> + /* UDP structs and definitions */ typedef struct _e_udphdr { guint16 uh_sport; @@ -98,4 +106,11 @@ WS_DLL_PUBLIC guint32 get_udp_stream_count(void); WS_DLL_PUBLIC void decode_udp_ports(tvbuff_t *, int, packet_info *, proto_tree *, int, int, int); +WS_DLL_PUBLIC struct udp_analysis *get_udp_conversation_data(conversation_t *, + packet_info *); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif |