Le 18/06/2014 00:41, Pascal Quantin a
écrit :
Hi Pascal,
Ok, my fault.
Sorry for the inconvenience.
Question : the dissect function must return void or int ?
I know both versions exist.
Is there one deprecated or one better ?
Only void dissect function into
http://www.wireshark.org/docs/wsdg_html_chunked/ChDissectAdd.html.
void dissect function into
https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob_plain;f=doc/README.dissector
:
static void dissect_cstr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
Regards,
Olivier
|