Wireshark mailing list archives
Re: New dissector: variable length of a fields
From: Dmitrij K <kdiman () live ru>
Date: Sun, 16 Feb 2014 10:09:47 +0000
I have corrected that by: // for sz tvb_memcpy(tvb, (guint8 *)&ldata, offset, 2); proto_tree_add_item(my_tree, hf_hdr_sz, tvb, offset, 2, TRUE); offset += 2; // for e_flags: proto_tree_add_item(my_tree, hf_hdr_e_flags, tvb, offset, 2, TRUE); offset += 2; // for magic3: proto_tree_add_item(my_tree, hf_hdr_magic3, tvb, offset, 1, FALSE); offset += 1; -- regards ___________________________________________________________________________ Sent via: Wireshark-users mailing list <wireshark-users () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-users Unsubscribe: https://wireshark.org/mailman/options/wireshark-users mailto:wireshark-users-request () wireshark org?subject=unsubscribe
Current thread:
- New dissector: variable length of a fields Dmitrij K (Feb 15)
- Re: New dissector: variable length of a fields Guy Harris (Feb 15)
- <Possible follow-ups>
- Re: New dissector: variable length of a fields Dmitrij K (Feb 15)
- Re: New dissector: variable length of a fields Dmitrij K (Feb 16)
- Re: New dissector: variable length of a fields Guy Harris (Feb 16)
- Re: New dissector: variable length of a fields Dmitrij K (Feb 16)
- Re: New dissector: variable length of a fields Dmitrij K (Feb 16)
- Re: New dissector: variable length of a fields Guy Harris (Feb 16)