1 | initial version |
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.
2 | No.2 Revision |
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.
3 | No.3 Revision |
Figured it out. out by looking at PROTOABBREV.c again and trying several 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_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.
4 | No.4 Revision |
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_PROTOCOL, 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_PROTOCOL, 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.