Convert 'encoding' parameter of certain proto_tree_add_item() calls in plugin dissectors:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 6 Oct 2011 14:46:34 +0000 (14:46 +0000)
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 6 Oct 2011 14:46:34 +0000 (14:46 +0000)
 Specifically:  Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as
 the encoding parameter for proto_tree_add_item() calls which directly reference
 an item in hf[] which has a type of:
    FT_UINT8
    FT_UINT16
    FT_UINT24
    FT_UINT32
    FT_UINT64
    FT_INT8
    FT_INT16
    FT_INT24
    FT_INT32
    FT_INT64
    FT_FLOAT
    FT_DOUBLE

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39292 f5534014-38df-0310-8fa8-9805f1628bb7

97 files changed:
plugins/docsis/packet-bintrngreq.c
plugins/docsis/packet-bpkmattr.c
plugins/docsis/packet-bpkmreq.c
plugins/docsis/packet-bpkmrsp.c
plugins/docsis/packet-cmctrlreq.c
plugins/docsis/packet-cmctrlrsp.c
plugins/docsis/packet-cmstatus.c
plugins/docsis/packet-dbcack.c
plugins/docsis/packet-dbcreq.c
plugins/docsis/packet-dbcrsp.c
plugins/docsis/packet-dccack.c
plugins/docsis/packet-dccreq.c
plugins/docsis/packet-dccrsp.c
plugins/docsis/packet-dcd.c
plugins/docsis/packet-docsis.c
plugins/docsis/packet-dpvreq.c
plugins/docsis/packet-dpvrsp.c
plugins/docsis/packet-dsaack.c
plugins/docsis/packet-dsareq.c
plugins/docsis/packet-dsarsp.c
plugins/docsis/packet-dscack.c
plugins/docsis/packet-dscreq.c
plugins/docsis/packet-dscrsp.c
plugins/docsis/packet-dsdreq.c
plugins/docsis/packet-dsdrsp.c
plugins/docsis/packet-intrngreq.c
plugins/docsis/packet-macmgmt.c
plugins/docsis/packet-map.c
plugins/docsis/packet-mdd.c
plugins/docsis/packet-regack.c
plugins/docsis/packet-regreq.c
plugins/docsis/packet-regreqmp.c
plugins/docsis/packet-regrsp.c
plugins/docsis/packet-regrspmp.c
plugins/docsis/packet-rngreq.c
plugins/docsis/packet-rngrsp.c
plugins/docsis/packet-sync.c
plugins/docsis/packet-tlv-cmctrl.c
plugins/docsis/packet-tlv.c
plugins/docsis/packet-type29ucd.c
plugins/docsis/packet-uccreq.c
plugins/docsis/packet-uccrsp.c
plugins/docsis/packet-ucd.c
plugins/docsis/packet-vendor.c
plugins/ethercat/packet-ams.c
plugins/ethercat/packet-ecatmb.c
plugins/ethercat/packet-esl.c
plugins/ethercat/packet-ethercat-datagram.c
plugins/ethercat/packet-ethercat-frame.c
plugins/ethercat/packet-nv.c
plugins/irda/packet-ircomm.c
plugins/irda/packet-irda.c
plugins/irda/packet-sir.c
plugins/m2m/packet-m2m.c
plugins/opcua/opcua_application_layer.c
plugins/opcua/opcua_enumparser.c
plugins/opcua/opcua_security_layer.c
plugins/opcua/opcua_simpletypes.c
plugins/opcua/opcua_transport_layer.c
plugins/profinet/packet-dcom-cba-acco.c
plugins/unistim/packet-unistim.c
plugins/wimax/mac_hd_generic_decoder.c
plugins/wimax/mac_hd_type1_decoder.c
plugins/wimax/mac_hd_type2_decoder.c
plugins/wimax/msg_aas_beam.c
plugins/wimax/msg_aas_fbck.c
plugins/wimax/msg_arq.c
plugins/wimax/msg_clk_cmp.c
plugins/wimax/msg_dcd.c
plugins/wimax/msg_dlmap.c
plugins/wimax/msg_dreg.c
plugins/wimax/msg_dsa.c
plugins/wimax/msg_dsc.c
plugins/wimax/msg_dsd.c
plugins/wimax/msg_dsx_rvd.c
plugins/wimax/msg_fpc.c
plugins/wimax/msg_pkm.c
plugins/wimax/msg_pmc.c
plugins/wimax/msg_prc_lt_ctrl.c
plugins/wimax/msg_reg_req.c
plugins/wimax/msg_reg_rsp.c
plugins/wimax/msg_rep.c
plugins/wimax/msg_res_cmd.c
plugins/wimax/msg_rng_req.c
plugins/wimax/msg_rng_rsp.c
plugins/wimax/msg_sbc.c
plugins/wimax/msg_ucd.c
plugins/wimax/msg_ulmap.c
plugins/wimax/wimax_cdma_code_decoder.c
plugins/wimax/wimax_compact_dlmap_ie_decoder.c
plugins/wimax/wimax_compact_ulmap_ie_decoder.c
plugins/wimax/wimax_fch_decoder.c
plugins/wimax/wimax_ffb_decoder.c
plugins/wimax/wimax_hack_decoder.c
plugins/wimax/wimax_harq_map_decoder.c
plugins/wimax/wimax_phy_attributes_decoder.c
plugins/wimax/wimax_utils.c

index efa74f56af04339627352f684135f11ee09078bd..df71f14f0bfc62e61aea658c4d88540ba443f171 100644 (file)
@@ -64,20 +64,20 @@ dissect_bintrngreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                                                                   "Bonded Initial Ranging Request");
     bintrngreq_tree = proto_item_add_subtree (bintrngreq_item, ett_docsis_bintrngreq);
     proto_tree_add_item (bintrngreq_tree, hf_docsis_bintrngreq_capflags,
-                                                  tvb, offset, 1, FALSE);
+                                                  tvb, offset, 1, ENC_BIG_ENDIAN);
     proto_tree_add_item( bintrngreq_tree, hf_docsis_bintrngreq_capflags_frag,
                                                   tvb, offset, 1, FALSE );
     proto_tree_add_item( bintrngreq_tree, hf_docsis_bintrngreq_capflags_encrypt,
                                                   tvb, offset, 1, FALSE );
     offset++;
     proto_tree_add_item (bintrngreq_tree, hf_docsis_bintrngreq_mddsgid,
-                                                  tvb, offset, 1, FALSE);
+                                                  tvb, offset, 1, ENC_BIG_ENDIAN);
     offset++;
     proto_tree_add_item (bintrngreq_tree, hf_docsis_bintrngreq_down_chid,
-                                                  tvb, offset, 1, FALSE);
+                                                  tvb, offset, 1, ENC_BIG_ENDIAN);
     offset++;
     proto_tree_add_item (bintrngreq_tree, hf_docsis_bintrngreq_up_chid,
-                                                  tvb, offset, 1, FALSE);
+                                                  tvb, offset, 1, ENC_BIG_ENDIAN);
   }
 }
 
index f11674e8c4e02d26c778425a1b194d46b9504892..0cad0f1be60f309a8d7bdce9749a2dc6e6bc0e4c 100644 (file)
@@ -213,14 +213,14 @@ dissect_attrs (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
         case BPKM_KEY_LIFETIME:
           if (length == 4)
             proto_tree_add_item (tree, hf_docsis_bpkmattr_key_life, tvb, pos,
-                                 length, FALSE);
+                                 length, ENC_BIG_ENDIAN);
           else
             THROW (ReportedBoundsError);
           break;
         case BPKM_KEY_SEQ_NUM:
           if (length == 1)
             proto_tree_add_item (tree, hf_docsis_bpkmattr_key_seq, tvb, pos,
-                                 length, FALSE);
+                                 length, ENC_BIG_ENDIAN);
           else
             THROW (ReportedBoundsError);
           break;
@@ -234,7 +234,7 @@ dissect_attrs (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
         case BPKM_SAID:
           if (length == 2)
             proto_tree_add_item (tree, hf_docsis_bpkmattr_said, tvb, pos,
-                                 length, FALSE);
+                                 length, ENC_BIG_ENDIAN);
           else
             THROW (ReportedBoundsError);
           break;
@@ -258,7 +258,7 @@ dissect_attrs (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
         case BPKM_ERROR_CODE:
           if (length == 1)
             proto_tree_add_item (tree, hf_docsis_bpkmattr_error_code, tvb,
-                                 pos, length, FALSE);
+                                 pos, length, ENC_BIG_ENDIAN);
           else
             THROW (ReportedBoundsError);
           break;
@@ -282,7 +282,7 @@ dissect_attrs (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
         case BPKM_CRYPTO_SUITE:
           if (length == 2)
             proto_tree_add_item (tree, hf_docsis_bpkmattr_crypto_suite, tvb,
-                                 pos, length, FALSE);
+                                 pos, length, ENC_BIG_ENDIAN);
           else
             THROW (ReportedBoundsError);
           break;
@@ -293,7 +293,7 @@ dissect_attrs (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
         case BPKM_BPI_VERSION:
           if (length == 1)
             proto_tree_add_item (tree, hf_docsis_bpkmattr_bpi_version, tvb,
-                                 pos, length, FALSE);
+                                 pos, length, ENC_BIG_ENDIAN);
           else
             THROW (ReportedBoundsError);
           break;
@@ -308,7 +308,7 @@ dissect_attrs (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
         case BPKM_SA_TYPE:
           if (length == 1)
             proto_tree_add_item (tree, hf_docsis_bpkmattr_sa_type, tvb, pos,
-                                 length, FALSE);
+                                 length, ENC_BIG_ENDIAN);
           else
             THROW (ReportedBoundsError);
           break;
@@ -323,7 +323,7 @@ dissect_attrs (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
         case BPKM_SA_QUERY_TYPE:
           if (length == 1)
             proto_tree_add_item (tree, hf_docsis_bpkmattr_sa_query_type, tvb,
-                                 pos, length, FALSE);
+                                 pos, length, ENC_BIG_ENDIAN);
           else
             THROW (ReportedBoundsError);
           break;
index 9416a4951e510b2bf69348a6f16b96e7563a6934..6eda8a4ecc8420ce3fa480427c85713f8c90dd38 100644 (file)
@@ -83,11 +83,11 @@ dissect_bpkmreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "BPKM Request Message");
       bpkmreq_tree = proto_item_add_subtree (it, ett_docsis_bpkmreq);
       proto_tree_add_item (bpkmreq_tree, hf_docsis_bpkmreq_code, tvb, 0, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (bpkmreq_tree, hf_docsis_bpkmreq_ident, tvb, 1, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (bpkmreq_tree, hf_docsis_bpkmreq_length, tvb, 2, 2,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
     }
 
   /* Code to Call subdissector */
index 0826c9b2ea64070ec49985facc76c6676f5d4e53..3a3f882dce75dfecdc2aa54fad7aafa3f089a2a2 100644 (file)
@@ -84,11 +84,11 @@ dissect_bpkmrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "BPKM Response Message");
       bpkmrsp_tree = proto_item_add_subtree (it, ett_docsis_bpkmrsp);
       proto_tree_add_item (bpkmrsp_tree, hf_docsis_bpkmrsp_code, tvb, 0, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (bpkmrsp_tree, hf_docsis_bpkmrsp_ident, tvb, 1, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (bpkmrsp_tree, hf_docsis_bpkmrsp_length, tvb, 2, 2,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
     }
 
   /* Code to Call subdissector */
index 7ed5b2599a5b1be928e72d5dd18467fa86aced0c..ec9aa974d34bbc182f329452d4e7b1e0e48dcb9d 100644 (file)
@@ -59,7 +59,7 @@ dissect_cmctrlreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "CM Control Request");
       cmctrlreq_tree = proto_item_add_subtree (it, ett_docsis_cmctrlreq);
       proto_tree_add_item (cmctrlreq_tree, hf_docsis_cmctrlreq_tranid, tvb, 0, 2,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
 
     }
     /* Call Dissector for Appendix C TLV's */
index cb255126e6d43bc0194089d82e9d31f4810e7519..3bc4ac16e575de6532cbc5bf0c5e32a78ef5d798 100644 (file)
@@ -67,7 +67,7 @@ dissect_cmctrlrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "CM Control Response");
       cmctrlrsp_tree = proto_item_add_subtree (it, ett_docsis_cmctrlrsp);
       proto_tree_add_item (cmctrlrsp_tree, hf_docsis_cmctrlrsp_tranid, tvb, 0, 2,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
 
     }
     /* Call Dissector for Appendix C TLV's */
index e030975349f317e86f49622571b16148943eee3e..4f49416b5f6e8196321810f59845f27ef3482b8e 100644 (file)
@@ -90,7 +90,7 @@ dissect_cmstatus_tlv (tvbuff_t * tvb, proto_tree * tree, guint8 start, guint16 l
     case EVENT_DS_CH_ID:
       if (length == 3)
       {
-        proto_tree_add_item (tlv_tree, hf_docsis_cmstatus_ds_ch_id, tvb, pos + 1, 1, FALSE);
+        proto_tree_add_item (tlv_tree, hf_docsis_cmstatus_ds_ch_id, tvb, pos + 1, 1, ENC_BIG_ENDIAN);
       }
       else
       {
@@ -101,7 +101,7 @@ dissect_cmstatus_tlv (tvbuff_t * tvb, proto_tree * tree, guint8 start, guint16 l
     case EVENT_US_CH_ID:
       if (length == 3)
       {
-        proto_tree_add_item (tlv_tree, hf_docsis_cmstatus_us_ch_id, tvb, pos + 1, 1, FALSE);
+        proto_tree_add_item (tlv_tree, hf_docsis_cmstatus_us_ch_id, tvb, pos + 1, 1, ENC_BIG_ENDIAN);
       }
       else
       {
@@ -112,7 +112,7 @@ dissect_cmstatus_tlv (tvbuff_t * tvb, proto_tree * tree, guint8 start, guint16 l
     case EVENT_DSID:
       if (length == 5)
       {
-        proto_tree_add_item (tlv_tree, hf_docsis_cmstatus_dsid, tvb, pos + 1, 3, FALSE);
+        proto_tree_add_item (tlv_tree, hf_docsis_cmstatus_dsid, tvb, pos + 1, 3, ENC_BIG_ENDIAN);
       }
       else
       {
@@ -153,48 +153,48 @@ dissect_cmstatus (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
   {
     it = proto_tree_add_protocol_format (tree, proto_docsis_cmstatus, tvb, 0, -1, "CM-STATUS Report");
     cmstatus_tree = proto_item_add_subtree (it, ett_docsis_cmstatus);
-    proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_tranid, tvb, 0, 2, FALSE);
+    proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_tranid, tvb, 0, 2, ENC_BIG_ENDIAN);
 
     switch (event_type)
     {
     case SEC_CH_MDD_TIMEOUT:
-      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_mdd_t, tvb, 2, 1, FALSE);
+      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_mdd_t, tvb, 2, 1, ENC_BIG_ENDIAN);
       break;
 
     case QAM_FEC_LOCK_FAILURE:
-      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_qfl_f, tvb, 2, 1, FALSE);
+      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_qfl_f, tvb, 2, 1, ENC_BIG_ENDIAN);
       break;
 
     case SEQ_OUT_OF_RANGE:
-      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_s_o, tvb, 2, 1, FALSE);
+      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_s_o, tvb, 2, 1, ENC_BIG_ENDIAN);
       break;
 
     case SEC_CH_MDD_RECOVERY:
-      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_mdd_r, tvb, 2, 1, FALSE);
+      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_mdd_r, tvb, 2, 1, ENC_BIG_ENDIAN);
       break;
 
     case QAM_FEC_LOCK_RECOVERY:
-      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_qfl_r, tvb, 2, 1, FALSE);
+      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_qfl_r, tvb, 2, 1, ENC_BIG_ENDIAN);
       break;
 
     case T4_TIMEOUT:
-      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_t4_t, tvb, 2, 1, FALSE);
+      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_t4_t, tvb, 2, 1, ENC_BIG_ENDIAN);
       break;
 
     case T3_RETRIES_EXCEEDED:
-      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_t3_e, tvb, 2, 1, FALSE);
+      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_t3_e, tvb, 2, 1, ENC_BIG_ENDIAN);
       break;
 
     case SUCCESS_RANGING_AFTER_T3_RETRIES_EXCEEDED:
-      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_rng_s, tvb, 2, 1, FALSE);
+      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_rng_s, tvb, 2, 1, ENC_BIG_ENDIAN);
       break;
 
     case CM_ON_BATTERY:
-      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_cm_b, tvb, 2, 1, FALSE);
+      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_cm_b, tvb, 2, 1, ENC_BIG_ENDIAN);
       break;
 
     case CM_ON_AC_POWER:
-      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_cm_a, tvb, 2, 1, FALSE);
+      proto_tree_add_item (cmstatus_tree, hf_docsis_cmstatus_e_t_cm_a, tvb, 2, 1, ENC_BIG_ENDIAN);
       break;
     } /* switch */
 
index d8a50f7dde3a0c870eabe75e64048930e89e9da1..8bcd22c1650b8e7a50395d79afb1cd569d89a54e 100644 (file)
@@ -59,7 +59,7 @@ dissect_dbcack (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                                                                   "Dynamic Bonding Change Acknowledge");
     dbcack_tree = proto_item_add_subtree (dbcack_item, ett_docsis_dbcack);
     proto_tree_add_item (dbcack_tree, hf_docsis_dbcack_tranid,
-                                                  tvb, 0, 2, FALSE);
+                                                  tvb, 0, 2, ENC_BIG_ENDIAN);
   }
   /* Call Dissector for Appendix C TLV's */
   next_tvb = tvb_new_subset_remaining (tvb, 2);
index 6e90d996d3443e230987a1b438a565d7a5cdebeb..3e5988a878e0b4ee787a0e479c70e832ed3f5293 100644 (file)
@@ -61,11 +61,11 @@ dissect_dbcreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                                                                   "Dynamic Bonding Change Request");
     dbcreq_tree = proto_item_add_subtree (dbcreq_item, ett_docsis_dbcreq);
     proto_tree_add_item (dbcreq_tree, hf_docsis_dbcreq_tranid,
-                                                  tvb, 0, 2, FALSE);
+                                                  tvb, 0, 2, ENC_BIG_ENDIAN);
     proto_tree_add_item( dbcreq_tree, hf_docsis_dbcreq_number_of_fragments,
-                                                  tvb, 2, 1, FALSE );
+                                                  tvb, 2, 1, ENC_BIG_ENDIAN );
     proto_tree_add_item( dbcreq_tree, hf_docsis_dbcreq_fragment_sequence_number ,
-                                                  tvb, 3, 1, FALSE );
+                                                  tvb, 3, 1, ENC_BIG_ENDIAN );
   }
   /* Call Dissector for Appendix C TLV's */
   next_tvb = tvb_new_subset_remaining (tvb, 4);
