Wireshark mailing list archives

BASE_CUSTOM and 64-bit values


From: David Arnold <davida () pobox com>
Date: Thu, 14 Mar 2013 21:22:28 +0100

Hi all,

I'm working on a dissector for a protocol that encodes a timestamp as a 64-bit number of nanoseconds since midnight.  
I'd like to write a BASE_CUSTOM formatting function for this field, but it looks like the value passed to formatting 
functions for BASE_CUSTOM is limited to 32 bits  (from proto.h):

   typedef void (*custom_fmt_func_t)(gchar *, guint32);

What's a good way to handle this?

Thanks in advance,



d

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: