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

Won't lie, not too good with coding, so here's what I'm trying to do:

Make a custom expert-info (or color-rule otherwise) so that it will highlight a packet with a specific DS status (0x01, 0x02, 0x03 etc.) Highlight it in the Packet list, as well as in the Packet Details pane.

I've gotten as far as getting the wireshark sources, and looking at the epan/expert.x and epan/proto.h files, but at this point I'm out of my depth regarding the code. If someone could provide what format I would use, or if they knew a way to add a custom color rule that highlights it in both panes. So far, the only thing I've been able to accomplish is getting a custom color to highlight in the packet list, but not in the packet details.

Any help is greatly appreciated.

asked 18 Mar '14, 16:13

Reginald's gravatar image

accept rate: 0%

No coding is necessary to highlight the packet in the packet list; that's what coloring rules are for.

What is it you want to highlight in the packet details? The field containing the DS status?

(18 Mar '14, 20:47) Guy Harris ♦♦

I want it to highlight the field with the DS status.

I have seen the expert-infos do it, so I figured if I add a custom expert-info to the 802.11 dissector I would be able to highlight it in one of clothe currently established groups. (Ie yellow for PI_WARN)

(19 Mar '14, 04:31) Reginald

I did suggest making it possible to associate expert info with a colouring rule in this post

I never did implement it though.

(20 Mar '14, 06:34) MartinM
Be the first one to answer this question!
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: 18 Mar '14, 16:13

question was seen: 1,195 times

last updated: 20 Mar '14, 06:34

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