index 305f98796e8f7ea3d36d04fe5a38cae9c1b65e9e..7a899adf8c555509aee8ebe2835b1e55074061d0 100644 (file)
@@ -65,9 +65,9 @@ dissect_dbcrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                                                                   "Dynamic Bonding Change Response");
     dbcrsp_tree = proto_item_add_subtree (dbcrsp_item, ett_docsis_dbcrsp);
     proto_tree_add_item (dbcrsp_tree, hf_docsis_dbcrsp_tranid,
-                                                  tvb, 0, 2, FALSE);
+                                                  tvb, 0, 2, ENC_BIG_ENDIAN);
     proto_tree_add_item( dbcrsp_tree, hf_docsis_dbcrsp_conf_code,
-                                                  tvb, 2, 1, FALSE );
+                                                  tvb, 2, 1, ENC_BIG_ENDIAN );
   }
   /* Call Dissector for Appendix C TLV's */
   next_tvb = tvb_new_subset_remaining (tvb, 3);
index 1e9790a6fb42a9a6cf954ed011b4556922b60fa4..63358696183c3a015add9f4fd57b0ac9be20952f 100644 (file)
@@ -64,7 +64,7 @@ dissect_dccack (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        tvb_length_remaining (tvb, 0),
                                        "DCC-ACK Message");
       dcc_tree = proto_item_add_subtree (dcc_item, ett_docsis_dccack);
-      proto_tree_add_item (dcc_tree, hf_docsis_dccack_tran_id, tvb, 0, 2, FALSE);
+      proto_tree_add_item (dcc_tree, hf_docsis_dccack_tran_id, tvb, 0, 2, ENC_BIG_ENDIAN);
 
       pos = 2;
       while (pos < len)
@@ -77,7 +77,7 @@ dissect_dccack (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
              if (length == 1)
                {
                  proto_tree_add_item (dcc_tree, hf_docsis_dccack_key_seq_num, tvb,
-                                      pos, length, FALSE);
+                                      pos, length, ENC_BIG_ENDIAN);
                }
              else
                {
index 2991f9bcc1a655e12f4e3d869a83c38e7cdb1e58..75f43b8aa82ed6e05e029862e086298a9c0e1ebf 100644 (file)
@@ -132,7 +132,7 @@ dissect_dccreq_ds_params (tvbuff_t * tvb, proto_tree * tree, int start, guint16
              if (length == 4)
                {
                  proto_tree_add_item (dcc_tree, hf_docsis_dccreq_ds_freq, tvb,
-                                      pos, length, FALSE);
+                                      pos, length, ENC_BIG_ENDIAN);
                }
              else
                {
@@ -143,7 +143,7 @@ dissect_dccreq_ds_params (tvbuff_t * tvb, proto_tree * tree, int start, guint16
              if (length == 1)
                {
                  proto_tree_add_item (dcc_tree, hf_docsis_dccreq_ds_mod_type, tvb,
-                                  pos, length, FALSE);
+                                  pos, length, ENC_BIG_ENDIAN);
                }
               else 
                {
@@ -154,7 +154,7 @@ dissect_dccreq_ds_params (tvbuff_t * tvb, proto_tree * tree, int start, guint16
              if (length == 1)
                {
                  proto_tree_add_item (dcc_tree, hf_docsis_dccreq_ds_sym_rate, tvb,
-                                  pos, length, FALSE);
+                                  pos, length, ENC_BIG_ENDIAN);
                }
               else 
                {
@@ -165,9 +165,9 @@ dissect_dccreq_ds_params (tvbuff_t * tvb, proto_tree * tree, int start, guint16
              if (length == 2)
                {
                  proto_tree_add_item (dcc_tree, hf_docsis_dccreq_ds_intlv_depth_i, tvb,
-                                  pos, 1, FALSE);
+                                  pos, 1, ENC_BIG_ENDIAN);
                  proto_tree_add_item (dcc_tree, hf_docsis_dccreq_ds_intlv_depth_j, tvb,
-                                  pos + 1, 1, FALSE);
+                                  pos + 1, 1, ENC_BIG_ENDIAN);
                }
               else 
                {
@@ -178,7 +178,7 @@ dissect_dccreq_ds_params (tvbuff_t * tvb, proto_tree * tree, int start, guint16
              if (length == 1)
                {
                  proto_tree_add_item (dcc_tree, hf_docsis_dccreq_ds_chan_id, tvb,
-                                  pos, length, FALSE);
+                                  pos, length, ENC_BIG_ENDIAN);
                }
               else 
                {
@@ -187,7 +187,7 @@ dissect_dccreq_ds_params (tvbuff_t * tvb, proto_tree * tree, int start, guint16
              break;
            case DCCREQ_DS_SYNC_SUB:
                  proto_tree_add_item (dcc_tree, hf_docsis_dccreq_ds_sync_sub, tvb,
-                                  pos, length, FALSE);
+                                  pos, length, ENC_BIG_ENDIAN);
              break;
 
            }
@@ -217,9 +217,9 @@ dissect_dccreq_sf_sub (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len
              if (length == 8)
                {
                  proto_tree_add_item (dcc_tree, hf_docsis_dccreq_sf_sfid_cur, tvb,
-                                      pos, 4, FALSE);
+                                      pos, 4, ENC_BIG_ENDIAN);
                  proto_tree_add_item (dcc_tree, hf_docsis_dccreq_sf_sfid_new, tvb,
-                                      pos + 4, 4, FALSE);
+                                      pos + 4, 4, ENC_BIG_ENDIAN);
                }
              else
                {
@@ -230,9 +230,9 @@ dissect_dccreq_sf_sub (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len
              if (length == 4)
                {
                  proto_tree_add_item (dcc_tree, hf_docsis_dccreq_sf_sid_cur, tvb,
-                                      pos, 2, FALSE);
+                                      pos, 2, ENC_BIG_ENDIAN);
                  proto_tree_add_item (dcc_tree, hf_docsis_dccreq_sf_sid_new, tvb,
-                                      pos + 2, 2, FALSE);
+                                      pos + 2, 2, ENC_BIG_ENDIAN);
                }
              else
                {
@@ -243,7 +243,7 @@ dissect_dccreq_sf_sub (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len
              if (length == 4)
                {
                  proto_tree_add_item (dcc_tree, hf_docsis_dccreq_sf_unsol_grant_tref, tvb,
-                                      pos, length, FALSE);
+                                      pos, length, ENC_BIG_ENDIAN);
                }
              else
                {
@@ -274,7 +274,7 @@ dissect_dccreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        tvb_length_remaining (tvb, 0),
                                        "DCC-REQ Message");
       dcc_tree = proto_item_add_subtree (dcc_item, ett_docsis_dccreq);
-      proto_tree_add_item (dcc_tree, hf_docsis_dccreq_tran_id, tvb, 0, 2, FALSE);
+      proto_tree_add_item (dcc_tree, hf_docsis_dccreq_tran_id, tvb, 0, 2, ENC_BIG_ENDIAN);
 
       pos = 2;
       while (pos < len)
@@ -288,7 +288,7 @@ dissect_dccreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
              if (length == 1)
                {
                  proto_tree_add_item (dcc_tree, hf_docsis_dccreq_up_chan_id, tvb,
-                                      pos, length, FALSE);
+                                      pos, length, ENC_BIG_ENDIAN);
                }
              else
                {
@@ -302,7 +302,7 @@ dissect_dccreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
              if (length == 1)
                {
                  proto_tree_add_item (dcc_tree, hf_docsis_dccreq_init_tech, tvb,
-                                      pos, length, FALSE);
+                                      pos, length, ENC_BIG_ENDIAN);
                }
              else
                {
@@ -317,9 +317,9 @@ dissect_dccreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
              if (length == 4)
                {
                  proto_tree_add_item (dcc_tree, hf_docsis_dccreq_said_sub_cur, tvb,
-                                      pos, 2, FALSE);
+                                      pos, 2, ENC_BIG_ENDIAN);
                  proto_tree_add_item (dcc_tree, hf_docsis_dccreq_said_sub_new, tvb,
-                                      pos + 2, 2, FALSE);
+                                      pos + 2, 2, ENC_BIG_ENDIAN);
                }
              else
                {
@@ -344,7 +344,7 @@ dissect_dccreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
              if (length == 1)
                {
                  proto_tree_add_item (dcc_tree, hf_docsis_dccreq_key_seq_num, tvb,
-                                      pos, length, FALSE);
+                                      pos, length, ENC_BIG_ENDIAN);
                }
              else
                {
index f05e37713a4b274b035f39b56b203836fbe19881..53bf8f879b030d2e95603c676a9a15f5856b09cc 100644 (file)
@@ -78,7 +78,7 @@ dissect_dccrsp_cm_jump_time (tvbuff_t * tvb, proto_tree * tree, int start, guint
              if (length == 4)
                {
                  proto_tree_add_item (dcc_tree, hf_docsis_dccrsp_cm_jump_time_length, tvb,
-                                      pos, length, FALSE);
+                                      pos, length, ENC_BIG_ENDIAN);
                }
              else
                {
@@ -89,7 +89,7 @@ dissect_dccrsp_cm_jump_time (tvbuff_t * tvb, proto_tree * tree, int start, guint
              if (length == 8)
                {
                  proto_tree_add_item (dcc_tree, hf_docsis_dccrsp_cm_jump_time_start, tvb,
-                                  pos, length, FALSE);
+                                  pos, length, ENC_BIG_ENDIAN);
                }
               else 
                {
@@ -120,8 +120,8 @@ dissect_dccrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        tvb_length_remaining (tvb, 0),
                                        "DCC-RSP Message");
       dcc_tree = proto_item_add_subtree (dcc_item, ett_docsis_dccrsp);
-      proto_tree_add_item (dcc_tree, hf_docsis_dccrsp_tran_id, tvb, 0, 2, FALSE);
-      proto_tree_add_item (dcc_tree, hf_docsis_dccrsp_conf_code, tvb, 2, 1, FALSE);
+      proto_tree_add_item (dcc_tree, hf_docsis_dccrsp_tran_id, tvb, 0, 2, ENC_BIG_ENDIAN);
+      proto_tree_add_item (dcc_tree, hf_docsis_dccrsp_conf_code, tvb, 2, 1, ENC_BIG_ENDIAN);
 
       pos = 3;
       while (pos < len)
@@ -137,7 +137,7 @@ dissect_dccrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
              if (length == 1)
                {
                  proto_tree_add_item (dcc_tree, hf_docsis_dccrsp_key_seq_num, tvb,
-                                      pos, length, FALSE);
+                                      pos, length, ENC_BIG_ENDIAN);
                }
              else
                {
index b2aaa6f5747c4de96ee343e9d9077f4a3ece5f8d..1b0d06eb60827b79c165511205a425849d237cc1 100644 (file)
@@ -147,7 +147,7 @@ dissect_dcd_dsg_cfg (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
              if (length == 4)
                {
                  proto_tree_add_item (dcd_tree, hf_docsis_dcd_cfg_chan, tvb,
-                                      pos, length, FALSE);
+                                      pos, length, ENC_BIG_ENDIAN);
                }
              else
                {
@@ -158,7 +158,7 @@ dissect_dcd_dsg_cfg (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
              if (length == 2)
                {
                  proto_tree_add_item (dcd_tree, hf_docsis_dcd_cfg_tdsg1, tvb,
-                                  pos, length, FALSE);
+                                  pos, length, ENC_BIG_ENDIAN);
                }
               else 
                {
@@ -169,7 +169,7 @@ dissect_dcd_dsg_cfg (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
              if (length == 2)
                {
                  proto_tree_add_item (dcd_tree, hf_docsis_dcd_cfg_tdsg2, tvb,
-                                  pos, length, FALSE);
+                                  pos, length, ENC_BIG_ENDIAN);
                }
               else 
                {
@@ -180,7 +180,7 @@ dissect_dcd_dsg_cfg (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
              if (length == 2)
                {
                  proto_tree_add_item (dcd_tree, hf_docsis_dcd_cfg_tdsg3, tvb,
-                                  pos, length, FALSE);
+                                  pos, length, ENC_BIG_ENDIAN);
                }
               else 
                {
@@ -191,7 +191,7 @@ dissect_dcd_dsg_cfg (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
              if (length == 2)
                {
                  proto_tree_add_item (dcd_tree, hf_docsis_dcd_cfg_tdsg4, tvb,
-                                  pos, length, FALSE);
+                                  pos, length, ENC_BIG_ENDIAN);
                }
               else 
                {
@@ -274,7 +274,7 @@ dissect_dcd_down_classifier_ip (tvbuff_t * tvb, proto_tree * tree, int start, gu
              if (length == 2)
                {
                  proto_tree_add_item (dcd_tree, hf_docsis_dcd_cfr_tcpudp_srcport_start, tvb,
-                                      pos, length, FALSE);
+                                      pos, length, ENC_BIG_ENDIAN);
                }
              else
                {
@@ -285,7 +285,7 @@ dissect_dcd_down_classifier_ip (tvbuff_t * tvb, proto_tree * tree, int start, gu
              if (length == 2)
                {
                  proto_tree_add_item (dcd_tree, hf_docsis_dcd_cfr_tcpudp_srcport_end, tvb,
-                                      pos, length, FALSE);
+                                      pos, length, ENC_BIG_ENDIAN);
                }
              else
                {
@@ -296,7 +296,7 @@ dissect_dcd_down_classifier_ip (tvbuff_t * tvb, proto_tree * tree, int start, gu
              if (length == 2)
                {
                  proto_tree_add_item (dcd_tree, hf_docsis_dcd_cfr_tcpudp_dstport_start, tvb,
-                                      pos, length, FALSE);
+                                      pos, length, ENC_BIG_ENDIAN);
                }
              else
                {
@@ -307,7 +307,7 @@ dissect_dcd_down_classifier_ip (tvbuff_t * tvb, proto_tree * tree, int start, gu
              if (length == 2)
                {
                  proto_tree_add_item (dcd_tree, hf_docsis_dcd_cfr_tcpudp_dstport_end, tvb,
-                                      pos, length, FALSE);
+                                      pos, length, ENC_BIG_ENDIAN);
                }
              else
                {
@@ -352,7 +352,7 @@ dissect_dcd_clid (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
              if (length == 2)
                {
                  proto_tree_add_item (dcd_tree, hf_docsis_dcd_clid_ca_sys_id, tvb,
-                                      pos, length, FALSE);
+                                      pos, length, ENC_BIG_ENDIAN);
                }
              else
                {
@@ -363,7 +363,7 @@ dissect_dcd_clid (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
              if (length == 2)
                {
                  proto_tree_add_item (dcd_tree, hf_docsis_dcd_clid_app_id, tvb,
-                                      pos, length, FALSE);
+                                      pos, length, ENC_BIG_ENDIAN);
                }
              else
                {
@@ -397,7 +397,7 @@ dissect_dcd_dsg_rule (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
              if (length == 1)
                {
                  proto_tree_add_item (dcd_tree, hf_docsis_dcd_rule_id, tvb,
-                                      pos, length, FALSE);
+                                      pos, length, ENC_BIG_ENDIAN);
                }
              else
                {
@@ -408,7 +408,7 @@ dissect_dcd_dsg_rule (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
              if (length == 1)
                {
                  proto_tree_add_item (dcd_tree, hf_docsis_dcd_rule_pri, tvb,
-                                  pos, length, FALSE);
+                                  pos, length, ENC_BIG_ENDIAN);
                }
               else 
                {
@@ -437,7 +437,7 @@ dissect_dcd_dsg_rule (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
              if (length == 2)
                {
                  proto_tree_add_item (dcd_tree, hf_docsis_dcd_rule_cfr_id, tvb,
-                                  pos, length, FALSE);
+                                  pos, length, ENC_BIG_ENDIAN);
                }
               else 
                {
@@ -476,7 +476,7 @@ dissect_dcd_down_classifier (tvbuff_t * tvb, proto_tree * tree, int start, guint
              if (length == 2)
                {
                  proto_tree_add_item (dcd_tree, hf_docsis_dcd_cfr_id, tvb,
-                                      pos, length, FALSE);
+                                      pos, length, ENC_BIG_ENDIAN);
                }
              else
                {
@@ -487,7 +487,7 @@ dissect_dcd_down_classifier (tvbuff_t * tvb, proto_tree * tree, int start, guint
              if (length == 1)
                {
                  proto_tree_add_item (dcd_tree, hf_docsis_dcd_cfr_rule_pri, tvb,
-                                  pos, length, FALSE);
+                                  pos, length, ENC_BIG_ENDIAN);
                }
               else 
                {
@@ -522,9 +522,9 @@ dissect_dcd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        tvb_length_remaining (tvb, 0),
                                        "DCD Message");
       dcd_tree = proto_item_add_subtree (dcd_item, ett_docsis_dcd);
-      proto_tree_add_item (dcd_tree, hf_docsis_dcd_config_ch_cnt, tvb, 0, 1, FALSE);
-      proto_tree_add_item (dcd_tree, hf_docsis_dcd_num_of_frag, tvb, 1, 1, FALSE);
-      proto_tree_add_item (dcd_tree, hf_docsis_dcd_frag_sequence_num, tvb, 2, 1, FALSE);
+      proto_tree_add_item (dcd_tree, hf_docsis_dcd_config_ch_cnt, tvb, 0, 1, ENC_BIG_ENDIAN);
+      proto_tree_add_item (dcd_tree, hf_docsis_dcd_num_of_frag, tvb, 1, 1, ENC_BIG_ENDIAN);
+      proto_tree_add_item (dcd_tree, hf_docsis_dcd_frag_sequence_num, tvb, 2, 1, ENC_BIG_ENDIAN);
 
       pos = 3;
       while (pos < len)
index 767e726f01262df234ad4b752dc092c3877e6228..7e5796fd086a6842509550d9561be31e191c0e7d 100644 (file)
@@ -199,13 +199,13 @@ dissect_ehdr (tvbuff_t * tvb, proto_tree * tree, gboolean isfrag)
       len = (tvb_get_guint8 (tvb, pos) & 0x0F);
       if ((((type >> 4) & 0x0F)== 6) && (len == 2))
         {
-          item = proto_tree_add_item(ehdr_tree, hf_docsis_eh_type, tvb, pos, 1, FALSE);
+          item = proto_tree_add_item(ehdr_tree, hf_docsis_eh_type, tvb, pos, 1, ENC_BIG_ENDIAN);
           PROTO_ITEM_SET_HIDDEN(item);
           proto_tree_add_text(ehdr_tree, tvb, pos, 1, "0110 ....  = Unsolicited Grant Sync EHDR Sub-Element" );
         }
       else
-        proto_tree_add_item (ehdr_tree, hf_docsis_eh_type, tvb, pos, 1, FALSE);
-      proto_tree_add_item (ehdr_tree, hf_docsis_eh_len, tvb, pos, 1, FALSE);
+        proto_tree_add_item (ehdr_tree, hf_docsis_eh_type, tvb, pos, 1, ENC_BIG_ENDIAN);
+      proto_tree_add_item (ehdr_tree, hf_docsis_eh_len, tvb, pos, 1, ENC_BIG_ENDIAN);
       switch ((type >> 4) & 0x0F)
         {
         case EH_REQUEST:
@@ -236,21 +236,21 @@ dissect_ehdr (tvbuff_t * tvb, proto_tree * tree, gboolean isfrag)
             }
         case EH_BP_UP:
           proto_tree_add_item (ehdr_tree, hf_docsis_key_seq, tvb, pos + 1, 1,
-                               FALSE);
+                               ENC_BIG_ENDIAN);
           proto_tree_add_item (ehdr_tree, hf_docsis_ehdr_ver, tvb, pos + 1, 1,
-                               FALSE);
+                               ENC_BIG_ENDIAN);
           proto_tree_add_item (ehdr_tree, hf_docsis_bpi_en, tvb, pos + 2, 1,
                                FALSE);
           proto_tree_add_item (ehdr_tree, hf_docsis_toggle_bit, tvb, pos + 2,
                                1, FALSE);
           proto_tree_add_item (ehdr_tree, hf_docsis_sid, tvb, pos + 2, 2,
-                               FALSE);
+                               ENC_BIG_ENDIAN);
           proto_tree_add_item (ehdr_tree, hf_docsis_mini_slots, tvb, pos + 4,
-                               1, FALSE);
+                               1, ENC_BIG_ENDIAN);
           if (isfrag)
             {
               proto_tree_add_item (ehdr_tree, hf_docsis_frag_rsvd, tvb, pos+5,
-                                  1, FALSE);
+                                  1, ENC_BIG_ENDIAN);
               proto_tree_add_item (ehdr_tree, hf_docsis_frag_first, tvb, pos+5,
                                   1, FALSE);
               proto_tree_add_item (ehdr_tree, hf_docsis_frag_last, tvb, pos+5,
@@ -261,34 +261,34 @@ dissect_ehdr (tvbuff_t * tvb, proto_tree * tree, gboolean isfrag)
           break;
         case EH_BP_DOWN:
           proto_tree_add_item (ehdr_tree, hf_docsis_key_seq, tvb, pos + 1, 1,
-                               FALSE);
+                               ENC_BIG_ENDIAN);
           proto_tree_add_item (ehdr_tree, hf_docsis_ehdr_ver, tvb, pos + 1, 1,
-                               FALSE);
+                               ENC_BIG_ENDIAN);
           proto_tree_add_item (ehdr_tree, hf_docsis_bpi_en, tvb, pos + 2, 1,
                                FALSE);
           proto_tree_add_item (ehdr_tree, hf_docsis_toggle_bit, tvb, pos + 2,
                                1, FALSE);
           proto_tree_add_item (ehdr_tree, hf_docsis_said, tvb, pos + 2, 2,
-                               FALSE);
+                               ENC_BIG_ENDIAN);
           proto_tree_add_item (ehdr_tree, hf_docsis_reserved, tvb, pos + 4, 1,
-                               FALSE);
+                               ENC_BIG_ENDIAN);
           break;
         case EH_SFLOW_HDR_DOWN:
         case EH_SFLOW_HDR_UP:
           val = tvb_get_guint8 (tvb, pos+1);
           if (val == 0)
           {
-            item = proto_tree_add_item(ehdr_tree, hf_docsis_ehdr_phsi, tvb, pos+1, 1, FALSE);
+            item = proto_tree_add_item(ehdr_tree, hf_docsis_ehdr_phsi, tvb, pos+1, 1, ENC_BIG_ENDIAN);
                 PROTO_ITEM_SET_HIDDEN(item);
             proto_tree_add_text (ehdr_tree, tvb, pos+1, 1, "0000 0000 = No PHS on current packet" );
           }
           else
-            proto_tree_add_item(ehdr_tree, hf_docsis_ehdr_phsi, tvb, pos+1, 1, FALSE);
+            proto_tree_add_item(ehdr_tree, hf_docsis_ehdr_phsi, tvb, pos+1, 1, ENC_BIG_ENDIAN);
 
           if (len == 2)
           {
             proto_tree_add_item (ehdr_tree, hf_docsis_ehdr_qind, tvb, pos+2, 1, FALSE);
-            proto_tree_add_item (ehdr_tree, hf_docsis_ehdr_grants, tvb, pos+2, 1, FALSE);
+            proto_tree_add_item (ehdr_tree, hf_docsis_ehdr_grants, tvb, pos+2, 1, ENC_BIG_ENDIAN);
           }
           break;
         default:
@@ -402,39 +402,39 @@ dissect_docsis (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
       docsis_tree = proto_item_add_subtree (ti, ett_docsis);
 
 /* add an item to the subtree, see section 1.6 for more information */
-      proto_tree_add_item (docsis_tree, hf_docsis_fctype, tvb, 0, 1, FALSE);
+      proto_tree_add_item (docsis_tree, hf_docsis_fctype, tvb, 0, 1, ENC_BIG_ENDIAN);
       switch (fctype)
         {
         case FCTYPE_PACKET:
         case FCTYPE_ATMPDU:
         case FCTYPE_RESRVD:
           proto_tree_add_item (docsis_tree, hf_docsis_fcparm, tvb, 0, 1,
-                               FALSE);
+                               ENC_BIG_ENDIAN);
           proto_tree_add_item (docsis_tree, hf_docsis_ehdron, tvb, 0, 1,
                                FALSE);
           if (ehdron == 0x01)
             {
               proto_tree_add_item (docsis_tree, hf_docsis_ehdrlen, tvb, 1, 1,
-                                   FALSE);
+                                   ENC_BIG_ENDIAN);
               proto_tree_add_item (docsis_tree, hf_docsis_lensid, tvb, 2, 2,
-                                   FALSE);
+                                   ENC_BIG_ENDIAN);
               dissect_ehdr (tvb, docsis_tree, isfrag);
               proto_tree_add_item (docsis_tree, hf_docsis_hcs, tvb,
-                                   4 + mac_parm, 2, FALSE);
+                                   4 + mac_parm, 2, ENC_BIG_ENDIAN);
             }
           else
             {
               proto_tree_add_item (docsis_tree, hf_docsis_macparm, tvb, 1, 1,
-                                   FALSE);
+                                   ENC_BIG_ENDIAN);
               proto_tree_add_item (docsis_tree, hf_docsis_lensid, tvb, 2, 2,
-                                   FALSE);
+                                   ENC_BIG_ENDIAN);
               proto_tree_add_item (docsis_tree, hf_docsis_hcs, tvb, 4, 2,
-                                   FALSE);
+                                   ENC_BIG_ENDIAN);
             }
           break;
         case FCTYPE_MACSPC:
           proto_tree_add_item (docsis_tree, hf_docsis_machdr_fcparm, tvb, 0,
-                               1, FALSE);
+                               1, ENC_BIG_ENDIAN);
           proto_tree_add_item (docsis_tree, hf_docsis_ehdron, tvb, 0, 1,
                                FALSE);
           /* Decode for a Request Frame.  No extended header */
@@ -445,7 +445,7 @@ dissect_docsis (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
               proto_tree_add_uint (docsis_tree, hf_docsis_sid, tvb, 2, 2,
                                    len_sid);
               proto_tree_add_item (docsis_tree, hf_docsis_hcs, tvb, 4, 2,
-                                   FALSE);
+                                   ENC_BIG_ENDIAN);
               break;
             }
           /* Check if this is a fragmentation header */
@@ -458,31 +458,31 @@ dissect_docsis (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
             {
               proto_item_append_text (ti, " (Concatenated Header)");
               proto_tree_add_item (docsis_tree, hf_docsis_concat_cnt, tvb, 1,
-                                   1, FALSE);
+                                   1, ENC_BIG_ENDIAN);
               proto_tree_add_item (docsis_tree, hf_docsis_lensid, tvb, 2, 2,
-                                   FALSE);
+                                   ENC_BIG_ENDIAN);
               proto_tree_add_item (docsis_tree, hf_docsis_hcs, tvb, 4, 2,
-                                   FALSE);
+                                   ENC_BIG_ENDIAN);
               break;
             }
           /* If Extended header is present then decode it */
           if (ehdron == 0x01)
             {
               proto_tree_add_item (docsis_tree, hf_docsis_ehdrlen, tvb, 1, 1,
-                                   FALSE);
+                                   ENC_BIG_ENDIAN);
               proto_tree_add_item (docsis_tree, hf_docsis_lensid, tvb, 2, 2,
-                                   FALSE);
+                                   ENC_BIG_ENDIAN);
               dissect_ehdr (tvb, docsis_tree, isfrag);
               proto_tree_add_item (docsis_tree, hf_docsis_hcs, tvb,
-                                   4 + mac_parm, 2, FALSE);
+                                   4 + mac_parm, 2, ENC_BIG_ENDIAN);
               break;
             }
           /* default case for all other Mac Frame Types */
           proto_tree_add_item (docsis_tree, hf_docsis_macparm, tvb, 1, 1,
-                               FALSE);
+                               ENC_BIG_ENDIAN);
           proto_tree_add_item (docsis_tree, hf_docsis_lensid, tvb, 2, 2,
-                               FALSE);
-          proto_tree_add_item (docsis_tree, hf_docsis_hcs, tvb, 4, 2, FALSE);
+                               ENC_BIG_ENDIAN);
+          proto_tree_add_item (docsis_tree, hf_docsis_hcs, tvb, 4, 2, ENC_BIG_ENDIAN);
           break;
         }
     }
