From Erik Hugne:

tYN flag in named messages

Named messages are both used for connectionless
messaging and connection setup requests. A SYN
flag is now represented by the previously reserved
bit 18 in word 0 to differentiate named messages from
connection requests.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9241

svn path=/trunk/; revision=52440
This commit is contained in:
Anders Broman 2013-10-07 18:32:48 +00:00
parent 88130d4828
commit 67e98ca737
1 changed files with 12 additions and 0 deletions

View File

@ -171,9 +171,14 @@ static int hf_tipcv2_dist_scope = -1;
static int hf_tipcv2_name_dist_port_id_node = -1;
static int hf_tipcv2_media_id = -1;
/* added in minor PV 1 */
static int hf_tipcv2_syn = -1;
static gint ett_tipc_msg_fragment = -1;
static gint ett_tipc_msg_fragments = -1;
/* Initialize the subtree pointer */
static gint ett_tipc = -1;
static gint ett_tipc_data = -1;
@ -1642,6 +1647,8 @@ dissect_tipc_v2(tvbuff_t *tipc_tvb, proto_tree *tipc_tree, packet_info *pinfo, i
proto_tree_add_item(tipc_tree, hf_tipc_destdrop, tipc_tvb, offset, 4, ENC_BIG_ENDIAN);
/* Source Droppable: 1 bit */
proto_tree_add_item(tipc_tree, hf_tipcv2_srcdrop, tipc_tvb, offset, 4, ENC_BIG_ENDIAN);
/* SYN: 1 bit */
proto_tree_add_item(tipc_tree, hf_tipcv2_syn, tipc_tvb, offset, 4, ENC_BIG_ENDIAN);
}
/* Reserved: 1 bits */
@ -2555,6 +2562,11 @@ proto_register_tipc(void)
FT_UINT32, BASE_DEC, NULL, 0x00040000,
"Destination Droppable Bit", HFILL }
},
{ &hf_tipcv2_syn,
{ "Connection request (SYN)", "tipc.syn",
FT_UINT32, BASE_DEC, NULL, 0x00020000,
"Destination Droppable Bit", HFILL }
},
{ &hf_tipcv2_data_msg_type,
{ "Message type", "tipc.data_type",
FT_UINT32, BASE_DEC, VALS(tipc_data_msg_type_values), 0xe0000000,