Hello, I have to dissect some protocols as X.25, sndcp (sndcf)... In X.25 I have the number of circuit VC and the dictionary of compression. In SNDCP, I have the information concerning the compression or not of data and before to dissect the other protocols i have to uncompress the data. To do this, i want to send the VC and the dictionary as parameters from X.25 to SNDCP. For info, i'm using the versions 1.6 of wireshark. So, to start, i try to send VC, and i've done these modifications : packet.c :
I modify also the others functions to use the data packet-x.25, in the case NLPID_SNDCF :
packet-sndcp.c :
In my packet, I have juste one VC=1 but the function
displays the value 0 instead of 1 for VC. Can you help me please? did I forget to modify other functions? asked 14 Jan ‘13, 06:26 Gigi edited 16 Jan ‘13, 20:39 Guy Harris ♦♦ |
One Answer:
if that can help someone, i had to modify the function try_circuit_dissector too(..., void *data) (packet circuit.c). answered 18 Jan '13, 03:09 Gigi Yes, there are ways of calling dissectors other than with (18 Jan '13, 10:51) Guy Harris ♦♦
(29 Jan '16, 15:08) Guy Harris ♦♦ |
If i understand the function call_dissector_with_data or call_dissector allow us to call the function dissect_PROTO. It’s true? What is the main function of a dissector? Thank you