Revision history [back]
Figured it out by looking at PROTOABBREV.c again and trying several combinations.
You'll want to add a declaration to the static hf_register_info hf[] array that contains the following fields, with the fields containing "example" replaced.
{&example_handle_name,
{ "Example Header Name", "protocol.example_header_name",
FT_NONE, BASE_NONE, NULL, 0x0, "Example Name or Description", HFILL}
},
So for the requested example, it would look something like this:
{&hf_tc_ph_name,
{"Primary Header", "tc.primary_name",
FT_NONE, BASE_NONE, NULL, 0x0,
"Primary Header", HFILL }
},
and similarly define one for segment header.
Then replace the proto_tc_subset with the name you set for these specific fields.
Figured it out by looking at PROTOABBREV.c again and trying several combinations.combinations. enter code here
You'll want to add a declaration to the static hf_register_info hf[] array that contains the following fields, with the fields containing "example" replaced.
{&example_handle_name,
{ "Example Header Name", "protocol.example_header_name",
FT_NONE, FT_PROTOCOL, BASE_NONE, NULL, 0x0, "Example Name or Description", HFILL}
},
So for the requested example, it would look something like this:
{&hf_tc_ph_name,
{"Primary Header", "tc.primary_name",
FT_NONE, FT_PROTOCOL, BASE_NONE, NULL, 0x0,
"Primary Header", HFILL }
},
and similarly define one for segment header.
Then replace the proto_tc_subset with the name you set for these specific fields.
Figured it out by looking at PROTOABBREV.c again and trying several combinations. out. enter code here
You'll want to add a declaration to the static hf_register_info hf[] array that contains the following fields, with the fields containing "example" replaced.
{&example_handle_name,
{ "Example Header Name", "protocol.example_header_name",
FT_PROTOCOL, BASE_NONE, NULL, 0x0, "Example Name or Description", HFILL}
},
So for the requested example, it would look something like this:
{&hf_tc_ph_name,
{"Primary Header", "tc.primary_name",
FT_PROTOCOL, BASE_NONE, NULL, 0x0,
"Primary Header", HFILL }
},
and similarly define one for segment header.
Then replace the proto_tc_subset with the name you set for these specific fields.
Figured it out.
You'll want to add a declaration to the static hf_register_info hf[] array that contains the following fields, with the fields containing "example" replaced.
{&example_handle_name,
{ "Example Header Name", "protocol.example_header_name",
FT_PROTOCOL, BASE_NONE, NULL, 0x0, "Example Name or Description", HFILL}
},
So for the requested example, it would look something like this:
{&hf_tc_ph_name,
{"Primary Header", "tc.primary_name",
FT_PROTOCOL, BASE_NONE, NULL, 0x0,
"Primary Header", HFILL }
},
and similarly define one for segment header.
Then replace the proto_tc_subset with the name you set for these specific fields.