wireshark-dev October 2010 archive
Main Archive Page > Month Archives  > wireshark-dev archives
wireshark-dev: Re: [Wireshark-dev] Problem with a flag in a 32 b

Re: [Wireshark-dev] Problem with a flag in a 32 bit field

From: Christopher Maynard <Chris.Maynard_at_nospam>
Date: Thu Oct 14 2010 - 14:05:23 GMT
To: wireshark-dev@wireshark.org

Graham Bloice <graham.bloice@...> writes:

> and the hf def is:
>   { &hf_item,
>   { "A flag", "dissector.flag", FT_BOOLEAN, 32,
> TFS(&tfs_set_notset), 0x8000, "A flag", HFILL }},
>  

Does this work?

{ &hf_item,
{ "A flag", "dissector.flag", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x80000000,
"A flag", HFILL }},

___________________________________________________________________________
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