aboutsummaryrefslogtreecommitdiffstats
path: root/epan/conversation.h
diff options
context:
space:
mode:
authorAnders Broman <a.broman58@gmail.com>2016-02-08 16:32:41 +0000
committerAnders Broman <a.broman58@gmail.com>2016-02-08 16:32:57 +0000
commit56a41845e7aada1655553a50abaa64df6817d8d2 (patch)
tree97657aeac04a2c842dacbe7f66fbaa6e9b4c273b /epan/conversation.h
parent7d26339a2fa9d8e707eee0f1e8ac61a2affb2e83 (diff)
Revert "Create an extended converstaion hastable taking more address information into consideration. This makes it possible to differentiate between packets on different vlans and can be expanded to handle tunnels."
This reverts commit f80e9df7939be9d88062718d6c15fa2983e5e605. Change-Id: I7877b250d479c30209cfe74351069d54359757b5 Reviewed-on: https://code.wireshark.org/review/13825 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/conversation.h')
-rw-r--r--epan/conversation.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/epan/conversation.h b/epan/conversation.h
index 93be386313..d796cde152 100644
--- a/epan/conversation.h
+++ b/epan/conversation.h
@@ -42,14 +42,12 @@ extern "C" {
* TEMPLATE flag will be altered once the first connections (connection
* oriented protocols only) to include the newly found information which
* matched the wildcard options.
- * flag USE_EXT_ADDRESS_INF is used to indicate that exact match on extended
- * address information is required such as VLAN Id expected to be fetched from pinfo.
*/
#define NO_ADDR2 0x01
#define NO_PORT2 0x02
#define NO_PORT2_FORCE 0x04
#define CONVERSATION_TEMPLATE 0x08
-#define USE_EXT_ADDRESS_INF 0x10
+
/*
* Flags to pass to "find_conversation()" to indicate that the address B
* and/or port B search arguments are wildcards.
@@ -69,7 +67,6 @@ typedef struct conversation_key {
port_type ptype;
guint32 port1;
guint32 port2;
- guint32 vlan_id; /** Outer VLAN Id from pinfo->vlan_id, currently only used in conversation_hashtable_exact_ext*/
} conversation_key;
typedef struct conversation {
@@ -99,7 +96,7 @@ extern void conversation_cleanup(void);
*/
extern void conversation_init(void);
-/**
+/*
* Given two address/port pairs for a packet, create a new conversation
* to contain packets between those address/port pairs.
*
@@ -111,12 +108,6 @@ WS_DLL_PUBLIC conversation_t *conversation_new(const guint32 setup_frame, const
const port_type ptype, const guint32 port1, const guint32 port2, const guint options);
/**
- * Meant to be used only with option USE_EXT_ADDRESS_INF which will require exact match on all address parameters
- * in conversation_key
- */
-WS_DLL_PUBLIC conversation_t *conversation_new_ext(const guint32 setup_frame, const address *addr1, const address *addr2,
- const port_type ptype, const guint32 port1, const guint32 port2, packet_info *pinfo, 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
* not found.
@@ -155,8 +146,6 @@ WS_DLL_PUBLIC conversation_t *conversation_new_ext(const guint32 setup_frame, co
WS_DLL_PUBLIC conversation_t *find_conversation(const guint32 frame_num, const address *addr_a, const address *addr_b,
const port_type ptype, const guint32 port_a, const guint32 port_b, const guint options);
-WS_DLL_PUBLIC conversation_t *find_conversation_ext_from_pinfo(packet_info *pinfo);
-
/** A helper function that calls find_conversation() and, if a conversation is
* not found, calls conversation_new().
* The frame number and addresses are taken from pinfo.
@@ -164,7 +153,6 @@ WS_DLL_PUBLIC conversation_t *find_conversation_ext_from_pinfo(packet_info *pinf
* parameter.
*/
WS_DLL_PUBLIC conversation_t *find_or_create_conversation(packet_info *pinfo);
-WS_DLL_PUBLIC conversation_t *find_or_create_conversation_ext(packet_info *pinfo, const guint options);
WS_DLL_PUBLIC void conversation_add_proto_data(conversation_t *conv, const int proto,
void *proto_data);