More dissector table name related changes (a continuation of r51904).
authorChris Maynard <Christopher.Maynard@GTECH.COM>
Thu, 12 Sep 2013 20:34:19 +0000 (20:34 -0000)
committerChris Maynard <Christopher.Maynard@GTECH.COM>
Thu, 12 Sep 2013 20:34:19 +0000 (20:34 -0000)
svn path=/trunk/; revision=51982

12 files changed:
epan/dissectors/packet-btrfcomm.c
epan/dissectors/packet-clnp.c
epan/dissectors/packet-enip.c
epan/dissectors/packet-esis.c
epan/dissectors/packet-fr.c
epan/dissectors/packet-isis.c
epan/dissectors/packet-juniper.c
epan/dissectors/packet-mip.c
epan/dissectors/packet-nhrp.c
epan/dissectors/packet-osi.c
epan/dissectors/packet-redback.c
epan/dissectors/packet-sll.c

index f4c6a703803963adfe7927f9b8c8b129665eaac0..ad4fd7d51a300f702036cbeb705498f64aa0c8a8 100644 (file)
@@ -972,8 +972,8 @@ proto_register_btrfcomm(void)
     expert_btrfcomm = expert_register_protocol(proto_btrfcomm);
     expert_register_field_array(expert_btrfcomm, ei, array_length(ei));
 
-    rfcomm_service_dissector_table = register_dissector_table("btrfcomm.service", "RFCOMM SERVICE", FT_UINT16, BASE_HEX);
-    rfcomm_channel_dissector_table = register_dissector_table("btrfcomm.channel", "RFCOMM Channel", FT_UINT16, BASE_DEC);
+    rfcomm_service_dissector_table = register_dissector_table("btrfcomm.service", "BT RFCOMM Service", FT_UINT16, BASE_HEX);
+    rfcomm_channel_dissector_table = register_dissector_table("btrfcomm.channel", "BT RFCOMM Channel", FT_UINT16, BASE_DEC);
 
     module = prefs_register_protocol(proto_btrfcomm, NULL);
     prefs_register_static_text_preference(module, "rfcomm.version",
index ade326d76b2f3fc1e4403626c03ea2a44fbc7b0c..5fefc607254f05498d8d37af8f68a195382fadd2 100644 (file)
@@ -767,8 +767,8 @@ proto_reg_handoff_clnp(void)
     data_handle = find_dissector("data");
 
     clnp_handle = create_dissector_handle(dissect_clnp, proto_clnp);
-    dissector_add_uint("osinl", NLPID_ISO8473_CLNP, clnp_handle);
-    dissector_add_uint("osinl", NLPID_NULL, clnp_handle); /* Inactive subset */
+    dissector_add_uint("osinl.incl", NLPID_ISO8473_CLNP, clnp_handle);
+    dissector_add_uint("osinl.incl", NLPID_NULL, clnp_handle); /* Inactive subset */
     dissector_add_uint("x.25.spi", NLPID_ISO8473_CLNP, clnp_handle);
 }
 
index 86deaf59dcba253bb62ca62ce8e73bc72983b02e..0c10ab22866c3766721d4d55ae80af2b3f70329a 100644 (file)
@@ -2375,7 +2375,7 @@ dissect_dlr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
       proto_tree_add_item( dlr_tree, hf_dlr_advadvertiseinterval,    tvb, DLR_ADV_ADVERTISE_INTERVAL,      4, ENC_BIG_ENDIAN );
       proto_tree_add_item( dlr_tree, hf_dlr_advadvertisetimeout,     tvb, DLR_ADV_ADVERTISE_TIMEOUT,       4, ENC_BIG_ENDIAN );
       proto_tree_add_item( dlr_tree, hf_dlr_advlearningupdateenable, tvb, DLR_ADV_LEARNING_UPDATE_ENABLE,  1, ENC_BIG_ENDIAN );