index 565e3810ecdf91edb28378e1466fbfaf3bbf171c..e851ad6ac731975e1e2bba1437541c1fd4154e11 100644 (file)
@@ -68,23 +68,23 @@ dissect_dpvreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "DPV Request");
       dpvreq_tree = proto_item_add_subtree (it, ett_docsis_dpvreq);
       proto_tree_add_item (dpvreq_tree, hf_docsis_dpvreq_tranid, tvb, 
-                         0, 2, FALSE);
+                         0, 2, ENC_BIG_ENDIAN);
       proto_tree_add_item (dpvreq_tree, hf_docsis_dpvreq_dschan, tvb, 
-                         2, 1, FALSE);
+                         2, 1, ENC_BIG_ENDIAN);
       proto_tree_add_item (dpvreq_tree, hf_docsis_dpvreq_flags, tvb, 
-                         3, 1, FALSE);
+                         3, 1, ENC_BIG_ENDIAN);
       proto_tree_add_item (dpvreq_tree, hf_docsis_dpvreq_us_sf, tvb, 
-                         4, 4, FALSE);
+                         4, 4, ENC_BIG_ENDIAN);
       proto_tree_add_item (dpvreq_tree, hf_docsis_dpvreq_n, tvb, 
-                         8, 2, FALSE);
+                         8, 2, ENC_BIG_ENDIAN);
       proto_tree_add_item (dpvreq_tree, hf_docsis_dpvreq_start, tvb, 
-                         10, 1, FALSE);
+                         10, 1, ENC_BIG_ENDIAN);
       proto_tree_add_item (dpvreq_tree, hf_docsis_dpvreq_end, tvb, 
-                         11, 1, FALSE);
+                         11, 1, ENC_BIG_ENDIAN);
       proto_tree_add_item (dpvreq_tree, hf_docsis_dpvreq_ts_start, tvb, 
-                         12, 4, FALSE);
+                         12, 4, ENC_BIG_ENDIAN);
       proto_tree_add_item (dpvreq_tree, hf_docsis_dpvreq_ts_end, tvb, 
-                         16, 4, FALSE);
+                         16, 4, ENC_BIG_ENDIAN);
     }
 }
 
index df320a8458c88784d87f68c7d5585fc60bc03d84..49404195e154e4cb0286239d910ae94e02c54ee9 100644 (file)
@@ -68,23 +68,23 @@ dissect_dpvrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "DPV Response");
       dpvrsp_tree = proto_item_add_subtree (it, ett_docsis_dpvrsp);
       proto_tree_add_item (dpvrsp_tree, hf_docsis_dpvrsp_tranid, tvb, 
-                         0, 2, FALSE);
+                         0, 2, ENC_BIG_ENDIAN);
       proto_tree_add_item (dpvrsp_tree, hf_docsis_dpvrsp_dschan, tvb, 
-                         2, 1, FALSE);
+                         2, 1, ENC_BIG_ENDIAN);
       proto_tree_add_item (dpvrsp_tree, hf_docsis_dpvrsp_flags, tvb, 
-                         3, 1, FALSE);
+                         3, 1, ENC_BIG_ENDIAN);
       proto_tree_add_item (dpvrsp_tree, hf_docsis_dpvrsp_us_sf, tvb, 
-                         4, 4, FALSE);
+                         4, 4, ENC_BIG_ENDIAN);
       proto_tree_add_item (dpvrsp_tree, hf_docsis_dpvrsp_n, tvb, 
-                         8, 2, FALSE);
+                         8, 2, ENC_BIG_ENDIAN);
       proto_tree_add_item (dpvrsp_tree, hf_docsis_dpvrsp_start, tvb, 
-                         10, 1, FALSE);
+                         10, 1, ENC_BIG_ENDIAN);
       proto_tree_add_item (dpvrsp_tree, hf_docsis_dpvrsp_end, tvb, 
-                         11, 1, FALSE);
+                         11, 1, ENC_BIG_ENDIAN);
       proto_tree_add_item (dpvrsp_tree, hf_docsis_dpvrsp_ts_start, tvb, 
-                         12, 4, FALSE);
+                         12, 4, ENC_BIG_ENDIAN);
       proto_tree_add_item (dpvrsp_tree, hf_docsis_dpvrsp_ts_end, tvb, 
-                         16, 4, FALSE);
+                         16, 4, ENC_BIG_ENDIAN);
     }
 }
 
index 98fdb9b7fe769dd626bdf1d0f513f18b8b28ec3c..d057cc99ca17a7e5bd281381d73955df708f5281 100644 (file)
@@ -66,9 +66,9 @@ dissect_dsaack (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "DSA Acknowledge");
       dsaack_tree = proto_item_add_subtree (it, ett_docsis_dsaack);
       proto_tree_add_item (dsaack_tree, hf_docsis_dsaack_tranid, tvb, 0, 2,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (dsaack_tree, hf_docsis_dsaack_response, tvb, 2, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
     }
 
   /* Call Dissector for Appendix C TLV's */
index 5724ee5a77d1a0c8d868ba2f290b70a6ad851761..6b0453090b1f42411a92e8755f12250a52bf06d3 100644 (file)
@@ -61,7 +61,7 @@ dissect_dsareq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "DSA Request");
       dsareq_tree = proto_item_add_subtree (it, ett_docsis_dsareq);
       proto_tree_add_item (dsareq_tree, hf_docsis_dsareq_tranid, tvb, 0, 2,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
 
     }
     /* Call Dissector for Appendix C TLV's */
