I'm having trouble picking out a bit flag from a 32 bit field. Can anyone
point out where I'm going wrong?
The field is transmitted on the wire in little endian order; b0 b1 b2 b3, bits
0 - 30 are a block number and the flag I'm interested is bit 31, the top bit
of b3.
I add the item to the
Graham Bloice graham.blo...@... 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,
On 14/10/2010 15:05, Christopher Maynard wrote:
Graham Bloice graham.blo...@... 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