Wireshark-dev: Re: [Wireshark-dev] Proto_tree_add question
From: Jaap Keuter <[email protected]>
Date: Thu, 16 Nov 2006 18:59:43 +0100 (CET)

FT_FLOAT -> gfloat value = tvb_get_ntohieee_float(); printf("%f", value);


On Thu, 16 Nov 2006 [email protected] wrote:

> I have a question I hope you guys can answer.
> Basically I've got a field in a packet that is a floating point. My
> question is however, to pull this value out I have to use
> tvb_get_ntohieee_float, but then I don't know how to display that like
> the proto_tree_add_item function does.
> Help please!
> This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute, print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics UK Limited reserves the right to monitor (and examine for viruses) all emails and email attachments, both inbound and outbound. Email communications and their attachments may not be secure or error- or virus-free and the company does not accept liability or responsibility for such matters or the consequences thereof. Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in England and Wales No: 1911653.