aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/conversation.c2
-rw-r--r--epan/conversation.h2
-rw-r--r--epan/dissectors/asn1/idmp/packet-idmp-template.c2
-rw-r--r--epan/dissectors/asn1/pres/packet-pres-template.c4
-rw-r--r--epan/dissectors/asn1/rtse/packet-rtse-template.c2
-rw-r--r--epan/dissectors/packet-9p.c6
-rw-r--r--epan/dissectors/packet-afp.c2
-rw-r--r--epan/dissectors/packet-afs.c2
-rw-r--r--epan/dissectors/packet-ajp13.c6
-rw-r--r--epan/dissectors/packet-atalk.c4
-rw-r--r--epan/dissectors/packet-beep.c4
-rw-r--r--epan/dissectors/packet-dcm.c2
-rw-r--r--epan/dissectors/packet-dnp.c2
-rw-r--r--epan/dissectors/packet-enip.c4
-rw-r--r--epan/dissectors/packet-fc.c4
-rw-r--r--epan/dissectors/packet-fcdns.c6
-rw-r--r--epan/dissectors/packet-fcels.c6
-rw-r--r--epan/dissectors/packet-fcfcs.c6
-rw-r--r--epan/dissectors/packet-fcfzs.c6
-rw-r--r--epan/dissectors/packet-fcswils.c6
-rw-r--r--epan/dissectors/packet-idmp.c2
-rw-r--r--epan/dissectors/packet-mgcp.c2
-rw-r--r--epan/dissectors/packet-ositp.c2
-rw-r--r--epan/dissectors/packet-pop.c2
-rw-r--r--epan/dissectors/packet-pres.c4
-rw-r--r--epan/dissectors/packet-radius.c2
-rw-r--r--epan/dissectors/packet-rpc.c4
-rw-r--r--epan/dissectors/packet-rsvp.c4
-rw-r--r--epan/dissectors/packet-rtse.c2
-rw-r--r--epan/dissectors/packet-sbus.c2
-rw-r--r--epan/dissectors/packet-ses.c2
-rw-r--r--epan/dissectors/packet-smb-direct.c4
-rw-r--r--epan/dissectors/packet-smtp.c2
33 files changed, 56 insertions, 56 deletions
diff --git a/epan/conversation.c b/epan/conversation.c
index 9357f0e9ed..e7ee7788df 100644
--- a/epan/conversation.c
+++ b/epan/conversation.c
@@ -706,7 +706,7 @@ conversation_new(const guint32 setup_frame, const address *addr1, const address
conversation = wmem_new(wmem_file_scope(), conversation_t);
memset(conversation, 0, sizeof(conversation_t));
- conversation->index = new_index;
+ conversation->conv_index = new_index;
conversation->setup_frame = conversation->last_frame = setup_frame;
conversation->data_list = NULL;
diff --git a/epan/conversation.h b/epan/conversation.h
index d796cde152..2045a09d19 100644
--- a/epan/conversation.h
+++ b/epan/conversation.h
@@ -74,7 +74,7 @@ typedef struct conversation {
struct conversation *last; /** pointer to the last conversation on hash chain */
struct conversation *latest_found;
/** pointer to the last conversation on hash chain */
- guint32 index; /** unique ID for conversation */
+ guint32 conv_index; /** unique ID for conversation */
guint32 setup_frame; /** frame number that setup this conversation */
/* Assume that setup_frame is also the lowest frame number for now. */
guint32 last_frame; /** highest frame number in this conversation */
diff --git a/epan/dissectors/asn1/idmp/packet-idmp-template.c b/epan/dissectors/asn1/idmp/packet-idmp-template.c
index a57a035b4d..3dc87e0e07 100644
--- a/epan/dissectors/asn1/idmp/packet-idmp-template.c
+++ b/epan/dissectors/asn1/idmp/packet-idmp-template.c
@@ -164,7 +164,7 @@ static int dissect_idmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tr
pinfo->ptype, pinfo->srcport, pinfo->destport, 0);
if (conv) {
/* Found a conversation, also use index for the generated dst_ref */
- dst_ref = conv->index;
+ dst_ref = conv->conv_index;
}
/* save parent_tree so subdissectors can create new top nodes */
diff --git a/epan/dissectors/asn1/pres/packet-pres-template.c b/epan/dissectors/asn1/pres/packet-pres-template.c
index 0c1c2d823e..46273d5d21 100644
--- a/epan/dissectors/asn1/pres/packet-pres-template.c
+++ b/epan/dissectors/asn1/pres/packet-pres-template.c
@@ -145,7 +145,7 @@ register_ctx_id_and_oid(packet_info *pinfo _U_, guint32 idx, const char *oid)
conversation=find_conversation (pinfo->num, &pinfo->src, &pinfo->dst,
pinfo->ptype, pinfo->srcport, pinfo->destport, 0);
if (conversation) {
- pco->idx = conversation->index;
+ pco->idx = conversation->conv_index;
} else {
pco->idx = 0;
}
@@ -186,7 +186,7 @@ find_oid_by_pres_ctx_id(packet_info *pinfo, guint32 idx)
conversation=find_conversation (pinfo->num, &pinfo->src, &pinfo->dst,
pinfo->ptype, pinfo->srcport, pinfo->destport, 0);
if (conversation) {
- pco.idx = conversation->index;
+ pco.idx = conversation->conv_index;
} else {
pco.idx = 0;
}
diff --git a/epan/dissectors/asn1/rtse/packet-rtse-template.c b/epan/dissectors/asn1/rtse/packet-rtse-template.c
index 90681e46a6..4e4dfc6548 100644
--- a/epan/dissectors/asn1/rtse/packet-rtse-template.c
+++ b/epan/dissectors/asn1/rtse/packet-rtse-template.c
@@ -236,7 +236,7 @@ dissect_rtse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* d
&pinfo->src, &pinfo->dst, pinfo->ptype,
pinfo->srcport, pinfo->destport, 0);
if (conversation != NULL) {
- rtse_id = conversation->index;
+ rtse_id = conversation->conv_index;
}
session->rtse_reassemble = TRUE;
}
diff --git a/epan/dissectors/packet-9p.c b/epan/dissectors/packet-9p.c
index 96f4624a0e..d2b1439761 100644
--- a/epan/dissectors/packet-9p.c
+++ b/epan/dissectors/packet-9p.c
@@ -1036,7 +1036,7 @@ static void _9p_hash_set(packet_info *pinfo, guint16 tag, guint32 fid, struct _9
key = wmem_new(wmem_file_scope(), struct _9p_hashkey);
- key->conv_index = conv->index;
+ key->conv_index = conv->conv_index;
key->tag = tag;
key->fid = fid;
@@ -1055,7 +1055,7 @@ static struct _9p_hashval *_9p_hash_get(packet_info *pinfo, guint16 tag, guint32
conv = find_or_create_conversation(pinfo);
- key.conv_index = conv->index;
+ key.conv_index = conv->conv_index;
key.tag = tag;
key.fid = fid;
@@ -1069,7 +1069,7 @@ static void _9p_hash_free(packet_info *pinfo, guint16 tag, guint32 fid)
conv = find_or_create_conversation(pinfo);
- key.conv_index = conv->index;
+ key.conv_index = conv->conv_index;
key.tag = tag;
key.fid = fid;
diff --git a/epan/dissectors/packet-afp.c b/epan/dissectors/packet-afp.c
index 5e116443b2..7eac1c8d61 100644
--- a/epan/dissectors/packet-afp.c
+++ b/epan/dissectors/packet-afp.c
@@ -5121,7 +5121,7 @@ dissect_afp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
conversation = find_or_create_conversation(pinfo);
- request_key.conversation = conversation->index;
+ request_key.conversation = conversation->conv_index;
request_key.seq = aspinfo->seq;
request_val = (afp_request_val *) g_hash_table_lookup(
diff --git a/epan/dissectors/packet-afs.c b/epan/dissectors/packet-afs.c
index 585ba63538..abc51d6324 100644
--- a/epan/dissectors/packet-afs.c
+++ b/epan/dissectors/packet-afs.c
@@ -2766,7 +2766,7 @@ dissect_afs(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
*/
conversation = find_or_create_conversation(pinfo);
- request_key.conversation = conversation->index;
+ request_key.conversation = conversation->conv_index;
request_key.service = rxinfo->serviceid;
request_key.epoch = rxinfo->epoch;
request_key.cid = rxinfo->cid;
diff --git a/epan/dissectors/packet-ajp13.c b/epan/dissectors/packet-ajp13.c
index 6acb54b902..cea01c369b 100644
--- a/epan/dissectors/packet-ajp13.c
+++ b/epan/dissectors/packet-ajp13.c
@@ -798,11 +798,11 @@ dissect_ajp13_tcp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void*
col_set_str(pinfo->cinfo, COL_PROTOCOL, "AJP13");
if (mag == 0x1234 && !fd->is_request_body)
- col_append_fstr(pinfo->cinfo, COL_INFO, "%d:REQ:", conv->index);
+ col_append_fstr(pinfo->cinfo, COL_INFO, "%d:REQ:", conv->conv_index);
else if (mag == 0x1234 && fd->is_request_body)
- col_append_fstr(pinfo->cinfo, COL_INFO, "%d:REQ:Body", conv->index);
+ col_append_fstr(pinfo->cinfo, COL_INFO, "%d:REQ:Body", conv->conv_index);
else if (mag == 0x4142)
- col_append_fstr(pinfo->cinfo, COL_INFO, "%d:RSP:", conv->index);
+ col_append_fstr(pinfo->cinfo, COL_INFO, "%d:RSP:", conv->conv_index);
else
col_set_str(pinfo->cinfo, COL_INFO, "AJP13 Error?");
diff --git a/epan/dissectors/packet-atalk.c b/epan/dissectors/packet-atalk.c
index 3a5ca57dfb..f7b9a23e21 100644
--- a/epan/dissectors/packet-atalk.c
+++ b/epan/dissectors/packet-atalk.c
@@ -746,7 +746,7 @@ dissect_atp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
if (atp_defragment) {
asp_request_key request_key;
- request_key.conversation = conversation->index;
+ request_key.conversation = conversation->conv_index;
memcpy(request_key.src, (!aspinfo.reply)?pinfo->src.data:pinfo->dst.data, 4);
request_key.seq = aspinfo.seq;
@@ -994,7 +994,7 @@ get_transaction(tvbuff_t *tvb, packet_info *pinfo, struct aspinfo *aspinfo)
conversation = find_or_create_conversation(pinfo);
- request_key.conversation = conversation->index;
+ request_key.conversation = conversation->conv_index;
memcpy(request_key.src, (!aspinfo->reply)?pinfo->src.data:pinfo->dst.data, 4);
request_key.seq = aspinfo->seq;
diff --git a/epan/dissectors/packet-beep.c b/epan/dissectors/packet-beep.c
index 948c4b7a85..20dece34d6 100644
--- a/epan/dissectors/packet-beep.c
+++ b/epan/dissectors/packet-beep.c
@@ -782,14 +782,14 @@ dissect_beep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_
/*
* Check for and insert an entry in the request table if does not exist
*/
- request_key.conversation = conversation->index;
+ request_key.conversation = conversation->conv_index;
request_val = (struct beep_request_val *)g_hash_table_lookup(beep_request_hash, &request_key);
if (!request_val) { /* Create one */
new_request_key = wmem_new(wmem_file_scope(), struct beep_request_key);
- new_request_key->conversation = conversation->index;
+ new_request_key->conversation = conversation->conv_index;
request_val = wmem_new(wmem_file_scope(), struct beep_request_val);
request_val->processed = 0;
diff --git a/epan/dissectors/packet-dcm.c b/epan/dissectors/packet-dcm.c
index 612e36163e..587d36e9c3 100644
--- a/epan/dissectors/packet-dcm.c
+++ b/epan/dissectors/packet-dcm.c
@@ -6682,7 +6682,7 @@ dissect_dcm_pdv_fragmented(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
*/
DISSECTOR_ASSERT(conv);
- reassembly_id = (((conv->index) & 0x00FFFFFF) << 8) + pdv->pctx_id;
+ reassembly_id = (((conv->conv_index) & 0x00FFFFFF) << 8) + pdv->pctx_id;
head = fragment_add_seq_next(&dcm_pdv_reassembly_table,
tvb, offset, pinfo, reassembly_id, NULL,
diff --git a/epan/dissectors/packet-dnp.c b/epan/dissectors/packet-dnp.c
index 67c7735602..dac30fed13 100644
--- a/epan/dissectors/packet-dnp.c
+++ b/epan/dissectors/packet-dnp.c
@@ -3352,7 +3352,7 @@ dissect_dnp3_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void*
* conversation and the DNP src and dst addresses
*/
- dl_conversation_key.conversation = conversation->index;
+ dl_conversation_key.conversation = conversation->conv_index;
dl_conversation_key.src = dl_src;
dl_conversation_key.dst = dl_dst;
diff --git a/epan/dissectors/packet-enip.c b/epan/dissectors/packet-enip.c
index dce48f2275..7278233580 100644
--- a/epan/dissectors/packet-enip.c
+++ b/epan/dissectors/packet-enip.c
@@ -2278,7 +2278,7 @@ dissect_cpf(enip_request_key_t *request_key, int command, tvbuff_t *tvb,
*/
request_key->session_handle = GPOINTER_TO_UINT(conversation);
request_key->sender_context = trans_id;
- request_key->conversation = conversation->index;
+ request_key->conversation = conversation->conv_index;
}
@@ -2713,7 +2713,7 @@ dissect_enip_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data
request_key.type = EPDT_UNKNOWN;
request_key.session_handle = tvb_get_letohl( tvb, 4 );
request_key.sender_context = tvb_get_letoh64( tvb, 12 );
- request_key.conversation = conversation->index;
+ request_key.conversation = conversation->conv_index;
encap_data_length = tvb_get_letohs( tvb, 2 );
enip_tree = NULL;
diff --git a/epan/dissectors/packet-fc.c b/epan/dissectors/packet-fc.c
index a7fd8eb294..839b667e3b 100644
--- a/epan/dissectors/packet-fc.c
+++ b/epan/dissectors/packet-fc.c
@@ -1073,7 +1073,7 @@ dissect_fc_helper (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean
* SEQ_CNT of the first frame in sequence and use this value to
* determine the actual offset into a frame.
*/
- ckey.conv_idx = conversation->index;
+ ckey.conv_idx = conversation->conv_index;
cdata = (fcseq_conv_data_t *)g_hash_table_lookup (fcseq_req_hash,
&ckey);
@@ -1088,7 +1088,7 @@ dissect_fc_helper (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean
}
else {
req_key = wmem_new(wmem_file_scope(), fcseq_conv_key_t);
- req_key->conv_idx = conversation->index;
+ req_key->conv_idx = conversation->conv_index;
cdata = wmem_new(wmem_file_scope(), fcseq_conv_data_t);
cdata->seq_cnt = fchdr->seqcnt;
diff --git a/epan/dissectors/packet-fcdns.c b/epan/dissectors/packet-fcdns.c
index e79e382838..3fac1d16c3 100644
--- a/epan/dissectors/packet-fcdns.c
+++ b/epan/dissectors/packet-fcdns.c
@@ -1737,7 +1737,7 @@ dissect_fcdns (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
fchdr->rxid, NO_PORT2);
}
- ckey.conv_idx = conversation->index;
+ ckey.conv_idx = conversation->conv_index;
cdata = (fcdns_conv_data_t *)g_hash_table_lookup (fcdns_req_hash,
&ckey);
@@ -1750,7 +1750,7 @@ dissect_fcdns (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
}
else {
req_key = wmem_new(wmem_file_scope(), fcdns_conv_key_t);
- req_key->conv_idx = conversation->index;
+ req_key->conv_idx = conversation->conv_index;
cdata = wmem_new(wmem_file_scope(), fcdns_conv_data_t);
cdata->opcode = opcode;
@@ -1777,7 +1777,7 @@ dissect_fcdns (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
}
}
else {
- ckey.conv_idx = conversation->index;
+ ckey.conv_idx = conversation->conv_index;
cdata = (fcdns_conv_data_t *)g_hash_table_lookup (fcdns_req_hash, &ckey);
diff --git a/epan/dissectors/packet-fcels.c b/epan/dissectors/packet-fcels.c
index 929dad194f..656839b193 100644
--- a/epan/dissectors/packet-fcels.c
+++ b/epan/dissectors/packet-fcels.c
@@ -1892,7 +1892,7 @@ dissect_fcels (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
fchdr->rxid, options);
}
- ckey.conv_idx = conversation->index;
+ ckey.conv_idx = conversation->conv_index;
cdata = (fcels_conv_data_t *)g_hash_table_lookup (fcels_req_hash,
&ckey);
@@ -1905,7 +1905,7 @@ dissect_fcels (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
}
else {
req_key = wmem_new(wmem_file_scope(), fcels_conv_key_t);
- req_key->conv_idx = conversation->index;
+ req_key->conv_idx = conversation->conv_index;
cdata = wmem_new(wmem_file_scope(), fcels_conv_data_t);
cdata->opcode = opcode;
@@ -1962,7 +1962,7 @@ dissect_fcels (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
}
if (conversation) {
- ckey.conv_idx = conversation->index;
+ ckey.conv_idx = conversation->conv_index;
cdata = (fcels_conv_data_t *)g_hash_table_lookup (fcels_req_hash, &ckey);
diff --git a/epan/dissectors/packet-fcfcs.c b/epan/dissectors/packet-fcfcs.c
index f46094bbba..68d2292694 100644
--- a/epan/dissectors/packet-fcfcs.c
+++ b/epan/dissectors/packet-fcfcs.c
@@ -736,7 +736,7 @@ dissect_fcfcs (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
fchdr->rxid, NO_PORT2);
}
- ckey.conv_idx = conversation->index;
+ ckey.conv_idx = conversation->conv_index;
cdata = (fcfcs_conv_data_t *)g_hash_table_lookup (fcfcs_req_hash,
&ckey);
@@ -749,7 +749,7 @@ dissect_fcfcs (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
}
else {
req_key = wmem_new(wmem_file_scope(), fcfcs_conv_key_t);
- req_key->conv_idx = conversation->index;
+ req_key->conv_idx = conversation->conv_index;
cdata = wmem_new(wmem_file_scope(), fcfcs_conv_data_t);
cdata->opcode = opcode;
@@ -776,7 +776,7 @@ dissect_fcfcs (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
}
}
else {
- ckey.conv_idx = conversation->index;
+ ckey.conv_idx = conversation->conv_index;
cdata = (fcfcs_conv_data_t *)g_hash_table_lookup (fcfcs_req_hash,
&ckey);
diff --git a/epan/dissectors/packet-fcfzs.c b/epan/dissectors/packet-fcfzs.c
index 6af7818ce8..6dba52aeb6 100644
--- a/epan/dissectors/packet-fcfzs.c
+++ b/epan/dissectors/packet-fcfzs.c
@@ -559,7 +559,7 @@ dissect_fcfzs(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
fchdr->rxid, NO_PORT2);
}
- ckey.conv_idx = conversation->index;
+ ckey.conv_idx = conversation->conv_index;
cdata = (fcfzs_conv_data_t *)g_hash_table_lookup(fcfzs_req_hash,
&ckey);
@@ -572,7 +572,7 @@ dissect_fcfzs(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
}
else {
req_key = wmem_new(wmem_file_scope(), fcfzs_conv_key_t);
- req_key->conv_idx = conversation->index;
+ req_key->conv_idx = conversation->conv_index;
cdata = wmem_new(wmem_file_scope(), fcfzs_conv_data_t);
cdata->opcode = opcode;
@@ -601,7 +601,7 @@ dissect_fcfzs(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
}
}
else {
- ckey.conv_idx = conversation->index;
+ ckey.conv_idx = conversation->conv_index;
cdata = (fcfzs_conv_data_t *)g_hash_table_lookup(fcfzs_req_hash, &ckey);
diff --git a/epan/dissectors/packet-fcswils.c b/epan/dissectors/packet-fcswils.c
index be15c3ea5b..0e4e43aa19 100644
--- a/epan/dissectors/packet-fcswils.c
+++ b/epan/dissectors/packet-fcswils.c
@@ -1722,7 +1722,7 @@ dissect_fcswils(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
fchdr->rxid, NO_PORT2);
}
- ckey.conv_idx = conversation->index;
+ ckey.conv_idx = conversation->conv_index;
cdata = (fcswils_conv_data_t *)g_hash_table_lookup(fcswils_req_hash,
&ckey);
@@ -1735,7 +1735,7 @@ dissect_fcswils(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
}
else {
req_key = wmem_new(wmem_file_scope(), fcswils_conv_key_t);
- req_key->conv_idx = conversation->index;
+ req_key->conv_idx = conversation->conv_index;
cdata = wmem_new(wmem_file_scope(), fcswils_conv_data_t);
cdata->opcode = opcode;
@@ -1757,7 +1757,7 @@ dissect_fcswils(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
}
}
else {
- ckey.conv_idx = conversation->index;
+ ckey.conv_idx = conversation->conv_index;
cdata = (fcswils_conv_data_t *)g_hash_table_lookup(fcswils_req_hash, &ckey);
diff --git a/epan/dissectors/packet-idmp.c b/epan/dissectors/packet-idmp.c
index 9169e77cc1..697644e9bb 100644
--- a/epan/dissectors/packet-idmp.c
+++ b/epan/dissectors/packet-idmp.c
@@ -650,7 +650,7 @@ static int dissect_idmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tr
pinfo->ptype, pinfo->srcport, pinfo->destport, 0);
if (conv) {
/* Found a conversation, also use index for the generated dst_ref */
- dst_ref = conv->index;
+ dst_ref = conv->conv_index;
}
/* save parent_tree so subdissectors can create new top nodes */
diff --git a/epan/dissectors/packet-mgcp.c b/epan/dissectors/packet-mgcp.c
index e2d45d7509..dc353f7727 100644
--- a/epan/dissectors/packet-mgcp.c
+++ b/epan/dissectors/packet-mgcp.c
@@ -418,7 +418,7 @@ static guint mgcp_call_hash(gconstpointer k)
{
const mgcp_call_info_key* key = (const mgcp_call_info_key*) k;
- return key->transid + key->conversation->index;
+ return key->transid + key->conversation->conv_index;
}
diff --git a/epan/dissectors/packet-ositp.c b/epan/dissectors/packet-ositp.c
index 248d553390..53d7328b75 100644
--- a/epan/dissectors/packet-ositp.c
+++ b/epan/dissectors/packet-ositp.c
@@ -989,7 +989,7 @@ static int ositp_decode_DT(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
0);
if (conv) {
/* Found a conversation, also use index for the generated dst_ref */
- dst_ref += (conv->index << 16);
+ dst_ref += (conv->conv_index << 16);
}
if (!fragment) {
cotp_dst_ref++;
diff --git a/epan/dissectors/packet-pop.c b/epan/dissectors/packet-pop.c
index c8978c3162..79b28055bb 100644
--- a/epan/dissectors/packet-pop.c
+++ b/epan/dissectors/packet-pop.c
@@ -204,7 +204,7 @@ dissect_pop(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
frame_data_p = wmem_new(wmem_file_scope(), struct pop_proto_data);
- frame_data_p->conversation_id = conversation->index;
+ frame_data_p->conversation_id = conversation->conv_index;
frame_data_p->more_frags = data_val->msg_read_len < data_val->msg_tot_len;
p_add_proto_data(wmem_file_scope(), pinfo, proto_pop, 0, frame_data_p);
diff --git a/epan/dissectors/packet-pres.c b/epan/dissectors/packet-pres.c
index 5d028d625e..8fce786f18 100644
--- a/epan/dissectors/packet-pres.c
+++ b/epan/dissectors/packet-pres.c
@@ -277,7 +277,7 @@ register_ctx_id_and_oid(packet_info *pinfo _U_, guint32 idx, const char *oid)
conversation=find_conversation (pinfo->num, &pinfo->src, &pinfo->dst,
pinfo->ptype, pinfo->srcport, pinfo->destport, 0);
if (conversation) {
- pco->idx = conversation->index;
+ pco->idx = conversation->conv_index;
} else {
pco->idx = 0;
}
@@ -318,7 +318,7 @@ find_oid_by_pres_ctx_id(packet_info *pinfo, guint32 idx)
conversation=find_conversation (pinfo->num, &pinfo->src, &pinfo->dst,
pinfo->ptype, pinfo->srcport, pinfo->destport, 0);
if (conversation) {
- pco.idx = conversation->index;
+ pco.idx = conversation->conv_index;
} else {
pco.idx = 0;
}
diff --git a/epan/dissectors/packet-radius.c b/epan/dissectors/packet-radius.c
index c0b1ff5945..066aab4c13 100644
--- a/epan/dissectors/packet-radius.c
+++ b/epan/dissectors/packet-radius.c
@@ -573,7 +573,7 @@ radius_call_hash(gconstpointer k)
{
const radius_call_info_key *key = (const radius_call_info_key *) k;
- return key->ident + key->conversation->index;
+ return key->ident + key->conversation->conv_index;
}
diff --git a/epan/dissectors/packet-rpc.c b/epan/dissectors/packet-rpc.c
index 9984d41b8d..caeaae61b2 100644
--- a/epan/dissectors/packet-rpc.c
+++ b/epan/dissectors/packet-rpc.c
@@ -3406,7 +3406,7 @@ dissect_rpc_fragment(tvbuff_t *tvb, int offset, packet_info *pinfo,
*/
if (conversation == NULL)
conversation = get_conversation_for_tcp(pinfo);
- old_rfk.conv_id = conversation->index;
+ old_rfk.conv_id = conversation->conv_index;
old_rfk.seq = seq;
old_rfk.port = pinfo->srcport;
rfk = (rpc_fragment_key *)g_hash_table_lookup(rpc_reassembly_table, &old_rfk);
@@ -3447,7 +3447,7 @@ dissect_rpc_fragment(tvbuff_t *tvb, int offset, packet_info *pinfo,
*/
rfk = wmem_new(wmem_file_scope(), rpc_fragment_key);
- rfk->conv_id = conversation->index;
+ rfk->conv_id = conversation->conv_index;
rfk->seq = seq;
rfk->port = pinfo->srcport;
rfk->offset = 0;
diff --git a/epan/dissectors/packet-rsvp.c b/epan/dissectors/packet-rsvp.c
index d8c6cb8811..c00706169c 100644
--- a/epan/dissectors/packet-rsvp.c
+++ b/epan/dissectors/packet-rsvp.c
@@ -7472,7 +7472,7 @@ dissect_rsvp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolea
/* Now build the request key */
memset(&request_key, 0, sizeof(request_key));
- request_key.conversation = conversation->index;
+ request_key.conversation = conversation->conv_index;
request_key.session_type = rsvph->session_type;
switch (request_key.session_type) {
@@ -7563,7 +7563,7 @@ dissect_rsvp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolea
copy_address_wmem(wmem_file_scope(), &new_request_key->source_info.source, &rsvph->source);
request_val = wmem_new(wmem_file_scope(), struct rsvp_request_val);
- request_val->value = conversation->index;
+ request_val->value = conversation->conv_index;
g_hash_table_insert(rsvp_request_hash, new_request_key, request_val);
}
diff --git a/epan/dissectors/packet-rtse.c b/epan/dissectors/packet-rtse.c
index 4a07cd07e5..8e783be177 100644
--- a/epan/dissectors/packet-rtse.c
+++ b/epan/dissectors/packet-rtse.c
@@ -783,7 +783,7 @@ dissect_rtse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* d
&pinfo->src, &pinfo->dst, pinfo->ptype,
pinfo->srcport, pinfo->destport, 0);
if (conversation != NULL) {
- rtse_id = conversation->index;
+ rtse_id = conversation->conv_index;
}
session->rtse_reassemble = TRUE;
}
diff --git a/epan/dissectors/packet-sbus.c b/epan/dissectors/packet-sbus.c
index abdf9b7ab1..565e1563f2 100644
--- a/epan/dissectors/packet-sbus.c
+++ b/epan/dissectors/packet-sbus.c
@@ -698,7 +698,7 @@ dissect_sbus(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_
conversation = find_or_create_conversation(pinfo);
- request_key.conversation = conversation->index;
+ request_key.conversation = conversation->conv_index;
request_key.sequence = tvb_get_ntohs(tvb,6);
request_val = (sbus_request_val *) g_hash_table_lookup(sbus_request_hash,
diff --git a/epan/dissectors/packet-ses.c b/epan/dissectors/packet-ses.c
index e9d6c22785..d3b86b89ce 100644
--- a/epan/dissectors/packet-ses.c
+++ b/epan/dissectors/packet-ses.c
@@ -1007,7 +1007,7 @@ dissect_spdu(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree,
&pinfo->src, &pinfo->dst, pinfo->ptype,
pinfo->srcport, pinfo->destport, 0);
if (conversation != NULL) {
- ses_id = conversation->index;
+ ses_id = conversation->conv_index;
}
fragment_len = tvb_reported_length_remaining (tvb, offset);
ti = proto_tree_add_item (ses_tree, hf_ses_segment_data, tvb, offset,
diff --git a/epan/dissectors/packet-smb-direct.c b/epan/dissectors/packet-smb-direct.c
index 6ca65b7688..5344835587 100644
--- a/epan/dissectors/packet-smb-direct.c
+++ b/epan/dissectors/packet-smb-direct.c
@@ -150,7 +150,7 @@ dissect_smb_direct_payload(tvbuff_t *tvb, packet_info *pinfo,
pinfo->fd->flags.visited = 0;
fd_head = fragment_add_seq_next(&smb_direct_reassembly_table,
tvb, 0, pinfo,
- conversation->index,
+ conversation->conv_index,
NULL, tvb_captured_length(tvb),
more_frags);
}
@@ -165,7 +165,7 @@ dissect_smb_direct_payload(tvbuff_t *tvb, packet_info *pinfo,
*/
fd_head = fragment_get_reassembled_id(&smb_direct_reassembly_table,
pinfo,
- conversation->index);
+ conversation->conv_index);
}
if (fd_head == NULL) {
diff --git a/epan/dissectors/packet-smtp.c b/epan/dissectors/packet-smtp.c
index d6147f43cb..5e5b22f70c 100644
--- a/epan/dissectors/packet-smtp.c
+++ b/epan/dissectors/packet-smtp.c
@@ -439,7 +439,7 @@ dissect_smtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_
*/
spd_frame_data = (struct smtp_proto_data *)wmem_alloc0(wmem_file_scope(), sizeof(struct smtp_proto_data));
- spd_frame_data->conversation_id = conversation->index;
+ spd_frame_data->conversation_id = conversation->conv_index;
spd_frame_data->more_frags = TRUE;
p_add_proto_data(wmem_file_scope(), pinfo, proto_smtp, 0, spd_frame_data);