-      proto_tree_add_item( dlr_tree, hf_dlr_advreserved,             tvb, DLR_ADV_RESERVED,               19, ENC_NA );   
+      proto_tree_add_item( dlr_tree, hf_dlr_advreserved,             tvb, DLR_ADV_RESERVED,               19, ENC_NA );
    }
    else if( dlr_frametype == DLR_FT_FLUSH_TABLES )
    {
@@ -3227,12 +3227,12 @@ proto_register_enip(void)
       { &hf_dlr_rgc_red_gateway_enable,
         { "Redundant Gateway Enable", "cip.dlr.rgc.gateway_enable",
           FT_BOOLEAN, 8, TFS(&tfs_true_false), 0,
-          NULL, HFILL }},          
+          NULL, HFILL }},
 
       { &hf_dlr_rgc_gateway_precedence,
         { "Gateway Precedence", "cip.dlr.rgc.gateway_precedence",
           FT_UINT8, BASE_DEC, NULL, 0,
-          NULL, HFILL }},    
+          NULL, HFILL }},
 
       { &hf_dlr_rgc_advertise_interval,
         { "Advertise Interval", "cip.dlr.rgc.advertise_interval",
@@ -3263,7 +3263,7 @@ proto_register_enip(void)
         { "Active Gateway Physical Address", "cip.dlr.aga.physical_address",
           FT_ETHER, BASE_NONE, NULL, 0,
           NULL, HFILL }},
-          
+
       { &hf_dlr_active_gateway_precedence,
         { "Active Gateway Precedence", "cip.dlr.active_gateway_precedence",
           FT_UINT8, BASE_DEC, NULL, 0,
@@ -3563,10 +3563,10 @@ proto_register_enip(void)
                                   FALSE);
 
    subdissector_sud_table = register_dissector_table("enip.sud.iface",
-                                                     "SendUnitData.Interface Handle", FT_UINT32, BASE_HEX);
+                                                     "ENIP SendUnitData.Interface Handle", FT_UINT32, BASE_HEX);
 
    subdissector_srrd_table = register_dissector_table("enip.srrd.iface",
-                                                      "SendRequestReplyData.Interface Handle", FT_UINT32, BASE_HEX);
+                                                      "ENIP SendRequestReplyData.Interface Handle", FT_UINT32, BASE_HEX);
 
    register_init_routine(&enip_init_protocol);
 
index 35a06eb2929aa8708bef63e5a586ec52b5cc760d..1c3bef7c06f3df628c694d2162d9b0157b9ff91e 100644 (file)
@@ -459,5 +459,5 @@ proto_reg_handoff_esis(void)
   dissector_handle_t esis_handle;
 
   esis_handle = find_dissector("esis");
-  dissector_add_uint("osinl", NLPID_ISO9542_ESIS, esis_handle);
+  dissector_add_uint("osinl.incl", NLPID_ISO9542_ESIS, esis_handle);
 }
index b19171e07b68489472b1066ec4c9a8ed25e2b999..f0fa3fccad9bbdf7183ed4c8c42dc54bac9e326b 100644 (file)
@@ -111,7 +111,7 @@ static dissector_handle_t eth_withfcs_handle;
 static dissector_handle_t gprs_ns_handle;
 static dissector_handle_t data_handle;
 
-static dissector_table_t osinl_subdissector_table;
+static dissector_table_t osinl_incl_subdissector_table;
 
 /*
  * Encapsulation type.
@@ -724,7 +724,7 @@ dissect_fr_nlpid(tvbuff_t *tvb, int offset, packet_info *pinfo,
    * Either that, or it's Q.933 iff the DLCI is 0.
    */
   next_tvb = tvb_new_subset_remaining(tvb,offset);
