Re: [Wireshark-dev] Custom formatter for 64bit field

2010-03-11 Thread Maynard, Chris
t32); - Chris -Original Message- From: wireshark-dev-boun...@wireshark.org [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of David Arnold Sent: Thursday, March 11, 2010 5:25 PM To: wireshark-dev@wireshark.org Subject: [Wireshark-dev] Custom formatter for 64bit field Hi! I'm w

Re: [Wireshark-dev] Custom formatter for 64bit field

2010-03-11 Thread Guy Harris
On Mar 11, 2010, at 2:24 PM, David Arnold wrote: > I'm writing a dissector for a protocol that uses a 64-bit time field > which is not in the format required for FT_ABSOLUTE_TIME. What do you mean by "the format required for FT_ABSOLUTE_TIME"? An FT_ABSOLUTE_TIME field doesn't have to be in th

[Wireshark-dev] Custom formatter for 64bit field

2010-03-11 Thread David Arnold
Hi! I'm writing a dissector for a protocol that uses a 64-bit time field which is not in the format required for FT_ABSOLUTE_TIME. So, I declared the hfinfo like { &hf_prot_pkthdr_time, { "Transmit Time", "prot.time", FT_UINT64, BASE_CUSTOM, prot_fmt_tim