index ec9745bb5588777f1fa864d38ae7f91ec83ba0c2..4f02a2251c12f1cec04a1f255723e3f784d45f53 100644 (file)
@@ -66,9 +66,9 @@ dissect_dsarsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "DSA Response");
       dsarsp_tree = proto_item_add_subtree (it, ett_docsis_dsarsp);
       proto_tree_add_item (dsarsp_tree, hf_docsis_dsarsp_tranid, tvb, 0, 2,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (dsarsp_tree, hf_docsis_dsarsp_response, tvb, 2, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
 
     }
     /* Call dissector for Appendix C TLV's */
index 75ec51fa2af8c85722b78a6a2fd19dcc49239027..b84b106e632c33049dbdcedbea8ea5dded903a89 100644 (file)
@@ -66,9 +66,9 @@ dissect_dscack (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "DSC Acknowledge");
       dscack_tree = proto_item_add_subtree (it, ett_docsis_dscack);
       proto_tree_add_item (dscack_tree, hf_docsis_dscack_tranid, tvb, 0, 2,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (dscack_tree, hf_docsis_dscack_response, tvb, 2, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
     }
     /* Call Dissector for Appendix C TLV's */
     next_tvb = tvb_new_subset_remaining (tvb, 3);
index be580e258dbe8e159ec78f5d8efb47a1599177b8..21ed0db9c0712950c2a6e08278662033da763f25 100644 (file)
@@ -62,7 +62,7 @@ dissect_dscreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "DSC Request");
       dscreq_tree = proto_item_add_subtree (it, ett_docsis_dscreq);
       proto_tree_add_item (dscreq_tree, hf_docsis_dscreq_tranid, tvb, 0, 2,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
 
     }
     /* Call dissector for Appendix C TLV's */
index 9a9affb7fafa161400da7140f8b517c5041f6b08..b7f2e7cceb44ce28daa6bdd58e92b08d69b47174 100644 (file)
@@ -67,9 +67,9 @@ dissect_dscrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "DSC Response");
       dscrsp_tree = proto_item_add_subtree (it, ett_docsis_dscrsp);
       proto_tree_add_item (dscrsp_tree, hf_docsis_dscrsp_tranid, tvb, 0, 2,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (dscrsp_tree, hf_docsis_dscrsp_response, tvb, 2, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
 
     }
     /* Call Dissector for Appendix C TLV's */
index 2c060f4a0aaddf80c7e2ecb40418df4e14e8e99b..56908672bef05b270d8c63304f3e145dc6687f21 100644 (file)
@@ -63,11 +63,11 @@ dissect_dsdreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "DSD Request");
       dsdreq_tree = proto_item_add_subtree (it, ett_docsis_dsdreq);
       proto_tree_add_item (dsdreq_tree, hf_docsis_dsdreq_tranid, tvb, 0, 2,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (dsdreq_tree, hf_docsis_dsdreq_rsvd, tvb, 2, 2,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (dsdreq_tree, hf_docsis_dsdreq_sfid, tvb, 4, 4,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
 
     }
     /* Call Dissector for Appendix C TLV's */
index a7df2931ab116d7b4fc7baae51da851153532137..9b4f90b535e48efb4604e884e41a79dee49dc53e 100644 (file)
@@ -64,11 +64,11 @@ dissect_dsdrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "DSD Response");
       dsdrsp_tree = proto_item_add_subtree (it, ett_docsis_dsdrsp);
       proto_tree_add_item (dsdrsp_tree, hf_docsis_dsdrsp_tranid, tvb, 0, 2,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (dsdrsp_tree, hf_docsis_dsdrsp_confcode, tvb, 2, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (dsdrsp_tree, hf_docsis_dsdrsp_rsvd, tvb, 3, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
     }
 
 }
index 0042a138ba423d5ce63174fa951244bb185ab403..94262e3466aed76d6ff2f61eb4a8dcee97592319 100644 (file)
@@ -61,11 +61,11 @@ dissect_intrngreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "Initial Ranging Request");
       intrngreq_tree = proto_item_add_subtree (intrngreq_item, ett_docsis_intrngreq);
       proto_tree_add_item (intrngreq_tree, hf_docsis_intrngreq_sid, tvb, 0, 2,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (intrngreq_tree, hf_docsis_intrngreq_down_chid, tvb, 2, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (intrngreq_tree, hf_docsis_intrngreq_up_chid, tvb, 3,
-                          1, FALSE);
+                          1, ENC_BIG_ENDIAN);
     }
 
 
index ca40eb45c85f6d390f3862e3ebbef412329b09a7..2c5724a2abc6b8fa87538ec5487f947d2bc01355 100644 (file)
@@ -179,7 +179,7 @@ dissect_macmgmt (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
       proto_tree_add_item (mgt_hdr_tree, hf_docsis_mgt_src_addr, tvb, 6, 6,
                            FALSE);
       proto_tree_add_item (mgt_hdr_tree, hf_docsis_mgt_msg_len, tvb, 12, 2,
-                           FALSE);
+                           ENC_BIG_ENDIAN);
       proto_tree_add_item (mgt_hdr_tree, hf_docsis_mgt_dsap, tvb, 14, 1,
                            FALSE);
       proto_tree_add_item (mgt_hdr_tree, hf_docsis_mgt_ssap, tvb, 15, 1,
@@ -187,9 +187,9 @@ dissect_macmgmt (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
       proto_tree_add_item (mgt_hdr_tree, hf_docsis_mgt_control, tvb, 16, 1,
                            FALSE);
       proto_tree_add_item (mgt_hdr_tree, hf_docsis_mgt_version, tvb, 17, 1,
-                           FALSE);
+                           ENC_BIG_ENDIAN);
       proto_tree_add_item (mgt_hdr_tree, hf_docsis_mgt_type, tvb, 18, 1,
-                           FALSE);
+                           ENC_BIG_ENDIAN);
       proto_tree_add_item (mgt_hdr_tree, hf_docsis_mgt_rsvd, tvb, 19, 1,
                            FALSE);
 
index 5eef44901b0d9646d6329fd8da62a0fd560f2e29..6a4361efec8e78678f2644559bd0f8b3f2bbce68 100644 (file)
@@ -104,23 +104,23 @@ dissect_map (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
       map_tree = proto_item_add_subtree (it, ett_docsis_map);
 
       proto_tree_add_item (map_tree, hf_docsis_map_upstream_chid, tvb, 0, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (map_tree, hf_docsis_map_ucd_count, tvb, 1, 1,
-                          FALSE);
-      proto_tree_add_item (map_tree, hf_docsis_map_numie, tvb, 2, 1, FALSE);
+                          ENC_BIG_ENDIAN);
+      proto_tree_add_item (map_tree, hf_docsis_map_numie, tvb, 2, 1, ENC_BIG_ENDIAN);
       proto_tree_add_item (map_tree, hf_docsis_map_rsvd, tvb, 3, 1, FALSE);
       proto_tree_add_item (map_tree, hf_docsis_map_alloc_start, tvb, 4, 4,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (map_tree, hf_docsis_map_ack_time, tvb, 8, 4,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (map_tree, hf_docsis_map_rng_start, tvb, 12, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (map_tree, hf_docsis_map_rng_end, tvb, 13, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (map_tree, hf_docsis_map_data_start, tvb, 14, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (map_tree, hf_docsis_map_data_end, tvb, 15, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
 
       pos = 16;
       for (i = 0; i < numie; i++)
@@ -136,11 +136,11 @@ dissect_map (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
          iuc = (guint8) (temp & 0x0F);
          mask = 0x3FFF;
          offset = (guint16) (ie & mask);
-         item = proto_tree_add_item(map_tree, hf_docsis_map_sid, tvb, pos, 4, FALSE);
+         item = proto_tree_add_item(map_tree, hf_docsis_map_sid, tvb, pos, 4, ENC_BIG_ENDIAN);
          PROTO_ITEM_SET_HIDDEN(item);
-         item = proto_tree_add_item(map_tree, hf_docsis_map_iuc, tvb, pos, 4, FALSE);
+         item = proto_tree_add_item(map_tree, hf_docsis_map_iuc, tvb, pos, 4, ENC_BIG_ENDIAN);
          PROTO_ITEM_SET_HIDDEN(item);
-         item = proto_tree_add_item(map_tree, hf_docsis_map_offset, tvb, pos, 4, FALSE);
+         item = proto_tree_add_item(map_tree, hf_docsis_map_offset, tvb, pos, 4, ENC_BIG_ENDIAN);
          PROTO_ITEM_SET_HIDDEN(item);
          if (sid == 0x3FFF)
            proto_tree_add_uint_format (map_tree, hf_docsis_map_ie, tvb, pos, 4,
index 3a542c3c5f790cd5af9eb86833887032d26b9d85..69917fa1ed354fc91f9657973b67cb65330ccfe5 100644 (file)
@@ -330,10 +330,10 @@ dissect_mdd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                it = proto_tree_add_protocol_format (tree, proto_docsis_mdd, tvb, 0, -1,"MDD Message");
                mdd_tree = proto_item_add_subtree (it, ett_docsis_mdd);
 
-               proto_tree_add_item (mdd_tree, hf_docsis_mdd_ccc, tvb, 0, 1, FALSE);
-               proto_tree_add_item (mdd_tree, hf_docsis_mdd_number_of_fragments, tvb, 1, 1, FALSE);
-               proto_tree_add_item (mdd_tree, hf_docsis_mdd_fragment_sequence_number, tvb, 2, 1, FALSE);
-               proto_tree_add_item (mdd_tree, hf_docsis_mdd_current_channel_dcid, tvb, 3, 1, FALSE);
+               proto_tree_add_item (mdd_tree, hf_docsis_mdd_ccc, tvb, 0, 1, ENC_BIG_ENDIAN);
+               proto_tree_add_item (mdd_tree, hf_docsis_mdd_number_of_fragments, tvb, 1, 1, ENC_BIG_ENDIAN);
+               proto_tree_add_item (mdd_tree, hf_docsis_mdd_fragment_sequence_number, tvb, 2, 1, ENC_BIG_ENDIAN);
+               proto_tree_add_item (mdd_tree, hf_docsis_mdd_current_channel_dcid, tvb, 3, 1, ENC_BIG_ENDIAN);
 
                /*TLVs...*/
                pos = 4;
@@ -353,27 +353,27 @@ dissect_mdd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                                sublength = tvb_get_guint8 (tvb, subpos + 1);
                                                switch(subtype) {
                                                        case DOWNSTREAM_ACTIVE_CHANNEL_LIST_CHANNEL_ID:
-                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_downstream_active_channel_list_channel_id, tvb, subpos + 2 , 1, FALSE);
+                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_downstream_active_channel_list_channel_id, tvb, subpos + 2 , 1, ENC_BIG_ENDIAN);
                                                                break;
                                                        case DOWNSTREAM_ACTIVE_CHANNEL_LIST_FREQUENCY:
-                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_downstream_active_channel_list_frequency, tvb, subpos + 2 , 4, FALSE);
+                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_downstream_active_channel_list_frequency, tvb, subpos + 2 , 4, ENC_BIG_ENDIAN);
                                                                break;
                                                        case DOWNSTREAM_ACTIVE_CHANNEL_LIST_MODULATION_ORDER_ANNEX:
                                                                tlv_sub_item = proto_tree_add_text (tlv_tree, tvb, subpos + 2, 1, "Modulation Order/Annex");
                                                                tlv_sub_tree = proto_item_add_subtree (tlv_sub_item, ett_sub_tlv);
-                                                               proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_downstream_active_channel_list_modulation_order, tvb, subpos + 2 , 1, FALSE);
-                                                               proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_downstream_active_channel_list_annex, tvb, subpos + 2 , 1, FALSE);
+                                                               proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_downstream_active_channel_list_modulation_order, tvb, subpos + 2 , 1, ENC_BIG_ENDIAN);
+                                                               proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_downstream_active_channel_list_annex, tvb, subpos + 2 , 1, ENC_BIG_ENDIAN);
                                                                break;
                                                        case DOWNSTREAM_ACTIVE_CHANNEL_LIST_PRIMARY_CAPABLE:
-                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_downstream_active_channel_list_primary_capable, tvb, subpos + 2 , 1, FALSE);
+                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_downstream_active_channel_list_primary_capable, tvb, subpos + 2 , 1, ENC_BIG_ENDIAN);
                                                                break;
                                                        case DOWNSTREAM_ACTIVE_CHANNEL_LIST_CM_STATUS_EVENT_ENABLE_BITMASK:
                                                                tlv_sub_item = proto_tree_add_text (tlv_tree, tvb, subpos + 2, 2, "CM-STATUS Event Enable Bitmask");
                                                                tlv_sub_tree = proto_item_add_subtree (tlv_sub_item, ett_sub_tlv);
-                                                               proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_bitmask_mdd_timeout, tvb, subpos + 2 , 2,FALSE);
-                                                               proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_bitmask_qam_fec_lock_failure, tvb, subpos + 2 , 2, FALSE);
-                                                               proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_bitmask_mdd_recovery, tvb, subpos + 2 , 2,FALSE);
-                                                               proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_bitmask_qam_fec_lock_recovery, tvb, subpos + 2 , 2, FALSE);
+                                                               proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_bitmask_mdd_timeout, tvb, subpos + 2 , 2,ENC_BIG_ENDIAN);
+                                                               proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_bitmask_qam_fec_lock_failure, tvb, subpos + 2 , 2, ENC_BIG_ENDIAN);
+                                                               proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_bitmask_mdd_recovery, tvb, subpos + 2 , 2,ENC_BIG_ENDIAN);
+                                                               proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_bitmask_qam_fec_lock_recovery, tvb, subpos + 2 , 2, ENC_BIG_ENDIAN);
                                                                break;
                                                }
                                                subpos += sublength + 2;
@@ -386,11 +386,11 @@ dissect_mdd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                                sublength = tvb_get_guint8 (tvb, subpos + 1);
                                                switch(subtype) {
                                                        case MAC_DOMAIN_DOWNSTREAM_SERVICE_GROUP_MD_DS_SG_IDENTIFIER:
-                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_mac_domain_downstream_service_group_md_ds_sg_identifier, tvb, subpos + 2 , 1, FALSE);
+                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_mac_domain_downstream_service_group_md_ds_sg_identifier, tvb, subpos + 2 , 1, ENC_BIG_ENDIAN);
                                                                break;
                                                        case MAC_DOMAIN_DOWNSTREAM_SERVICE_GROUP_CHANNEL_IDS:
                                                                for (i = 0; i < sublength; i++) {
-                                                                       proto_tree_add_item (tlv_tree, hf_docsis_mdd_mac_domain_downstream_service_group_channel_id, tvb, subpos + 2 + i , 1, FALSE);
+                                                                       proto_tree_add_item (tlv_tree, hf_docsis_mdd_mac_domain_downstream_service_group_channel_id, tvb, subpos + 2 + i , 1, ENC_BIG_ENDIAN);
                                                                }
                                                                break;
                                                }
@@ -400,7 +400,7 @@ dissect_mdd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                case DOWNSTREAM_AMBIGUITY_RESOLUTION_FREQUENCY_LIST:
                                        subpos = pos + 2;
                                        for (i = 0; i < length; i+=4) {
-                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_downstream_ambiguity_resolution_frequency, tvb, subpos + i , 4, FALSE);
+                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_downstream_ambiguity_resolution_frequency, tvb, subpos + i , 4, ENC_BIG_ENDIAN);
                                        }
                                        break;
                                case RECEIVE_CHANNEL_PROFILE_REPORTING_CONTROL:
@@ -410,10 +410,10 @@ dissect_mdd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                                sublength = tvb_get_guint8 (tvb, subpos + 1);
                                                switch(subtype) {
                                                        case RCP_CENTER_FREQUENCY_SPACING:
-                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_rpc_center_frequency_spacing, tvb, subpos + 2 , 1, FALSE);
+                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_rpc_center_frequency_spacing, tvb, subpos + 2 , 1, ENC_BIG_ENDIAN);
                                                                break;
                                                        case VERBOSE_RCP_REPORTING:
-                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_verbose_rcp_reporting, tvb, subpos + 2 , 1, FALSE);
+                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_verbose_rcp_reporting, tvb, subpos + 2 , 1, ENC_BIG_ENDIAN);
                                                                break;
                                                }
                                                subpos += sublength + 2;
@@ -426,10 +426,10 @@ dissect_mdd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                                sublength = tvb_get_guint8 (tvb, subpos + 1);
                                                switch(subtype) {
                                                        case IP_PROVISIONING_MODE:
-                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_ip_provisioning_mode, tvb, subpos + 2 , 1, FALSE);
+                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_ip_provisioning_mode, tvb, subpos + 2 , 1, ENC_BIG_ENDIAN);
                                                                break;
                                                        case PRE_REGISTRATION_DSID:
-                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_pre_registration_dsid, tvb, subpos + 2 , 3, FALSE);
+                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_pre_registration_dsid, tvb, subpos + 2 , 3, ENC_BIG_ENDIAN);
                                                                break;
                                                }
                                                subpos += sublength + 2;
@@ -437,7 +437,7 @@ dissect_mdd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        break;
                                case EARLY_AUTHENTICATION_AND_ENCRYPTION:
                                        subpos = pos + 2;
-                                       proto_tree_add_item (tlv_tree, hf_docsis_mdd_early_authentication_and_encryption, tvb, subpos, 1, FALSE);
+                                       proto_tree_add_item (tlv_tree, hf_docsis_mdd_early_authentication_and_encryption, tvb, subpos, 1, ENC_BIG_ENDIAN);
                                        break;
                                case UPSTREAM_ACTIVE_CHANNEL_LIST:
                                        subpos = pos + 2;
@@ -446,14 +446,14 @@ dissect_mdd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                                sublength = tvb_get_guint8 (tvb, subpos + 1);
                                                switch(subtype) {
                                                        case UPSTREAM_ACTIVE_CHANNEL_LIST_UPSTREAM_CHANNEL_ID:
-                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_upstream_active_channel_list_upstream_channel_id, tvb, subpos + 2 , 1, FALSE);
+                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_upstream_active_channel_list_upstream_channel_id, tvb, subpos + 2 , 1, ENC_BIG_ENDIAN);
                                                                break;
                                                        case UPSTREAM_ACTIVE_CHANNEL_LIST_CM_STATUS_EVENT_ENABLE_BITMASK:
                                                                tlv_sub_item = proto_tree_add_text (tlv_tree, tvb, subpos + 2, 2, "CM-STATUS Event Enable Bitmask");
                                                                tlv_sub_tree = proto_item_add_subtree (tlv_sub_item, ett_sub_tlv);
-                                                               proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_bitmask_t4_timeout, tvb, subpos + 2 , 2, FALSE);
-                                                               proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_bitmask_t3_retries_exceeded, tvb, subpos + 2 , 2, FALSE);
-                                                               proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_bitmask_successful_ranging_after_t3_retries_exceeded, tvb, subpos + 2 , 2, FALSE);
+                                                               proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_bitmask_t4_timeout, tvb, subpos + 2 , 2, ENC_BIG_ENDIAN);
+                                                               proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_bitmask_t3_retries_exceeded, tvb, subpos + 2 , 2, ENC_BIG_ENDIAN);
+                                                               proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_bitmask_successful_ranging_after_t3_retries_exceeded, tvb, subpos + 2 , 2, ENC_BIG_ENDIAN);
                                                                break;
                                                }
                                                subpos += sublength + 2;
@@ -462,16 +462,16 @@ dissect_mdd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                case UPSTREAM_AMBIGUITY_RESOLUTION_CHANNEL_LIST:
                                        sublength = tvb_get_guint8 (tvb, subpos + 1);
                                        for (i = 0; i < sublength; i++) {
-                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_upstream_ambiguity_resolution_channel_list_channel_id, tvb, pos + 2 + i , 1, FALSE);
+                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_upstream_ambiguity_resolution_channel_list_channel_id, tvb, pos + 2 + i , 1, ENC_BIG_ENDIAN);
                                        }
                                        break;
                                case UPSTREAM_FREQUENCY_RANGE:
                                        subpos = pos + 2;
-                                       proto_tree_add_item (tlv_tree, hf_docsis_mdd_upstream_frequency_range, tvb, subpos, 1, FALSE);
+                                       proto_tree_add_item (tlv_tree, hf_docsis_mdd_upstream_frequency_range, tvb, subpos, 1, ENC_BIG_ENDIAN);
                                        break;
                                case SYMBOL_CLOCK_LOCKING_INDICATOR:
                                        subpos = pos + 2;
-                                       proto_tree_add_item (tlv_tree, hf_docsis_mdd_symbol_clock_locking_indicator, tvb, subpos, 1, FALSE);
+                                       proto_tree_add_item (tlv_tree, hf_docsis_mdd_symbol_clock_locking_indicator, tvb, subpos, 1, ENC_BIG_ENDIAN);
                                        break;
                                case CM_STATUS_EVENT_CONTROL:
                                        subpos = pos + 2;
@@ -480,14 +480,14 @@ dissect_mdd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                                sublength = tvb_get_guint8 (tvb, subpos + 1);
                                                switch(subtype) {
                                                        case EVENT_TYPE_CODE:
-                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_event_type, tvb, subpos+2, 1, FALSE);
+                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_event_type, tvb, subpos+2, 1, ENC_BIG_ENDIAN);
                                                                break;
                                                        case MAXIMUM_EVENT_HOLDOFF_TIMER:
