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

I have to design a dissector for core to core messages. In the code, inside the proto_ reg_ handoff_ccm() function,

dissector_ handle_ t ccm_ handle;

ccm_ handle=new_ create_ dissector_ handle(dissect_ ccm, proto_ ccm);

dissector_ add(...............................................);

I have a problem in writing this third line. There are three options;

  1. dissector_ add("wtap_ encap", WTAP_ ENCAP_ CCM, ccm_ handle);
  2. dissector_ add(" ", NULL, ccm_ handle);

What should I use?? Or if I am completely mistaken and I have to rather write something completely different..

please reply,

Thanks and Regards, Sid

asked 16 Feb '11, 22:22

sid's gravatar image

accept rate: 0%

See the discussion on another one of your questions.

permanent link

answered 27 Nov '12, 14:46

Guy%20Harris's gravatar image

Guy Harris ♦♦
accept rate: 19%

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: 16 Feb '11, 22:22

question was seen: 4,000 times

last updated: 27 Nov '12, 14:46

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