diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-06-18 02:18:27 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-06-18 02:18:27 +0000 |
commit | 84123931970a8a0f1af281e7351eadabba3c0908 (patch) | |
tree | 90c18fd2b2f7ddb3e9eac08059e59c3e0068f743 /packet-ipv6.c | |
parent | b9222c0011e362d2ba9895af4eaef04a3d72c8c6 (diff) |
From Joerg Mayer: explicitly fill in all members of a
"header_field_info" structure, including the ones that are later set by
the routines to register fields.
svn path=/trunk/; revision=3561
Diffstat (limited to 'packet-ipv6.c')
-rw-r--r-- | packet-ipv6.c | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/packet-ipv6.c b/packet-ipv6.c index 935ccf1f7e..5db7bf13e7 100644 --- a/packet-ipv6.c +++ b/packet-ipv6.c @@ -1,7 +1,7 @@ /* packet-ipv6.c * Routines for IPv6 packet disassembly * - * $Id: packet-ipv6.c,v 1.58 2001/06/08 08:30:42 guy Exp $ + * $Id: packet-ipv6.c,v 1.59 2001/06/18 02:17:47 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -984,155 +984,155 @@ proto_register_ipv6(void) static hf_register_info hf[] = { { &hf_ipv6_version, { "Version", "ipv6.version", - FT_UINT8, BASE_DEC, NULL, 0x0, "" }}, + FT_UINT8, BASE_DEC, NULL, 0x0, "", HFILL }}, { &hf_ipv6_class, { "Traffic class", "ipv6.class", - FT_UINT8, BASE_HEX, NULL, 0x0, "" }}, + FT_UINT8, BASE_HEX, NULL, 0x0, "", HFILL }}, { &hf_ipv6_flow, { "Flowlabel", "ipv6.flow", - FT_UINT32, BASE_HEX, NULL, 0x0, "" }}, + FT_UINT32, BASE_HEX, NULL, 0x0, "", HFILL }}, { &hf_ipv6_plen, { "Payload length", "ipv6.plen", - FT_UINT16, BASE_DEC, NULL, 0x0, "" }}, + FT_UINT16, BASE_DEC, NULL, 0x0, "", HFILL }}, { &hf_ipv6_nxt, { "Next header", "ipv6.nxt", - FT_UINT8, BASE_HEX, NULL, 0x0, "" }}, + FT_UINT8, BASE_HEX, NULL, 0x0, "", HFILL }}, { &hf_ipv6_hlim, { "Hop limit", "ipv6.hlim", - FT_UINT8, BASE_DEC, NULL, 0x0, "" }}, + FT_UINT8, BASE_DEC, NULL, 0x0, "", HFILL }}, { &hf_ipv6_src, { "Source", "ipv6.src", FT_IPv6, BASE_NONE, NULL, 0x0, - "Source IPv6 Address" }}, + "Source IPv6 Address", HFILL }}, { &hf_ipv6_dst, { "Destination", "ipv6.dst", FT_IPv6, BASE_NONE, NULL, 0x0, - "Destination IPv6 Address" }}, + "Destination IPv6 Address", HFILL }}, { &hf_ipv6_addr, { "Address", "ipv6.addr", FT_IPv6, BASE_NONE, NULL, 0x0, - "Source or Destination IPv6 Address" }}, + "Source or Destination IPv6 Address", HFILL }}, { &hf_ipv6_fragment_overlap, { "Fragment overlap", "ipv6.fragment.overlap", FT_BOOLEAN, BASE_NONE, NULL, 0x0, - "Fragment overlaps with other fragments" }}, + "Fragment overlaps with other fragments", HFILL }}, { &hf_ipv6_fragment_overlap_conflict, { "Conflicting data in fragment overlap", "ipv6.fragment.overlap.conflict", FT_BOOLEAN, BASE_NONE, NULL, 0x0, - "Overlapping fragments contained conflicting data" }}, + "Overlapping fragments contained conflicting data", HFILL }}, { &hf_ipv6_fragment_multiple_tails, { "Multiple tail fragments found", "ipv6.fragment.multipletails", FT_BOOLEAN, BASE_NONE, NULL, 0x0, - "Several tails were found when defragmenting the packet" }}, + "Several tails were found when defragmenting the packet", HFILL }}, { &hf_ipv6_fragment_too_long_fragment, { "Fragment too long", "ipv6.fragment.toolongfragment", FT_BOOLEAN, BASE_NONE, NULL, 0x0, - "Fragment contained data past end of packet" }}, + "Fragment contained data past end of packet", HFILL }}, { &hf_ipv6_fragment_error, { "Defragmentation error", "ipv6.fragment.error", FT_NONE, BASE_NONE, NULL, 0x0, - "Defragmentation error due to illegal fragments" }}, + "Defragmentation error due to illegal fragments", HFILL }}, { &hf_ipv6_fragment, { "IPv6 Fragment", "ipv6.fragment", FT_NONE, BASE_NONE, NULL, 0x0, - "IPv6 Fragment" }}, + "IPv6 Fragment", HFILL }}, { &hf_ipv6_fragments, { "IPv6 Fragments", "ipv6.fragments", FT_NONE, BASE_NONE, NULL, 0x0, - "IPv6 Fragments" }}, + "IPv6 Fragments", HFILL }}, /* BT INSERT BEGIN */ { &hf_ipv6_mipv6_type, { "Option Type ", "ipv6.mipv6_type", FT_UINT8, BASE_DEC, NULL, 0x0, - "" }}, + "", HFILL }}, { &hf_ipv6_mipv6_length, { "Option Length ", "ipv6.mipv6_length", FT_UINT8, BASE_DEC, NULL, 0x0, - "" }}, + "", HFILL }}, { &hf_ipv6_mipv6_a_flag, { "Acknowledge (A) ", "ipv6.mipv6_a_flag", FT_BOOLEAN, 8, TFS(&ipv6_mipv6_bu_a_flag_value), IP6_MIPv6_BU_A_FLAG, - "" }}, + "", HFILL }}, { &hf_ipv6_mipv6_h_flag, { "Home Registration (H) ", "ipv6.mipv6_h_flag", FT_BOOLEAN, 8, TFS(&ipv6_mipv6_bu_h_flag_value), IP6_MIPv6_BU_H_FLAG, - "" }}, + "", HFILL }}, { &hf_ipv6_mipv6_r_flag, { "Router (R) ", "ipv6.mipv6_r_flag", FT_BOOLEAN, 8, TFS(&ipv6_mipv6_bu_r_flag_value), IP6_MIPv6_BU_R_FLAG, - "" }}, + "", HFILL }}, { &hf_ipv6_mipv6_d_flag, { "Duplicate Address Detection (D) ", "ipv6.mipv6_d_flag", FT_BOOLEAN, 8, TFS(&ipv6_mipv6_bu_d_flag_value), IP6_MIPv6_BU_D_FLAG, - "" }}, + "", HFILL }}, { &hf_ipv6_mipv6_m_flag, { "MAP Registration (M) ", "ipv6.mipv6_m_flag", FT_BOOLEAN, 8, TFS(&ipv6_mipv6_bu_m_flag_value), IP6_MIPv6_BU_M_FLAG, - "" }}, + "", HFILL }}, { &hf_ipv6_mipv6_b_flag, { "Bicasting all (B) ", "ipv6.mipv6_b_flag", FT_BOOLEAN, 8, TFS(&ipv6_mipv6_bu_b_flag_value), IP6_MIPv6_BU_B_FLAG, - "" }}, + "", HFILL }}, { &hf_ipv6_mipv6_prefix_length, { "Prefix Length ", "ipv6.mipv6_prefix_length", FT_UINT8, BASE_DEC, NULL, 0x0, - "" }}, + "", HFILL }}, { &hf_ipv6_mipv6_sequence_number, { "Sequence Number ", "ipv6.mipv6_sequence_number", FT_UINT16, BASE_DEC, NULL, 0x0, - "" }}, + "", HFILL }}, { &hf_ipv6_mipv6_life_time, { "Life Time ", "ipv6.mipv6_life_time", FT_UINT32, BASE_DEC, NULL, 0x0, - "" }}, + "", HFILL }}, { &hf_ipv6_mipv6_status, { "Status ", "ipv6.mipv6_status", FT_UINT8, BASE_DEC, NULL, 0x0, - "" }}, + "", HFILL }}, { &hf_ipv6_mipv6_refresh, { "Refresh ", "ipv6.mipv6_refresh", FT_UINT32, BASE_DEC, NULL, 0x0, - "" }}, + "", HFILL }}, { &hf_ipv6_mipv6_home_address, { "Home Address ", "ipv6.mipv6_home_address", FT_IPv6, BASE_HEX, NULL, 0x0, - "" }}, + "", HFILL }}, { &hf_ipv6_mipv6_sub_type, { "Sub-Option Type ", "ipv6.mipv6_sub_type", FT_UINT8, BASE_DEC, NULL, 0x0, - "" }}, + "", HFILL }}, { &hf_ipv6_mipv6_sub_length, { "Sub-Option Length ", "ipv6.mipv6_sub_length", FT_UINT8, BASE_DEC, NULL, 0x0, - "" }}, + "", HFILL }}, { &hf_ipv6_mipv6_sub_unique_ID, { "Unique Identifier ", "ipv6.mipv6_sub_unique_ID", FT_UINT16, BASE_DEC, NULL, 0x0, - "" }}, + "", HFILL }}, { &hf_ipv6_mipv6_sub_alternative_COA, { "Alternative Care of Address ", "ipv6.mipv6_sub_alternative_COA", FT_IPv6, BASE_HEX, NULL, 0x0, - "" }}, + "", HFILL }}, /* BT INSERT END */ #ifdef TEST_FINALHDR { &hf_ipv6_final, { "Final next header", "ipv6.final", - FT_UINT8, BASE_HEX, NULL, 0x0, "" }}, + FT_UINT8, BASE_HEX, NULL, 0x0, "", HFILL }}, #endif }; static gint *ett[] = { |