THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.

Revision history  [back]

save fields with different mask as an unique field

hi. in my dissector, i have 2 fields with different mask, so i define 2 fields as below:

{ &hf_myproto_name1, { "Name", "myproto.name1", FT_UINT16, BASE_DEC, NULL, 0xFFFE, NULL, HFILL } },
{ &hf_myproto_name2, { "Name", "myproto.name2", FT_UINT8, BASE_DEC, NULL, 0x0F, NULL, HFILL } },

is it possible that i define these two fields as an unique field ? (i want to save these two fields as an unique in hf_register_info)

save fields with different mask as an unique field

hi. in my dissector, i have 2 fields with different mask, so i define 2 fields as below:

{ &hf_myproto_name1, { "Name", "myproto.name1", FT_UINT16, BASE_DEC, NULL, 0xFFFE, NULL, HFILL } },
{ &hf_myproto_name2, { "Name", "myproto.name2", FT_UINT8, BASE_DEC, NULL, 0x0F, NULL, HFILL } },

is it possible that i define these two fields as an unique field ? (i want to save these two fields as an unique in hf_register_info)?

save fields with different mask as an unique fieldmask

hi. in my dissector, i have 2 fields with different mask, so i define 2 fields as below:

{ &hf_myproto_name1, { "Name", "myproto.name1", FT_UINT16, FT_UINT8, BASE_DEC, NULL, 0xFFFE, 0xFF, NULL, HFILL } },
{ &hf_myproto_name2, { "Name", "myproto.name2", FT_UINT8, BASE_DEC, NULL, 0x0F, NULL, HFILL } },

is it possible that i define these two fields as an unique field ?

save fields with different mask

hi. in my dissector, i have 2 fields with different mask, so i define 2 fields as below:

{ &hf_myproto_name1, { "Name", "myproto.name1", FT_UINT8, BASE_DEC, NULL, 0xFF, NULL, HFILL } },
{ &hf_myproto_name2, { "Name", "myproto.name2", FT_UINT8, BASE_DEC, NULL, 0x0F, NULL, HFILL } },

is it possible that i define these two fields as an unique field ?