aboutsummaryrefslogtreecommitdiffstats
path: root/epan/conversation.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2017-11-08 20:02:06 -0500
committerAnders Broman <a.broman58@gmail.com>2017-11-09 07:47:41 +0000
commit82891e37e926040e89d4e761f93ec5c6cc0ca52a (patch)
treeb8a876bbb920dc66d92d3366f44ee2095c519ef2 /epan/conversation.h
parentc57ab694eca2e3d0bc6c7e8c01df8dce20c3631e (diff)
DVB-CI: Convert circuit API to conversation API
Add the few necessary conversation APIs to make conversion possible. Change-Id: I775f23005c48cacd2be342bdc704af4738f0789c Reviewed-on: https://code.wireshark.org/review/24310 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/conversation.h')
-rw-r--r--epan/conversation.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/conversation.h b/epan/conversation.h
index 6fce0bf8d6..f6a3581765 100644
--- a/epan/conversation.h
+++ b/epan/conversation.h
@@ -75,7 +75,8 @@ typedef enum {
ENDPOINT_I2C,
ENDPOINT_IBQP, /* Infiniband QP number */
ENDPOINT_BLUETOOTH,
- ENDPOINT_TDMOP
+ ENDPOINT_TDMOP,
+ ENDPOINT_DVBCI
} endpoint_type;
/**
@@ -130,6 +131,8 @@ extern void conversation_epan_reset(void);
WS_DLL_PUBLIC conversation_t *conversation_new(const guint32 setup_frame, const address *addr1, const address *addr2,
const endpoint_type etype, const guint32 port1, const guint32 port2, const guint options);
+WS_DLL_PUBLIC conversation_t *conversation_new_simple(const guint32 setup_frame, const endpoint_type etype, const guint32 port1, const guint options);
+
/**
* Given two address/port pairs for a packet, search for a conversation
* containing packets between those address/port pairs. Returns NULL if
@@ -169,6 +172,8 @@ WS_DLL_PUBLIC conversation_t *conversation_new(const guint32 setup_frame, const
WS_DLL_PUBLIC conversation_t *find_conversation(const guint32 frame_num, const address *addr_a, const address *addr_b,
const endpoint_type etype, const guint32 port_a, const guint32 port_b, const guint options);
+WS_DLL_PUBLIC conversation_t *find_conversation_simple(const guint32 frame, const endpoint_type etype, const guint32 port1, const guint options);
+
/** A helper function that calls find_conversation() using data from pinfo
* The frame number and addresses are taken from pinfo.
*/