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

I would like to obtain the value string for a specific value manually (to display it in the COL_INFO column) by it's value. I could manually iterate over my value string mapping, however I think there might also be an official API for this task.

asked 14 Feb '14, 21:08

athre0z's gravatar image

athre0z
16114
accept rate: 0%


There are several functions doing the dirty work for you. Look at the content of epan/value_strings.h and pick the one fitting your needs.

permanent link

answered 15 Feb '14, 02:34

Pascal%20Quantin's gravatar image

Pascal Quantin
5.5k1060
accept rate: 30%

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×637
×7

question asked: 14 Feb '14, 21:08

question was seen: 1,280 times

last updated: 15 Feb '14, 02:34

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