Hi I'm creating a header item that says "General Information", and I also made a subtree on this item. The thing is, I don't know how to set its registration infoamtion in hf_register_info, to be exact, the FIELDNAME and ABBREVIATION field. This is my code for creating the item:
This is the hf_register_info
Also, sometimes I want to handle display manually. Is calling Thank you all for your help! asked 20 Jul '17, 01:01 nickzhang edited 20 Jul '17, 01:04 |
One Answer:
If by "here" and "here" you mean "for FIELDNAME" and "for ABBREVIATION", there's nothing special about strings - if the field is called "general information" in descriptions of the protocol, either "General information" or "General Information" is an appropriate FIELDNAME and, if the protocol's abbreviation is "foo", then "foo.gi" or "foo.general_information" would be an appropriate ABBREVIATION, and that'd be the case if it were a string or a number or....
If the value of the string is exactly what appears in the packet, and you just want to change the way it's displayed, answered 20 Jul '17, 04:11 Guy Harris ♦♦ |
This answers my question, thank you.