-                                                               text_item = proto_tree_add_item (tlv_tree, hf_docsis_mdd_maximum_event_holdoff_timer, tvb, subpos, 2, FALSE);
+                                                               text_item = proto_tree_add_item (tlv_tree, hf_docsis_mdd_maximum_event_holdoff_timer, tvb, subpos, 2, ENC_BIG_ENDIAN);
                                                                proto_item_append_text(text_item, " (%d ms)", (256*tvb_get_guint8 (tvb, subpos) + tvb_get_guint8 (tvb, subpos + 1)) * 20);
                                                                break;
                                                        case MAXIMUM_NUMBER_OF_REPORTS_PER_EVENT:
-                                                               text_item = proto_tree_add_item (tlv_tree, hf_docsis_mdd_maximum_number_of_reports_per_event, tvb, subpos, 1, FALSE);
+                                                               text_item = proto_tree_add_item (tlv_tree, hf_docsis_mdd_maximum_number_of_reports_per_event, tvb, subpos, 1, ENC_BIG_ENDIAN);
                                                                if ( tvb_get_guint8 (tvb, subpos) == 0) {
                                                                        proto_item_append_text(text_item, " (Unlimited)");
                                                                }
@@ -498,7 +498,7 @@ dissect_mdd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        break;
                                case UPSTREAM_TRANSMIT_POWER_REPORTING:
                                        subpos = pos + 2;
-                                       proto_tree_add_item (tlv_tree, hf_docsis_mdd_upstream_transmit_power_reporting, tvb, subpos, 1, FALSE);
+                                       proto_tree_add_item (tlv_tree, hf_docsis_mdd_upstream_transmit_power_reporting, tvb, subpos, 1, ENC_BIG_ENDIAN);
                                        break;
                                case DSG_DA_TO_DSID_ASSOCIATION_ENTRY:
                                        subpos = pos + 2;
@@ -507,10 +507,10 @@ dissect_mdd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                                sublength = tvb_get_guint8 (tvb, subpos + 1);
                                                switch(subtype) {
                                                        case DSG_DA_TO_DSID_ASSOCIATION_DA:
-                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_dsg_da_to_dsid_association_da, tvb, subpos, 6, FALSE);
+                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_dsg_da_to_dsid_association_da, tvb, subpos, 6, ENC_BIG_ENDIAN);
                                                                break;
                                                        case DSG_DA_TO_DSID_ASSOCIATION_DSID:
-                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_dsg_da_to_dsid_association_dsid, tvb, subpos, 3, FALSE);
+                                                               proto_tree_add_item (tlv_tree, hf_docsis_mdd_dsg_da_to_dsid_association_dsid, tvb, subpos, 3, ENC_BIG_ENDIAN);
                                                                break;
                                                }
                                                subpos += sublength + 2;
@@ -520,9 +520,9 @@ dissect_mdd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        subpos = pos + 2;
                                        tlv_sub_item = proto_tree_add_text (tlv_tree, tvb, subpos, 2, "CM-STATUS Event Enable Bitmask for Non-Channel-Specific Events");
                                        tlv_sub_tree = proto_item_add_subtree (tlv_sub_item, ett_sub_tlv);
-                                       proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_non_channel_specific_events_sequence_out_of_range, tvb, subpos, 2,FALSE);
-                                       proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_non_channel_specific_events_cm_operating_on_battery_backup, tvb, subpos , 2,FALSE);
-                                       proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_non_channel_specific_events_cm_returned_to_ac_power, tvb, subpos , 2,FALSE);
+                                       proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_non_channel_specific_events_sequence_out_of_range, tvb, subpos, 2,ENC_BIG_ENDIAN);
+                                       proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_non_channel_specific_events_cm_operating_on_battery_backup, tvb, subpos , 2,ENC_BIG_ENDIAN);
+                                       proto_tree_add_item (tlv_sub_tree, hf_docsis_mdd_cm_status_event_enable_non_channel_specific_events_cm_returned_to_ac_power, tvb, subpos , 2,ENC_BIG_ENDIAN);
                                        break;
                        }
                        pos += length + 2;
index 9544fecc3cd1451a696bc5d363a889d91cb0e6c5..56625d0fa7cb97828a7461d220cc16a3a7f0b123 100644 (file)
@@ -65,9 +65,9 @@ dissect_regack (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "Registration Acknowledge");
       regack_tree = proto_item_add_subtree (it, ett_docsis_regack);
       proto_tree_add_item (regack_tree, hf_docsis_regack_sid, tvb, 0, 2,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (regack_tree, hf_docsis_regack_response, tvb, 2, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
 
     }
     /* Call Dissector for Appendix C TLV's */
index 1a6cce5bc89de212ebf2025e83f95e6ea8853ec2..af33ec6b3810cfc888aa0bd7466f2e9a1b5552c8 100644 (file)
@@ -62,7 +62,7 @@ dissect_regreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "Registration Request");
       regreq_tree = proto_item_add_subtree (it, ett_docsis_regreq);
       proto_tree_add_item (regreq_tree, hf_docsis_regreq_sid, tvb, 0, 2,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
     }
     /* Call Dissector for Appendix C TlV's */
     next_tvb = tvb_new_subset_remaining (tvb, 2);
index d2326ec90c3efc832070adfa4ccf5d06813f3cd5..e1a735336851cfbc5c68436a5541d9c405a80420 100644 (file)
@@ -61,9 +61,9 @@ dissect_regreqmp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        it = proto_tree_add_protocol_format (tree, proto_docsis_regreqmp, tvb, 0, -1,"REG-REQ-MP Message");
                        regreqmp_tree = proto_item_add_subtree (it, ett_docsis_regreqmp);
                        
-                       proto_tree_add_item (regreqmp_tree, hf_docsis_regreqmp_sid, tvb, 0, 2, FALSE);
-                       proto_tree_add_item (regreqmp_tree, hf_docsis_regreqmp_number_of_fragments, tvb, 2, 1, FALSE);
-                       proto_tree_add_item (regreqmp_tree, hf_docsis_regreqmp_fragment_sequence_number, tvb, 3, 1, FALSE);
+                       proto_tree_add_item (regreqmp_tree, hf_docsis_regreqmp_sid, tvb, 0, 2, ENC_BIG_ENDIAN);
+                       proto_tree_add_item (regreqmp_tree, hf_docsis_regreqmp_number_of_fragments, tvb, 2, 1, ENC_BIG_ENDIAN);
+                       proto_tree_add_item (regreqmp_tree, hf_docsis_regreqmp_fragment_sequence_number, tvb, 3, 1, ENC_BIG_ENDIAN);
 
                }
                /* Call Dissector for Appendix C TLV's */
index f868d22ff9f1b4d7d3c969939cb5ad4bfd1e8644..9cda995f2552680b49bd9643c36e82e7206769d4 100644 (file)
@@ -67,9 +67,9 @@ dissect_regrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "Registration Response");
       regrsp_tree = proto_item_add_subtree (it, ett_docsis_regrsp);
       proto_tree_add_item (regrsp_tree, hf_docsis_regrsp_sid, tvb, 0, 2,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (regrsp_tree, hf_docsis_regrsp_response, tvb, 2, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
     }
     /* Call Dissector for Appendix C TLV's */
     next_tvb = tvb_new_subset_remaining (tvb, 3);
index 272a033f375e34f363523a6d8d792d2810dfadfa..f0442b7209b337c02a9f5591efdd37faec647210 100644 (file)
@@ -66,10 +66,10 @@ dissect_regrspmp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        it = proto_tree_add_protocol_format (tree, proto_docsis_regrspmp, tvb, 0, -1,"REG-RSP-MP Message");
                        regrspmp_tree = proto_item_add_subtree (it, ett_docsis_regrspmp);
                        
-                       proto_tree_add_item (regrspmp_tree, hf_docsis_regrspmp_sid, tvb, 0, 2, FALSE);
-                       proto_tree_add_item (regrspmp_tree, hf_docsis_regrspmp_response, tvb, 2, 1, FALSE);
-                       proto_tree_add_item (regrspmp_tree, hf_docsis_regrspmp_number_of_fragments, tvb, 3, 1, FALSE);
-                       proto_tree_add_item (regrspmp_tree, hf_docsis_regrspmp_fragment_sequence_number, tvb, 4, 1, FALSE);
+                       proto_tree_add_item (regrspmp_tree, hf_docsis_regrspmp_sid, tvb, 0, 2, ENC_BIG_ENDIAN);
+                       proto_tree_add_item (regrspmp_tree, hf_docsis_regrspmp_response, tvb, 2, 1, ENC_BIG_ENDIAN);
+                       proto_tree_add_item (regrspmp_tree, hf_docsis_regrspmp_number_of_fragments, tvb, 3, 1, ENC_BIG_ENDIAN);
+                       proto_tree_add_item (regrspmp_tree, hf_docsis_regrspmp_fragment_sequence_number, tvb, 4, 1, ENC_BIG_ENDIAN);
        
                }
                /* Call Dissector for Appendix C TLV's */
index 1fbb5f25c5428752e1ab1c4205cac500369fa7c4..a0f89988238791baa3e23792874ab65ab416cd27 100644 (file)
@@ -64,11 +64,11 @@ dissect_rngreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "Ranging Request");
       rngreq_tree = proto_item_add_subtree (it, ett_docsis_rngreq);
       proto_tree_add_item (rngreq_tree, hf_docsis_rngreq_sid, tvb, 0, 2,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (rngreq_tree, hf_docsis_rngreq_down_chid, tvb, 2, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (rngreq_tree, hf_docsis_rngreq_pend_compl, tvb, 3,
-                          1, FALSE);
+                          1, ENC_BIG_ENDIAN);
     }
 
 
index 0b4aca326153a521e4b421c3df0b34a82bde228a..38ae5b297ec17d1ee07bdda684343c675f3cdac8 100644 (file)
@@ -93,9 +93,9 @@ dissect_rngrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "Ranging Response");
       rngrsp_tree = proto_item_add_subtree (it, ett_docsis_rngrsp);
       proto_tree_add_item (rngrsp_tree, hf_docsis_rngrsp_sid, tvb, 0, 2,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (rngrsp_tree, hf_docsis_rngrsp_upstream_chid, tvb,
-                          2, 1, FALSE);
+                          2, 1, ENC_BIG_ENDIAN);
 
       length = tvb_reported_length_remaining (tvb, 0);
       pos = 3;
@@ -134,7 +134,7 @@ dissect_rngrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
              if (tlvlen == 2)
                {
                  proto_tree_add_item (rngrsp_tree, hf_docsis_rngrsp_freq_adj,
-                                      tvb, pos, tlvlen, FALSE);
+                                      tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                }
              else
                {
@@ -149,7 +149,7 @@ dissect_rngrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
              if (tlvlen == 1)
                proto_tree_add_item (rngrsp_tree,
                                     hf_docsis_rngrsp_ranging_status, tvb,
-                                    pos, tlvlen, FALSE);
+                                    pos, tlvlen, ENC_BIG_ENDIAN);
              else
                {
                  THROW (ReportedBoundsError);
@@ -159,7 +159,7 @@ dissect_rngrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
              if (tlvlen == 4)
                proto_tree_add_item (rngrsp_tree,
                                     hf_docsis_rngrsp_down_freq_over, tvb,
-                                    pos, tlvlen, FALSE);
+                                    pos, tlvlen, ENC_BIG_ENDIAN);
              else
                {
                  THROW (ReportedBoundsError);
@@ -169,7 +169,7 @@ dissect_rngrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
              if (tlvlen == 1)
                proto_tree_add_item (rngrsp_tree,
                                     hf_docsis_rngrsp_upstream_ch_over, tvb,
-                                    pos, tlvlen, FALSE);
+                                    pos, tlvlen, ENC_BIG_ENDIAN);
              else
                {
                  THROW (ReportedBoundsError);
index a21e54d30fd1f230628f4f42c97119127ec5d264..2b678f999b727433cf56ff945031518f654097e1 100644 (file)
@@ -52,7 +52,7 @@ dissect_sync (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
        sync_tree = proto_item_add_subtree (it, ett_docsis_sync);
 
        proto_tree_add_item (sync_tree, hf_docsis_sync_cmts_timestamp, tvb, 0, 4,
-                       FALSE);
+                       ENC_BIG_ENDIAN);
        }                               /* if(tree) */
 }
 