-  if (dissector_try_uint(osinl_subdissector_table, fr_nlpid, next_tvb,
+  if (dissector_try_uint(osinl_incl_subdissector_table, fr_nlpid, next_tvb,
                          pinfo, tree) ||
       dissector_try_uint(fr_osinl_subdissector_table, fr_nlpid, next_tvb,
                          pinfo, tree)) {
@@ -1004,5 +1004,5 @@ proto_reg_handoff_fr(void)
   gprs_ns_handle = find_dissector("gprs_ns");
   data_handle = find_dissector("data");
 
-  osinl_subdissector_table = find_dissector_table("osinl");
+  osinl_incl_subdissector_table = find_dissector_table("osinl.incl");
 }
index 4abb540b596d4af4f5a7932d74ec5fb0b2d0967d..04860dd140ad63b9402be84ad994f08abbfbc672 100644 (file)
@@ -315,6 +315,6 @@ proto_register_isis(void) {
 void
 proto_reg_handoff_isis(void)
 {
-    dissector_add_uint("osinl", NLPID_ISO10589_ISIS, isis_handle);
+    dissector_add_uint("osinl.incl", NLPID_ISO10589_ISIS, isis_handle);
     dissector_add_uint("ethertype", ETHERTYPE_L2ISIS, isis_handle);
 }
index 6cdad9be59b034a966bb9451c9503b21b496dd52..da9dcd3614aaa041daede124c5073ebe651c6c53 100644 (file)
@@ -387,7 +387,7 @@ static dissector_handle_t frelay_handle;
 static dissector_handle_t chdlc_handle;
 static dissector_handle_t data_handle;
 
-static dissector_table_t osinl_subdissector_table;
+static dissector_table_t osinl_incl_subdissector_table;
 static dissector_table_t osinl_excl_subdissector_table;
 
 static int dissect_juniper_header(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_item *ti, guint8 *flags);
@@ -657,7 +657,7 @@ dissect_juniper_payload_proto(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tre
   case PROTO_CLNP:
   case PROTO_MPLS_CLNP:
     nlpid = tvb_get_guint8(tvb, offset);
-    if(dissector_try_uint(osinl_subdissector_table, nlpid, next_tvb, pinfo, tree))
+    if(dissector_try_uint(osinl_incl_subdissector_table, nlpid, next_tvb, pinfo, tree))
       return 0;
     next_tvb = tvb_new_subset_remaining(tvb, offset+1);
     if(dissector_try_uint(osinl_excl_subdissector_table, nlpid, next_tvb, pinfo, tree))
@@ -1478,7 +1478,7 @@ proto_reg_handoff_juniper(void)
   dissector_handle_t juniper_vp_handle;
   dissector_handle_t juniper_svcs_handle;
 
-  osinl_subdissector_table = find_dissector_table("osinl");
+  osinl_incl_subdissector_table = find_dissector_table("osinl.incl");
   osinl_excl_subdissector_table = find_dissector_table("osinl.excl");
 
   eth_handle    = find_dissector("eth_withoutfcs");
index 0dcd14426ab86dddadc0baa2b024b8b7d31061ee..958b7dd273d4e96add39f8aced8c29ea12fbba7e 100644 (file)
@@ -718,7 +718,7 @@ dissect_mip_extensions( tvbuff_t *tvb, int offset, proto_tree *tree, packet_info
         /*Verizon CVSE type*/
            proto_tree_add_item(ext_tree, hf_mip_cvse_verizon_cvse_type, tvb, cvse_local_offset, 2, ENC_BIG_ENDIAN);
       }else if( cvse_vendor_id == VENDOR_THE3GPP2 ){
-        /*THE3GPP2 CVSE type*/  
+        /*THE3GPP2 CVSE type*/
        cvse_3gpp2_type = tvb_get_ntohs(tvb, cvse_local_offset);
       /* THE3GPP2 CVSE Value */
        if(cvse_3gpp2_type == GRE_KEY_EXT){
@@ -1359,7 +1359,7 @@ void proto_register_mip(void)
       { "3GPP2 CVSE Type","mip.ext.cvse.3gpp2_type",
         FT_UINT16, BASE_DEC, NULL, 0,
         NULL, HFILL }
-    }, 
+    },
     { &hf_mip_cvse_3gpp2_grekey,
       { "GRE Key","mip.ext.cvse.3gpp2_grekey",
         FT_UINT16, BASE_DEC, NULL, 0,
@@ -1456,8 +1456,8 @@ void proto_register_mip(void)
   proto_register_field_array(proto_mip, hf, array_length(hf));
   proto_register_subtree_array(ett, array_length(ett));
 
-  mip_nvse_ext_dissector_table = register_dissector_table("mip.nvse_ext", "Normal Vendor/Organization Specific Extension", FT_UINT32, BASE_DEC);
-
+  mip_nvse_ext_dissector_table = register_dissector_table("mip.nvse_ext",
+    "MIP Normal Vendor/Organization Specific Extension", FT_UINT32, BASE_DEC);
 }
 
 void
@@ -1470,8 +1470,8 @@ proto_reg_handoff_mip(void)
   dissector_add_uint("udp.port", UDP_PORT_MIP, mip_handle);
 
   /* Register as dissector for 3GPP2 NVSE */
-  dissector_add_uint("mip.nvse_ext", VENDOR_THE3GPP2, new_create_dissector_handle(dissect_mip_priv_ext_3gpp2, proto_mip));
-
+  dissector_add_uint("mip.nvse_ext", VENDOR_THE3GPP2,
+    new_create_dissector_handle(dissect_mip_priv_ext_3gpp2, proto_mip));
 }
 
 /*
index 2200dc5053f26491d2c0d34aaa2d6670ba0977f7..7e390c5a0350f17df1cba99094eeafd507ab19bd 100644 (file)
@@ -253,7 +253,7 @@ static const value_string nhrp_cie_code_vals[] = {
     { 0,                                NULL }
 };
 
-static dissector_table_t osinl_subdissector_table;
+static dissector_table_t osinl_incl_subdissector_table;
 static dissector_table_t osinl_excl_subdissector_table;
 static dissector_table_t ethertype_subdissector_table;
 
@@ -778,7 +778,7 @@ void dissect_nhrp_mand(tvbuff_t    *tvb,
                      * Dissect based on the NLPID.
                      */
                     dissected = dissector_try_uint(
-                        osinl_subdissector_table,
+                        osinl_incl_subdissector_table,
                         hdr->ar_pro_type, sub_tvb, pinfo,
                         ind_tree) ||
                                 dissector_try_uint(
@@ -1407,7 +1407,7 @@ proto_reg_handoff_nhrp(void)
 
     data_handle = find_dissector("data");
 
-    osinl_subdissector_table      = find_dissector_table("osinl");
+    osinl_incl_subdissector_table = find_dissector_table("osinl.incl");
     osinl_excl_subdissector_table = find_dissector_table("osinl.excl");
     ethertype_subdissector_table  = find_dissector_table("ethertype");
 
index 1e7fa8357b91c9e735597e8b60552d0eff6c1774..848334a678984953dbc1adaffe4a8f66693c3e1b 100644 (file)
@@ -444,7 +444,7 @@ const value_string nlpid_vals[] = {
   { 0,                     NULL },
 };
 
-static dissector_table_t osinl_subdissector_table;
+static dissector_table_t osinl_incl_subdissector_table;
 static dissector_table_t osinl_excl_subdissector_table;
 static dissector_handle_t data_handle, ppp_handle;
 
@@ -465,7 +465,7 @@ static void dissect_osi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   nlpid = tvb_get_guint8(tvb, 0);
 
   /* try lookup with the subdissector tables that includes the nlpid */
-  if (dissector_try_uint(osinl_subdissector_table, nlpid, tvb, pinfo, tree))
+  if (dissector_try_uint(osinl_incl_subdissector_table, nlpid, tvb, pinfo, tree))
     return;
   /* try lookup with the subdissector tables that excludes the nlpid */
   new_tvb = tvb_new_subset_remaining(tvb, 1);
@@ -542,8 +542,8 @@ proto_register_osi(void)
      all protocols that require inclusion of the NLPID
      should register here
   */
-  osinl_subdissector_table = register_dissector_table("osinl",
-                                                      "OSI incl NLPID", FT_UINT8, BASE_HEX);
+  osinl_incl_subdissector_table = register_dissector_table("osinl.incl",
+                                                           "OSI incl NLPID", FT_UINT8, BASE_HEX);
 
   /* This dissector table is for those protocols whose PDUs
    * aren't* defined to begin with an NLPID.
index 394b697b50047ef15d21bbb46377d203daa421bd..17f67f93400f8f93594e78765b89e184d43548f5 100644 (file)
@@ -32,7 +32,7 @@
 static int proto_redback = -1;
 static gint ett_redback = -1;
 
-static dissector_table_t osinl_subdissector_table;
+static dissector_table_t osinl_incl_subdissector_table;
 static dissector_table_t osinl_excl_subdissector_table;
 
 static dissector_handle_t ipv4_handle;
@@ -113,7 +113,7 @@ dissect_redback(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                                call_dissector(ethnofcs_handle, next_tvb, pinfo, tree);
                        } else {
                                guint8 nlpid = tvb_get_guint8(tvb, dataoff);
-                               if(dissector_try_uint(osinl_subdissector_table, nlpid, next_tvb, pinfo, tree))
+                               if(dissector_try_uint(osinl_incl_subdissector_table, nlpid, next_tvb, pinfo, tree))
                                        break;
                                next_tvb = tvb_new_subset_remaining(tvb, dataoff+1);
                                if(dissector_try_uint(osinl_excl_subdissector_table, nlpid, next_tvb, pinfo, tree))
@@ -206,7 +206,7 @@ proto_reg_handoff_redback(void)
 {
        dissector_handle_t redback_handle;
 
-       osinl_subdissector_table = find_dissector_table("osinl");
+       osinl_incl_subdissector_table = find_dissector_table("osinl.incl");
        osinl_excl_subdissector_table = find_dissector_table("osinl.excl");
 
        ipv4_handle = find_dissector("ip");
index 2987b84dda9e4e6b2d15549bbba54111b2690740..85a7414114afcc075fb7c61331b30401dd1e1c5b 100644 (file)
@@ -321,7 +321,7 @@ proto_register_sll(void)
 
        sll_linux_dissector_table = register_dissector_table (
                "sll.ltype",
-               "Linux protocol type",
+               "Linux SLL protocol type",
                FT_UINT16,
                BASE_HEX
        );