This is our old Q&A Site. Please post any new questions and answers at

I want to make a multiple and nested subtrees in my protocol dissector tree. I am not able to add another tree in my protocol subtree.

I tried to add a new item in the subtree of the protocol by proto_tree_add_item()and proto_item_add_subtree(). But it doesn't worked.

asked 14 May '14, 00:22

Balpreet%20Singh's gravatar image

Balpreet Singh
accept rate: 0%

Are you following the instructions in README.dissector, section 1.5.2 "Adding Items and Values to the Protocol Tree"?

Have you got an "ett" variable for your subtree and registered it with proto_register_subtree_array()?

Can you show the relevant portions of your code, e.g. ett_xxx declaration and registration, and the code around proto_item_add_subtree() ?

permanent link

answered 14 May '14, 05:16

grahamb's gravatar image

grahamb ♦
accept rate: 22%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 14 May '14, 00:22

question was seen: 2,987 times

last updated: 14 May '14, 05:16

p​o​w​e​r​e​d by O​S​Q​A