index 5aa9346f0583ea777202dca0a3dc1a0d232e5dee..ce9fc2e9f10981b35e5e850f570ed4f808658c46 100644 (file)
@@ -85,7 +85,7 @@ dissect_ds_event(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
       if (length == 1)
         {
           proto_tree_add_item (event_tree, hf_ds_event_ch_id,
-                               tvb, pos, length, FALSE);
+                               tvb, pos, length, ENC_BIG_ENDIAN);
         }
       else
         {
@@ -130,7 +130,7 @@ dissect_us_event(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
       if (length == 1)
         {
           proto_tree_add_item (event_tree, hf_us_event_ch_id,
-                               tvb, pos, length, FALSE);
+                               tvb, pos, length, ENC_BIG_ENDIAN);
         }
       else
         {
@@ -180,7 +180,7 @@ dissect_cmctrl_tlv (tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree)
           if (length == 1)
             {
               proto_tree_add_item (tlv_tree, hf_cmctrl_tlv_mute,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -191,7 +191,7 @@ dissect_cmctrl_tlv (tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree)
           if (length == 4 || length == 1) /* response TLV always with len 1 */
             {
               proto_tree_add_item (tlv_tree, hf_cmctrl_tlv_mute_timeout,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -202,7 +202,7 @@ dissect_cmctrl_tlv (tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree)
           if (length == 1)
             {
               proto_tree_add_item (tlv_tree, hf_cmctrl_tlv_reinit,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -213,7 +213,7 @@ dissect_cmctrl_tlv (tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree)
           if (length == 1)
             {
               proto_tree_add_item (tlv_tree, hf_cmctrl_tlv_disable_fwd,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
index fcc9df194108cb999f6211e3e24e92caeb475e89..6f1c5535df50816a3327ef37c8dfadda92dbec9b 100644 (file)
@@ -660,7 +660,7 @@ dissect_phs_err (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (err_tree, hf_docsis_tlv_phs_err_param, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -671,7 +671,7 @@ dissect_phs_err (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (err_tree, hf_docsis_tlv_phs_err_code, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -710,7 +710,7 @@ dissect_phs (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
           if (length == 1)
             {
               proto_tree_add_item (phs_tree, hf_docsis_tlv_phs_class_ref, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -721,7 +721,7 @@ dissect_phs (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
           if (length == 2)
             {
               proto_tree_add_item (phs_tree, hf_docsis_tlv_phs_class_id, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -732,7 +732,7 @@ dissect_phs (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
           if (length == 2)
             {
               proto_tree_add_item (phs_tree, hf_docsis_tlv_phs_sflow_ref, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -743,7 +743,7 @@ dissect_phs (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
           if (length == 4)
             {
               proto_tree_add_item (phs_tree, hf_docsis_tlv_phs_sflow_id, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -754,7 +754,7 @@ dissect_phs (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
           if (length == 1)
             {
               proto_tree_add_item (phs_tree, hf_docsis_tlv_phs_dsc_action,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -771,7 +771,7 @@ dissect_phs (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
           if (length == 1)
             {
               proto_tree_add_item (phs_tree, hf_docsis_tlv_phs_phsi, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -786,7 +786,7 @@ dissect_phs (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
           if (length == 1)
             {
               proto_tree_add_item (phs_tree, hf_docsis_tlv_phs_phss, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -825,7 +825,7 @@ dissect_reqxmit_policy (tvbuff_t * tvb, proto_tree * tree, int start)
   value = tvb_get_ntohl (tvb, start);
   it =
     proto_tree_add_item (tree, hf_docsis_tlv_sflow_reqxmit_pol, tvb, start, 4,
-                         FALSE);
+                         ENC_BIG_ENDIAN);
   pol_tree = proto_item_add_subtree (it, ett_docsis_tlv_reqxmitpol);
 
   if (value & 0x01)
@@ -880,7 +880,7 @@ dissect_sflow_err (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (err_tree, hf_docsis_tlv_sflow_err_param,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -891,7 +891,7 @@ dissect_sflow_err (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (err_tree, hf_docsis_tlv_sflow_err_code,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -925,7 +925,7 @@ dissect_downstream_sflow (tvbuff_t * tvb, proto_tree * sflow_tree,
             {
               proto_tree_add_item (sflow_tree,
                                    hf_docsis_tlv_sflow_max_down_latency, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -956,7 +956,7 @@ dissect_upstream_sflow (tvbuff_t * tvb, proto_tree * sflow_tree,
             {
               proto_tree_add_item (sflow_tree,
                                    hf_docsis_tlv_sflow_max_concat_burst, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -968,7 +968,7 @@ dissect_upstream_sflow (tvbuff_t * tvb, proto_tree * sflow_tree,
           if (length == 1)
             {
               proto_tree_add_item (sflow_tree, hf_docsis_tlv_sflow_sched_type,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -983,7 +983,7 @@ dissect_upstream_sflow (tvbuff_t * tvb, proto_tree * sflow_tree,
             {
               proto_tree_add_item (sflow_tree,
                                    hf_docsis_tlv_sflow_nominal_polling, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -995,7 +995,7 @@ dissect_upstream_sflow (tvbuff_t * tvb, proto_tree * sflow_tree,
             {
               proto_tree_add_item (sflow_tree,
                                    hf_docsis_tlv_sflow_tolerated_jitter, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1006,7 +1006,7 @@ dissect_upstream_sflow (tvbuff_t * tvb, proto_tree * sflow_tree,
           if (length == 2)
             {
               proto_tree_add_item (sflow_tree, hf_docsis_tlv_sflow_ugs_size,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1018,7 +1018,7 @@ dissect_upstream_sflow (tvbuff_t * tvb, proto_tree * sflow_tree,
             {
               proto_tree_add_item (sflow_tree,
                                    hf_docsis_tlv_sflow_nom_grant_intvl, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1030,7 +1030,7 @@ dissect_upstream_sflow (tvbuff_t * tvb, proto_tree * sflow_tree,
             {
               proto_tree_add_item (sflow_tree,
                                    hf_docsis_tlv_sflow_tol_grant_jitter, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1042,7 +1042,7 @@ dissect_upstream_sflow (tvbuff_t * tvb, proto_tree * sflow_tree,
             {
               proto_tree_add_item (sflow_tree,
                                    hf_docsis_tlv_sflow_grants_per_intvl, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1054,7 +1054,7 @@ dissect_upstream_sflow (tvbuff_t * tvb, proto_tree * sflow_tree,
             {
               proto_tree_add_item (sflow_tree,
                                    hf_docsis_tlv_sflow_ip_tos_overwrite, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1066,7 +1066,7 @@ dissect_upstream_sflow (tvbuff_t * tvb, proto_tree * sflow_tree,
             {
               proto_tree_add_item (sflow_tree,
                                    hf_docsis_tlv_sflow_ugs_timeref, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1110,7 +1110,7 @@ dissect_sflow (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len,
           if (length == 2)
             {
               proto_tree_add_item (sflow_tree, hf_docsis_tlv_sflow_ref, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1121,7 +1121,7 @@ dissect_sflow (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len,
           if (length == 4)
             {
               proto_tree_add_item (sflow_tree, hf_docsis_tlv_sflow_id, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1132,7 +1132,7 @@ dissect_sflow (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len,
           if (length == 2)
             {
               proto_tree_add_item (sflow_tree, hf_docsis_tlv_sflow_sid, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1150,7 +1150,7 @@ dissect_sflow (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len,
           if (length == 1)
             {
               proto_tree_add_item (sflow_tree, hf_docsis_tlv_sflow_qos_param,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1161,7 +1161,7 @@ dissect_sflow (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len,
           if (length == 1)
             {
               proto_tree_add_item (sflow_tree, hf_docsis_tlv_sflow_traf_pri,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1172,7 +1172,7 @@ dissect_sflow (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len,
           if (length == 4)
             {
               proto_tree_add_item (sflow_tree, hf_docsis_tlv_sflow_max_sus,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1183,7 +1183,7 @@ dissect_sflow (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len,
           if (length == 4)
             {
               proto_tree_add_item (sflow_tree, hf_docsis_tlv_sflow_max_burst,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1194,7 +1194,7 @@ dissect_sflow (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len,
           if (length == 4)
             {
               proto_tree_add_item (sflow_tree, hf_docsis_tlv_sflow_min_traf,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1206,7 +1206,7 @@ dissect_sflow (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len,
             {
               proto_tree_add_item (sflow_tree,
                                    hf_docsis_tlv_sflow_ass_min_pkt_size, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1218,7 +1218,7 @@ dissect_sflow (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len,
             {
               proto_tree_add_item (sflow_tree,
                                    hf_docsis_tlv_sflow_timeout_active, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1230,7 +1230,7 @@ dissect_sflow (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len,
             {
               proto_tree_add_item (sflow_tree,
                                    hf_docsis_tlv_sflow_timeout_admitted, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1278,7 +1278,7 @@ dissect_dot1q_clsfr (tvbuff_t * tvb, proto_tree * tree, int start,
             {
               proto_tree_add_item (dot1qclsfr_tree,
                                    hf_docsis_tlv_dot1qclsfr_user_pri, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1290,7 +1290,7 @@ dissect_dot1q_clsfr (tvbuff_t * tvb, proto_tree * tree, int start,
             {
               proto_tree_add_item (dot1qclsfr_tree,
                                    hf_docsis_tlv_dot1qclsfr_vlanid, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1354,7 +1354,7 @@ dissect_eth_clsfr (tvbuff_t * tvb, proto_tree * tree, int start,
             {
               proto_tree_add_item (ethclsfr_tree,
                                    hf_docsis_tlv_ethclsfr_ethertype, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1392,13 +1392,13 @@ dissect_clsfr_err (tvbuff_t * tvb, proto_tree * tree, int start,
         case CFR_ERR_PARAM:
           if (length == 1)
             proto_tree_add_item (err_tree, hf_docsis_tlv_clsfr_err_param, tvb,
-                                 pos, length, FALSE);
+                                 pos, length, ENC_BIG_ENDIAN);
           else if (length == 2)
             {
               proto_tree_add_item (err_tree, hf_docsis_tlv_clsfr_err_param,
-                                   tvb, pos, 1, FALSE);
+                                   tvb, pos, 1, ENC_BIG_ENDIAN);
               proto_tree_add_item (err_tree, hf_docsis_tlv_clsfr_err_param,
-                                   tvb, pos + 1, 1, FALSE);
+                                   tvb, pos + 1, 1, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1409,7 +1409,7 @@ dissect_clsfr_err (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (err_tree, hf_docsis_tlv_clsfr_err_code,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1465,7 +1465,7 @@ dissect_ip_classifier (tvbuff_t * tvb, proto_tree * tree, int start,
             {
               proto_tree_add_item (ipclsfr_tree,
                                    hf_docsis_tlv_ipclsfr_ipproto, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1523,7 +1523,7 @@ dissect_ip_classifier (tvbuff_t * tvb, proto_tree * tree, int start,
             {
               proto_tree_add_item (ipclsfr_tree,
                                    hf_docsis_tlv_ipclsfr_sport_start, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1535,7 +1535,7 @@ dissect_ip_classifier (tvbuff_t * tvb, proto_tree * tree, int start,
             {
               proto_tree_add_item (ipclsfr_tree,
                                    hf_docsis_tlv_ipclsfr_sport_end, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1547,7 +1547,7 @@ dissect_ip_classifier (tvbuff_t * tvb, proto_tree * tree, int start,
             {
               proto_tree_add_item (ipclsfr_tree,
                                    hf_docsis_tlv_ipclsfr_dport_start, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1559,7 +1559,7 @@ dissect_ip_classifier (tvbuff_t * tvb, proto_tree * tree, int start,
             {
               proto_tree_add_item (ipclsfr_tree,
                                    hf_docsis_tlv_ipclsfr_dport_end, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1604,7 +1604,7 @@ dissect_classifiers (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (clsfr_tree, hf_docsis_tlv_clsfr_ref, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1615,7 +1615,7 @@ dissect_classifiers (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 2)
             {
               proto_tree_add_item (clsfr_tree, hf_docsis_tlv_clsfr_id, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1626,7 +1626,7 @@ dissect_classifiers (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 2)
             {
               proto_tree_add_item (clsfr_tree, hf_docsis_tlv_clsfr_sflow_ref,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1637,7 +1637,7 @@ dissect_classifiers (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 4)
             {
               proto_tree_add_item (clsfr_tree, hf_docsis_tlv_clsfr_sflow_id,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1648,7 +1648,7 @@ dissect_classifiers (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (clsfr_tree, hf_docsis_tlv_clsfr_rule_pri,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1670,7 +1670,7 @@ dissect_classifiers (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (clsfr_tree, hf_docsis_tlv_clsfr_dsc_act,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1725,7 +1725,7 @@ dissect_doc10cos (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (doc10cos_tree, hf_docsis_tlv_cos_id, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1736,7 +1736,7 @@ dissect_doc10cos (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 2)
             {
               proto_tree_add_item (doc10cos_tree, hf_docsis_tlv_cos_sid, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1784,7 +1784,7 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_docs_ver,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1861,9 +1861,9 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_8021P_filter,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_8021Q_filter,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1875,7 +1875,7 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
             {
               proto_tree_add_item (mcap_tree,
                                    hf_docsis_tlv_mcap_xmit_eq_taps_per_sym,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1908,7 +1908,7 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 2)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_ip_filters, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1919,7 +1919,7 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 2)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_llc_filters, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1941,13 +1941,13 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 4)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_rnghoff_cm, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_rnghoff_erouter, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_rnghoff_emta, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_rnghoff_estb, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1970,7 +1970,7 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_us_freq_range, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -1981,17 +1981,17 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_us_srate_160, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_us_srate_320, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_us_srate_640, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_us_srate_1280, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_us_srate_2560, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_us_srate_5120, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2024,7 +2024,7 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_mtc, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2035,7 +2035,7 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_512_msps_utc, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2046,7 +2046,7 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_256_msps_utc, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2057,7 +2057,7 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_total_sid_cluster, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2068,7 +2068,7 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_sid_per_sf, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2079,7 +2079,7 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_mrc, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2090,7 +2090,7 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_total_dsid, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2101,7 +2101,7 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_reseq_dsid, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2112,7 +2112,7 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_mc_dsid, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2123,7 +2123,7 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_mc_dsid_fwd, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2134,7 +2134,7 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_fctype_fwd, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2145,9 +2145,9 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_dpv_path, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_dpv_packet, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2158,7 +2158,7 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_ugs, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2180,7 +2180,7 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 2)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_udc, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2202,7 +2202,7 @@ dissect_modemcap (tvbuff_t * tvb, proto_tree * tree, int start,
           if (length == 1)
             {
               proto_tree_add_item (mcap_tree, hf_docsis_tlv_mcap_ext_us_trans_power, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2238,7 +2238,7 @@ dissect_cos (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
           if (length == 1)
             {
               proto_tree_add_item (cos_tree, hf_docsis_tlv_cos_id, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2249,7 +2249,7 @@ dissect_cos (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
           if (length == 4)
             {
               proto_tree_add_item (cos_tree, hf_docsis_tlv_cos_max_down, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2260,7 +2260,7 @@ dissect_cos (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
           if (length == 4)
             {
               proto_tree_add_item (cos_tree, hf_docsis_tlv_cos_max_up, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2271,7 +2271,7 @@ dissect_cos (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
           if (length == 1)
             {
               proto_tree_add_item (cos_tree, hf_docsis_tlv_cos_up_chnl_pri,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2282,7 +2282,7 @@ dissect_cos (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
           if (length == 4)
             {
               proto_tree_add_item (cos_tree, hf_docsis_tlv_cos_min_grntd_up,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2293,7 +2293,7 @@ dissect_cos (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len)
           if (length == 2)
             {
               proto_tree_add_item (cos_tree, hf_docsis_tlv_cos_max_up_burst,
-                                   tvb, pos, length, FALSE);
+                                   tvb, pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2329,13 +2329,13 @@ dissect_svc_unavail(tvbuff_t * tvb, proto_tree * tree, int pos, guint16 length)
   svc_unavail_tree = proto_item_add_subtree(svc_unavail_it, ett_docsis_tlv_svc_unavail );
   proto_tree_add_item (svc_unavail_tree,
                        hf_docsis_tlv_svc_unavail_classid, tvb,
-                       pos, 1, FALSE);
+                       pos, 1, ENC_BIG_ENDIAN);
   proto_tree_add_item (svc_unavail_tree,
                        hf_docsis_tlv_svc_unavail_type, tvb,
-                       pos+1, 1, FALSE);
+                       pos+1, 1, ENC_BIG_ENDIAN);
   proto_tree_add_item (svc_unavail_tree,
                        hf_docsis_tlv_svc_unavail_code, tvb,
-                       pos+2, 1, FALSE);
+                       pos+2, 1, ENC_BIG_ENDIAN);
 
 }
 
@@ -2395,7 +2395,7 @@ dissect_ds_ch_list_single (tvbuff_t * tvb, proto_tree * tree,
           if (length == 2)
             {
               proto_tree_add_item (single_tree, hf_docsis_tlv_single_ch_timeout, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2406,7 +2406,7 @@ dissect_ds_ch_list_single (tvbuff_t * tvb, proto_tree * tree,
           if (length == 4)
             {
               proto_tree_add_item (single_tree, hf_docsis_tlv_single_ch_freq, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2441,7 +2441,7 @@ dissect_ds_ch_list_range (tvbuff_t * tvb, proto_tree * tree,
           if (length == 2)
             {
               proto_tree_add_item (range_tree, hf_docsis_tlv_freq_rng_timeout, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2452,7 +2452,7 @@ dissect_ds_ch_list_range (tvbuff_t * tvb, proto_tree * tree,
           if (length == 4)
             {
               proto_tree_add_item (range_tree, hf_docsis_tlv_freq_rng_start, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2463,7 +2463,7 @@ dissect_ds_ch_list_range (tvbuff_t * tvb, proto_tree * tree,
           if (length == 4)
             {
               proto_tree_add_item (range_tree, hf_docsis_tlv_freq_rng_end, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2474,7 +2474,7 @@ dissect_ds_ch_list_range (tvbuff_t * tvb, proto_tree * tree,
           if (length == 4)
             {
               proto_tree_add_item (range_tree, hf_docsis_tlv_freq_rng_step, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2554,7 +2554,7 @@ dissect_ds_ch_list(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (dschlst_tree,
                                    hf_docsis_tlv_ds_ch_list_default_timeout, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2594,7 +2594,7 @@ dissect_tcc_err(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (tccerr_tree,
                                    hf_docsis_tcc_err_code, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2634,7 +2634,7 @@ dissect_tcc_rng_parms(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (rngparm_tree,
                                    hf_docsis_rng_parms_us_ch_id, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2670,7 +2670,7 @@ dissect_tcc_rng_parms(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (rngparm_tree,
                                    hf_docsis_rng_parms_power_off, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2682,7 +2682,7 @@ dissect_tcc_rng_parms(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (rngparm_tree,
                                    hf_docsis_rng_parms_freq_off, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2717,7 +2717,7 @@ dissect_sid_cl_so_crit(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (crit_tree,
                                    hf_docsis_sid_cl_so_max_req, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2729,7 +2729,7 @@ dissect_sid_cl_so_crit(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (crit_tree,
                                    hf_docsis_sid_cl_so_max_out_bytes, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2741,7 +2741,7 @@ dissect_sid_cl_so_crit(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (crit_tree,
                                    hf_docsis_sid_cl_so_max_req_bytes, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2753,7 +2753,7 @@ dissect_sid_cl_so_crit(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (crit_tree,
                                    hf_docsis_sid_cl_so_max_time, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2788,7 +2788,7 @@ dissect_sid_cl_enc_map(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (map_tree,
                                    hf_docsis_sid_cl_map_us_ch_id, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2800,7 +2800,7 @@ dissect_sid_cl_enc_map(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (map_tree,
                                    hf_docsis_sid_cl_map_sid, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2812,7 +2812,7 @@ dissect_sid_cl_enc_map(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (map_tree,
                                    hf_docsis_sid_cl_map_action, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2847,7 +2847,7 @@ dissect_sid_cl_enc(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (enc_tree,
                                    hf_docsis_sid_cl_enc_id, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2888,7 +2888,7 @@ dissect_sid_cl(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (sid_tree,
                                    hf_docsis_sid_cl_sf_id, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2932,7 +2932,7 @@ dissect_tcc(tvbuff_t * tvb, packet_info * pinfo _U_,
             {
               proto_tree_add_item (tcc_tree,
                                    hf_docsis_tlv_tcc_refid, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2944,7 +2944,7 @@ dissect_tcc(tvbuff_t * tvb, packet_info * pinfo _U_,
             {
               proto_tree_add_item (tcc_tree,
                                    hf_docsis_tlv_tcc_us_ch_action, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2956,7 +2956,7 @@ dissect_tcc(tvbuff_t * tvb, packet_info * pinfo _U_,
             {
               proto_tree_add_item (tcc_tree,
                                    hf_docsis_tlv_tcc_us_ch_id, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2968,7 +2968,7 @@ dissect_tcc(tvbuff_t * tvb, packet_info * pinfo _U_,
             {
               proto_tree_add_item (tcc_tree,
                                    hf_docsis_tlv_tcc_new_us_ch_id, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2984,7 +2984,7 @@ dissect_tcc(tvbuff_t * tvb, packet_info * pinfo _U_,
             {
               proto_tree_add_item (tcc_tree,
                                    hf_docsis_tlv_tcc_rng_sid, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -2996,7 +2996,7 @@ dissect_tcc(tvbuff_t * tvb, packet_info * pinfo _U_,
             {
               proto_tree_add_item (tcc_tree,
                                    hf_docsis_tlv_tcc_init_tech, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3011,7 +3011,7 @@ dissect_tcc(tvbuff_t * tvb, packet_info * pinfo _U_,
             {
               proto_tree_add_item (tcc_tree,
                                    hf_docsis_tlv_tcc_dyn_rng_win, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3049,7 +3049,7 @@ dissect_ch_bl_rng(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (chblrng_tree,
                                    hf_docsis_ch_bl_rng_min_ctr_freq, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3061,7 +3061,7 @@ dissect_ch_bl_rng(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (chblrng_tree,
                                    hf_docsis_ch_bl_rng_max_ctr_freq, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3096,7 +3096,7 @@ dissect_rcp_rcv_mod(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (rcvmod_tree,
                                    hf_docsis_rcv_mod_enc_idx, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3161,7 +3161,7 @@ dissect_rcp_rcv_ch(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (rcvch_tree,
                                    hf_docsis_rcv_ch_idx, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3178,7 +3178,7 @@ dissect_rcp_rcv_ch(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (rcvch_tree,
                                    hf_docsis_rcv_ch_conn_off, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3190,7 +3190,7 @@ dissect_rcp_rcv_ch(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (rcvch_tree,
                                    hf_docsis_rcv_ch_prim_ds_ch_ind, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3253,7 +3253,7 @@ dissect_rcp(tvbuff_t * tvb, packet_info * pinfo _U_,
             {
               proto_tree_add_item (rcp_tree,
                                    hf_docsis_tlv_rcp_freq_spc, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3298,7 +3298,7 @@ dissect_rcc_rcv_mod(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (rcvmod_tree,
                                    hf_docsis_rcc_rcv_mod_enc_idx, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3310,7 +3310,7 @@ dissect_rcc_rcv_mod(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (rcvmod_tree,
                                    hf_docsis_rcc_rcv_mod_enc_ctr_freq_asgn, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3350,7 +3350,7 @@ dissect_rcc_rcv_ch(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (rcvch_tree,
                                    hf_docsis_rcc_rcv_ch_idx, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3367,7 +3367,7 @@ dissect_rcc_rcv_ch(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (rcvch_tree,
                                    hf_docsis_rcc_rcv_ch_ctr_freq_asgn, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3379,7 +3379,7 @@ dissect_rcc_rcv_ch(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (rcvch_tree,
                                    hf_docsis_rcc_rcv_ch_prim_ds_ch_ind, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3414,7 +3414,7 @@ dissect_rcc_err(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (err_tree,
                                    hf_docsis_tlv_rcc_err_mod_or_ch, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3426,7 +3426,7 @@ dissect_rcc_err(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (err_tree,
                                    hf_docsis_tlv_rcc_err_idx, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3438,7 +3438,7 @@ dissect_rcc_err(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (err_tree,
                                    hf_docsis_tlv_rcc_err_param, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3450,7 +3450,7 @@ dissect_rcc_err(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (err_tree,
                                    hf_docsis_tlv_rcc_err_code, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3541,7 +3541,7 @@ dissect_dsid_ds_reseq(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (dsid_tree,
                                    hf_docsis_ds_reseq_dsid, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3558,7 +3558,7 @@ dissect_dsid_ds_reseq(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (dsid_tree,
                                    hf_docsis_ds_reseq_wait_time, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3570,7 +3570,7 @@ dissect_dsid_ds_reseq(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (dsid_tree,
                                    hf_docsis_ds_reseq_warn_thresh, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3582,7 +3582,7 @@ dissect_dsid_ds_reseq(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (dsid_tree,
                                    hf_docsis_ds_reseq_ho_timer, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3617,7 +3617,7 @@ dissect_dsid_mc_addr(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (dsid_tree,
                                    hf_docsis_mc_addr_action, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3703,7 +3703,7 @@ dissect_dsid(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (dsid_tree,
                                    hf_docsis_tlv_dsid_id, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3715,7 +3715,7 @@ dissect_dsid(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (dsid_tree,
                                    hf_docsis_tlv_dsid_action, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3756,7 +3756,7 @@ dissect_sec_assoc(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (sec_tree,
                                    hf_docsis_tlv_sec_assoc_action, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3803,7 +3803,7 @@ dissect_ch_asgn(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (asgn_tree,
                                    hf_docsis_ch_asgn_us_ch_id, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3815,7 +3815,7 @@ dissect_ch_asgn(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len)
             {
               proto_tree_add_item (asgn_tree,
                                    hf_docsis_ch_asgn_rx_freq, tvb, pos,
-                                   length, FALSE);
+                                   length, ENC_BIG_ENDIAN);
             }
           else
             {
@@ -3906,10 +3906,10 @@ dissect_tlv (tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree)
              * message type.  */
             if (length == 4)
               proto_tree_add_item (tlv_tree, hf_docsis_tlv_down_freq, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             else if (length == 1)
               proto_tree_add_item (tlv_tree, hf_docsis_tlv_rng_tech, tvb,
-                                   pos, length, FALSE);
+                                   pos, length, ENC_BIG_ENDIAN);
             else
               dissect_doc10cos (tvb, tlv_tree, pos, length);
             break;
@@ -3917,7 +3917,7 @@ dissect_tlv (tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree)
             if (length == 1)
               {
                 proto_tree_add_item (tlv_tree, hf_docsis_tlv_upstream_chid,
-                                     tvb, pos, length, FALSE);
+                                     tvb, pos, length, ENC_BIG_ENDIAN);
               }
             else
               {
@@ -4040,7 +4040,7 @@ dissect_tlv (tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree)
               {
                 proto_tree_add_item (tlv_tree,
                                      hf_docsis_tlv_tftp_server_timestamp,
-                                     tvb, pos, length, FALSE);
+                                     tvb, pos, length, ENC_BIG_ENDIAN);
               }
             else
               {
@@ -4238,7 +4238,7 @@ dissect_tlv (tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree)
             if (length == 2)
               {
                 proto_tree_add_item(tlv_tree, hf_docsis_tlv_init_ch_timeout,
-                                    tvb, pos, length, FALSE);
+                                    tvb, pos, length, ENC_BIG_ENDIAN);
               }
             else
               {
@@ -4252,7 +4252,7 @@ dissect_tlv (tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree)
             if (length == 1)
               {
                 proto_tree_add_item(tlv_tree, hf_docsis_tlv_cm_init_reason,
-                                    tvb, pos, length, FALSE);
+                                    tvb, pos, length, ENC_BIG_ENDIAN);
               }
             else
               {
@@ -4297,7 +4297,7 @@ dissect_tlv (tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree)
             if (length == 2)
               {
                 proto_tree_add_item (tlv_tree, hf_docsis_tlv_subs_mgmt_ctrl_max_cpe_ipv6,
-                                     tvb, pos, length, FALSE);
+                                     tvb, pos, length, ENC_BIG_ENDIAN);
               }
             else
               {
index 046fd4615aea64aa7493dc6fd15a7bd4421b46eb..8b778cd70e3d3b9d6827aee0fe3f74575b58cf7e 100644 (file)
@@ -224,13 +224,13 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "type29ucd Message");
       type29ucd_tree = proto_item_add_subtree (type29ucd_item, ett_docsis_type29ucd);
       proto_tree_add_item (type29ucd_tree, hf_docsis_type29ucd_upstream_chid, tvb, 0, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (type29ucd_tree, hf_docsis_type29ucd_config_ch_cnt, tvb, 1, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (type29ucd_tree, hf_docsis_type29ucd_mini_slot_size, tvb, 2, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
       proto_tree_add_item (type29ucd_tree, hf_docsis_type29ucd_down_chid, tvb, 3, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
 
       pos = 4;
       while (pos < len)
@@ -256,7 +256,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
              if (length == 4)
                {
                  proto_tree_add_item (type29ucd_tree, hf_docsis_type29ucd_frequency, tvb,
-                                      pos, length, FALSE);
+                                      pos, length, ENC_BIG_ENDIAN);
                  pos = pos + length;
                }
              else
@@ -415,7 +415,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                     length);
              burst_descr_tree = proto_item_add_subtree (it, ett_burst_descr);
              proto_tree_add_item (burst_descr_tree, hf_docsis_type29ucd_iuc, tvb,
-                                  pos++, 1, FALSE);
+                                  pos++, 1, ENC_BIG_ENDIAN);
              endtlvpos = pos + length - 1;
              while (pos < endtlvpos)
                {
@@ -428,7 +428,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_burst_mod_type, tvb,
-                                              pos, tlvlen, FALSE);
+                                              pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -440,7 +440,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_burst_diff_encoding,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -452,7 +452,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_burst_preamble_len,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -464,7 +464,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_burst_preamble_val_off,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -488,7 +488,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_burst_fec_codeword,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -500,7 +500,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_burst_scrambler_seed,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -512,7 +512,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_burst_max_burst, tvb,
-                                              pos, tlvlen, FALSE);
+                                              pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -524,7 +524,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_burst_guard_time,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -536,7 +536,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_burst_last_cw_len,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -548,7 +548,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                         {
                            proto_tree_add_item (burst_descr_tree,
                                                 hf_docsis_burst_scrambler_onoff,
-                                                tvb, pos, tlvlen, FALSE);
+                                                tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                         }
                       else
                         {
@@ -567,7 +567,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                     length);
              burst_descr_tree = proto_item_add_subtree (it, ett_burst_descr);
              proto_tree_add_item (burst_descr_tree, hf_docsis_type29ucd_iuc, tvb,
-                                  pos++, 1, FALSE);
+                                  pos++, 1, ENC_BIG_ENDIAN);
              endtlvpos = pos + length - 1;
              while (pos < endtlvpos)
                {
@@ -580,7 +580,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_burst_mod_type, tvb,
-                                              pos, tlvlen, FALSE);
+                                              pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -592,7 +592,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_burst_diff_encoding,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -604,7 +604,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_burst_preamble_len,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -616,7 +616,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_burst_preamble_val_off,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -640,7 +640,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_burst_fec_codeword,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -652,7 +652,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_burst_scrambler_seed,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -664,7 +664,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_burst_max_burst, tvb,
-                                              pos, tlvlen, FALSE);
+                                              pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -676,7 +676,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_burst_guard_time,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -688,7 +688,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_burst_last_cw_len,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -700,7 +700,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_burst_scrambler_onoff,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -721,7 +721,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_rs_int_depth,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -733,7 +733,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_rs_int_block,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -745,7 +745,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_preamble_type,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -757,7 +757,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_scdma_scrambler_onoff,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -769,7 +769,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_scdma_codes_per_subframe,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -781,7 +781,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_scdma_framer_int_step_size,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
@@ -793,7 +793,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                        {
                          proto_tree_add_item (burst_descr_tree,
                                               hf_docsis_tcm_enabled,
-                                              tvb, pos, tlvlen, FALSE);
+                                              tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                        }
                      else
                        {
index c6bd21c676cb121a72e50189dbe329108dabdf1a..8e9f4f2152b3357e95704c91944f2ae28ac3630c 100644 (file)
@@ -62,7 +62,7 @@ dissect_uccreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "UCC Request");
       uccreq_tree = proto_item_add_subtree (it, ett_docsis_uccreq);
       proto_tree_add_item (uccreq_tree, hf_docsis_uccreq_upchid, tvb, 0, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
 
     }
     /* call dissector for Appendix C TLV's */
index 0006ebe56160581e9ada8238d6b1e58208298cde..c2676439e32b917936c1c15b31dcdc5566f57b1c 100644 (file)
@@ -60,7 +60,7 @@ dissect_uccrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                        "UCC Response");
       uccrsp_tree = proto_item_add_subtree (it, ett_docsis_uccrsp);
       proto_tree_add_item (uccrsp_tree, hf_docsis_uccrsp_upchid, tvb, 0, 1,
-                          FALSE);
+                          ENC_BIG_ENDIAN);
     }
 
 }
index 06e44185ebd730fd54cd37d25858244f08db722a..e3949f47815fc3324fa9956f71235f2440dcd48f 100644 (file)
@@ -188,13 +188,13 @@ static void
                                        "UCD Message");
        ucd_tree = proto_item_add_subtree (ucd_item, ett_docsis_ucd);
        proto_tree_add_item (ucd_tree, hf_docsis_ucd_upstream_chid, tvb, 0, 1,
-                            FALSE);
+                            ENC_BIG_ENDIAN);
        proto_tree_add_item (ucd_tree, hf_docsis_ucd_config_ch_cnt, tvb, 1, 1,
-                            FALSE);
+                            ENC_BIG_ENDIAN);
        proto_tree_add_item (ucd_tree, hf_docsis_ucd_mini_slot_size, tvb, 2, 1,
-                            FALSE);
+                            ENC_BIG_ENDIAN);
        proto_tree_add_item (ucd_tree, hf_docsis_ucd_down_chid, tvb, 3, 1,
-                            FALSE);
+                            ENC_BIG_ENDIAN);
        
        pos = 4;
        while (pos < len)
@@ -232,7 +232,7 @@ static void
                  if (length == 4)
                    {
                       proto_tree_add_item (tlv_tree, hf_docsis_ucd_frequency, tvb,
-                                           pos, length, FALSE);
+                                           pos, length, ENC_BIG_ENDIAN);
                       pos = pos + length;
                    }
                  else
@@ -247,7 +247,7 @@ static void
                  break;
                case UCD_BURST_DESCR:
                  proto_tree_add_item (tlv_tree, hf_docsis_ucd_iuc, tvb,
-                                      pos++, 1, FALSE);
+                                      pos++, 1, ENC_BIG_ENDIAN);
                  endtlvpos = pos + length - 1;
                  while (pos < endtlvpos)
                    {
@@ -260,7 +260,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_mod_type, tvb,
-                                                     pos, tlvlen, FALSE);
+                                                     pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -272,7 +272,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_diff_encoding,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -284,7 +284,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_preamble_len,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -296,7 +296,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_preamble_val_off,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -320,7 +320,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_fec_codeword,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -332,7 +332,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_scrambler_seed,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -344,7 +344,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_max_burst, tvb,
-                                                     pos, tlvlen, FALSE);
+                                                     pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -356,7 +356,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_guard_time,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -368,7 +368,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_last_cw_len,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -380,7 +380,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_scrambler_onoff,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -394,7 +394,7 @@ static void
                case UCD_BURST_DESCR5:
                  /* DOCSIS 2.0 Upstream Channel Descriptor */
                  proto_tree_add_item (tlv_tree, hf_docsis_ucd_iuc, tvb,
-                                      pos++, 1, FALSE);
+                                      pos++, 1, ENC_BIG_ENDIAN);
                  endtlvpos = pos + length - 1;
                  while (pos < endtlvpos)
                    {
@@ -407,7 +407,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_mod_type, tvb,
-                                                     pos, tlvlen, FALSE);
+                                                     pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -419,7 +419,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_diff_encoding,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -431,7 +431,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_preamble_len,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -443,7 +443,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_preamble_val_off,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -467,7 +467,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_fec_codeword,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -479,7 +479,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_scrambler_seed,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -491,7 +491,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_max_burst, tvb,
-                                                     pos, tlvlen, FALSE);
+                                                     pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -503,7 +503,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_guard_time,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -515,7 +515,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_last_cw_len,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -527,7 +527,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_burst_scrambler_onoff,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -548,7 +548,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_rs_int_depth,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -560,7 +560,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_rs_int_block,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -572,7 +572,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_preamble_type,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -584,7 +584,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_scdma_scrambler_onoff,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -596,7 +596,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_scdma_codes_per_subframe,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -608,7 +608,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_scdma_framer_int_step_size,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
@@ -620,7 +620,7 @@ static void
                              {
                                 proto_tree_add_item (tlv_tree,
                                                      hf_docsis_tcm_enabled,
-                                                     tvb, pos, tlvlen, FALSE);
+                                                     tvb, pos, tlvlen, ENC_BIG_ENDIAN);
                              }
                            else
                              {
index e53c25123f24628bacf869e0d690040b3bd72818..635b0dce9b031b8c87e36802389322570ddd25df 100644 (file)
@@ -120,7 +120,7 @@ dissect_vsif (tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree)
         proto_tree_add_protocol_format (tree, proto_docsis_vsif, tvb, 0, -1,
                                         "VSIF Encodings");
       vsif_tree = proto_item_add_subtree (it, ett_docsis_vsif);
-      proto_tree_add_item (vsif_tree, hf_docsis_vsif_vendorid, tvb, 2, 3, FALSE);
+      proto_tree_add_item (vsif_tree, hf_docsis_vsif_vendorid, tvb, 2, 3, ENC_BIG_ENDIAN);
 
       /* switch on the Vendor ID */
       switch (value)
@@ -169,7 +169,7 @@ dissect_cisco (tvbuff_t * tvb, proto_tree * tree, gint vsif_len)
         {
         case NUM_PHONES:
           proto_tree_add_item (tree, hf_docsis_vsif_cisco_numphones, tvb,
-                               pos, length, FALSE);
+                               pos, length, ENC_BIG_ENDIAN);
           break;
         case IP_PREC:
           ipprec_it =
@@ -189,14 +189,14 @@ dissect_cisco (tvbuff_t * tvb, proto_tree * tree, gint vsif_len)
                     THROW (ReportedBoundsError);
                   proto_tree_add_item (ipprec_tree,
                                        hf_docsis_vsif_cisco_ipprec_val, tvb,
-                                       pos, length, FALSE);
+                                       pos, length, ENC_BIG_ENDIAN);
                   break;
                 case IP_PREC_BW:
                   if (length != 4)
                     THROW (ReportedBoundsError);
                   proto_tree_add_item (ipprec_tree,
                                        hf_docsis_vsif_cisco_ipprec_bw, tvb,
-                                       pos, length, FALSE);
+                                       pos, length, ENC_BIG_ENDIAN);
                   break;
                 default:
                   THROW (ReportedBoundsError);
index 962b5e2555c7cb990a1de4dc283c1e4f4d5a840e..8173328e3c171f2a0ae035e4c7404e5bd2ed1143 100644 (file)
@@ -412,21 +412,21 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
      proto_tree_add_string(ams_tree, hf_ams_targetnetid, tvb, offset, AmsNetId_Len, szText);
      offset += AmsNetId_Len;
 
-     proto_tree_add_item(ams_tree, hf_ams_targetport, tvb, offset, sizeof(guint16), TRUE);
+     proto_tree_add_item(ams_tree, hf_ams_targetport, tvb, offset, sizeof(guint16), ENC_LITTLE_ENDIAN);
      offset += sizeof(guint16);
 
      NetIdFormater(tvb, offset, szText, nMax);
      proto_tree_add_string(ams_tree, hf_ams_sendernetid, tvb, offset, AmsNetId_Len, szText);
      offset += AmsNetId_Len;
 
-     proto_tree_add_item(ams_tree, hf_ams_senderport, tvb, offset, sizeof(guint16), TRUE);
+     proto_tree_add_item(ams_tree, hf_ams_senderport, tvb, offset, sizeof(guint16), ENC_LITTLE_ENDIAN);
      offset += sizeof(guint16);
 
-     proto_tree_add_item(ams_tree, hf_ams_cmdid, tvb, offset, sizeof(guint16), TRUE);
+     proto_tree_add_item(ams_tree, hf_ams_cmdid, tvb, offset, sizeof(guint16), ENC_LITTLE_ENDIAN);
      cmdId = tvb_get_letohs(tvb, offset);
      offset+=sizeof(guint16);
 
-     anItem = proto_tree_add_item(ams_tree, hf_ams_stateflags, tvb, offset, sizeof(guint16), TRUE);
+     anItem = proto_tree_add_item(ams_tree, hf_ams_stateflags, tvb, offset, sizeof(guint16), ENC_LITTLE_ENDIAN);
      ams_statetree = proto_item_add_subtree(anItem, ett_ams_stateflags);
      proto_tree_add_item(ams_statetree, hf_ams_stateresponse,tvb, offset, sizeof(guint16), TRUE);
      proto_tree_add_item(ams_statetree, hf_ams_statenoreturn,tvb, offset, sizeof(guint16), TRUE);
@@ -440,13 +440,13 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
      stateflags = tvb_get_letohs(tvb, offset);
      offset+=sizeof(guint16);
 
-     proto_tree_add_item(ams_tree, hf_ams_cbdata, tvb, offset, sizeof(guint32), TRUE);
+     proto_tree_add_item(ams_tree, hf_ams_cbdata, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
      offset+=sizeof(guint32);
 
-     proto_tree_add_item(ams_tree, hf_ams_errorcode, tvb, offset, sizeof(guint32),TRUE);
+     proto_tree_add_item(ams_tree, hf_ams_errorcode, tvb, offset, sizeof(guint32),ENC_LITTLE_ENDIAN);
      offset+=sizeof(guint32);
 
-     proto_tree_add_item(ams_tree, hf_ams_invokeid, tvb, offset, sizeof(guint32), TRUE);
+     proto_tree_add_item(ams_tree, hf_ams_invokeid, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
      offset+=sizeof(guint32);
   }
   else
@@ -472,13 +472,13 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                  if( ams_length-offset >= TAdsReadReq_Len )
                  {
                     ams_adstree = proto_item_add_subtree(anItem, ett_ams_adsreadrequest);
-                    proto_tree_add_item(ams_adstree, hf_ams_adsindexgroup, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsindexgroup, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adsindexoffset, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsindexoffset, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adscblength, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adscblength, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
                  }
               }
@@ -494,13 +494,13 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                  if( ams_length-offset >= TAdsWriteReq_Len - sizeof(guint16) )
                  {
                     ams_adstree = proto_item_add_subtree(anItem, ett_ams_adswriterequest);
-                    proto_tree_add_item(ams_adstree, hf_ams_adsindexgroup, tvb, offset, 4, TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsindexgroup, tvb, offset, 4, ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adsindexoffset, tvb, offset, 4, TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsindexoffset, tvb, offset, 4, ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adscblength, tvb, offset, 4, TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adscblength, tvb, offset, 4, ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
                     proto_tree_add_item(ams_adstree, hf_ams_adsdata, tvb, offset, ams_length-offset, ENC_NA);
@@ -518,16 +518,16 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                  if( ams_length-offset >= TAdsReadWriteReq_Len - sizeof(guint16))
                  {
                     ams_adstree = proto_item_add_subtree(anItem, ett_ams_adsreadwriterequest);
-                    proto_tree_add_item(ams_adstree, hf_ams_adsindexgroup, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsindexgroup, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adsindexoffset, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsindexoffset, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adscbreadlength, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adscbreadlength, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adscbwritelength, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adscbwritelength, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
                     proto_tree_add_item(ams_adstree, hf_ams_adsdata, tvb, offset+16, ams_length-offset, ENC_NA);
@@ -545,7 +545,7 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                  if( ams_length-offset >= TAdsReadStateReq_Len )
                  {
                     ams_adstree = proto_item_add_subtree(anItem, ett_ams_adsreadstaterequest);
-                    proto_tree_add_item(ams_adstree, hf_ams_adsinvokeid, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsinvokeid, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                  }
               }
            }
@@ -560,13 +560,13 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                  if( ams_length-offset >= TAdsWriteControlReq_Len - sizeof(guint16) )
                  {
                     ams_adstree = proto_item_add_subtree(anItem, ett_ams_adswritectrlrequest);
-                    proto_tree_add_item(ams_adstree, hf_ams_adsstate, tvb, offset, 2, TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsstate, tvb, offset, 2, ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint16);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adsdevicestate, tvb, offset, 2, TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsdevicestate, tvb, offset, 2, ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint16);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adscblength, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adscblength, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
                     proto_tree_add_item(ams_adstree, hf_ams_adsdata, tvb, offset, ams_length-offset, ENC_NA);
@@ -584,7 +584,7 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                  if( ams_length-offset >= TAdsReadDeviceInfoReq_Len )
                  {
                     ams_adstree = proto_item_add_subtree(anItem, ett_ams_adsreaddinforequest);
-                    proto_tree_add_item(ams_adstree, hf_ams_adsresult, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsresult, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                  }
               }
            }
@@ -599,22 +599,22 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                  if( ams_length-offset >= TAdsAddDeviceNotificationReq_Len )
                  {
                     ams_adstree = proto_item_add_subtree(anItem, ett_ams_adsadddnrequest);
-                    proto_tree_add_item(ams_adstree, hf_ams_adsindexgroup, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsindexgroup, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adsindexoffset, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsindexoffset, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adscblength, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adscblength, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adstransmode, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adstransmode, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adsmaxdelay, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsmaxdelay, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adscycletime, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adscycletime, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
                  }
               }
@@ -630,7 +630,7 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                  if( ams_length-offset >= TAdsDelDeviceNotificationReq_Len )
                  {
                     ams_adstree = proto_item_add_subtree(anItem, ett_ams_adsdeldnrequest);
-                    proto_tree_add_item(ams_adstree, hf_ams_adsnotificationhandle, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsnotificationhandle, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                  }
               }
            }
@@ -648,11 +648,11 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                  if( ams_length-offset >= TAdsDeviceNotificationReq_Len )
                  {
                     ams_adstree = proto_item_add_subtree(anItem, ett_ams_adsdnrequest);
-                    proto_tree_add_item(ams_adstree, hf_ams_adscblength, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adscblength, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     /*cbLength = tvb_get_letohs(tvb, offset);*/
                     offset+=sizeof(guint32);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adsnoteblocksstamps, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsnoteblocksstamps, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     /*nStamps = tvb_get_letohs(tvb, offset);*/
                     offset+=sizeof(guint32);
 
@@ -678,10 +678,10 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                  if( ams_length-offset >= TAdsReadRes_Len - sizeof(guint16) )
                  {
                     ams_adstree = proto_item_add_subtree(anItem, ett_ams_adsreadresponse);
-                    proto_tree_add_item(ams_adstree, hf_ams_adsresult, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsresult, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adscblength, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adscblength, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
                     proto_tree_add_item(ams_adstree, hf_ams_adsdata, tvb, offset, ams_length-offset, ENC_NA);
@@ -699,7 +699,7 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                  if( ams_length-offset >= TAdsWriteRes_Len )
                  {
                     ams_adstree = proto_item_add_subtree(anItem, ett_ams_adswriteresponse);
-                    proto_tree_add_item(ams_adstree, hf_ams_adsresult, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsresult, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                  }
               }
            }
@@ -714,10 +714,10 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                  if( ams_length-offset >= TAdsReadWriteRes_Len - sizeof(guint16) )
                  {
                     ams_adstree = proto_item_add_subtree(anItem, ett_ams_adsreadwriteresponse);
-                    proto_tree_add_item(ams_adstree, hf_ams_adsresult, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsresult, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adscblength, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adscblength, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
                     proto_tree_add_item(ams_adstree, hf_ams_adsdata, tvb, offset, ams_length-offset, ENC_NA);
@@ -735,13 +735,13 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                  if( ams_length-offset >= TAdsReadStateRes_Len )
                  {
                     ams_adstree = proto_item_add_subtree(anItem, ett_ams_adsreadstateresponse);
-                    proto_tree_add_item(ams_adstree, hf_ams_adsresult, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsresult, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adsstate, tvb, offset, sizeof(guint16), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsstate, tvb, offset, sizeof(guint16), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adsdevicestate, tvb, offset, sizeof(guint16), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsdevicestate, tvb, offset, sizeof(guint16), ENC_LITTLE_ENDIAN);
                  }
               }
            }
@@ -756,7 +756,7 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                  if( ams_length-offset >= TAdsWriteControlRes_Len )
                  {
                     ams_adstree = proto_item_add_subtree(anItem, ett_ams_adswritectrlresponse);
-                    proto_tree_add_item(ams_adstree, hf_ams_adsresult, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsresult, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                  }
               }
            }
@@ -771,12 +771,12 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                  if( ams_length-offset >= TAdsReadDeviceInfoRes_Len )
                  {
                     ams_adstree = proto_item_add_subtree(anItem, ett_ams_adsreaddinforesponse);
-                    proto_tree_add_item(ams_adstree, hf_ams_adsresult, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsresult, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adsversionversion, tvb, offset++, sizeof(guint8), TRUE);
-                    proto_tree_add_item(ams_adstree, hf_ams_adsversionrevision, tvb, offset++, sizeof(guint8), TRUE);
-                    proto_tree_add_item(ams_adstree, hf_ams_adsversionbuild, tvb, offset, sizeof(guint16), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsversionversion, tvb, offset++, sizeof(guint8), ENC_LITTLE_ENDIAN);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsversionrevision, tvb, offset++, sizeof(guint8), ENC_LITTLE_ENDIAN);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsversionbuild, tvb, offset, sizeof(guint16), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint16);
 
                     proto_tree_add_item(ams_adstree, hf_ams_adsdevicename, tvb, offset, ams_length-offset, TRUE);
@@ -794,10 +794,10 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                  if( ams_length-offset >= TAdsAddDeviceNotificationRes_Len )
                  {
                     ams_adstree = proto_item_add_subtree(anItem, ett_ams_adsadddnresponse);
-                    proto_tree_add_item(ams_adstree, hf_ams_adsresult, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsresult, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                     offset+=sizeof(guint32);
 
-                    proto_tree_add_item(ams_adstree, hf_ams_adsnotificationhandle, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsnotificationhandle, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                  }
               }
            }
@@ -812,7 +812,7 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                  if( ams_length-offset >= TAdsDelDeviceNotificationRes_Len )
                  {
                     ams_adstree = proto_item_add_subtree(anItem, ett_ams_adsdeldnresponse);
-                    proto_tree_add_item(ams_adstree, hf_ams_adsresult, tvb, offset, sizeof(guint32), TRUE);
+                    proto_tree_add_item(ams_adstree, hf_ams_adsresult, tvb, offset, sizeof(guint32), ENC_LITTLE_ENDIAN);
                  }
               }
            }
index b0a5db99fa248f7455c3e2fdecfe69a9ae1188b6..48bf219f015da7d0f4966f3655e560a6c9f0c78a 100644 (file)
@@ -650,7 +650,7 @@ static void dissect_ecat_coe(tvbuff_t *tvb, gint offset, packet_info *pinfo, pro
                switch ( sdo.anSdoHeaderUnion.Idq.Ccs )
                {
                case SDO_CCS_INITIATE_DOWNLOAD:
-                  anItem = proto_tree_add_item(ecat_sdo_tree, hf_ecat_mailbox_coe_sdoccsid, tvb, offset, 1, TRUE);
+                  anItem = proto_tree_add_item(ecat_sdo_tree, hf_ecat_mailbox_coe_sdoccsid, tvb, offset, 1, ENC_LITTLE_ENDIAN);
                   ecat_coe_sdoccs_tree = proto_item_add_subtree(anItem, ett_ecat_mailbox_coe_sdoccs);
                   proto_tree_add_item(ecat_coe_sdoccs_tree, hf_ecat_mailbox_coe_sdoccsid_sizeind, tvb, offset, 1, TRUE);
                   proto_tree_add_item(ecat_coe_sdoccs_tree, hf_ecat_mailbox_coe_sdoccsid_expedited, tvb, offset, 1, TRUE);
@@ -658,12 +658,12 @@ static void dissect_ecat_coe(tvbuff_t *tvb, gint offset, packet_info *pinfo, pro
                   proto_tree_add_item(ecat_coe_sdoccs_tree, hf_ecat_mailbox_coe_sdoccsid_size1, tvb, offset, 1, TRUE);
                   proto_tree_add_item(ecat_coe_sdoccs_tree, hf_ecat_mailbox_coe_sdoccsid_complete, tvb, offset, 1, TRUE);
 
-                  proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdoidx, tvb, offset+1, 2, TRUE);
-                  proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdosub, tvb, offset+3, 1, TRUE);
+                  proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdoidx, tvb, offset+1, 2, ENC_LITTLE_ENDIAN);
+                  proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdosub, tvb, offset+3, 1, ENC_LITTLE_ENDIAN);
                   if ( sdo.anSdoHeaderUnion.Idq.SizeInd && !sdo.anSdoHeaderUnion.Idq.Expedited )
                   {
                      len = coe_length - ETHERCAT_COE_HEADER_LEN - ETHERCAT_SDO_HEADER_LEN;
-                     proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdolength, tvb, offset+4, 4, TRUE);
+                     proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdolength, tvb, offset+4, 4, ENC_LITTLE_ENDIAN);
                      offset+=ETHERCAT_SDO_HEADER_LEN;
                      if ( len > 0 )
                         proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdoldata, tvb, offset, len, ENC_NA);
@@ -671,27 +671,27 @@ static void dissect_ecat_coe(tvbuff_t *tvb, gint offset, packet_info *pinfo, pro
                   else
                   {
                      if ( sdo.anSdoHeaderUnion.Idq.Size == 3 )
-                        proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdodata1, tvb, offset+4, 1, TRUE);
+                        proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdodata1, tvb, offset+4, 1, ENC_LITTLE_ENDIAN);
                      else if ( sdo.anSdoHeaderUnion.Idq.Size == 2 )
-                        proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdodata2, tvb, offset+4, 2, TRUE);
+                        proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdodata2, tvb, offset+4, 2, ENC_LITTLE_ENDIAN);
                      else
-                        proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdodata, tvb, offset+4, 4, TRUE);
+                        proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdodata, tvb, offset+4, 4, ENC_LITTLE_ENDIAN);
                   }
                   break;
                case SDO_CCS_INITIATE_UPLOAD:
-                  anItem = proto_tree_add_item(ecat_sdo_tree, hf_ecat_mailbox_coe_sdoccsiu, tvb, offset, 1, TRUE);
+                  anItem = proto_tree_add_item(ecat_sdo_tree, hf_ecat_mailbox_coe_sdoccsiu, tvb, offset, 1, ENC_LITTLE_ENDIAN);
                   ecat_coe_sdoccs_tree = proto_item_add_subtree(anItem, ett_ecat_mailbox_coe_sdoccs);
                   proto_tree_add_item(ecat_coe_sdoccs_tree, hf_ecat_mailbox_coe_sdoccsid_complete, tvb, offset, 1, TRUE);
 
-                  proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdoidx, tvb, offset+1, 2, TRUE);
-                  proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdosub, tvb, offset+3, 1, TRUE);
+                  proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdoidx, tvb, offset+1, 2, ENC_LITTLE_ENDIAN);
+                  proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdosub, tvb, offset+3, 1, ENC_LITTLE_ENDIAN);
 
                   break;
                case SDO_CCS_DOWNLOAD_SEGMENT:
-                  anItem = proto_tree_add_item(ecat_sdo_tree, hf_ecat_mailbox_coe_sdoccsds, tvb, offset, 1, TRUE);
+                  anItem = proto_tree_add_item(ecat_sdo_tree, hf_ecat_mailbox_coe_sdoccsds, tvb, offset, 1, ENC_LITTLE_ENDIAN);
                   ecat_coe_sdoccs_tree = proto_item_add_subtree(anItem, ett_ecat_mailbox_coe_sdoccs);
                   proto_tree_add_item(ecat_coe_sdoccs_tree, hf_ecat_mailbox_coe_sdoccsds_lastseg, tvb, offset, 1, TRUE);
-                  proto_tree_add_item(ecat_coe_sdoccs_tree, hf_ecat_mailbox_coe_sdoccsds_size, tvb, offset, 1, TRUE);
+                  proto_tree_add_item(ecat_coe_sdoccs_tree, hf_ecat_mailbox_coe_sdoccsds_size, tvb, offset, 1, ENC_LITTLE_ENDIAN);
                   proto_tree_add_item(ecat_coe_sdoccs_tree, hf_ecat_mailbox_coe_sdoccsds_toggle, tvb, offset, 1, TRUE);
                   offset+=1;
 
@@ -702,12 +702,12 @@ static void dissect_ecat_coe(tvbuff_t *tvb, gint offset, packet_info *pinfo, pro
                   }
                   break;
                case SDO_CCS_UPLOAD_SEGMENT:
-                  anItem = proto_tree_add_item(ecat_sdo_tree, hf_ecat_mailbox_coe_sdoccsus, tvb, offset, 1, TRUE);
+                  anItem = proto_tree_add_item(ecat_sdo_tree, hf_ecat_mailbox_coe_sdoccsus, tvb, offset, 1, ENC_LITTLE_ENDIAN);
                   ecat_coe_sdoccs_tree = proto_item_add_subtree(anItem, ett_ecat_mailbox_coe_sdoccs);
                   proto_tree_add_item(ecat_coe_sdoccs_tree, hf_ecat_mailbox_coe_sdoccsus_toggle, tvb, offset, 1, TRUE);
                   break;
                case SDO_CCS_ABORT_TRANSFER:
-                  proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdoidx, tvb, offset+4, 4, TRUE);
+                  proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdoidx, tvb, offset+4, 4, ENC_LITTLE_ENDIAN);
                   break;
                }
             }
@@ -737,11 +737,11 @@ static void dissect_ecat_coe(tvbuff_t *tvb, gint offset, packet_info *pinfo, pro
                switch ( sdo.anSdoHeaderUnion.Ids.Scs )
                {
                case SDO_SCS_INITIATE_DOWNLOAD:
-                  proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdoidx, tvb, offset+1, 2, TRUE);
-                  proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdosub, tvb, offset+3, 1, TRUE);
+                  proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdoidx, tvb, offset+1, 2, ENC_LITTLE_ENDIAN);
+                  proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdosub, tvb, offset+3, 1, ENC_LITTLE_ENDIAN);
                   break;
                case SDO_SCS_INITIATE_UPLOAD:
-                  anItem = proto_tree_add_item(ecat_sdo_tree, hf_ecat_mailbox_coe_sdoscsiu, tvb, offset, 1, TRUE);
+                  anItem = proto_tree_add_item(ecat_sdo_tree, hf_ecat_mailbox_coe_sdoscsiu, tvb, offset, 1, ENC_LITTLE_ENDIAN);
                   ecat_coe_sdoscs_tree = proto_item_add_subtree(anItem, ett_ecat_mailbox_coe_sdoscs);
                   proto_tree_add_item(ecat_coe_sdoscs_tree, hf_ecat_mailbox_coe_sdoscsiu_sizeind, tvb, offset, 1, TRUE);
                   proto_tree_add_item(ecat_coe_sdoscs_tree, hf_ecat_mailbox_coe_sdoscsiu_expedited, tvb, offset, 1, TRUE);
@@ -749,33 +749,33 @@ static void dissect_ecat_coe(tvbuff_t *tvb, gint offset, packet_info *pinfo, pro
                   proto_tree_add_item(ecat_coe_sdoscs_tree, hf_ecat_mailbox_coe_sdoscsiu_size1, tvb, offset, 1, TRUE);
                   proto_tree_add_item(ecat_coe_sdoscs_tree, hf_ecat_mailbox_coe_sdoscsiu_complete, tvb, offset, 1, TRUE);
 
-                  proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdoidx, tvb, offset+1, 2, TRUE);
-                  proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdosub, tvb, offset+3, 1, TRUE);
+                  proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdoidx, tvb, offset+1, 2, ENC_LITTLE_ENDIAN);
+                  proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdosub, tvb, offset+3, 1, ENC_LITTLE_ENDIAN);
                   if ( sdo.anSdoHeaderUnion.Ius.SizeInd && !sdo.anSdoHeaderUnion.Ius.Expedited )
                   {
                      len = coe_length - ETHERCAT_COE_HEADER_LEN - ETHERCAT_SDO_HEADER_LEN;
-                     proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdolength, tvb, offset+4, 4, TRUE);
+                     proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdolength, tvb, offset+4, 4, ENC_LITTLE_ENDIAN);
                      offset+=ETHERCAT_SDO_HEADER_LEN;
                      if ( len > 0 )
                         proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdoldata, tvb, offset, len, ENC_NA);
                   }
                   else if ( sdo.anSdoHeaderUnion.Ius.SizeInd && sdo.anSdoHeaderUnion.Ius.Expedited && sdo.anSdoHeaderUnion.Ius.Size == 3 )
-                     proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdodata1, tvb, offset+4, 1, TRUE);
+