Use ENC_NA as encoding for proto_tree_add_item() calls which directly reference an...
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 4 Oct 2011 22:44:31 +0000 (22:44 +0000)
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 4 Oct 2011 22:44:31 +0000 (22:44 +0000)
   FT_NONE
   FT_BYTES
   FT_IPV6
   FT_IPXNET
   FT_OID

Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN

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

293 files changed:
epan/dissectors/packet-2dparityfec.c
epan/dissectors/packet-3com-njack.c
epan/dissectors/packet-aim-generic.c
epan/dissectors/packet-aim-messaging.c
epan/dissectors/packet-aim-sst.c
epan/dissectors/packet-airopeek.c
epan/dissectors/packet-alcap.c
epan/dissectors/packet-amqp.c
epan/dissectors/packet-arcnet.c
epan/dissectors/packet-artnet.c
epan/dissectors/packet-aruba-papi.c
epan/dissectors/packet-asap.c
epan/dissectors/packet-asf.c
epan/dissectors/packet-assa_r3.c
epan/dissectors/packet-atalk.c
epan/dissectors/packet-ayiya.c
epan/dissectors/packet-bacnet.c
epan/dissectors/packet-banana.c
epan/dissectors/packet-bgp.c
epan/dissectors/packet-bittorrent.c
epan/dissectors/packet-bmc.c
epan/dissectors/packet-bootp.c
epan/dissectors/packet-bpdu.c
epan/dissectors/packet-bssap.c
epan/dissectors/packet-bssgp.c
epan/dissectors/packet-bt-utp.c
epan/dissectors/packet-btamp.c
epan/dissectors/packet-bthci_cmd.c
epan/dissectors/packet-bthci_evt.c
epan/dissectors/packet-bthci_sco.c
epan/dissectors/packet-btl2cap.c
epan/dissectors/packet-btobex.c
epan/dissectors/packet-btrfcomm.c
epan/dissectors/packet-bvlc.c
epan/dissectors/packet-capwap.c
epan/dissectors/packet-catapult-dct2000.c
epan/dissectors/packet-cfm.c
epan/dissectors/packet-cigi.c
epan/dissectors/packet-cip.c
epan/dissectors/packet-cisco-erspan.c
epan/dissectors/packet-cisco-wids.c
epan/dissectors/packet-classicstun.c
epan/dissectors/packet-collectd.c
epan/dissectors/packet-data.c
epan/dissectors/packet-dcc.c
epan/dissectors/packet-dcerpc-krb5rpc.c
epan/dissectors/packet-dcerpc-netlogon.c
epan/dissectors/packet-dcerpc.c
epan/dissectors/packet-dcom-dispatch.c
epan/dissectors/packet-dcom-remunkn.c
epan/dissectors/packet-dcom.c
epan/dissectors/packet-dcp-etsi.c
epan/dissectors/packet-dec-dnart.c
epan/dissectors/packet-dect.c
epan/dissectors/packet-dhcp-failover.c
epan/dissectors/packet-dhcpv6.c
epan/dissectors/packet-diameter.c
epan/dissectors/packet-diameter_3gpp.c
epan/dissectors/packet-distcc.c
epan/dissectors/packet-dlm3.c
epan/dissectors/packet-dnp.c
epan/dissectors/packet-dns.c
epan/dissectors/packet-dplay.c
epan/dissectors/packet-dsi.c
epan/dissectors/packet-dtls.c
epan/dissectors/packet-dua.c
epan/dissectors/packet-dvbci.c
epan/dissectors/packet-dvmrp.c
epan/dissectors/packet-eapol.c
epan/dissectors/packet-edonkey.c
epan/dissectors/packet-eigrp.c
epan/dissectors/packet-enip.c
epan/dissectors/packet-enrp.c
epan/dissectors/packet-enttec.c
epan/dissectors/packet-epl.c
epan/dissectors/packet-epl_v1.c
epan/dissectors/packet-extreme.c
epan/dissectors/packet-fcels.c
epan/dissectors/packet-fcgi.c
epan/dissectors/packet-fcswils.c
epan/dissectors/packet-fip.c
epan/dissectors/packet-fix.c
epan/dissectors/packet-fp_hint.c
epan/dissectors/packet-fractalgeneratorprotocol.c
epan/dissectors/packet-frame.c
epan/dissectors/packet-gdsdb.c
epan/dissectors/packet-giop.c
epan/dissectors/packet-git.c
epan/dissectors/packet-glbp.c
epan/dissectors/packet-gmhdr.c
epan/dissectors/packet-gnutella.c
epan/dissectors/packet-gpef.c
epan/dissectors/packet-gre.c
epan/dissectors/packet-gtp.c
epan/dissectors/packet-gtpv2.c
epan/dissectors/packet-gvcp.c
epan/dissectors/packet-h223.c
epan/dissectors/packet-h261.c
epan/dissectors/packet-h263p.c
epan/dissectors/packet-hip.c
epan/dissectors/packet-hp-erm.c
epan/dissectors/packet-hpteam.c
epan/dissectors/packet-iax2.c
epan/dissectors/packet-icmp.c
epan/dissectors/packet-icmpv6.c
epan/dissectors/packet-ieee1722.c
epan/dissectors/packet-ieee80211.c
epan/dissectors/packet-igmp.c
epan/dissectors/packet-image-png.c
epan/dissectors/packet-imf.c
epan/dissectors/packet-infiniband.c
epan/dissectors/packet-infiniband_sdp.c
epan/dissectors/packet-ipmi-app.c
epan/dissectors/packet-ipmi-chassis.c
epan/dissectors/packet-ipmi-picmg.c
epan/dissectors/packet-ipmi-se.c
epan/dissectors/packet-ipmi-session.c
epan/dissectors/packet-ipmi-storage.c
epan/dissectors/packet-ipmi-transport.c
epan/dissectors/packet-ipmi.c
epan/dissectors/packet-ipsec-tcp.c
epan/dissectors/packet-ipsec.c
epan/dissectors/packet-ipv6.c
epan/dissectors/packet-ipxwan.c
epan/dissectors/packet-isakmp.c
epan/dissectors/packet-iscsi.c
epan/dissectors/packet-ismacryp.c
epan/dissectors/packet-ismp.c
epan/dissectors/packet-isup.c
epan/dissectors/packet-iua.c
epan/dissectors/packet-iwarp-ddp-rdmap.c
epan/dissectors/packet-iwarp-mpa.c
epan/dissectors/packet-jpeg.c
epan/dissectors/packet-json.c
epan/dissectors/packet-jxta.c
epan/dissectors/packet-kdp.c
epan/dissectors/packet-kerberos.c
epan/dissectors/packet-kerberos4.c
epan/dissectors/packet-kink.c
epan/dissectors/packet-klm.c
epan/dissectors/packet-kpasswd.c
epan/dissectors/packet-l2tp.c
epan/dissectors/packet-laplink.c
epan/dissectors/packet-ldp.c
epan/dissectors/packet-ldss.c
epan/dissectors/packet-lisp.c
epan/dissectors/packet-lldp.c
epan/dissectors/packet-ltp.c
epan/dissectors/packet-m2pa.c
epan/dissectors/packet-m2tp.c
epan/dissectors/packet-m2ua.c
epan/dissectors/packet-m3ua.c
epan/dissectors/packet-mac-lte.c
epan/dissectors/packet-meta.c
epan/dissectors/packet-mgcp.c
epan/dissectors/packet-mip.c
epan/dissectors/packet-mip6.c
epan/dissectors/packet-mndp.c
epan/dissectors/packet-mount.c
epan/dissectors/packet-mp2t.c
epan/dissectors/packet-mp4ves.c
epan/dissectors/packet-mpeg1.c
epan/dissectors/packet-mpls-echo.c
epan/dissectors/packet-mrdisc.c
epan/dissectors/packet-ms-mms.c
epan/dissectors/packet-msnip.c
epan/dissectors/packet-msnlb.c
epan/dissectors/packet-msrp.c
epan/dissectors/packet-nas_eps.c
epan/dissectors/packet-nb_rtpmux.c
epan/dissectors/packet-nbd.c
epan/dissectors/packet-ncp-nmas.c
epan/dissectors/packet-ncp-sss.c
epan/dissectors/packet-ncp.c
epan/dissectors/packet-ndmp.c
epan/dissectors/packet-ndps.c
epan/dissectors/packet-netdump.c
epan/dissectors/packet-netperfmeter.c
epan/dissectors/packet-netsync.c
epan/dissectors/packet-newmail.c
epan/dissectors/packet-nfs.c
epan/dissectors/packet-nfsacl.c
epan/dissectors/packet-nisplus.c
epan/dissectors/packet-nlm.c
epan/dissectors/packet-ntlmssp.c
epan/dissectors/packet-omron-fins.c
epan/dissectors/packet-ositp.c
epan/dissectors/packet-p_mul.c
epan/dissectors/packet-packetbb.c
epan/dissectors/packet-paltalk.c
epan/dissectors/packet-pdcp-lte.c
epan/dissectors/packet-pflog.c
epan/dissectors/packet-pim.c
epan/dissectors/packet-pingpongprotocol.c
epan/dissectors/packet-pktc.c
epan/dissectors/packet-pnrp.c
epan/dissectors/packet-portmap.c
epan/dissectors/packet-ppi-sensor.c
epan/dissectors/packet-ppp.c
epan/dissectors/packet-pppoe.c
epan/dissectors/packet-pptp.c
epan/dissectors/packet-ptp.c
epan/dissectors/packet-pw-cesopsn.c
epan/dissectors/packet-pw-satop.c
epan/dissectors/packet-radiotap.c
epan/dissectors/packet-radius.c
epan/dissectors/packet-rdm.c
epan/dissectors/packet-rdp.c
epan/dissectors/packet-rdt.c
epan/dissectors/packet-redback.c
epan/dissectors/packet-redbackli.c
epan/dissectors/packet-reload.c
epan/dissectors/packet-ripng.c
epan/dissectors/packet-rlc-lte.c
epan/dissectors/packet-rlc.c
epan/dissectors/packet-rlogin.c
epan/dissectors/packet-rohc.c
epan/dissectors/packet-rpc.c
epan/dissectors/packet-rpcap.c
epan/dissectors/packet-rpl.c
epan/dissectors/packet-rquota.c
epan/dissectors/packet-rsip.c
epan/dissectors/packet-rsl.c
epan/dissectors/packet-rsync.c
epan/dissectors/packet-rtcp.c
epan/dissectors/packet-rtmpt.c
epan/dissectors/packet-rtnet.c
epan/dissectors/packet-rtp.c
epan/dissectors/packet-rx.c
epan/dissectors/packet-s5066.c
epan/dissectors/packet-sap.c
epan/dissectors/packet-scriptingservice.c
epan/dissectors/packet-sctp.c
epan/dissectors/packet-sdp.c
epan/dissectors/packet-sercosiii.c
epan/dissectors/packet-ses.c
epan/dissectors/packet-sflow.c
epan/dissectors/packet-sigcomp.c
epan/dissectors/packet-simulcrypt.c
epan/dissectors/packet-sip.c
epan/dissectors/packet-skinny.c
epan/dissectors/packet-sll.c
epan/dissectors/packet-slowprotocols.c
epan/dissectors/packet-smb-logon.c
epan/dissectors/packet-smb.c
epan/dissectors/packet-smb2.c
epan/dissectors/packet-smpp.c
epan/dissectors/packet-sna.c
epan/dissectors/packet-socks.c
epan/dissectors/packet-spice.c
epan/dissectors/packet-spray.c
epan/dissectors/packet-ssh.c
epan/dissectors/packet-ssl.c
epan/dissectors/packet-stat-notify.c
epan/dissectors/packet-stat.c
epan/dissectors/packet-stun.c
epan/dissectors/packet-sua.c
epan/dissectors/packet-synergy.c
epan/dissectors/packet-tapa.c
epan/dissectors/packet-tcp.c
epan/dissectors/packet-tds.c
epan/dissectors/packet-teamspeak2.c
epan/dissectors/packet-telkonet.c
epan/dissectors/packet-teredo.c
epan/dissectors/packet-tipc.c
epan/dissectors/packet-tnef.c
epan/dissectors/packet-tns.c
epan/dissectors/packet-trill.c
epan/dissectors/packet-tte-pcf.c
epan/dissectors/packet-ua.c
epan/dissectors/packet-ucp.c
epan/dissectors/packet-uma.c
epan/dissectors/packet-umts_fp.c
epan/dissectors/packet-usb-hid.c
epan/dissectors/packet-usb.c
epan/dissectors/packet-v5ua.c
epan/dissectors/packet-vnc.c
epan/dissectors/packet-vtp.c
epan/dissectors/packet-vuze-dht.c
epan/dissectors/packet-wai.c
epan/dissectors/packet-wassp.c
epan/dissectors/packet-who.c
epan/dissectors/packet-wifi-p2p.c
epan/dissectors/packet-wlccp.c
epan/dissectors/packet-wol.c
epan/dissectors/packet-wow.c
epan/dissectors/packet-wps.c
epan/dissectors/packet-xmcp.c
epan/dissectors/packet-yppasswd.c
epan/dissectors/packet-ypserv.c
epan/dissectors/packet-zbee-aps.c
epan/dissectors/packet-zbee-security.c
epan/dissectors/packet-zrtp.c

index baa78ae1c8c29bdb7499337941666a091de0e1ed..68d5e22babc22eaabd7da600c157b28d28775d0b 100644 (file)
@@ -155,7 +155,7 @@ static void dissect_2dparityfec(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t
       proto_tree_add_item(tree_2dparityfec, hf_2dparityfec_offset,          tvb, offset, 1, FALSE); offset += 1;
       proto_tree_add_item(tree_2dparityfec, hf_2dparityfec_na,              tvb, offset, 1, FALSE); offset += 1;
       proto_tree_add_item(tree_2dparityfec, hf_2dparityfec_snbase_ext,      tvb, offset, 1, FALSE); offset += 1;
-      proto_tree_add_item(tree_2dparityfec, hf_2dparityfec_payload,         tvb, offset, -1, FALSE);
+      proto_tree_add_item(tree_2dparityfec, hf_2dparityfec_payload,         tvb, offset, -1, ENC_NA);
    }
 }
 
index dcc86be82996998eef09dae39956d29eb40d177e..621d809247e16525836c741905961bd28b285791 100644 (file)
@@ -374,7 +374,7 @@ dissect_portsettings(tvbuff_t *tvb, proto_tree *port_tree, guint32 offset)
         *  Auto MDI-X
         */
        proto_tree_add_item(port_tree, hf_njack_tlv_data,
-               tvb, offset, 8, ENC_BIG_ENDIAN);
+               tvb, offset, 8, ENC_NA);
        return offset;
 }
 
@@ -502,7 +502,7 @@ dissect_tlvs(tvbuff_t *tvb, proto_tree *njack_tree, guint32 offset)
                default:
                        if (tlv_length != 0) {
                                proto_tree_add_item(tlv_tree, hf_njack_tlv_data,
-                                       tvb, offset, tlv_length, ENC_BIG_ENDIAN);
+                                       tvb, offset, tlv_length, ENC_NA);
                                offset += tlv_length;
                        }
                        break;
@@ -601,7 +601,7 @@ dissect_njack(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                                4, ENC_LITTLE_ENDIAN);
                        offset += 4;
                        proto_tree_add_item(njack_tree, hf_njack_set_authdata, tvb, offset,
-                               16, ENC_BIG_ENDIAN);
+                               16, ENC_NA);
                        offset += 16;
                        offset = dissect_tlvs(tvb, njack_tree, offset);
                        break;
@@ -633,7 +633,7 @@ dissect_njack(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                        remaining = tvb_reported_length_remaining(tvb, offset);
                        if (remaining > 0) {
                                proto_tree_add_item(njack_tree, hf_njack_tlv_data,
-                                       tvb, offset, remaining, ENC_BIG_ENDIAN);
+                                       tvb, offset, remaining, ENC_NA);
                                offset += remaining;
                        }
                        break;
index 92dd121f4f46bda1706d1e9291f40b5d15d0317a..b00d28009df1d358665cb97ec669c3c26ef73b6f 100644 (file)
@@ -413,7 +413,7 @@ static int dissect_aim_generic_clientver_req(tvbuff_t *tvb, packet_info *pinfo _
 
 static int dissect_aim_generic_clientver_repl(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *gen_tree)
 {
-       proto_tree_add_item(gen_tree, hf_generic_client_ver_req_hash, tvb, 0, 16, FALSE);
+       proto_tree_add_item(gen_tree, hf_generic_client_ver_req_hash, tvb, 0, 16, ENC_NA);
        return 16;
 }
 
@@ -424,7 +424,7 @@ static int dissect_aim_generic_ext_status_repl(tvbuff_t *tvb, packet_info *pinfo
        proto_tree_add_item(gen_tree, hf_generic_ext_status_type, tvb, offset, 2, FALSE); offset += 2;
        proto_tree_add_item(gen_tree, hf_generic_ext_status_flags, tvb, offset, 1, FALSE); offset += 1;
        proto_tree_add_item(gen_tree, hf_generic_ext_status_length, tvb, offset, 1, FALSE); length = tvb_get_guint8(tvb, offset); offset += 1;
-       proto_tree_add_item(gen_tree, hf_generic_ext_status_data, tvb, offset, length, FALSE); offset += 1;
+       proto_tree_add_item(gen_tree, hf_generic_ext_status_data, tvb, offset, length, ENC_NA); offset += 1;
        return offset;
 }
 
index 66c0a3a640905e06db576f4164b5cf25587434e0..238cf83558aea0dda716398545648d966b2e3586 100644 (file)
@@ -305,7 +305,7 @@ dissect_aim_tlv_value_rendezvous(proto_item *ti, guint16 valueid _U_, tvbuff_t *
        proto_tree_add_item(entry, hf_aim_rendezvous_msg_type, tvb, offset, 2, ENC_BIG_ENDIAN);
        offset += 2;
 
-       proto_tree_add_item(entry, hf_aim_icbm_cookie, tvb, offset, 8, ENC_BIG_ENDIAN);
+       proto_tree_add_item(entry, hf_aim_icbm_cookie, tvb, offset, 8, ENC_NA);
        offset += 8;
 
        offset = dissect_aim_capability(entry, tvb, offset);
@@ -324,7 +324,7 @@ dissect_aim_msg_outgoing(tvbuff_t *tvb, packet_info *pinfo, proto_tree *msg_tree
        int buddyname_length;
 
        /* ICBM Cookie */
-       proto_tree_add_item(msg_tree, hf_aim_icbm_cookie, tvb, offset, 8, ENC_BIG_ENDIAN);
+       proto_tree_add_item(msg_tree, hf_aim_icbm_cookie, tvb, offset, 8, ENC_NA);
        offset += 8;
 
        /* Message Channel ID */
@@ -359,7 +359,7 @@ dissect_aim_msg_incoming(tvbuff_t *tvb, packet_info *pinfo, proto_tree *msg_tree
        guint16 channel_id;
 
        /* ICBM Cookie */
-       proto_tree_add_item(msg_tree, hf_aim_icbm_cookie, tvb, offset, 8, ENC_BIG_ENDIAN);
+       proto_tree_add_item(msg_tree, hf_aim_icbm_cookie, tvb, offset, 8, ENC_NA);
        offset += 8;
 
        /* Message Channel ID */
@@ -414,7 +414,7 @@ static int
 dissect_aim_msg_minityping(tvbuff_t *tvb, packet_info *pinfo, proto_tree *msg_tree)
 {
        int offset = 0;
-       proto_tree_add_item(msg_tree,hf_aim_icbm_notification_cookie, tvb, offset, 8, ENC_BIG_ENDIAN); offset+=8;
+       proto_tree_add_item(msg_tree,hf_aim_icbm_notification_cookie, tvb, offset, 8, ENC_NA); offset+=8;
        proto_tree_add_item(msg_tree,hf_aim_icbm_notification_channel, tvb, offset, 2, ENC_BIG_ENDIAN); offset+=2;
        offset = dissect_aim_buddyname(tvb, pinfo, offset, msg_tree);
        proto_tree_add_item(msg_tree,hf_aim_icbm_notification_type, tvb, offset, 2, ENC_BIG_ENDIAN); offset+=2;
@@ -581,7 +581,7 @@ dissect_aim_msg_ack(tvbuff_t *tvb, packet_info *pinfo, proto_tree *msg_tree)
 {
        int offset = 0;
 
-       proto_tree_add_item(msg_tree,hf_aim_icbm_cookie, tvb, offset, 8, ENC_BIG_ENDIAN); offset+=8;
+       proto_tree_add_item(msg_tree,hf_aim_icbm_cookie, tvb, offset, 8, ENC_NA); offset+=8;
 
        proto_tree_add_item(msg_tree, hf_aim_message_channel_id, tvb, offset, 2,
                         ENC_BIG_ENDIAN); offset += 2;
@@ -597,7 +597,7 @@ dissect_aim_msg_client_err(tvbuff_t *tvb, packet_info *pinfo, proto_tree *msg_tr
        int offset = 0;
        guint16 channel, reason;
 
-       proto_tree_add_item(msg_tree,hf_aim_icbm_cookie, tvb, offset, 8, ENC_BIG_ENDIAN); offset+=8;
+       proto_tree_add_item(msg_tree,hf_aim_icbm_cookie, tvb, offset, 8, ENC_NA); offset+=8;
        channel = tvb_get_ntohs(tvb, offset);
        proto_tree_add_item(msg_tree,hf_aim_icbm_channel, tvb, offset, 2, ENC_BIG_ENDIAN); offset+=2;
        offset = dissect_aim_buddyname(tvb, pinfo, offset, msg_tree);
index aa25f3d8b8ee382633bf0bbecc0ef2b3f0e1f5ef..d54f7cf18d825dbeeb8eb6229354aeb5115e65fe 100644 (file)
@@ -57,14 +57,14 @@ static int dissect_aim_sst_buddy_down_req (tvbuff_t *tvb, packet_info *pinfo _U_
        int offset = dissect_aim_buddyname(tvb, pinfo, 0, tree);
        guint8 md5_size;
 
-       proto_tree_add_item(tree, hf_aim_sst_unknown, tvb, offset, 4, FALSE);
+       proto_tree_add_item(tree, hf_aim_sst_unknown, tvb, offset, 4, ENC_NA);
        offset+=4;
 
        proto_tree_add_item(tree, hf_aim_sst_md5_hash_size, tvb, offset, 1, FALSE);
        md5_size = tvb_get_guint8(tvb, offset);
        offset++;
 
-       proto_tree_add_item(tree, hf_aim_sst_md5_hash, tvb, offset, md5_size, FALSE);
+       proto_tree_add_item(tree, hf_aim_sst_md5_hash, tvb, offset, md5_size, ENC_NA);
 
        offset+=md5_size;
        return offset;
@@ -76,14 +76,14 @@ static int dissect_aim_sst_buddy_down_repl (tvbuff_t *tvb, packet_info *pinfo _U
        guint8 md5_size;
        guint16 icon_size;
 
-       proto_tree_add_item(tree, hf_aim_sst_unknown, tvb, offset, 3, FALSE);
+       proto_tree_add_item(tree, hf_aim_sst_unknown, tvb, offset, 3, ENC_NA);
        offset+=3;
 
        proto_tree_add_item(tree, hf_aim_sst_md5_hash_size, tvb, offset, 1, FALSE);
        md5_size = tvb_get_guint8(tvb, offset);
        offset++;
 
-       proto_tree_add_item(tree, hf_aim_sst_md5_hash, tvb, offset, md5_size, FALSE);
+       proto_tree_add_item(tree, hf_aim_sst_md5_hash, tvb, offset, md5_size, ENC_NA);
 
        offset+=md5_size;
 
@@ -93,7 +93,7 @@ static int dissect_aim_sst_buddy_down_repl (tvbuff_t *tvb, packet_info *pinfo _U
 
        if (icon_size)
        {
-               proto_tree_add_item(tree, hf_aim_sst_icon, tvb, offset, icon_size, FALSE);
+               proto_tree_add_item(tree, hf_aim_sst_icon, tvb, offset, icon_size, ENC_NA);
        }
 
        offset+=icon_size;
@@ -106,14 +106,14 @@ static int dissect_aim_sst_buddy_up_repl (tvbuff_t *tvb, packet_info *pinfo _U_,
        int offset = 0;
        guint8 md5_size;
 
-       proto_tree_add_item(tree, hf_aim_sst_unknown, tvb, offset, 4, FALSE);
+       proto_tree_add_item(tree, hf_aim_sst_unknown, tvb, offset, 4, ENC_NA);
        offset+=4;
 
        proto_tree_add_item(tree, hf_aim_sst_md5_hash_size, tvb, offset, 1, FALSE);
        md5_size = tvb_get_guint8(tvb, offset);
        offset++;
 
-       proto_tree_add_item(tree, hf_aim_sst_md5_hash, tvb, offset, md5_size, FALSE);
+       proto_tree_add_item(tree, hf_aim_sst_md5_hash, tvb, offset, md5_size, ENC_NA);
 
        offset+=md5_size;
        return offset;
@@ -133,7 +133,7 @@ static int dissect_aim_sst_buddy_up_req (tvbuff_t *tvb, packet_info *pinfo _U_,
 
        if (icon_size)
        {
-               proto_tree_add_item(tree, hf_aim_sst_icon, tvb, offset, icon_size, FALSE);
+               proto_tree_add_item(tree, hf_aim_sst_icon, tvb, offset, icon_size, ENC_NA);
        }
 
        offset+=icon_size;
index 5660ae8777ed54221c140e690845f80b38eddd10..5a22d39bc541fc6f30567a9d98df7e5a9991f580 100644 (file)
@@ -69,14 +69,14 @@ dissect_airopeek(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     ti = proto_tree_add_item(tree, proto_airopeek, tvb, 0, -1, ENC_BIG_ENDIAN);
     airopeek_tree = proto_item_add_subtree(ti, ett_airopeek);
 
-    proto_tree_add_item(airopeek_tree, hf_airopeek_unknown1, tvb, 0, 2,  ENC_BIG_ENDIAN);
+    proto_tree_add_item(airopeek_tree, hf_airopeek_unknown1, tvb, 0, 2,  ENC_NA);
     proto_tree_add_item(airopeek_tree, hf_airopeek_unknown2, tvb, 2, 2,  ENC_BIG_ENDIAN);
     proto_tree_add_item(airopeek_tree, hf_airopeek_unknown3, tvb, 4, 2,  ENC_BIG_ENDIAN);
-    proto_tree_add_item(airopeek_tree, hf_airopeek_unknown4, tvb, 6, 5, ENC_BIG_ENDIAN);
+    proto_tree_add_item(airopeek_tree, hf_airopeek_unknown4, tvb, 6, 5, ENC_NA);
     proto_tree_add_item(airopeek_tree, hf_airopeek_timestamp, tvb, 11, 4, ENC_BIG_ENDIAN);
-    proto_tree_add_item(airopeek_tree, hf_airopeek_unknown5, tvb, 15, 2, ENC_BIG_ENDIAN);
+    proto_tree_add_item(airopeek_tree, hf_airopeek_unknown5, tvb, 15, 2, ENC_NA);
     proto_tree_add_item(airopeek_tree, hf_airopeek_channel, tvb, 17, 1, ENC_BIG_ENDIAN);
-    proto_tree_add_item(airopeek_tree, hf_airopeek_unknown6, tvb, 18, 2, ENC_BIG_ENDIAN);
+    proto_tree_add_item(airopeek_tree, hf_airopeek_unknown6, tvb, 18, 2, ENC_NA);
   }
   next_tvb = tvb_new_subset_remaining(tvb, 20);
   pinfo->pseudo_header->ieee_802_11.fcs_len = 4;
index 474e6992f7160754ebd62a47fd9e9f78958102bd..cb63ca1537da92b1eaf8a390090fd33d3749c223 100644 (file)
@@ -410,7 +410,7 @@ static emem_tree_t* legs_by_osaid = NULL;
 static emem_tree_t* legs_by_bearer = NULL;
 
 static const gchar* dissect_fields_unknown(packet_info* pinfo _U_, tvbuff_t *tvb, proto_tree *tree, int offset, int len, alcap_message_info_t* msg_info _U_) {
-    proto_item* pi = proto_tree_add_item(tree,hf_alcap_unknown,tvb,offset,len,ENC_BIG_ENDIAN);
+    proto_item* pi = proto_tree_add_item(tree,hf_alcap_unknown,tvb,offset,len,ENC_NA);
     proto_item_set_expert_flags(pi, PI_UNDECODED, PI_WARN);
     return NULL;
 }
@@ -458,7 +458,7 @@ static const gchar* dissect_fields_cau(packet_info* pinfo, tvbuff_t *tvb, proto_
     if (len > 2)  {
         int diag_len = tvb_get_guint8(tvb,offset);
 
-        pi = proto_tree_add_item(tree,hf_alcap_cau_diag, tvb, offset,len-2,ENC_BIG_ENDIAN);
+        pi = proto_tree_add_item(tree,hf_alcap_cau_diag, tvb, offset,len-2,ENC_NA);
         tree = proto_item_add_subtree(pi,ett_cau_diag);
 
         proto_tree_add_item(tree, hf_alcap_cau_diag_len, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -591,7 +591,7 @@ static const gchar* dissect_fields_dnsea(packet_info* pinfo _U_, tvbuff_t *tvb,
 
     msg_info->dest_nsap = tvb_bytes_to_str(tvb,offset,20);
 
-    proto_tree_add_item(tree, hf_alcap_dnsea, tvb, offset, 20, ENC_BIG_ENDIAN);
+    proto_tree_add_item(tree, hf_alcap_dnsea, tvb, offset, 20, ENC_NA);
     dissect_nsap(tvb, offset,20, tree);
 
     return NULL;
@@ -612,7 +612,7 @@ static const gchar* dissect_fields_onsea(packet_info* pinfo _U_, tvbuff_t *tvb,
 
     msg_info->orig_nsap = tvb_bytes_to_str(tvb,offset,20);
 
-    proto_tree_add_item(tree, hf_alcap_onsea, tvb, offset, 20, ENC_BIG_ENDIAN);
+    proto_tree_add_item(tree, hf_alcap_onsea, tvb, offset, 20, ENC_NA);
     dissect_nsap(tvb, offset,20, tree);
 
     return NULL;
@@ -707,7 +707,7 @@ static const gchar* dissect_fields_sugr(packet_info* pinfo _U_, tvbuff_t *tvb, p
 
     msg_info->sugr = tvb_get_ntohl(tvb,offset);
 
-    proto_tree_add_item(tree, hf_alcap_sugr, tvb, offset, 4, ENC_BIG_ENDIAN);
+    proto_tree_add_item(tree, hf_alcap_sugr, tvb, offset, 4, ENC_NA);
 
     return NULL;
 }
@@ -756,7 +756,7 @@ static const gchar* dissect_fields_ssia(packet_info* pinfo _U_, tvbuff_t *tvb, p
 
     proto_tree_add_item(tree, hf_alcap_ssia_max_len, tvb, offset+4,2,ENC_BIG_ENDIAN);
 
-    proto_tree_add_item(tree, hf_alcap_ssia_oui, tvb, offset+5,3,ENC_BIG_ENDIAN);
+    proto_tree_add_item(tree, hf_alcap_ssia_oui, tvb, offset+5,3,ENC_NA);
 
     return NULL;
 }
@@ -874,7 +874,7 @@ static const gchar* dissect_fields_ssiae(packet_info* pinfo _U_, tvbuff_t *tvb,
 
     proto_tree_add_item(tree, hf_alcap_ssiae_max_len, tvb, offset+4,2,ENC_BIG_ENDIAN);
 
-    proto_tree_add_item(tree, hf_alcap_ssiae_oui, tvb, offset+5,3,ENC_BIG_ENDIAN);
+    proto_tree_add_item(tree, hf_alcap_ssiae_oui, tvb, offset+5,3,ENC_NA);
 
     return NULL;
 }
@@ -910,7 +910,7 @@ static const gchar* dissect_fields_pssiae(packet_info* pinfo _U_, tvbuff_t *tvb,
 
     proto_tree_add_item(tree, hf_alcap_pssiae_max_len, tvb, offset+4,2,ENC_BIG_ENDIAN);
 
-    proto_tree_add_item(tree, hf_alcap_pssiae_oui, tvb, offset+5,3,ENC_BIG_ENDIAN);
+    proto_tree_add_item(tree, hf_alcap_pssiae_oui, tvb, offset+5,3,ENC_NA);
 
     return NULL;
 }
@@ -1211,7 +1211,7 @@ static const gchar* dissect_fields_sut(packet_info* pinfo _U_, tvbuff_t *tvb, pr
     sut_len = tvb_get_guint8(tvb,offset);
 
     proto_tree_add_item(tree, hf_alcap_sut_len, tvb, offset, 1, ENC_BIG_ENDIAN);
-    proto_tree_add_item(tree, hf_alcap_sut, tvb, offset, sut_len, ENC_BIG_ENDIAN);
+    proto_tree_add_item(tree, hf_alcap_sut, tvb, offset, sut_len, ENC_NA);
 
     return NULL;
 }
@@ -1391,7 +1391,7 @@ static void dissect_alcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
 
     col_set_str(pinfo->cinfo, COL_INFO, msg_type->abbr);
 
-    pi = proto_tree_add_item(alcap_tree,hf_alcap_compat,tvb,5,1,ENC_BIG_ENDIAN);
+    pi = proto_tree_add_item(alcap_tree,hf_alcap_compat,tvb,5,1,ENC_NA);
     compat_tree = proto_item_add_subtree(pi,ett_compat);
     proto_tree_add_item(compat_tree,hf_alcap_compat_pass_on_sni,tvb,5,1,ENC_BIG_ENDIAN);
     proto_tree_add_item(compat_tree,hf_alcap_compat_pass_on_ii,tvb,5,1,ENC_BIG_ENDIAN);
@@ -1411,7 +1411,7 @@ static void dissect_alcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
         pi = proto_tree_add_item(alcap_tree,hf_alcap_param_id,tvb,offset,1,ENC_BIG_ENDIAN);
         param_tree = proto_item_add_subtree(pi,param_info->ett);
 
-        pi = proto_tree_add_item(param_tree,hf_alcap_compat,tvb,offset+1,1,ENC_BIG_ENDIAN);
+        pi = proto_tree_add_item(param_tree,hf_alcap_compat,tvb,offset+1,1,ENC_NA);
         compat_tree = proto_item_add_subtree(pi,ett_compat);
         proto_tree_add_item(compat_tree,hf_alcap_compat_pass_on_sni,tvb,offset+1,1,ENC_BIG_ENDIAN);
         proto_tree_add_item(compat_tree,hf_alcap_compat_pass_on_ii,tvb,offset+1,1,ENC_BIG_ENDIAN);
index 2548df103ad7aaa17c865619a84724399782d219..4146eccc596f0a81bcd48734e8640149ac2bc16f 100644 (file)
@@ -2332,7 +2332,7 @@ dissect_amqp_0_10_xid (tvbuff_t *tvb,
             THROW(ReportedBoundsError);
         proto_tree_add_item(xid_tree,
                             hf_amqp_0_10_dtx_xid_global_id,
-                            tvb, offset + 1, len8, ENC_BIG_ENDIAN);
+                            tvb, offset + 1, len8, ENC_NA);
         AMQP_INCREMENT(offset, (1 + len8), max_length);
     }
     if (flag1 & 0x04) {
@@ -2342,7 +2342,7 @@ dissect_amqp_0_10_xid (tvbuff_t *tvb,
             THROW(ReportedBoundsError);
         proto_tree_add_item(xid_tree,
                             hf_amqp_0_10_dtx_xid_branch_id,
-                            tvb, offset + 1, len8, ENC_BIG_ENDIAN);
+                            tvb, offset + 1, len8, ENC_NA);
         AMQP_INCREMENT(offset, (1 + len8), max_length);
     }
 }
@@ -2374,7 +2374,7 @@ dissect_amqp_0_10_connection(tvbuff_t *tvb,
     proto_tree_add_item(tree, hf_amqp_0_10_connection_method,
                         tvb, offset+1, 1, ENC_BIG_ENDIAN);
     ti = proto_tree_add_item(tree, hf_amqp_method_arguments,
-                             tvb, offset + 2, length - 2, ENC_BIG_ENDIAN);
+                             tvb, offset + 2, length - 2, ENC_NA);
     args_tree = proto_item_add_subtree(ti, ett_args);
     AMQP_INCREMENT(offset, 2, length);
     /*
@@ -2401,7 +2401,7 @@ dissect_amqp_0_10_connection(tvbuff_t *tvb,
                                      hf_amqp_method_connection_start_server_properties,
                                      tvb,
                                      offset,
-                                     arg_length, ENC_BIG_ENDIAN);
+                                     arg_length, ENC_NA);
             dissect_amqp_0_10_map (tvb,
                                    offset,
                                    offset + arg_length,
@@ -2417,7 +2417,7 @@ dissect_amqp_0_10_connection(tvbuff_t *tvb,
                                      hf_amqp_0_10_method_connection_start_mechanisms,
                                      tvb,
                                      offset,
-                                     arg_length, ENC_BIG_ENDIAN);
+                                     arg_length, ENC_NA);
             dissect_amqp_0_10_array (tvb,
                                      offset,
                                      offset + arg_length,
@@ -2433,7 +2433,7 @@ dissect_amqp_0_10_connection(tvbuff_t *tvb,
                                      hf_amqp_0_10_method_connection_start_locales,
                                      tvb,
                                      offset,
-                                     arg_length, ENC_BIG_ENDIAN);
+                                     arg_length, ENC_NA);
             dissect_amqp_0_10_array (tvb,
                                      offset,
                                      offset + arg_length,
@@ -2454,7 +2454,7 @@ dissect_amqp_0_10_connection(tvbuff_t *tvb,
                                      hf_amqp_method_connection_start_ok_client_properties,
                                      tvb,
                                      offset,
-                                     arg_length, ENC_BIG_ENDIAN);
+                                     arg_length, ENC_NA);
             dissect_amqp_0_10_map (tvb,
                                    offset,
                                    offset + arg_length,
@@ -2475,7 +2475,7 @@ dissect_amqp_0_10_connection(tvbuff_t *tvb,
             proto_tree_add_item(args_tree,
                                 hf_amqp_method_connection_start_ok_response,
                                 tvb, offset + 4, tvb_get_ntohl(tvb, offset),
-                                ENC_BIG_ENDIAN);
+                                ENC_NA);
             AMQP_INCREMENT(offset, 4 + tvb_get_ntohl(tvb, offset), length);
         }
         if (flag1 & 0x08) {
@@ -2496,7 +2496,7 @@ dissect_amqp_0_10_connection(tvbuff_t *tvb,
             proto_tree_add_item(args_tree,
                                 hf_amqp_method_connection_secure_challenge,
                                 tvb, offset + 4, tvb_get_ntohl(tvb, offset),
-                                ENC_BIG_ENDIAN);
+                                ENC_NA);
             AMQP_INCREMENT(offset, 4 + tvb_get_ntohl(tvb, offset), length);
         }
         break;
@@ -2509,7 +2509,7 @@ dissect_amqp_0_10_connection(tvbuff_t *tvb,
             proto_tree_add_item(args_tree,
                                 hf_amqp_method_connection_secure_ok_response,
                                 tvb, offset + 4, tvb_get_ntohl(tvb, offset),
-                                ENC_BIG_ENDIAN);
+                                ENC_NA);
             AMQP_INCREMENT(offset, 4 + tvb_get_ntohl(tvb, offset), length);
         }
         break;
@@ -2593,7 +2593,7 @@ dissect_amqp_0_10_connection(tvbuff_t *tvb,
                                      hf_amqp_0_10_method_connection_open_capabilities,
                                      tvb,
                                      offset,
-                                     arg_length, ENC_BIG_ENDIAN);
+                                     arg_length, ENC_NA);
             dissect_amqp_0_10_array (tvb,
                                      offset,
                                      offset + arg_length,
@@ -2620,7 +2620,7 @@ dissect_amqp_0_10_connection(tvbuff_t *tvb,
                                      hf_amqp_0_10_method_connection_open_ok_known_hosts,
                                      tvb,
                                      offset,
-                                     arg_length, ENC_BIG_ENDIAN);
+                                     arg_length, ENC_NA);
             dissect_amqp_0_10_array (tvb,
                                      offset,
                                      offset + arg_length,
@@ -2649,7 +2649,7 @@ dissect_amqp_0_10_connection(tvbuff_t *tvb,
                                      hf_amqp_0_10_method_connection_redirect_known_hosts,
                                      tvb,
                                      offset,
-                                     arg_length, ENC_BIG_ENDIAN);
+                                     arg_length, ENC_NA);
             dissect_amqp_0_10_array (tvb,
                                      offset,
                                      offset + arg_length,
@@ -2715,7 +2715,7 @@ dissect_amqp_0_10_session(tvbuff_t *tvb,
     AMQP_INCREMENT(offset, 2, length);
 
     ti = proto_tree_add_item(tree, hf_amqp_method_arguments,
-                             tvb, offset, length - 2, ENC_BIG_ENDIAN);
+                             tvb, offset, length - 2, ENC_NA);
     args_tree = proto_item_add_subtree(ti, ett_args);
     /*
      * The flag bits are a simple bit string, not a net-byte-order
@@ -2739,7 +2739,7 @@ dissect_amqp_0_10_session(tvbuff_t *tvb,
             AMQP_INCREMENT(offset, 2, length);
             proto_tree_add_item(args_tree,
                                 hf_amqp_0_10_method_session_attach_name,
-                                tvb, offset, size, ENC_BIG_ENDIAN);
+                                tvb, offset, size, ENC_NA);
             AMQP_INCREMENT(offset, size, length);
         }
         /*
@@ -2760,7 +2760,7 @@ dissect_amqp_0_10_session(tvbuff_t *tvb,
             AMQP_INCREMENT(offset, 2, length);
             proto_tree_add_item(args_tree,
                                 hf_amqp_0_10_method_session_attach_name,
-                                tvb, offset, size, ENC_BIG_ENDIAN);
+                                tvb, offset, size, ENC_NA);
             AMQP_INCREMENT(offset, size, length);
         }
         break;
@@ -2774,7 +2774,7 @@ dissect_amqp_0_10_session(tvbuff_t *tvb,
             AMQP_INCREMENT(offset, 2, length);
             proto_tree_add_item(args_tree,
                                 hf_amqp_0_10_method_session_attach_name,
-                                tvb, offset, size, ENC_BIG_ENDIAN);
+                                tvb, offset, size, ENC_NA);
             AMQP_INCREMENT(offset, size, length);
         }
         if (flag1 & 0x02) {
@@ -2828,7 +2828,7 @@ dissect_amqp_0_10_session(tvbuff_t *tvb,
                 THROW(ReportedBoundsError);
             ti = proto_tree_add_item(args_tree,
                                      hf_amqp_0_10_method_session_commands,
-                                     tvb, offset, size + 2, ENC_BIG_ENDIAN);
+                                     tvb, offset, size + 2, ENC_NA);
             AMQP_INCREMENT(offset, 2, length);
             format_amqp_0_10_sequence_set(tvb, offset, size, ti);
             AMQP_INCREMENT(offset, size + 2, length);
@@ -2840,7 +2840,7 @@ dissect_amqp_0_10_session(tvbuff_t *tvb,
                 THROW(ReportedBoundsError);
             ti = proto_tree_add_item(args_tree,
                                      hf_amqp_0_10_method_session_fragments,
-                                     tvb, offset, array_size + 4, ENC_BIG_ENDIAN);
+                                     tvb, offset, array_size + 4, ENC_NA);
             AMQP_INCREMENT(offset, 4, length);
             dissect_amqp_0_10_array(tvb,
                                     offset,
@@ -2861,7 +2861,7 @@ dissect_amqp_0_10_session(tvbuff_t *tvb,
                 THROW(ReportedBoundsError);
             ti = proto_tree_add_item(args_tree,
                                      hf_amqp_0_10_method_session_commands,
-                                     tvb, offset, size + 2, ENC_BIG_ENDIAN);
+                                     tvb, offset, size + 2, ENC_NA);
             AMQP_INCREMENT(offset, 2, length);
             format_amqp_0_10_sequence_set(tvb, offset, size, ti);
             AMQP_INCREMENT(offset, size + 2, length);
@@ -2873,7 +2873,7 @@ dissect_amqp_0_10_session(tvbuff_t *tvb,
                 THROW(ReportedBoundsError);
             ti = proto_tree_add_item(args_tree,
                                      hf_amqp_0_10_method_session_fragments,
-                                     tvb, offset, array_size + 4, ENC_BIG_ENDIAN);
+                                     tvb, offset, array_size + 4, ENC_NA);
             AMQP_INCREMENT(offset, 4, length);
             dissect_amqp_0_10_array(tvb,
                                     offset,
@@ -2894,7 +2894,7 @@ dissect_amqp_0_10_session(tvbuff_t *tvb,
                 THROW(ReportedBoundsError);
             ti = proto_tree_add_item(args_tree,
                                      hf_amqp_0_10_method_session_commands,
-                                     tvb, offset, size + 2, ENC_BIG_ENDIAN);
+                                     tvb, offset, size + 2, ENC_NA);
             AMQP_INCREMENT(offset, 2, length);
             format_amqp_0_10_sequence_set(tvb, offset, size, ti);
             AMQP_INCREMENT(offset, size, length);
@@ -2917,7 +2917,7 @@ dissect_amqp_0_10_session(tvbuff_t *tvb,
                 THROW(ReportedBoundsError);
             ti = proto_tree_add_item(args_tree,
                                      hf_amqp_0_10_method_session_commands,
-                                     tvb, offset, size + 2, ENC_BIG_ENDIAN);
+                                     tvb, offset, size + 2, ENC_NA);
             AMQP_INCREMENT(offset, 2, length);
             format_amqp_0_10_sequence_set(tvb, offset, size, ti);
             AMQP_INCREMENT(offset, size, length);
@@ -2948,7 +2948,7 @@ dissect_amqp_0_10_session(tvbuff_t *tvb,
                 THROW(ReportedBoundsError);
             ti = proto_tree_add_item(args_tree,
                                      hf_amqp_0_10_method_session_commands,
-                                     tvb, offset, size + 2, ENC_BIG_ENDIAN);
+                                     tvb, offset, size + 2, ENC_NA);
             AMQP_INCREMENT(offset, 2, length);
             format_amqp_0_10_sequence_set(tvb, offset, size, ti);
             AMQP_INCREMENT(offset, size + 2, length);
@@ -2998,7 +2998,7 @@ dissect_amqp_0_10_execution(tvbuff_t *tvb,
     AMQP_INCREMENT(offset, 2, length);
 
     ti = proto_tree_add_item(tree, hf_amqp_method_arguments,
-                             tvb, offset, length - 4, ENC_BIG_ENDIAN);
+                             tvb, offset, length - 4, ENC_NA);
     args_tree = proto_item_add_subtree(ti, ett_args);
     /*
      * The flag bits are a simple bit string, not a net-byte-order
@@ -3035,7 +3035,7 @@ dissect_amqp_0_10_execution(tvbuff_t *tvb,
                 THROW(ReportedBoundsError);
             ti = proto_tree_add_item(args_tree,
                                      hf_amqp_0_10_undissected_struct32,
-                                     tvb, offset, struct_size, ENC_BIG_ENDIAN);
+                                     tvb, offset, struct_size, ENC_NA);
             dissect_amqp_0_10_struct32(tvb, ti, offset, struct_size);
             AMQP_INCREMENT(offset, struct_size, length);
         }
@@ -3133,7 +3133,7 @@ dissect_amqp_0_10_execution(tvbuff_t *tvb,
                                      hf_amqp_0_10_method_execution_error_info,
                                      tvb,
                                      offset,
-                                     struct_size, ENC_BIG_ENDIAN);
+                                     struct_size, ENC_NA);
             dissect_amqp_0_10_map (tvb,
                                    offset,
                                    offset + struct_size,
@@ -3185,7 +3185,7 @@ dissect_amqp_0_10_message(tvbuff_t *tvb,
     AMQP_INCREMENT(offset, 2, length);
 
     ti = proto_tree_add_item(tree, hf_amqp_method_arguments,
-                             tvb, offset, length - 4, ENC_BIG_ENDIAN);
+                             tvb, offset, length - 4, ENC_NA);
     args_tree = proto_item_add_subtree(ti, ett_args);
     /*
      * The flag bits are a simple bit string, not a net-byte-order
@@ -3236,7 +3236,7 @@ dissect_amqp_0_10_message(tvbuff_t *tvb,
                 THROW(ReportedBoundsError);
             ti = proto_tree_add_item(args_tree,
                                      hf_amqp_0_10_method_message_accept_transfers,
-                                     tvb, offset, size + 2, ENC_BIG_ENDIAN);
+                                     tvb, offset, size + 2, ENC_NA);
             AMQP_INCREMENT(offset, 2, length);
             format_amqp_0_10_sequence_set(tvb, offset, size, ti);
             AMQP_INCREMENT(offset, size, length);
@@ -3252,7 +3252,7 @@ dissect_amqp_0_10_message(tvbuff_t *tvb,
             THROW_ON(((offset + 2 + size) > length), ReportedBoundsError);
             ti = proto_tree_add_item(args_tree,
                                      hf_amqp_0_10_method_message_accept_transfers,
-                                     tvb, offset, size + 2, ENC_BIG_ENDIAN);
+                                     tvb, offset, size + 2, ENC_NA);
             AMQP_INCREMENT(offset, 2, length);
             format_amqp_0_10_sequence_set(tvb, offset, size, ti);
             AMQP_INCREMENT(offset, size, length);
@@ -3282,7 +3282,7 @@ dissect_amqp_0_10_message(tvbuff_t *tvb,
             THROW_ON(((offset + 2 + size) > length), ReportedBoundsError);
             proto_tree_add_item(args_tree,
                                 hf_amqp_0_10_method_message_accept_transfers,
-                                tvb, offset, size + 2, ENC_BIG_ENDIAN);
+                                tvb, offset, size + 2, ENC_NA);
             AMQP_INCREMENT(offset, 2, length);
             format_amqp_0_10_sequence_set(tvb, offset, size, ti);
             AMQP_INCREMENT(offset, size, length);
@@ -3304,7 +3304,7 @@ dissect_amqp_0_10_message(tvbuff_t *tvb,
             THROW_ON(((offset + 2 + size) > length), ReportedBoundsError);
             proto_tree_add_item(args_tree,
                                 hf_amqp_0_10_method_message_accept_transfers,
-                                tvb, offset, size + 2, ENC_BIG_ENDIAN);
+                                tvb, offset, size + 2, ENC_NA);
             AMQP_INCREMENT(offset, 2, length);
             format_amqp_0_10_sequence_set(tvb, offset, size, ti);
             AMQP_INCREMENT(offset, size, length);
@@ -3397,7 +3397,7 @@ dissect_amqp_0_10_message(tvbuff_t *tvb,
                                      hf_amqp_0_10_method_message_subscribe_args,
                                      tvb,
                                      offset,
-                                     4 + map_size, ENC_BIG_ENDIAN);
+                                     4 + map_size, ENC_NA);
             dissect_amqp_0_10_map (tvb,
                                    offset + 4,
                                    offset + 4 + map_size,
@@ -3580,7 +3580,7 @@ dissect_amqp_0_10_dtx(tvbuff_t *tvb,
         return;
 
     ti = proto_tree_add_item(tree, hf_amqp_method_arguments,
-                             tvb, offset, length - 4, ENC_BIG_ENDIAN);
+                             tvb, offset, length - 4, ENC_NA);
     args_tree = proto_item_add_subtree(ti, ett_args);
 
     /*
@@ -3607,7 +3607,7 @@ dissect_amqp_0_10_dtx(tvbuff_t *tvb,
                                      hf_amqp_0_10_dtx_xid,
                                      tvb,
                                      offset - 2,
-                                     xid_length + 2, ENC_BIG_ENDIAN);
+                                     xid_length + 2, ENC_NA);
             dissect_amqp_0_10_xid (tvb,
                                    offset,
                                    xid_length,
@@ -3637,7 +3637,7 @@ dissect_amqp_0_10_dtx(tvbuff_t *tvb,
                                      hf_amqp_0_10_dtx_xid,
                                      tvb,
                                      offset - 2,
-                                     xid_length + 2, ENC_BIG_ENDIAN);
+                                     xid_length + 2, ENC_NA);
             dissect_amqp_0_10_xid (tvb,
                                    offset,
                                    xid_length,
@@ -3666,7 +3666,7 @@ dissect_amqp_0_10_dtx(tvbuff_t *tvb,
                                      hf_amqp_0_10_dtx_xid,
                                      tvb,
                                      offset - 2,
-                                     xid_length + 2, ENC_BIG_ENDIAN);
+                                     xid_length + 2, ENC_NA);
             dissect_amqp_0_10_xid (tvb,
                                    offset,
                                    xid_length,
@@ -3695,7 +3695,7 @@ dissect_amqp_0_10_dtx(tvbuff_t *tvb,
                                      hf_amqp_0_10_dtx_xid,
                                      tvb,
                                      offset - 2,
-                                     xid_length + 2, ENC_BIG_ENDIAN);
+                                     xid_length + 2, ENC_NA);
             dissect_amqp_0_10_xid (tvb,
                                    offset,
                                    xid_length,
@@ -3715,7 +3715,7 @@ dissect_amqp_0_10_dtx(tvbuff_t *tvb,
                                      hf_amqp_0_10_dtx_xid,
                                      tvb,
                                      offset - 2,
-                                     xid_length + 2, ENC_BIG_ENDIAN);
+                                     xid_length + 2, ENC_NA);
             dissect_amqp_0_10_xid (tvb,
                                    offset,
                                    xid_length,
@@ -3773,7 +3773,7 @@ dissect_amqp_0_10_exchange(tvbuff_t *tvb,
     AMQP_INCREMENT(offset, 2, length);
 
     ti = proto_tree_add_item(tree, hf_amqp_method_arguments,
-                             tvb, offset, length - 4, ENC_BIG_ENDIAN);
+                             tvb, offset, length - 4, ENC_NA);
     args_tree = proto_item_add_subtree(ti, ett_args);
 
     /*
@@ -3836,7 +3836,7 @@ dissect_amqp_0_10_exchange(tvbuff_t *tvb,
                                      hf_amqp_0_10_method_exchange_declare_arguments,
                                      tvb,
                                      offset - 4,
-                                     map_length + 4, ENC_BIG_ENDIAN);
+                                     map_length + 4, ENC_NA);
             dissect_amqp_0_10_map (tvb,
                                    offset,
                                    offset + map_length,
@@ -3913,7 +3913,7 @@ dissect_amqp_0_10_exchange(tvbuff_t *tvb,
                                      hf_amqp_0_10_method_exchange_declare_arguments,
                                      tvb,
                                      offset - 4,
-                                     map_length + 4, ENC_BIG_ENDIAN);
+                                     map_length + 4, ENC_NA);
             dissect_amqp_0_10_map (tvb,
                                    offset,
                                    offset + map_length,
@@ -3987,7 +3987,7 @@ dissect_amqp_0_10_exchange(tvbuff_t *tvb,
                                      hf_amqp_0_10_method_exchange_declare_arguments,
                                      tvb,
                                      offset - 4,
-                                     map_length + 4, ENC_BIG_ENDIAN);
+                                     map_length + 4, ENC_NA);
             dissect_amqp_0_10_map (tvb,
                                    offset,
                                    offset + map_length,
@@ -4039,7 +4039,7 @@ dissect_amqp_0_10_queue(tvbuff_t *tvb,
     AMQP_INCREMENT(offset, 2, length);
 
     ti = proto_tree_add_item(tree, hf_amqp_method_arguments,
-                             tvb, offset, length - 4, ENC_BIG_ENDIAN);
+                             tvb, offset, length - 4, ENC_NA);
     args_tree = proto_item_add_subtree(ti, ett_args);
 
     /*
@@ -4097,7 +4097,7 @@ dissect_amqp_0_10_queue(tvbuff_t *tvb,
                                      hf_amqp_0_10_method_queue_declare_arguments,
                                      tvb,
                                      offset - 4,
-                                     map_length + 4, ENC_BIG_ENDIAN);
+                                     map_length + 4, ENC_NA);
             dissect_amqp_0_10_map (tvb,
                                    offset,
                                    offset + map_length,
@@ -4197,7 +4197,7 @@ dissect_amqp_0_10_file(tvbuff_t *tvb,
     AMQP_INCREMENT(offset, 2, length);
 
     ti = proto_tree_add_item(tree, hf_amqp_method_arguments,
-                             tvb, offset, length - 4, ENC_BIG_ENDIAN);
+                             tvb, offset, length - 4, ENC_NA);
     args_tree = proto_item_add_subtree(ti, ett_args);
 
     /*
@@ -4283,7 +4283,7 @@ dissect_amqp_0_10_file(tvbuff_t *tvb,
                                      hf_amqp_0_10_method_file_consume_arguments,
                                      tvb,
                                      offset - 4,
-                                     map_length + 4, ENC_BIG_ENDIAN);
+                                     map_length + 4, ENC_NA);
             dissect_amqp_0_10_map (tvb,
                                    offset,
                                    offset + map_length,
@@ -4535,7 +4535,7 @@ dissect_amqp_0_10_stream(tvbuff_t *tvb,
     AMQP_INCREMENT(offset, 2, length);
 
     ti = proto_tree_add_item(tree, hf_amqp_method_arguments,
-                             tvb, offset, length - 4, ENC_BIG_ENDIAN);
+                             tvb, offset, length - 4, ENC_NA);
     args_tree = proto_item_add_subtree(ti, ett_args);
 
     /*
@@ -4623,7 +4623,7 @@ dissect_amqp_0_10_stream(tvbuff_t *tvb,
                                      hf_amqp_0_10_method_stream_consume_arguments,
                                      tvb,
                                      offset - 4,
-                                     map_length + 4, ENC_BIG_ENDIAN);
+                                     map_length + 4, ENC_NA);
             dissect_amqp_0_10_map (tvb,
                                    offset,
                                    offset + map_length,
@@ -4953,7 +4953,7 @@ dissect_amqp_0_10_struct_message_properties(tvbuff_t *tvb,
         len16 = tvb_get_ntohs(tvb, offset);
         proto_tree_add_item(frag,
                             hf_amqp_0_10_struct_message_properties_correlation,
-                            tvb, offset + 2, len16, ENC_BIG_ENDIAN);
+                            tvb, offset + 2, len16, ENC_NA);
         AMQP_INCREMENT(offset, (2 + len16), max_length);
     }
     if (flag1 & 0x08) {
@@ -4963,7 +4963,7 @@ dissect_amqp_0_10_struct_message_properties(tvbuff_t *tvb,
         AMQP_INCREMENT(offset, 2, max_length);
         ti = proto_tree_add_item(frag,
                                  hf_amqp_0_10_struct_message_properties_reply_to,
-                                 tvb, offset, len16, ENC_BIG_ENDIAN);
+                                 tvb, offset, len16, ENC_NA);
         args_tree = proto_item_add_subtree(ti, ett_args);
         subflags_item = proto_tree_add_item(args_tree,
                                             hf_amqp_0_10_argument_packing_flags,
@@ -5011,7 +5011,7 @@ dissect_amqp_0_10_struct_message_properties(tvbuff_t *tvb,
         len16 = tvb_get_ntohs(tvb, offset);
         proto_tree_add_item(frag,
                             hf_amqp_0_10_struct_message_properties_user_id,
-                            tvb, offset + 2, len16, ENC_BIG_ENDIAN);
+                            tvb, offset + 2, len16, ENC_NA);
         AMQP_INCREMENT(offset, (2 + len16), max_length);
     }
     if (flag1 & 0x80) {
@@ -5019,7 +5019,7 @@ dissect_amqp_0_10_struct_message_properties(tvbuff_t *tvb,
         len16 = tvb_get_ntohs(tvb, offset);
         proto_tree_add_item(frag,
                             hf_amqp_0_10_struct_message_properties_app_id,
-                            tvb, offset + 2, len16, ENC_BIG_ENDIAN);
+                            tvb, offset + 2, len16, ENC_NA);
         AMQP_INCREMENT(offset, (2 + len16), max_length);
     }
     if (flag2 & 0x01) {
@@ -5030,7 +5030,7 @@ dissect_amqp_0_10_struct_message_properties(tvbuff_t *tvb,
                                  hf_amqp_0_10_struct_message_properties_application_headers,
                                  tvb,
                                  offset,
-                                 map_length, ENC_BIG_ENDIAN);
+                                 map_length, ENC_NA);
         dissect_amqp_0_10_map (tvb,
                                offset,
                                offset + map_length,
@@ -5091,7 +5091,7 @@ dissect_amqp_0_10_struct_exchange_query_result(tvbuff_t *tvb,
                                  hf_amqp_0_10_method_exchange_declare_arguments,
                                  tvb,
                                  offset - 4,
-                                 map_length + 4, ENC_BIG_ENDIAN);
+                                 map_length + 4, ENC_NA);
         dissect_amqp_0_10_map (tvb,
                                offset,
                                offset + map_length,
@@ -5166,7 +5166,7 @@ dissect_amqp_0_10_struct_queue_query_result(tvbuff_t *tvb,
                                  hf_amqp_0_10_method_queue_declare_arguments,
                                  tvb,
                                  offset - 4,
-                                 map_length + 4, ENC_BIG_ENDIAN);
+                                 map_length + 4, ENC_NA);
         dissect_amqp_0_10_map (tvb,
                                offset,
                                offset + map_length,
@@ -5239,7 +5239,7 @@ dissect_amqp_0_10_struct_file_properties(tvbuff_t *tvb,
                                  hf_amqp_0_10_struct_file_properties_headers,
                                  tvb,
                                  offset,
-                                 map_length, ENC_BIG_ENDIAN);
+                                 map_length, ENC_NA);
         dissect_amqp_0_10_map (tvb,
                                offset,
                                offset + map_length,
@@ -5349,7 +5349,7 @@ dissect_amqp_0_10_struct_stream_properties(tvbuff_t *tvb,
                                  hf_amqp_0_10_struct_stream_properties_headers,
                                  tvb,
                                  offset,
-                                 map_length, ENC_BIG_ENDIAN);
+                                 map_length, ENC_NA);
         dissect_amqp_0_10_map (tvb,
                                offset,
                                offset + map_length,
@@ -5436,7 +5436,7 @@ dissect_amqp_0_10_struct32(tvbuff_t *tvb,
                 THROW_ON(((consumed + size) > struct_length), ReportedBoundsError);
                 ti = proto_tree_add_item(result,
                                          hf_amqp_0_10_struct_acquired_transfers,
-                                         tvb, offset, size + 2, ENC_BIG_ENDIAN);
+                                         tvb, offset, size + 2, ENC_NA);
                 format_amqp_0_10_sequence_set(tvb, offset + 2, size, ti);
             }
             break;
@@ -5701,7 +5701,7 @@ dissect_amqp_0_10_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
                 ti = proto_tree_add_item(amqp_tree,
                                          hf_amqp_0_10_undissected_struct32,
-                                         tvb, offset, struct_length, ENC_BIG_ENDIAN);
+                                         tvb, offset, struct_length, ENC_NA);
                 dissect_amqp_0_10_struct32(tvb, ti, offset, struct_length);
                 AMQP_INCREMENT(offset, struct_length, length);
             } while (offset < length);
@@ -5712,7 +5712,7 @@ dissect_amqp_0_10_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
             col_set_fence(pinfo->cinfo, COL_INFO);
             proto_tree_add_item(amqp_tree,
                                 hf_amqp_0_10_message_body,
-                                tvb, offset, length - 12, ENC_BIG_ENDIAN);
+                                tvb, offset, length - 12, ENC_NA);
             break;
 
         default:
@@ -5788,7 +5788,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 proto_tree_add_item(amqp_tree, hf_amqp_method_connection_method_id,
                     tvb, 9, 2, ENC_BIG_ENDIAN);
                 ti = proto_tree_add_item(amqp_tree, hf_amqp_method_arguments,
-                    tvb, 11, length - 4, ENC_BIG_ENDIAN);
+                    tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
                                col_append_fstr(pinfo->cinfo, COL_INFO, "Connection.%s", 
                                        val_to_str( method_id, amqp_method_connection_methods, "Unknown (%u)"));
@@ -5850,7 +5850,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 proto_tree_add_item(amqp_tree, hf_amqp_method_channel_method_id,
                     tvb, 9, 2, ENC_BIG_ENDIAN);
                 ti = proto_tree_add_item(amqp_tree, hf_amqp_method_arguments,
-                    tvb, 11, length - 4, ENC_BIG_ENDIAN);
+                    tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
 
                                col_append_fstr(pinfo->cinfo, COL_INFO, "Channel.%s", 
@@ -5910,7 +5910,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 proto_tree_add_item(amqp_tree, hf_amqp_method_access_method_id,
                     tvb, 9, 2, ENC_BIG_ENDIAN);
                 ti = proto_tree_add_item(amqp_tree, hf_amqp_method_arguments,
-                    tvb, 11, length - 4, ENC_BIG_ENDIAN);
+                    tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
                 switch (method_id) {
                 case AMQP_0_9_METHOD_ACCESS_REQUEST:
@@ -5939,7 +5939,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 proto_tree_add_item(amqp_tree, hf_amqp_method_exchange_method_id,
                     tvb, 9, 2, ENC_BIG_ENDIAN);
                 ti = proto_tree_add_item(amqp_tree, hf_amqp_method_arguments,
-                    tvb, 11, length - 4, ENC_BIG_ENDIAN);
+                    tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
                                col_append_fstr(pinfo->cinfo, COL_INFO, "Exchange.%s", 
                                        val_to_str( method_id, amqp_method_exchange_methods, "Unknown (%u)"));
@@ -5981,7 +5981,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 proto_tree_add_item(amqp_tree, hf_amqp_method_queue_method_id,
                     tvb, 9, 2, ENC_BIG_ENDIAN);
                 ti = proto_tree_add_item(amqp_tree, hf_amqp_method_arguments,
-                    tvb, 11, length - 4, ENC_BIG_ENDIAN);
+                    tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
                                col_append_fstr(pinfo->cinfo, COL_INFO, "Queue.%s", 
                                        val_to_str( method_id, amqp_method_queue_methods, "Unknown (%u)"));
@@ -6040,7 +6040,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 proto_tree_add_item(amqp_tree, hf_amqp_method_basic_method_id,
                     tvb, 9, 2, ENC_BIG_ENDIAN);
                 ti = proto_tree_add_item(amqp_tree, hf_amqp_method_arguments,
-                    tvb, 11, length - 4, ENC_BIG_ENDIAN);
+                    tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
 
                                col_append_fstr(pinfo->cinfo, COL_INFO, "Basic.%s", 
@@ -6120,7 +6120,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 proto_tree_add_item(amqp_tree, hf_amqp_method_file_method_id,
                     tvb, 9, 2, ENC_BIG_ENDIAN);
                 ti = proto_tree_add_item(amqp_tree, hf_amqp_method_arguments,
-                    tvb, 11, length - 4, ENC_BIG_ENDIAN);
+                    tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
 
                                col_append_fstr(pinfo->cinfo, COL_INFO, "File.%s", 
@@ -6196,7 +6196,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 proto_tree_add_item(amqp_tree, hf_amqp_method_stream_method_id,
                     tvb, 9, 2, ENC_BIG_ENDIAN);
                 ti = proto_tree_add_item(amqp_tree, hf_amqp_method_arguments,
-                    tvb, 11, length - 4, ENC_BIG_ENDIAN);
+                    tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
 
                                col_append_fstr(pinfo->cinfo, COL_INFO, "Stream.%s", 
@@ -6252,7 +6252,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 proto_tree_add_item(amqp_tree, hf_amqp_method_tx_method_id,
                     tvb, 9, 2, ENC_BIG_ENDIAN);
                 ti = proto_tree_add_item(amqp_tree, hf_amqp_method_arguments,
-                    tvb, 11, length - 4, ENC_BIG_ENDIAN);
+                    tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
 
                                col_append_fstr(pinfo->cinfo, COL_INFO, "Tx.%s", 
@@ -6296,7 +6296,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 proto_tree_add_item(amqp_tree, hf_amqp_method_dtx_method_id,
                     tvb, 9, 2, ENC_BIG_ENDIAN);
                 ti = proto_tree_add_item(amqp_tree, hf_amqp_method_arguments,
-                    tvb, 11, length - 4, ENC_BIG_ENDIAN);
+                    tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
 
                                col_append_fstr(pinfo->cinfo, COL_INFO, "Dtx.%s", 
@@ -6332,7 +6332,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 proto_tree_add_item(amqp_tree, hf_amqp_method_tunnel_method_id,
                     tvb, 9, 2, ENC_BIG_ENDIAN);
                 ti = proto_tree_add_item(amqp_tree, hf_amqp_method_arguments,
-                    tvb, 11, length - 4, ENC_BIG_ENDIAN);
+                    tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
                 switch (method_id) {
                 case AMQP_0_9_METHOD_TUNNEL_REQUEST:
@@ -6367,7 +6367,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
             proto_tree_add_item(amqp_tree, hf_amqp_header_property_flags,
                 tvb, 19, 2, ENC_BIG_ENDIAN);
             ti = proto_tree_add_item(amqp_tree, hf_amqp_header_properties,
-                tvb, 21, length - 14, ENC_BIG_ENDIAN);
+                tvb, 21, length - 14, ENC_NA);
             prop_tree = proto_item_add_subtree(ti, ett_props);
             offset = 21;
             switch (class_id) {
@@ -6398,7 +6398,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
             break;
         case AMQP_0_9_FRAME_TYPE_CONTENT_BODY:
             proto_tree_add_item(amqp_tree, hf_amqp_payload,
-                tvb, 7, length, ENC_BIG_ENDIAN);
+                tvb, 7, length, ENC_NA);
             col_append_str(pinfo->cinfo, COL_INFO, "Content-Body ");
             col_set_fence(pinfo->cinfo, COL_INFO);
             break;
@@ -6431,18 +6431,18 @@ dissect_amqp_0_9_method_connection_start(tvbuff_t *tvb, packet_info *pinfo,
     /*  server-properties (table)  */
     ti = proto_tree_add_item(
         args_tree, hf_amqp_method_connection_start_server_properties,
-        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
     dissect_amqp_0_9_field_table(tvb, pinfo, offset + 4, tvb_get_ntohl(tvb, offset), ti);
     offset += 4 + tvb_get_ntohl(tvb, offset);
 
     /*  mechanisms (longstr)     */
     proto_tree_add_item(args_tree, hf_amqp_0_9_method_connection_start_mechanisms,
-        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
     offset += 4 + tvb_get_ntohl(tvb, offset);
 
     /*  locales (longstr)        */
     proto_tree_add_item(args_tree, hf_amqp_0_9_method_connection_start_locales,
-        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
     offset += 4 + tvb_get_ntohl(tvb, offset);
 
     return offset;
@@ -6458,7 +6458,7 @@ dissect_amqp_0_9_method_connection_start_ok(tvbuff_t *tvb, packet_info *pinfo,
     /*  client-properties (table)  */
     ti = proto_tree_add_item(
         args_tree, hf_amqp_method_connection_start_ok_client_properties,
-        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
     dissect_amqp_0_9_field_table(tvb, pinfo, offset + 4, tvb_get_ntohl(tvb, offset), ti);
     offset += 4 + tvb_get_ntohl(tvb, offset);
 
@@ -6469,7 +6469,7 @@ dissect_amqp_0_9_method_connection_start_ok(tvbuff_t *tvb, packet_info *pinfo,
 
     /*  response (longstr)       */
     proto_tree_add_item(args_tree, hf_amqp_method_connection_start_ok_response,
-        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
     offset += 4 + tvb_get_ntohl(tvb, offset);
 
     /*  locale (shortstr)        */
@@ -6488,7 +6488,7 @@ dissect_amqp_0_9_method_connection_secure(tvbuff_t *tvb,
 {
     /*  challenge (longstr)      */
     proto_tree_add_item(args_tree, hf_amqp_method_connection_secure_challenge,
-        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
     offset += 4 + tvb_get_ntohl(tvb, offset);
 
     return offset;
@@ -6502,7 +6502,7 @@ dissect_amqp_0_9_method_connection_secure_ok(tvbuff_t *tvb,
 {
     /*  response (longstr)       */
     proto_tree_add_item(args_tree, hf_amqp_method_connection_secure_ok_response,
-        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
     offset += 4 + tvb_get_ntohl(tvb, offset);
 
     return offset;
@@ -6672,7 +6672,7 @@ dissect_amqp_0_9_method_channel_open_ok(tvbuff_t *tvb _U_,
 {
     /*  channel-id (longstr)     */
     proto_tree_add_item(args_tree, hf_amqp_method_channel_open_ok_channel_id,
-        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
     offset += 4 + tvb_get_ntohl(tvb, offset);
 
     return offset;
@@ -6750,7 +6750,7 @@ dissect_amqp_0_9_method_channel_resume(tvbuff_t *tvb _U_,
 {
     /*  channel-id (longstr)     */
     proto_tree_add_item(args_tree, hf_amqp_method_channel_resume_channel_id,
-        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
     offset += 4 + tvb_get_ntohl(tvb, offset);
 
     return offset;
@@ -6877,7 +6877,7 @@ dissect_amqp_0_9_method_exchange_declare(tvbuff_t *tvb, packet_info *pinfo,
     /*  arguments (table)        */
     ti = proto_tree_add_item(
         args_tree, hf_amqp_method_exchange_declare_arguments,
-        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
     dissect_amqp_0_9_field_table(tvb, pinfo, offset + 4, tvb_get_ntohl(tvb, offset), ti);
     offset += 4 + tvb_get_ntohl(tvb, offset);
 
@@ -6928,7 +6928,7 @@ dissect_amqp_0_9_method_exchange_bind(tvbuff_t *tvb, packet_info *pinfo,
     /*  arguments (table)        */
     ti = proto_tree_add_item(
         args_tree, hf_amqp_method_exchange_bind_arguments,
-        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
     dissect_amqp_0_9_field_table(tvb, pinfo, offset + 4, tvb_get_ntohl(tvb, offset), ti);
     offset += 4 + tvb_get_ntohl(tvb, offset);
 
@@ -7021,7 +7021,7 @@ dissect_amqp_0_9_method_queue_declare(tvbuff_t *tvb, packet_info *pinfo,
     /*  arguments (table)        */
     ti = proto_tree_add_item(
         args_tree, hf_amqp_method_queue_declare_arguments,
-        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
     dissect_amqp_0_9_field_table(tvb, pinfo, offset + 4, tvb_get_ntohl(tvb, offset), ti);
     offset += 4 + tvb_get_ntohl(tvb, offset);
 
@@ -7087,7 +7087,7 @@ dissect_amqp_0_9_method_queue_bind(tvbuff_t *tvb, packet_info *pinfo,
     /*  arguments (table)        */
     ti = proto_tree_add_item(
         args_tree, hf_amqp_method_queue_bind_arguments,
-        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
     dissect_amqp_0_9_field_table(tvb, pinfo, offset + 4, tvb_get_ntohl(tvb, offset), ti);
     offset += 4 + tvb_get_ntohl(tvb, offset);
 
@@ -7133,7 +7133,7 @@ dissect_amqp_0_9_method_queue_unbind(tvbuff_t *tvb, packet_info *pinfo,
     /*  arguments (table)        */
     ti = proto_tree_add_item(
         args_tree, hf_amqp_method_queue_unbind_arguments,
-        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
     dissect_amqp_0_9_field_table(tvb, pinfo, offset + 4, tvb_get_ntohl(tvb, offset), ti);
     offset += 4 + tvb_get_ntohl(tvb, offset);
 
@@ -7305,7 +7305,7 @@ dissect_amqp_0_9_method_basic_consume(tvbuff_t *tvb, packet_info *pinfo,
     /*  filter (table)           */
     ti = proto_tree_add_item(
         args_tree, hf_amqp_method_basic_consume_filter,
-        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
     dissect_amqp_0_9_field_table(tvb, pinfo, offset + 4, tvb_get_ntohl(tvb, offset), ti);
     offset += 4 + tvb_get_ntohl(tvb, offset);
 
@@ -7647,7 +7647,7 @@ dissect_amqp_0_9_method_file_consume(tvbuff_t *tvb, packet_info *pinfo,
     /*  filter (table)           */
     ti = proto_tree_add_item(
         args_tree, hf_amqp_method_file_consume_filter,
-        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
     dissect_amqp_0_9_field_table(tvb, pinfo, offset + 4, tvb_get_ntohl(tvb, offset), ti);
     offset += 4 + tvb_get_ntohl(tvb, offset);
 
@@ -7959,7 +7959,7 @@ dissect_amqp_0_9_method_stream_consume(tvbuff_t *tvb, packet_info *pinfo,
     /*  filter (table)           */
     ti = proto_tree_add_item(
         args_tree, hf_amqp_method_stream_consume_filter,
-        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
     dissect_amqp_0_9_field_table(tvb, pinfo, offset + 4, tvb_get_ntohl(tvb, offset), ti);
     offset += 4 + tvb_get_ntohl(tvb, offset);
 
@@ -8208,7 +8208,7 @@ dissect_amqp_0_9_method_tunnel_request(tvbuff_t *tvb, packet_info *pinfo,
     /*  meta-data (table)        */
     ti = proto_tree_add_item(
         args_tree, hf_amqp_method_tunnel_request_meta_data,
-        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+        tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
     dissect_amqp_0_9_field_table(tvb, pinfo, offset + 4, tvb_get_ntohl(tvb, offset), ti);
     offset += 4 + tvb_get_ntohl(tvb, offset);
 
@@ -8247,7 +8247,7 @@ dissect_amqp_0_9_content_header_basic(tvbuff_t *tvb, packet_info *pinfo,
         /*  headers (table)          */
         ti = proto_tree_add_item(
             prop_tree, hf_amqp_header_basic_headers,
-            tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+            tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
         dissect_amqp_0_9_field_table(tvb, pinfo, offset + 4, tvb_get_ntohl(tvb, offset), ti);
         offset += 4 + tvb_get_ntohl(tvb, offset);
     }
@@ -8373,7 +8373,7 @@ dissect_amqp_0_9_content_header_file(tvbuff_t *tvb, packet_info *pinfo,
     if (prop_flags & 0x8000) {
         /*  headers (table)          */
         ti = proto_tree_add_item(prop_tree, hf_amqp_header_file_headers,
-            tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+            tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
         dissect_amqp_0_9_field_table(tvb, pinfo, offset + 4, tvb_get_ntohl(tvb, offset), ti);
         offset += 4 + tvb_get_ntohl(tvb, offset);
     }
@@ -8459,7 +8459,7 @@ dissect_amqp_0_9_content_header_stream(tvbuff_t *tvb, packet_info *pinfo,
     if (prop_flags & 0x8000) {
         /*  headers (table)          */
         ti = proto_tree_add_item(prop_tree, hf_amqp_header_stream_headers,
-            tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+            tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
         dissect_amqp_0_9_field_table(tvb, pinfo, offset + 4, tvb_get_ntohl(tvb, offset), ti);
         offset += 4 + tvb_get_ntohl(tvb, offset);
     }
@@ -8497,7 +8497,7 @@ dissect_amqp_0_9_content_header_tunnel(tvbuff_t *tvb, packet_info *pinfo,
     if (prop_flags & 0x8000) {
         /*  headers (table)          */
         ti = proto_tree_add_item(prop_tree, hf_amqp_header_tunnel_headers,
-            tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_BIG_ENDIAN);
+            tvb, offset + 4, tvb_get_ntohl(tvb, offset), ENC_NA);
         dissect_amqp_0_9_field_table(tvb, pinfo, offset + 4, tvb_get_ntohl(tvb, offset), ti);
         offset += 4 + tvb_get_ntohl(tvb, offset);
     }
index 8fec7dd763ee12408aafbb0f2720bbc0a3ac7991..8d4466bc2bc5d906f6489196a2eb0ffd72372dd6 100644 (file)
@@ -162,7 +162,7 @@ dissect_arcnet_common (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree,
   offset++;
 
   if (has_offset) {
-    proto_tree_add_item (arcnet_tree, hf_arcnet_offset, tvb, offset, 2, ENC_BIG_ENDIAN);
+    proto_tree_add_item (arcnet_tree, hf_arcnet_offset, tvb, offset, 2, ENC_NA);
     offset += 2;
   }
 
index cfafcd73424144424326125f486c137db1f55ea7..ca34e7494d2592416aabfedad84c2df3fdeff423 100644 (file)
@@ -503,7 +503,7 @@ dissect_artnet_poll(tvbuff_t *tvb, guint offset, proto_tree *tree)
   offset += 1;
 
   proto_tree_add_item(tree, hf_artnet_filler, tvb,
-                      offset, 1, ENC_BIG_ENDIAN);
+                      offset, 1, ENC_NA);
   offset += 1;
 
   return offset;
@@ -567,7 +567,7 @@ dissect_artnet_poll_reply(tvbuff_t *tvb, guint offset, proto_tree *tree)
                            tvb,
                            offset,
                            ARTNET_POLL_REPLY_PORT_INFO_LENGTH,
-                           ENC_BIG_ENDIAN);
+                           ENC_NA);
 
   si = proto_item_add_subtree(hi, ett_artnet);
 
@@ -581,7 +581,7 @@ dissect_artnet_poll_reply(tvbuff_t *tvb, guint offset, proto_tree *tree)
                            tvb,
                            offset,
                            ARTNET_POLL_REPLY_PORT_TYPES_LENGTH,
-                           ENC_BIG_ENDIAN);
+                           ENC_NA);
 
   ti = proto_item_add_subtree(hi, ett_artnet);
 
@@ -610,7 +610,7 @@ dissect_artnet_poll_reply(tvbuff_t *tvb, guint offset, proto_tree *tree)
                            tvb,
                            offset,
                            ARTNET_POLL_REPLY_GOOD_INPUT_LENGTH,
-                           ENC_BIG_ENDIAN);
+                           ENC_NA);
 
   ti = proto_item_add_subtree(hi, ett_artnet);
 
@@ -639,7 +639,7 @@ dissect_artnet_poll_reply(tvbuff_t *tvb, guint offset, proto_tree *tree)
                            tvb,
                            offset,
                            ARTNET_POLL_REPLY_GOOD_OUTPUT_LENGTH,
-                           ENC_BIG_ENDIAN);
+                           ENC_NA);
 
   ti = proto_item_add_subtree(hi, ett_artnet);
 
@@ -668,7 +668,7 @@ dissect_artnet_poll_reply(tvbuff_t *tvb, guint offset, proto_tree *tree)
                            tvb,
                            offset,
                            ARTNET_POLL_REPLY_SWIN_LENGTH,
-                           ENC_BIG_ENDIAN);
+                           ENC_NA);
 
   ti = proto_item_add_subtree(hi, ett_artnet);
 
@@ -697,7 +697,7 @@ dissect_artnet_poll_reply(tvbuff_t *tvb, guint offset, proto_tree *tree)
                            tvb,
                            offset,
                            ARTNET_POLL_REPLY_SWOUT_LENGTH,
-                           ENC_BIG_ENDIAN);
+                           ENC_NA);
 
   ti = proto_item_add_subtree(hi, ett_artnet);
 
@@ -737,7 +737,7 @@ dissect_artnet_poll_reply(tvbuff_t *tvb, guint offset, proto_tree *tree)
   offset += 1;
 
   proto_tree_add_item(tree, hf_artnet_spare, tvb,
-                      offset, 4, ENC_BIG_ENDIAN);
+                      offset, 4, ENC_NA);
   offset += 4;
 
   proto_tree_add_item(tree, hf_artnet_poll_reply_mac,
@@ -789,7 +789,7 @@ dissect_artnet_output(tvbuff_t *tvb, guint offset, proto_tree *tree)
                            tvb,
                            offset,
                            length,
-                           ENC_BIG_ENDIAN);
+                           ENC_NA);
 
   si = proto_item_add_subtree(hi, ett_artnet);
 
@@ -829,7 +829,7 @@ dissect_artnet_output(tvbuff_t *tvb, guint offset, proto_tree *tree)
 
   /* Add the real type hidden */
   item = proto_tree_add_item(si, hf_artnet_output_data_filter, tvb,
-                      offset, length, FALSE );
+                      offset, length, ENC_NA );
   PROTO_ITEM_SET_HIDDEN(item);
   offset += length;
 
@@ -842,7 +842,7 @@ dissect_artnet_address(tvbuff_t *tvb, guint offset, proto_tree *tree) {
   guint8 swin,swout,swvideo,command;
 
   proto_tree_add_item(tree, hf_artnet_filler, tvb,
-                      offset, 2, ENC_BIG_ENDIAN);
+                      offset, 2, ENC_NA);
   offset += 2;
 
   proto_tree_add_item(tree, hf_artnet_address_short_name,
@@ -858,7 +858,7 @@ dissect_artnet_address(tvbuff_t *tvb, guint offset, proto_tree *tree) {
                            tvb,
                            offset,
                            ARTNET_ADDRESS_SWIN_LENGTH,
-                           ENC_BIG_ENDIAN);
+                           ENC_NA);
 
   ti = proto_item_add_subtree(hi, ett_artnet);
 
@@ -887,7 +887,7 @@ dissect_artnet_address(tvbuff_t *tvb, guint offset, proto_tree *tree) {
                            tvb,
                            offset,
                            ARTNET_ADDRESS_SWOUT_LENGTH,
-                           ENC_BIG_ENDIAN);
+                           ENC_NA);
 
   si = proto_item_add_subtree(hi, ett_artnet);
 
@@ -932,7 +932,7 @@ dissect_artnet_input(tvbuff_t *tvb, guint offset, proto_tree *tree) {
   guint8 input;
 
   proto_tree_add_item(tree, hf_artnet_filler, tvb,
-                      offset, 2, ENC_BIG_ENDIAN);
+                      offset, 2, ENC_NA);
   offset += 2;
 
   num_ports = tvb_get_letohs(tvb, offset);
@@ -945,7 +945,7 @@ dissect_artnet_input(tvbuff_t *tvb, guint offset, proto_tree *tree) {
                            tvb,
                            offset,
                            ARTNET_INPUT_INPUT_LENGTH,
-                           ENC_BIG_ENDIAN);
+                           ENC_NA);
 
   si = proto_item_add_subtree(hi, ett_artnet);
 
@@ -978,7 +978,7 @@ dissect_artnet_video_setup(tvbuff_t *tvb, guint offset, proto_tree *tree ) {
   guint8 control,font_height, last_font,first_font;
 
   proto_tree_add_item(tree, hf_artnet_filler, tvb,
-                      offset, 4, ENC_BIG_ENDIAN);
+                      offset, 4, ENC_NA);
   offset += 4;
 
   control = tvb_get_guint8(tvb, offset);
@@ -1008,7 +1008,7 @@ dissect_artnet_video_setup(tvbuff_t *tvb, guint offset, proto_tree *tree ) {
   size = last_font * font_height;
 
   proto_tree_add_item(tree, hf_artnet_video_setup_font_data, tvb,
-                      offset, size, FALSE );
+                      offset, size, ENC_NA );
 
   offset += size;
 
@@ -1019,19 +1019,19 @@ static guint
 dissect_artnet_video_palette(tvbuff_t *tvb, guint offset, proto_tree *tree)
 {
   proto_tree_add_item(tree, hf_artnet_filler, tvb,
-                      offset, 2, ENC_BIG_ENDIAN);
+                      offset, 2, ENC_NA);
   offset += 2;
 
   proto_tree_add_item(tree, hf_artnet_video_palette_colour_red, tvb,
-                      offset, 17, FALSE );
+                      offset, 17, ENC_NA );
   offset += 17;
 
   proto_tree_add_item(tree, hf_artnet_video_palette_colour_green, tvb,
-                      offset, 17, FALSE );
+                      offset, 17, ENC_NA );
   offset += 17;
 
   proto_tree_add_item(tree, hf_artnet_video_palette_colour_blue, tvb,
-                      offset, 17, FALSE );
+                      offset, 17, ENC_NA );
   offset += 17;
 
   return offset;
@@ -1043,7 +1043,7 @@ dissect_artnet_video_data(tvbuff_t *tvb, guint offset, proto_tree *tree) {
   guint32 size;
 
   proto_tree_add_item(tree, hf_artnet_filler, tvb,
-                      offset, 2, ENC_BIG_ENDIAN);
+                      offset, 2, ENC_NA);
   offset += 2;
 
   proto_tree_add_item(tree, hf_artnet_video_data_pos_x, tvb,
@@ -1067,7 +1067,7 @@ dissect_artnet_video_data(tvbuff_t *tvb, guint offset, proto_tree *tree) {
   size = len_x * len_y * 2;
 
   proto_tree_add_item(tree, hf_artnet_video_data_data, tvb,
-                      offset, size, FALSE );
+                      offset, size, ENC_NA );
 
   offset += size;
 
@@ -1080,7 +1080,7 @@ dissect_artnet_firmware_master(tvbuff_t *tvb, guint offset, proto_tree *tree ) {
   guint32 length;
 
   proto_tree_add_item(tree, hf_artnet_filler, tvb,
-                      offset, 2, ENC_BIG_ENDIAN);
+                      offset, 2, ENC_NA);
   offset += 2;
 
   type = tvb_get_guint8(tvb, offset);
@@ -1099,12 +1099,12 @@ dissect_artnet_firmware_master(tvbuff_t *tvb, guint offset, proto_tree *tree ) {
   offset += 4;
 
   proto_tree_add_item(tree, hf_artnet_spare, tvb,
-                      offset, 20, FALSE );
+                      offset, 20, ENC_NA );
 
   offset += 20;
 
   proto_tree_add_item(tree, hf_artnet_firmware_master_data, tvb,
-                      offset, 1024, FALSE );
+                      offset, 1024, ENC_NA );
 
   offset += 1024;
 
@@ -1116,7 +1116,7 @@ dissect_artnet_firmware_reply(tvbuff_t *tvb, guint offset, proto_tree *tree) {
   guint8 type;
 
   proto_tree_add_item(tree, hf_artnet_filler, tvb,
-                      offset, 2, ENC_BIG_ENDIAN);
+                      offset, 2, ENC_NA);
   offset += 2;
 
   type = tvb_get_guint8(tvb, offset);
@@ -1125,7 +1125,7 @@ dissect_artnet_firmware_reply(tvbuff_t *tvb, guint offset, proto_tree *tree) {
   offset += 1;
 
   proto_tree_add_item(tree, hf_artnet_spare, tvb,
-                      offset, 21, FALSE );
+                      offset, 21, ENC_NA );
 
   offset += 21;
 
@@ -1138,11 +1138,11 @@ dissect_artnet_tod_request(tvbuff_t *tvb, guint offset, proto_tree *tree)
   guint8 ad_count;
 
   proto_tree_add_item(tree, hf_artnet_filler, tvb,
-                     offset, 2, ENC_BIG_ENDIAN);
+                     offset, 2, ENC_NA);
   offset += 2;
 
   proto_tree_add_item(tree, hf_artnet_spare, tvb,
-                     offset, 8, ENC_BIG_ENDIAN);
+                     offset, 8, ENC_NA);
   offset += 8;
 
   proto_tree_add_item(tree, hf_artnet_tod_request_command, tvb,
@@ -1155,7 +1155,7 @@ dissect_artnet_tod_request(tvbuff_t *tvb, guint offset, proto_tree *tree)
   offset += 1;
 
   proto_tree_add_item(tree, hf_artnet_tod_request_address, tvb,
-                     offset, ad_count, ENC_BIG_ENDIAN);
+                     offset, ad_count, ENC_NA);
   offset += ad_count;
 
   return offset;
@@ -1167,7 +1167,7 @@ dissect_artnet_tod_data(tvbuff_t *tvb, guint offset, proto_tree *tree)
   guint8 i,uid_count;
 
   proto_tree_add_item(tree, hf_artnet_filler, tvb,
-                     offset, 1, ENC_BIG_ENDIAN);
+                     offset, 1, ENC_NA);
   offset += 1;
 
   proto_tree_add_item(tree, hf_artnet_tod_data_port, tvb,
@@ -1175,7 +1175,7 @@ dissect_artnet_tod_data(tvbuff_t *tvb, guint offset, proto_tree *tree)
   offset += 1;
 
   proto_tree_add_item(tree, hf_artnet_spare, tvb,
-                     offset, 8, ENC_BIG_ENDIAN);
+                     offset, 8, ENC_NA);
   offset += 8;
 
   proto_tree_add_item(tree, hf_artnet_tod_data_command_response, tvb,
@@ -1202,7 +1202,7 @@ dissect_artnet_tod_data(tvbuff_t *tvb, guint offset, proto_tree *tree)
   for( i = 0; i < uid_count; i++)
   {
     proto_tree_add_item(tree, hf_artnet_tod_data_tod, tvb,
-                        offset, 6, ENC_BIG_ENDIAN);
+                        offset, 6, ENC_NA);
     offset += 6;
   }
 
@@ -1213,11 +1213,11 @@ static guint
 dissect_artnet_tod_control(tvbuff_t *tvb, guint offset, proto_tree *tree)
 {
   proto_tree_add_item(tree, hf_artnet_filler, tvb,
-                     offset, 2, ENC_BIG_ENDIAN);
+                     offset, 2, ENC_NA);
   offset += 2;
 
   proto_tree_add_item(tree, hf_artnet_spare, tvb,
-                     offset, 8, ENC_BIG_ENDIAN);
+                     offset, 8, ENC_NA);
   offset += 8;
 
   proto_tree_add_item(tree, hf_artnet_tod_control_command, tvb,
@@ -1239,11 +1239,11 @@ dissect_artnet_rdm(tvbuff_t *tvb, guint offset, proto_tree *tree,  packet_info *
   tvbuff_t *next_tvb = NULL;
 
   proto_tree_add_item(tree, hf_artnet_filler, tvb,
-                     offset, 2, ENC_BIG_ENDIAN);
+                     offset, 2, ENC_NA);
   offset += 2;
 
   proto_tree_add_item(tree, hf_artnet_spare, tvb,
-                     offset, 8, ENC_BIG_ENDIAN);
+                     offset, 8, ENC_NA);
   offset += 8;
 
   proto_tree_add_item(tree, hf_artnet_rdm_command, tvb,
@@ -1277,7 +1277,7 @@ dissect_artnet_ip_prog(tvbuff_t *tvb, guint offset, proto_tree *tree) {
   proto_tree *flags_tree,*flags_item;
 
   proto_tree_add_item(tree, hf_artnet_filler, tvb,
-                     offset, 2, ENC_BIG_ENDIAN);
+                     offset, 2, ENC_NA);
   offset += 2;
 
   command = tvb_get_guint8(tvb, offset);
@@ -1295,7 +1295,7 @@ dissect_artnet_ip_prog(tvbuff_t *tvb, guint offset, proto_tree *tree) {
   offset += 1;
 
   proto_tree_add_item(tree, hf_artnet_filler, tvb,
-                     offset, 1, ENC_BIG_ENDIAN);
+                     offset, 1, ENC_NA);
   offset += 1;
 
   proto_tree_add_item(tree, hf_artnet_ip_prog_ip, tvb,
@@ -1311,7 +1311,7 @@ dissect_artnet_ip_prog(tvbuff_t *tvb, guint offset, proto_tree *tree) {
   offset += 2;
 
   proto_tree_add_item(tree, hf_artnet_spare, tvb,
-                     offset, 8, ENC_BIG_ENDIAN);
+                     offset, 8, ENC_NA);
   offset += 8;
 
   return offset;
@@ -1321,7 +1321,7 @@ static guint
 dissect_artnet_ip_prog_reply(tvbuff_t *tvb, guint offset, proto_tree *tree)
 {
   proto_tree_add_item(tree, hf_artnet_filler, tvb,
-                      offset, 4, ENC_BIG_ENDIAN);
+                      offset, 4, ENC_NA);
   offset += 4;
 
   proto_tree_add_item(tree, hf_artnet_ip_prog_reply_ip, tvb,
@@ -1337,7 +1337,7 @@ dissect_artnet_ip_prog_reply(tvbuff_t *tvb, guint offset, proto_tree *tree)
   offset += 2;
 
   proto_tree_add_item(tree, hf_artnet_spare, tvb,
-                     offset, 8, ENC_BIG_ENDIAN);
+                     offset, 8, ENC_NA);
   offset += 8;
 
   return offset;
@@ -1348,7 +1348,7 @@ dissect_artnet_poll_server_reply(tvbuff_t *tvb, guint offset, proto_tree *tree)
 {
   /* no spec released for this packet at the moment */
   proto_tree_add_item(tree, hf_artnet_filler, tvb,
-                      offset, 182, ENC_BIG_ENDIAN);
+                      offset, 182, ENC_NA);
   offset += 182;
 
   return offset;
@@ -1377,7 +1377,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
                              tvb,
                              offset,
                              ARTNET_HEADER_LENGTH ,
-                             ENC_BIG_ENDIAN);
+                             ENC_NA);
 
     artnet_header_tree = proto_item_add_subtree(hi, ett_artnet);
   }
@@ -1419,7 +1419,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
                                  tvb,
                                  offset,
                                  ARTNET_POLL_LENGTH,
-                                 ENC_BIG_ENDIAN);
+                                 ENC_NA);
 
         si = proto_item_add_subtree(hi, ett_artnet);
 
@@ -1437,7 +1437,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
                                  tvb,
                                  offset,
                                  ARTNET_POLL_REPLY_LENGTH,
-                                 ENC_BIG_ENDIAN);
+                                 ENC_NA);
 
         si = proto_item_add_subtree(hi, ett_artnet);
 
@@ -1455,7 +1455,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
                                  tvb,
                                  offset,
                                  ARTNET_OUTPUT_LENGTH,
-                                 ENC_BIG_ENDIAN);
+                                 ENC_NA);
 
         si = proto_item_add_subtree(hi, ett_artnet);
 
@@ -1473,7 +1473,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
                                  tvb,
                                  offset,
                                  ARTNET_POLL_REPLY_LENGTH,
-                                 ENC_BIG_ENDIAN);
+                                 ENC_NA);
 
         si = proto_item_add_subtree(hi, ett_artnet);
 
@@ -1491,7 +1491,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
                                  tvb,
                                  offset,
                                  ARTNET_INPUT_LENGTH,
-                                 ENC_BIG_ENDIAN);
+                                 ENC_NA);
 
         si = proto_item_add_subtree(hi, ett_artnet);
 
@@ -1509,7 +1509,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
                                  tvb,
                                  offset,
                                  ARTNET_VIDEO_SETUP_LENGTH,
-                                 ENC_BIG_ENDIAN);
+                                 ENC_NA);
 
         si = proto_item_add_subtree(hi, ett_artnet);
 
@@ -1527,7 +1527,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
                                  tvb,
                                  offset,
                                  ARTNET_VIDEO_PALETTE_LENGTH,
-                                 ENC_BIG_ENDIAN);
+                                 ENC_NA);
 
         si = proto_item_add_subtree(hi, ett_artnet);
 
@@ -1545,7 +1545,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
                                  tvb,
                                  offset,
                                  ARTNET_VIDEO_DATA_LENGTH,
-                                 ENC_BIG_ENDIAN);
+                                 ENC_NA);
 
         si = proto_item_add_subtree(hi, ett_artnet);
 
@@ -1563,7 +1563,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
                                  tvb,
                                  offset,
                                  ARTNET_FIRMWARE_MASTER_LENGTH,
-                                 ENC_BIG_ENDIAN);
+                                 ENC_NA);
 
         si = proto_item_add_subtree(hi, ett_artnet);
 
@@ -1581,7 +1581,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
                                  tvb,
                                  offset,
                                  ARTNET_FIRMWARE_REPLY_LENGTH,
-                                 ENC_BIG_ENDIAN);
+                                 ENC_NA);
 
         si = proto_item_add_subtree(hi, ett_artnet);
 
@@ -1599,7 +1599,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
                                 tvb,
                                 offset,
                                 0,
-                                ENC_BIG_ENDIAN);
+                                ENC_NA);
 
        si = proto_item_add_subtree(hi, ett_artnet);
 
@@ -1617,7 +1617,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
                                 tvb,
                                 offset,
                                 0,
-                                ENC_BIG_ENDIAN);
+                                ENC_NA);
 
        si = proto_item_add_subtree(hi, ett_artnet );
 
@@ -1635,7 +1635,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
                                 tvb,
                                 offset,
                                 0,
-                                FALSE );
+                                ENC_NA );
        si = proto_item_add_subtree(hi, ett_artnet );
 
        size = dissect_artnet_tod_control( tvb, offset, si );
@@ -1651,7 +1651,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
                                 tvb,
                                 offset,
                                 0,
-                                ENC_BIG_ENDIAN);
+                                ENC_NA);
       si = proto_item_add_subtree(hi,ett_artnet);
 
       size = dissect_artnet_rdm( tvb, offset, si, pinfo );
@@ -1667,7 +1667,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
                                 tvb,
                                 offset,
                                 0,
-                                ENC_BIG_ENDIAN);
+                                ENC_NA);
        si = proto_item_add_subtree(hi, ett_artnet );
 
        size = dissect_artnet_ip_prog( tvb, offset, si);
@@ -1684,7 +1684,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
                                 tvb,
                                 offset,
                                 0,
-                                ENC_BIG_ENDIAN);
+                                ENC_NA);
        si = proto_item_add_subtree(hi, ett_artnet );
 
        size = dissect_artnet_ip_prog_reply( tvb, offset, si );
@@ -1701,7 +1701,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
                                 tvb,
                                 offset,
                                 0,
-                                FALSE );
+                                ENC_NA );
        si = proto_item_add_subtree(hi, ett_artnet );
 
        size = dissect_artnet_poll_server_reply( tvb, offset, si );
index d9dfea1695bc4017778b60d6bc81bb27b5a2be92..a806ad1382c4f90f0843af81de84e768ae7a32b6 100644 (file)
@@ -84,7 +84,7 @@ dissect_papi_debug(tvbuff_t *tvb, guint offset, proto_tree *tree)
        proto_tree *debug_tree, *debug_sub_tree;
 
 
-       ti = proto_tree_add_item(tree, hf_papi_debug, tvb, offset, -1, FALSE);
+       ti = proto_tree_add_item(tree, hf_papi_debug, tvb, offset, -1, ENC_NA);
        debug_tree = proto_item_add_subtree(ti, ett_papi);
 
        while(offset < tvb_reported_length(tvb)) {
@@ -120,7 +120,7 @@ dissect_papi_debug(tvbuff_t *tvb, guint offset, proto_tree *tree)
                    offset += 3;
                break;
                case 0x08:
-                   ti = proto_tree_add_item(debug_tree, hf_papi_debug_bytes, tvb, offset+3, tvb_get_ntohs(tvb,offset+1), FALSE);
+                   ti = proto_tree_add_item(debug_tree, hf_papi_debug_bytes, tvb, offset+3, tvb_get_ntohs(tvb,offset+1), ENC_NA);
                    debug_sub_tree = proto_item_add_subtree(ti, ett_papi);
                    proto_tree_add_item(debug_sub_tree, hf_papi_debug_bytes_length, tvb, offset+1, 2, FALSE);
                    offset += tvb_get_ntohs(tvb,offset+1) + 3;
@@ -196,7 +196,7 @@ dissect_papi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                proto_tree_add_item(papi_tree, hf_papi_hdr_unknown, tvb, offset, 2, FALSE);
                offset += 2;
 
-               proto_tree_add_item(papi_tree, hf_papi_hdr_checksum, tvb, offset, 16, FALSE);
+               proto_tree_add_item(papi_tree, hf_papi_hdr_checksum, tvb, offset, 16, ENC_NA);
                offset += 16;
 
                if(g_papi_debug)
index a375d9a9b87deedff33cf17810a414c312cdb268..3e13913a473f733b3889cb51a676145291ff2bf7 100644 (file)
@@ -215,7 +215,7 @@ dissect_error_cause(tvbuff_t *cause_tvb, proto_tree *parameter_tree)
     break;
   }
   if (padding_length > 0)
-    proto_tree_add_item(cause_tree, hf_cause_padding, cause_tvb, CAUSE_HEADER_OFFSET + length, padding_length, ENC_BIG_ENDIAN);
+    proto_tree_add_item(cause_tree, hf_cause_padding, cause_tvb, CAUSE_HEADER_OFFSET + length, padding_length, ENC_NA);
 }
 
 static void
@@ -488,7 +488,7 @@ dissect_pool_handle_parameter(tvbuff_t *parameter_tvb, proto_tree *parameter_tre
   char*          tmp;
 
   handle_length = tvb_get_ntohs(parameter_tvb, PARAMETER_LENGTH_OFFSET) - PARAMETER_HEADER_LENGTH;
-  pi = proto_tree_add_item(parameter_tree, hf_pool_handle, parameter_tvb, POOL_HANDLE_OFFSET, handle_length, ENC_BIG_ENDIAN);
+  pi = proto_tree_add_item(parameter_tree, hf_pool_handle, parameter_tvb, POOL_HANDLE_OFFSET, handle_length, ENC_NA);
 
   tmp = (gchar*)tvb_get_ephemeral_string(parameter_tvb, POOL_HANDLE_OFFSET, handle_length);
   proto_item_append_text(pi, " (%s)", tmp);
@@ -553,7 +553,7 @@ dissect_cookie_parameter(tvbuff_t *parameter_tvb, proto_tree *parameter_tree, pr
 
   cookie_length = tvb_get_ntohs(parameter_tvb, PARAMETER_LENGTH_OFFSET) - PARAMETER_HEADER_LENGTH;
   if (cookie_length > 0)
-    proto_tree_add_item(parameter_tree, hf_cookie, parameter_tvb, COOKIE_OFFSET, cookie_length, ENC_BIG_ENDIAN);
+    proto_tree_add_item(parameter_tree, hf_cookie, parameter_tvb, COOKIE_OFFSET, cookie_length, ENC_NA);
   proto_item_append_text(parameter_item, " (%u byte%s)", cookie_length, plurality(cookie_length, "", "s"));
 }
 
@@ -595,7 +595,7 @@ dissect_unknown_parameter(tvbuff_t *parameter_tvb, proto_tree *parameter_tree, p
   parameter_value_length = tvb_get_ntohs(parameter_tvb, PARAMETER_LENGTH_OFFSET) - PARAMETER_HEADER_LENGTH;
 
   if (parameter_value_length > 0)
-    proto_tree_add_item(parameter_tree, hf_parameter_value, parameter_tvb, PARAMETER_VALUE_OFFSET, parameter_value_length, ENC_BIG_ENDIAN);
+    proto_tree_add_item(parameter_tree, hf_parameter_value, parameter_tvb, PARAMETER_VALUE_OFFSET, parameter_value_length, ENC_NA);
 
   proto_item_append_text(parameter_item, " (type %u and %u byte%s value)", type, parameter_value_length, plurality(parameter_value_length, "", "s"));
 }
@@ -712,7 +712,7 @@ dissect_parameter(tvbuff_t *parameter_tvb, proto_tree *asap_tree)
   };
 
   if (padding_length > 0)
-    proto_tree_add_item(parameter_tree, hf_parameter_padding, parameter_tvb, PARAMETER_HEADER_OFFSET + length, padding_length, ENC_BIG_ENDIAN);
+    proto_tree_add_item(parameter_tree, hf_parameter_padding, parameter_tvb, PARAMETER_HEADER_OFFSET + length, padding_length, ENC_NA);
 }
 
 static void
index efe690275233ab9e6b135156b43e5df36049fb8b..df9f0a9fcfbc185530e67b6950957ef4fca47e5b 100644 (file)
@@ -251,7 +251,7 @@ dissect_asf_payloads(tvbuff_t *tvb, proto_tree *tree,
                                        break;
                                default:
                                        proto_tree_add_item(ptree, hf_asf_payload_data, tvb,
-                                               offset + 4, plen - 4,ENC_BIG_ENDIAN);
+                                               offset + 4, plen - 4,ENC_NA);
                                        break;
                        }
                }
@@ -274,7 +274,7 @@ dissect_asf_payload_authentication(tvbuff_t *tvb, proto_tree *tree,
                val_to_str(alg, asf_authentication_type_vals, "Unknown (%u)"));
        atree = proto_item_add_subtree(ti, ett_asf_alg_payload);
        proto_tree_add_item(atree, hf_asf_auth_alg, tvb, offset, 1,ENC_BIG_ENDIAN);
-       proto_tree_add_item(atree, hf_asf_reserved, tvb, offset + 1, len - 1,ENC_BIG_ENDIAN);
+       proto_tree_add_item(atree, hf_asf_reserved, tvb, offset + 1, len - 1,ENC_NA);
 }
 
 static void
@@ -291,7 +291,7 @@ dissect_asf_payload_integrity(tvbuff_t *tvb, proto_tree *tree,
                val_to_str(alg, asf_integrity_type_vals, "Unknown (%u)"));
        atree = proto_item_add_subtree(ti, ett_asf_alg_payload);
        proto_tree_add_item(atree, hf_asf_integrity_alg, tvb, offset, 1,ENC_BIG_ENDIAN);
-       proto_tree_add_item(atree, hf_asf_reserved, tvb, offset + 1, len - 1,ENC_BIG_ENDIAN);
+       proto_tree_add_item(atree, hf_asf_reserved, tvb, offset + 1, len - 1,ENC_NA);
 }
 
 void
index 4921ef807031c94b1aef769ce2ee518433271f62..6892986fa295d8cb79755d3e9efb7f05e8a641ce 100644 (file)
@@ -3447,8 +3447,8 @@ static void dissect_r3_upstreamfields (tvbuff_t *tvb, guint32 start_offset _U_,
 
             proto_tree_add_uint (declinedlog_tree, hf_r3_declinedlog_cred1type, tvb, offset, 1, cred1type);
             proto_tree_add_uint (declinedlog_tree, hf_r3_declinedlog_cred2type, tvb, offset, 1, cred2type);
-            proto_tree_add_item (declinedlog_tree, hf_r3_declinedlog_cred1, tvb, offset + 9, 19, TRUE);
-            proto_tree_add_item (declinedlog_tree, hf_r3_declinedlog_cred2, tvb, offset + 28, 19, TRUE);
+            proto_tree_add_item (declinedlog_tree, hf_r3_declinedlog_cred1, tvb, offset + 9, 19, ENC_NA);
+            proto_tree_add_item (declinedlog_tree, hf_r3_declinedlog_cred2, tvb, offset + 28, 19, ENC_NA);
           }
         }
         break;
@@ -3598,7 +3598,7 @@ static void dissect_r3_upstreamcommand_dumpnvram (tvbuff_t *tvb, guint32 start_o
 
   proto_tree_add_item (tree, hf_r3_nvramdump_record, tvb, start_offset + 0, 2, TRUE);
   proto_tree_add_item (tree, hf_r3_nvramdump_length, tvb, start_offset + 2, 1, TRUE);
-  proto_tree_add_item (tree, hf_r3_nvramdump_data, tvb, start_offset + 3, tvb_get_guint8 (tvb, start_offset + 2), TRUE);
+  proto_tree_add_item (tree, hf_r3_nvramdump_data, tvb, start_offset + 3, tvb_get_guint8 (tvb, start_offset + 2), ENC_NA);
 }
 
 static void dissect_r3_upstreamcommand_rmtquthrequest (tvbuff_t *tvb, guint32 start_offset, guint32 length, packet_info *pinfo, proto_tree *tree)
@@ -3633,7 +3633,7 @@ static void dissect_r3_upstreamcommand_queryconfig (tvbuff_t *tvb, guint32 start
     switch (tvb_get_guint8 (tvb, offset + 2))
     {
       case CONFIGTYPE_NONE :
-        proto_tree_add_item (upstreamfield_tree, hf_r3_configitemdata, tvb, offset + 3, tvb_get_guint8 (tvb, offset + 0) - 3, TRUE);
+        proto_tree_add_item (upstreamfield_tree, hf_r3_configitemdata, tvb, offset + 3, tvb_get_guint8 (tvb, offset + 0) - 3, ENC_NA);
         break;
 
       case CONFIGTYPE_BOOL :
@@ -3715,7 +3715,7 @@ static void dissect_r3_upstreamcommand_dumpnvramrle (tvbuff_t *tvb, guint32 star
 {
   proto_tree_add_item (tree, hf_r3_nvramdumprle_record, tvb, start_offset + 0, 2, TRUE);
   proto_tree_add_item (tree, hf_r3_nvramdumprle_length, tvb, start_offset + 3, 1, TRUE);
-  proto_tree_add_item (tree, hf_r3_nvramdumprle_data, tvb, start_offset + 4, tvb_get_guint8 (tvb, start_offset + 3), TRUE);
+  proto_tree_add_item (tree, hf_r3_nvramdumprle_data, tvb, start_offset + 4, tvb_get_guint8 (tvb, start_offset + 3), ENC_NA);
 }
 
 static void dissect_r3_upstreamcommand_rmtdeclinedrecord (tvbuff_t *tvb, guint32 start_offset, guint32 length, packet_info *pinfo, proto_tree *tree)
@@ -3752,8 +3752,8 @@ static void dissect_r3_upstreamcommand_dumpdeclinedlog (tvbuff_t *tvb, guint32 s
 
   proto_tree_add_uint (declinedlog_tree, hf_r3_declinedlog_cred1type, tvb, start_offset, 1, cred1type);   start_offset += 0;
   proto_tree_add_uint (declinedlog_tree, hf_r3_declinedlog_cred2type, tvb, start_offset, 1, cred2type);   start_offset += 1;
-  proto_tree_add_item (declinedlog_tree, hf_r3_declinedlog_cred1, tvb, start_offset, 19, TRUE);          start_offset += 19;
-  proto_tree_add_item (declinedlog_tree, hf_r3_declinedlog_cred2, tvb, start_offset, 19, TRUE);
+  proto_tree_add_item (declinedlog_tree, hf_r3_declinedlog_cred1, tvb, start_offset, 19, ENC_NA);          start_offset += 19;
+  proto_tree_add_item (declinedlog_tree, hf_r3_declinedlog_cred2, tvb, start_offset, 19, ENC_NA);
 }
 
 static void dissect_r3_upstreamcommand_rmtalarmrecord (tvbuff_t *tvb, guint32 start_offset, guint32 length, packet_info *pinfo, proto_tree *tree)
@@ -4167,7 +4167,7 @@ static void dissect_r3_upstreammfgfield_peekpoke (tvbuff_t *tvb, guint32 start_o
         proto_item_append_text (peekpoke_item, "Read (%u Bytes @ 0x%04x)", tvb_get_guint8 (tvb, start_offset + i + 3), tvb_get_letohs (tvb, start_offset + i + 1));
         proto_item_set_len (peekpoke_item, 3 + 1 + tvb_get_guint8 (tvb, start_offset + i + 3));
         proto_tree_add_item (peekpoke_tree, hf_r3_peekpoke_length, tvb, start_offset + i + 3, 1, TRUE);
-        proto_tree_add_item (peekpoke_tree, hf_r3_peekpoke_pokestring, tvb, start_offset + i + 4, tvb_get_guint8 (tvb, start_offset + i + 3), TRUE);
+        proto_tree_add_item (peekpoke_tree, hf_r3_peekpoke_pokestring, tvb, start_offset + i + 4, tvb_get_guint8 (tvb, start_offset + i + 3), ENC_NA);
         i += tvb_get_guint8 (tvb, start_offset + i + 3) + 1;
         break;
 
@@ -4235,7 +4235,7 @@ static void dissect_r3_upstreammfgfield_capabilities (tvbuff_t *tvb, guint32 sta
 
   for (i = start_offset; i < l; i += tvb_get_guint8 (tvb, start_offset + i))
   {
-    proto_item *tmp_item = proto_tree_add_item (cf_tree, hf_r3_capabilities, tvb, start_offset + i, tvb_get_guint8 (tvb, start_offset + i), TRUE);
+    proto_item *tmp_item = proto_tree_add_item (cf_tree, hf_r3_capabilities, tvb, start_offset + i, tvb_get_guint8 (tvb, start_offset + i), ENC_NA);
     proto_tree *tmp_tree = proto_item_add_subtree (tmp_item, ett_r3capabilities);
     const gchar *fn;
 
@@ -4365,7 +4365,7 @@ static void dissect_r3_upstreammfgfield_checksumresults (tvbuff_t *tvb, guint32
 
     for (i = 0; i < l; i += tvb_get_guint8 (tvb, start_offset + i))
     {
-      proto_item *res_item = proto_tree_add_item (cksum_tree, hf_r3_checksumresults, tvb, start_offset + i, tvb_get_guint8 (tvb, start_offset + i), TRUE);
+      proto_item *res_item = proto_tree_add_item (cksum_tree, hf_r3_checksumresults, tvb, start_offset + i, tvb_get_guint8 (tvb, start_offset + i), ENC_NA);
       proto_tree *res_tree = proto_item_add_subtree (res_item, ett_r3checksumresultsfield);
       const gchar *fn;
 
@@ -4586,7 +4586,7 @@ static void dissect_r3_cmd_setconfig (tvbuff_t *tvb, guint32 start_offset, guint
       switch (configMap [tvb_get_guint8 (payload_tvb, offset + 1)].configType)
       {
         case CONFIGTYPE_NONE :
-          proto_tree_add_item (sc_tree, hf_r3_configitemdata, payload_tvb, offset + 2, tvb_get_guint8 (payload_tvb, offset + 0) - 3, TRUE);
+          proto_tree_add_item (sc_tree, hf_r3_configitemdata, payload_tvb, offset + 2, tvb_get_guint8 (payload_tvb, offset + 0) - 3, ENC_NA);
           break;
 
         case CONFIGTYPE_BOOL :
@@ -4631,7 +4631,7 @@ static void dissect_r3_cmd_getconfig (tvbuff_t *tvb, guint32 start_offset, guint
   proto_tree_add_item (tree, hf_r3_commandlength, tvb, start_offset + 0, 1, TRUE);
   proto_tree_add_item (tree, hf_r3_command, tvb, start_offset + 1, 1, TRUE);
 
-  config_item = proto_tree_add_item (tree, hf_r3_configitems, tvb, start_offset + 2, cmdLen - 2, TRUE);
+  config_item = proto_tree_add_item (tree, hf_r3_configitems, tvb, start_offset + 2, cmdLen - 2, ENC_NA);
   config_tree = proto_item_add_subtree (config_item, ett_r3configitem);
 
   for (i = 2; i < cmdLen; i++)
@@ -5063,7 +5063,7 @@ static void dissect_r3_cmd_downloadfirmware (tvbuff_t *tvb, guint32 start_offset
       proto_item_append_text (dlfw_item, "DOWNLOADFIRMWARE_DATA, Address 0x%08x, %u Bytes)", tvb_get_letohl (payload_tvb, 5), tvb_get_guint8 (payload_tvb, 9));
       proto_tree_add_item (dlfw_tree, hf_r3_firmwaredownload_address, payload_tvb, 5, 4, TRUE);
       proto_tree_add_item (dlfw_tree, hf_r3_firmwaredownload_bytes, payload_tvb, 9, 1, TRUE);
-      proto_tree_add_item (dlfw_tree, hf_r3_firmwaredownload_data, payload_tvb, 10, tvb_get_guint8 (payload_tvb, 9), TRUE);
+      proto_tree_add_item (dlfw_tree, hf_r3_firmwaredownload_data, payload_tvb, 10, tvb_get_guint8 (payload_tvb, 9), ENC_NA);
       break;
 
     case DOWNLOADFIRMWARE_COMPLETE :
@@ -5103,7 +5103,7 @@ static void dissect_r3_cmd_downloadfirmwaretimeout (tvbuff_t *tvb, guint32 start
 
   proto_tree_add_item (tree, hf_r3_commandlength, tvb, start_offset + 0, 1, TRUE);
   proto_tree_add_item (tree, hf_r3_command, tvb, start_offset + 1, 1, TRUE);
-  proto_tree_add_item (tree, hf_r3_commanddata, payload_tvb, 0, -1, TRUE);
+  proto_tree_add_item (tree, hf_r3_commanddata, payload_tvb, 0, -1, ENC_NA);
   DISSECTOR_ASSERT (0); /* ### Need nice warning here */
 }
 
@@ -5206,7 +5206,7 @@ static void dissect_r3_cmdmfg_setcryptkey (tvbuff_t *tvb, guint32 start_offset,
 {
   proto_tree_add_item (tree, hf_r3_commandmfglength, tvb, start_offset + 0, 1, TRUE);
   proto_tree_add_item (tree, hf_r3_commandmfg, tvb, start_offset + 1, 1, TRUE);
-  proto_tree_add_item (tree, hf_r3_mfgsetcryptkey, tvb, start_offset + 2, -1, TRUE);
+  proto_tree_add_item (tree, hf_r3_mfgsetcryptkey, tvb, start_offset + 2, -1, ENC_NA);
 }
 
 static void dissect_r3_cmdmfg_dumpnvram (tvbuff_t *tvb, guint32 start_offset, guint32 length _U_, packet_info *pinfo _U_, proto_tree *tree)
@@ -5413,7 +5413,7 @@ static void dissect_r3_cmdmfg_peekpoke (tvbuff_t *tvb, guint32 start_offset, gui
         proto_item_append_text (peekpoke_item, "Write (%d Bytes @ 0x%04x)", tvb_get_guint8 (tvb, start_offset + i + 3), tvb_get_letohs (tvb, start_offset + i + 1));
         proto_item_set_len (peekpoke_item, 3 + 1 + tvb_get_guint8 (tvb, start_offset + i + 3));
         proto_tree_add_item (peekpoke_tree, hf_r3_peekpoke_length, tvb, start_offset + i + 3, 1, TRUE);
-        proto_tree_add_item (peekpoke_tree, hf_r3_peekpoke_pokestring, tvb, start_offset + i + 4, tvb_get_guint8 (tvb, start_offset + i + 3), TRUE);
+        proto_tree_add_item (peekpoke_tree, hf_r3_peekpoke_pokestring, tvb, start_offset + i + 4, tvb_get_guint8 (tvb, start_offset + i + 3), ENC_NA);
         i += tvb_get_guint8 (tvb, start_offset + i + 3) + 1;
         break;
 
@@ -5610,7 +5610,7 @@ static gint dissect_r3_packet (tvbuff_t *tvb, guint start_offset, packet_info *p
      */
     if (r3_tree)
     {
-      proto_item *header_item = proto_tree_add_item (r3_tree, hf_r3_header, tvb, start_offset + 0, 5, TRUE);
+      proto_item *header_item = proto_tree_add_item (r3_tree, hf_r3_header, tvb, start_offset + 0, 5, ENC_NA);
       proto_tree *header_tree = proto_item_add_subtree (header_item, ett_r3header);
 
       proto_tree_add_item (header_tree, hf_r3_sigil, tvb, start_offset + 0, 1, TRUE);
@@ -5631,7 +5631,7 @@ static gint dissect_r3_packet (tvbuff_t *tvb, guint start_offset, packet_info *p
 
       if (r3_tree)
       {
-        payload_item = proto_tree_add_item (r3_tree, hf_r3_payload, payload_tvb, 0, -1, TRUE);
+        payload_item = proto_tree_add_item (r3_tree, hf_r3_payload, payload_tvb, 0, -1, ENC_NA);
         payload_tree = proto_item_add_subtree (payload_item, ett_r3payload);
       }
 
@@ -5655,7 +5655,7 @@ static gint dissect_r3_packet (tvbuff_t *tvb, guint start_offset, packet_info *p
      */
     if (r3_tree)
     {
-      proto_item *tail_item = proto_tree_add_item (r3_tree, hf_r3_tail, tvb, offset + 5, 3, TRUE);
+      proto_item *tail_item = proto_tree_add_item (r3_tree, hf_r3_tail, tvb, offset + 5, 3, ENC_NA);
       proto_tree *tail_tree = proto_item_add_subtree (tail_item, ett_r3tail);
       guint32 packetCRC = tvb_get_letohs (tvb, offset + 5);
       guint32 packetXor = tvb_get_guint8 (tvb, offset + 7);
index 4e4752c972cec555126631f1e24e28ece95ae5c7..763123d2d48e6d33440340f50839d8cfbea8bcfe 100644 (file)
@@ -1084,10 +1084,10 @@ dissect_asp_reply_get_status(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *
 
   ofs = offset +tvb_get_ntohs(tvb, offset +AFPSTATUS_ICONOFF);
   if (ofs)
-    proto_tree_add_item(tree, hf_asp_server_icon, tvb, ofs, 256, ENC_BIG_ENDIAN);
+    proto_tree_add_item(tree, hf_asp_server_icon, tvb, ofs, 256, ENC_NA);
 
   if (sign_ofs) {
-    proto_tree_add_item(tree, hf_asp_server_signature, tvb, sign_ofs, 16, ENC_BIG_ENDIAN);
+    proto_tree_add_item(tree, hf_asp_server_signature, tvb, sign_ofs, 16, ENC_NA);
   }
 
   if (adr_ofs) {
@@ -1140,7 +1140,7 @@ dissect_asp_reply_get_status(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *
       ofs++;
       proto_tree_add_item(sub_tree, hf_asp_server_addr_type, tvb, ofs, 1, ENC_BIG_ENDIAN);
       ofs++;
-      proto_tree_add_item(sub_tree, hf_asp_server_addr_value,tvb, ofs, len, ENC_BIG_ENDIAN);
+      proto_tree_add_item(sub_tree, hf_asp_server_addr_value,tvb, ofs, len, ENC_NA);
       ofs += len;
     }
   }
@@ -1176,7 +1176,7 @@ dissect_asp_reply_get_status(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *
 /* -----------------------------
    PAP protocol cf. inside appletalk chap. 10
 */
-#define PAD(x)      { proto_tree_add_item(pap_tree, hf_pap_pad, tvb, offset,  x, ENC_BIG_ENDIAN); offset += x; }
+#define PAD(x)      { proto_tree_add_item(pap_tree, hf_pap_pad, tvb, offset,  x, ENC_NA); offset += x; }
 
 static void
 dissect_pap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
@@ -1355,13 +1355,13 @@ dissect_asp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     case ASPFUNC_CLOSE:
       proto_tree_add_item(asp_tree, hf_asp_session_id, tvb, offset, 1, ENC_BIG_ENDIAN);
       offset++;
-      proto_tree_add_item(asp_tree, hf_asp_zero_value, tvb, offset, 2, ENC_BIG_ENDIAN);
+      proto_tree_add_item(asp_tree, hf_asp_zero_value, tvb, offset, 2, ENC_NA);
       offset +=2;
       break;
     case ASPFUNC_STAT:
-      proto_tree_add_item(asp_tree, hf_asp_zero_value, tvb, offset, 1, ENC_BIG_ENDIAN);
+      proto_tree_add_item(asp_tree, hf_asp_zero_value, tvb, offset, 1, ENC_NA);
       offset++;
-      proto_tree_add_item(asp_tree, hf_asp_zero_value, tvb, offset, 2, ENC_BIG_ENDIAN);
+      proto_tree_add_item(asp_tree, hf_asp_zero_value, tvb, offset, 2, ENC_NA);
       offset += 2;
       break;
     case ASPFUNC_ATTN:
@@ -1411,15 +1411,15 @@ dissect_asp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
       offset += 2;
       break;
     case ASPFUNC_CLOSE:
-      proto_tree_add_item(asp_tree, hf_asp_zero_value, tvb, offset, 1, ENC_BIG_ENDIAN);
+      proto_tree_add_item(asp_tree, hf_asp_zero_value, tvb, offset, 1, ENC_NA);
       offset++;
-      proto_tree_add_item(asp_tree, hf_asp_zero_value, tvb, offset, 1, ENC_BIG_ENDIAN);
+      proto_tree_add_item(asp_tree, hf_asp_zero_value, tvb, offset, 1, ENC_NA);
       offset++;
-      proto_tree_add_item(asp_tree, hf_asp_zero_value, tvb, offset, 2, ENC_BIG_ENDIAN);
+      proto_tree_add_item(asp_tree, hf_asp_zero_value, tvb, offset, 2, ENC_NA);
       offset += 2;
       break;
     case ASPFUNC_STAT:
-      proto_tree_add_item(asp_tree, hf_asp_zero_value, tvb, offset, 4, ENC_BIG_ENDIAN);
+      proto_tree_add_item(asp_tree, hf_asp_zero_value, tvb, offset, 4, ENC_NA);
       offset += 4;
       dissect_asp_reply_get_status(tvb, pinfo, asp_tree, offset);
       break;
@@ -1435,7 +1435,7 @@ dissect_asp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
       break;
     case ASPFUNC_TICKLE:
     case ASPFUNC_WRTCONT:
-      proto_tree_add_item(asp_tree, hf_asp_zero_value, tvb, offset, 4, ENC_BIG_ENDIAN);
+      proto_tree_add_item(asp_tree, hf_asp_zero_value, tvb, offset, 4, ENC_NA);
       /* fall */
     case ASPFUNC_ATTN:  /* FIXME capture and spec disagree */
     default:
@@ -1491,7 +1491,7 @@ dissect_atp_zip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     case 7:     /* start_index = 0 */
     case 8:
     case 9:
-      proto_tree_add_item(zip_tree, hf_zip_zero_value, tvb, offset, 1, ENC_BIG_ENDIAN);
+      proto_tree_add_item(zip_tree, hf_zip_zero_value, tvb, offset, 1, ENC_NA);
       offset++;
       proto_tree_add_item(zip_tree, hf_zip_start_index, tvb, offset, 2, ENC_BIG_ENDIAN);
       break;
@@ -1508,7 +1508,7 @@ dissect_atp_zip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
       proto_tree_add_item(zip_tree, hf_zip_last_flag, tvb, offset, 1, ENC_BIG_ENDIAN);
       offset++;
 
-      proto_tree_add_item(zip_tree, hf_zip_zero_value, tvb, offset, 1, ENC_BIG_ENDIAN);
+      proto_tree_add_item(zip_tree, hf_zip_zero_value, tvb, offset, 1, ENC_NA);
       offset++;
       count = tvb_get_ntohs(tvb, offset);
       ti = proto_tree_add_item(zip_tree, hf_zip_count, tvb, offset, 2, ENC_BIG_ENDIAN);
@@ -1576,7 +1576,7 @@ dissect_ddp_zip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     proto_tree_add_item(flag_tree, hf_zip_flags_only_one_zone,tvb, offset, 1,ENC_BIG_ENDIAN);
     offset++;
 
-    proto_tree_add_item(zip_tree, hf_zip_zero_value, tvb, offset, 4, ENC_BIG_ENDIAN);
+    proto_tree_add_item(zip_tree, hf_zip_zero_value, tvb, offset, 4, ENC_NA);
     offset += 4;
 
     len = tvb_get_guint8(tvb, offset);
@@ -1586,7 +1586,7 @@ dissect_ddp_zip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     len = tvb_get_guint8(tvb, offset);
     proto_tree_add_item(zip_tree, hf_zip_multicast_length,tvb, offset, 1,ENC_BIG_ENDIAN);
     offset++;
-    proto_tree_add_item(zip_tree, hf_zip_multicast_address,tvb, offset, len,ENC_BIG_ENDIAN);
+    proto_tree_add_item(zip_tree, hf_zip_multicast_address,tvb, offset, len,ENC_NA);
     offset += len;
 
     proto_tree_add_item(zip_tree, hf_zip_zone_name, tvb, offset, 1,ENC_BIG_ENDIAN);
@@ -1611,9 +1611,9 @@ dissect_ddp_zip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     break;
 
   case 5 :  /* GetNetInfo request */
-    proto_tree_add_item(zip_tree, hf_zip_zero_value, tvb, offset, 1, ENC_BIG_ENDIAN);
+    proto_tree_add_item(zip_tree, hf_zip_zero_value, tvb, offset, 1, ENC_NA);
     offset++;
-    proto_tree_add_item(zip_tree, hf_zip_zero_value, tvb, offset, 4, ENC_BIG_ENDIAN);
+    proto_tree_add_item(zip_tree, hf_zip_zero_value, tvb, offset, 4, ENC_NA);
     offset += 4;
     proto_tree_add_item(zip_tree, hf_zip_zone_name, tvb, offset, 1,ENC_BIG_ENDIAN);
     break;
@@ -1640,7 +1640,7 @@ dissect_ddp_zip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     len = tvb_get_guint8(tvb, offset);
     proto_tree_add_item(zip_tree, hf_zip_multicast_length,tvb, offset, 1,ENC_BIG_ENDIAN);
     offset++;
-    proto_tree_add_item(zip_tree, hf_zip_multicast_address,tvb, offset, len,ENC_BIG_ENDIAN);
+    proto_tree_add_item(zip_tree, hf_zip_multicast_address,tvb, offset, len,ENC_NA);
     offset += len;
     if ((flag & 0x80) != 0)
       proto_tree_add_item(zip_tree, hf_zip_default_zone, tvb, offset, 1,ENC_BIG_ENDIAN);
index 506f0e4b5e5eb40b5e60482fd0707999da8b1ad4..ef30817c206ef52f13709e8d12d70801c2f5f495 100644 (file)
@@ -125,8 +125,8 @@ dissect_ayiya(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                tv.secs = tvb_get_ntohl(tvb, 4);
                tv.nsecs = 0;
                proto_tree_add_time(ayiya_tree, hf_epoch, tvb, 4, 4, &tv);
-               proto_tree_add_item(ayiya_tree, hf_identity, tvb, 8, idlen, FALSE);
-               proto_tree_add_item(ayiya_tree, hf_signature, tvb, 8+idlen, siglen, FALSE);
+               proto_tree_add_item(ayiya_tree, hf_identity, tvb, 8, idlen, ENC_NA);
+               proto_tree_add_item(ayiya_tree, hf_signature, tvb, 8+idlen, siglen, ENC_NA);
        }
        offset = ayiya_len;
        switch (opcode) {
index b9e07a47b29c40b72b6c16709f3371f372e27279..7179215b1f2d345ea83396c2f31f05b666aef810 100644 (file)
@@ -269,7 +269,7 @@ dissect_bacnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                        /* Other MAC formats should be included here */
                        proto_tree_add_item(bacnet_tree,
                                hf_bacnet_dadr_tmp, tvb, offset,
-                               bacnet_dlen, FALSE);
+                               bacnet_dlen, ENC_NA);
                        offset += bacnet_dlen;
                } else {
                        proto_tree_add_uint_format_value(bacnet_tree,
@@ -318,7 +318,7 @@ dissect_bacnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                        /* Other MAC formats should be included here */
                        proto_tree_add_item(bacnet_tree,
                                hf_bacnet_sadr_tmp, tvb, offset,
-                               bacnet_slen, FALSE);
+                               bacnet_slen, ENC_NA);
                        offset += bacnet_slen;
                } else {
                        proto_tree_add_uint_format_value(bacnet_tree,
index bfb3b3508de691ba88345c05781f9c17ac2413e7..bf89489e4a4f5cc7ab4f7ceab15d37b5c1093ed6 100644 (file)
@@ -195,10 +195,10 @@ dissect_banana_element(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int
             offset += 8;
             break;
         case BE_LG_INT:
-            proto_tree_add_item(tree, hf_banana_lg_int, tvb, start_offset, offset - start_offset, FALSE);
+            proto_tree_add_item(tree, hf_banana_lg_int, tvb, start_offset, offset - start_offset, ENC_NA);
             break;
         case BE_LG_NEG_INT:
-            proto_tree_add_item(tree, hf_banana_lg_neg_int, tvb, start_offset, offset - start_offset, FALSE);
+            proto_tree_add_item(tree, hf_banana_lg_neg_int, tvb, start_offset, offset - start_offset, ENC_NA);
             break;
         case BE_PB:
             if (val_len > 1) {
index f9f7a38672fe67d775ce5de379bb6ac502531567..1951afcd115a9c9a972caecfc2fb1ffed2d2558b 100644 (file)
@@ -2551,7 +2551,7 @@ dissect_bgp_update(tvbuff_t *tvb, proto_tree *tree)
                     /* snarf each cluster identifier */
                     while (q < end) {
                         proto_tree_add_item(cluster_list_tree, hf_bgp_cluster_list,
-                                            tvb, q - 3 + aoff, 4, FALSE);
+                                            tvb, q - 3 + aoff, 4, ENC_NA);
                         q += 4;
                     }
 
@@ -2778,7 +2778,7 @@ dissect_bgp_update(tvbuff_t *tvb, proto_tree *tree)
                                                     q + 8, 4, FALSE);
                                 if (ssa_v3_len)
                                     proto_tree_add_item(subtree3, hf_bgp_ssa_l2tpv3_cookie, tvb,
-                                                        q + 12, ssa_v3_len, FALSE);
+                                                        q + 12, ssa_v3_len, ENC_NA);
                                 q += ssa_len + 4; /* 4 from type and length */
                                 break;
                             case BGP_SSA_mGRE:
@@ -2786,7 +2786,7 @@ dissect_bgp_update(tvbuff_t *tvb, proto_tree *tree)
                             case BGP_SSA_MPLS:
                             default:
                                 proto_tree_add_item(subtree3, hf_bgp_ssa_value, tvb,
-                                                    q + 4, ssa_len, FALSE);
+                                                    q + 4, ssa_len, ENC_NA);
                                 q += ssa_len + 4; /* 4 from type and length */
                                 break;
                             case BGP_SSA_L2TPv3_IN_IPSec:
index 9a1b4c6d92d1618458606ebbbfb09fdac8f1140a..c6abd8c9bea59ec43cd06c5ee20720ef268db2b5 100644 (file)
@@ -474,7 +474,7 @@ static int dissect_bencoding_rec(tvbuff_t *tvb, packet_info *pinfo _U_,
    switch (op) {
    case 'd':
       if (tree) {
-         td = proto_tree_add_item(tree, hf_bittorrent_bdict, tvb, offset, oplen, ENC_BIG_ENDIAN);
+         td = proto_tree_add_item(tree, hf_bittorrent_bdict, tvb, offset, oplen, ENC_NA);
          dtree = proto_item_add_subtree(td, ett_bittorrent_bdict);
       }
 
@@ -507,7 +507,7 @@ static int dissect_bencoding_rec(tvbuff_t *tvb, packet_info *pinfo _U_,
          }
 
          if (dtree) {
-            ti = proto_tree_add_item(dtree, hf_bittorrent_bdict_entry, tvb, offset+used, op1len+op2len, ENC_BIG_ENDIAN);
+            ti = proto_tree_add_item(dtree, hf_bittorrent_bdict_entry, tvb, offset+used, op1len+op2len, ENC_NA);
             itree = proto_item_add_subtree(ti, ett_bittorrent_bdict_entry);
 
             dissect_bencoding_str(tvb, pinfo, offset+used, length, itree, ti, 1);
@@ -524,7 +524,7 @@ static int dissect_bencoding_rec(tvbuff_t *tvb, packet_info *pinfo _U_,
 
    case 'l':
       if (tree) {
-         ti = proto_tree_add_item(tree, hf_bittorrent_blist, tvb, offset, oplen, ENC_BIG_ENDIAN);
+         ti = proto_tree_add_item(tree, hf_bittorrent_blist, tvb, offset, oplen, ENC_NA);
          itree = proto_item_add_subtree(ti, ett_bittorrent_blist);
       }
 
@@ -638,9 +638,9 @@ static void dissect_bittorrent_message (tvbuff_t *tvb, packet_info *pinfo, proto
    }
 
    if (isamp) {
-      ti = proto_tree_add_item(tree, hf_azureus_msg, tvb, offset, length + BITTORRENT_HEADER_LENGTH, ENC_BIG_ENDIAN);
+      ti = proto_tree_add_item(tree, hf_azureus_msg, tvb, offset, length + BITTORRENT_HEADER_LENGTH, ENC_NA);
    } else {
-      ti = proto_tree_add_item(tree, hf_bittorrent_msg, tvb, offset, length + BITTORRENT_HEADER_LENGTH, ENC_BIG_ENDIAN);
+      ti = proto_tree_add_item(tree, hf_bittorrent_msg, tvb, offset, length + BITTORRENT_HEADER_LENGTH, ENC_NA);
    }
    mtree = proto_item_add_subtree(ti, ett_bittorrent_msg);
 
@@ -701,7 +701,7 @@ static void dissect_bittorrent_message (tvbuff_t *tvb, packet_info *pinfo, proto
 
    case BITTORRENT_MESSAGE_EXTENDED:
       /* extended message content */
-      proto_tree_add_item(mtree, hf_bittorrent_extended, tvb, offset, length, ENC_BIG_ENDIAN);
+      proto_tree_add_item(mtree, hf_bittorrent_extended, tvb, offset, length, ENC_NA);
       break;
 
    case BITTORRENT_MESSAGE_HAVE:
@@ -714,7 +714,7 @@ static void dissect_bittorrent_message (tvbuff_t *tvb, packet_info *pinfo, proto
          break;
 
    case BITTORRENT_MESSAGE_BITFIELD:
-      proto_tree_add_item(mtree, hf_bittorrent_bitfield_data, tvb, offset, length, ENC_BIG_ENDIAN);
+      proto_tree_add_item(mtree, hf_bittorrent_bitfield_data, tvb, offset, length, ENC_NA);
       proto_item_append_text(ti, ", Len:0x%x", length);
       col_append_fstr(pinfo->cinfo, COL_INFO, ", Len:0x%x", length);
 
@@ -729,7 +729,7 @@ static void dissect_bittorrent_message (tvbuff_t *tvb, packet_info *pinfo, proto
       proto_tree_add_item(mtree, hf_bittorrent_piece_begin, tvb, offset, 4, piece_begin);
       offset += 4;
       length -= 4;
-      proto_tree_add_item(mtree, hf_bittorrent_piece_data, tvb, offset, length, ENC_BIG_ENDIAN);
+      proto_tree_add_item(mtree, hf_bittorrent_piece_data, tvb, offset, length, ENC_NA);
       proto_item_append_text(ti, ", Idx:0x%x,Begin:0x%x,Len:0x%x", piece_index, piece_begin, length);
       col_append_fstr(pinfo->cinfo, COL_INFO, ", Idx:0x%x,Begin:0x%x,Len:0x%x", piece_index, piece_begin, length);
 
@@ -767,12 +767,12 @@ static void dissect_bittorrent_welcome (tvbuff_t *tvb, packet_info *pinfo _U_, p
 
    proto_tree_add_item(tree, hf_bittorrent_prot_name_len, tvb, offset, 1, ENC_BIG_ENDIAN); offset+=1;
    proto_tree_add_item(tree, hf_bittorrent_prot_name, tvb, offset, 19, ENC_BIG_ENDIAN); offset += 19;
-   proto_tree_add_item(tree, hf_bittorrent_reserved, tvb, offset, 8, ENC_BIG_ENDIAN); offset += 8;
+   proto_tree_add_item(tree, hf_bittorrent_reserved, tvb, offset, 8, ENC_NA); offset += 8;
 
-   proto_tree_add_item(tree, hf_bittorrent_sha1_hash, tvb, offset, 20, ENC_BIG_ENDIAN);
+   proto_tree_add_item(tree, hf_bittorrent_sha1_hash, tvb, offset, 20, ENC_NA);
    offset += 20;
 
-   proto_tree_add_item(tree, hf_bittorrent_peer_id, tvb, offset, 20, ENC_BIG_ENDIAN);
+   proto_tree_add_item(tree, hf_bittorrent_peer_id, tvb, offset, 20, ENC_NA);
    if(decode_client_information) {
       for(i = 0; peer_id[i].name != NULL; ++i)
       {
index ae520b297edbb66c114131d8c0f42c1bef423e3b..e4a5edf17cdab238f880a0c7d68f58e966df0075 100644 (file)
@@ -152,7 +152,7 @@ dissect_bmc_cbs_message(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
     proto_tree_add_item(tree, hf_bmc_data_coding_scheme, tvb, offset, 1, ENC_BIG_ENDIAN);
     offset += 1;
 
-    proto_tree_add_item(tree, hf_bmc_cb_data, tvb, offset, tvb_length_remaining(tvb,offset), ENC_BIG_ENDIAN);
+    proto_tree_add_item(tree, hf_bmc_cb_data, tvb, offset, tvb_length_remaining(tvb,offset), ENC_NA);
     offset = tvb_length(tvb);
 
     return offset;
@@ -183,7 +183,7 @@ dissect_bmc_schedule_message(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *
     if (length_of_cbs_schedule_period & 0x7)
         new_message_bitmap_len += 1;
 
-    proto_tree_add_item(tree, hf_bmc_new_message_bitmap, tvb, offset, new_message_bitmap_len, ENC_BIG_ENDIAN);
+    proto_tree_add_item(tree, hf_bmc_new_message_bitmap, tvb, offset, new_message_bitmap_len, ENC_NA);
     offset += new_message_bitmap_len;
 
     ti = proto_tree_add_text(tree, tvb, offset, 0, "Message Description" );
@@ -236,10 +236,10 @@ dissect_bmc_cbs41_message(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tre
 {
     gint offset=1;
 
-    proto_tree_add_item(tree, hf_bmc_broadcast_address, tvb, offset, 5, ENC_BIG_ENDIAN);
+    proto_tree_add_item(tree, hf_bmc_broadcast_address, tvb, offset, 5, ENC_NA);
     offset += 5;
 
-    proto_tree_add_item(tree, hf_bmc_cb_data41, tvb, offset, tvb_length_remaining(tvb,offset), ENC_BIG_ENDIAN);
+    proto_tree_add_item(tree, hf_bmc_cb_data41, tvb, offset, tvb_length_remaining(tvb,offset), ENC_NA);
     offset = tvb_length(tvb);
 
     return offset;
index e5d5b466c3c78aa7ebc69e75026f50616c7a2c24..70c44b8b9310916ee382567335b617b78202f592 100644 (file)
@@ -1388,7 +1388,7 @@ bootp_option(tvbuff_t *tvb, packet_info *pinfo, proto_tree *bp_tree, int voff,
                                vti = proto_tree_add_uint_format_value(bp_tree, hf_bootp_option_type,
                                                tvb, voff, 1, 0, "(0) Padding");
                                v_tree = proto_item_add_subtree(vti, ett_bootp_option);
-                               proto_tree_add_item(v_tree, hf_bootp_option_padding, tvb, voff, i, ENC_BIG_ENDIAN);
+                               proto_tree_add_item(v_tree, hf_bootp_option_padding, tvb, voff, i, ENC_NA);
                        }
                }
                consumed = i;
@@ -2306,7 +2306,7 @@ bootp_option(tvbuff_t *tvb, packet_info *pinfo, proto_tree *bp_tree, int voff,
 
        if ((basictype_consumed == 0) && (option_handled == FALSE) &&
            (opt->phf == NULL) && (optlen > 0)) {
-               proto_tree_add_item(v_tree, hf_bootp_option_value, tvb, voff+2, optlen, ENC_BIG_ENDIAN);
+               proto_tree_add_item(v_tree, hf_bootp_option_value, tvb, voff+2, optlen, ENC_NA);
        }
 
        return consumed;
@@ -2382,7 +2382,7 @@ bootp_dhcp_decode_agent_info(packet_info *pinfo, proto_item *v_ti, proto_tree *v
        }
 
        if ( (subopt < 1 ) || (subopt >= array_length(o82_opt)) ) {
-               proto_tree_add_item(o82_v_tree, hf_bootp_option82_value, tvb, suboptoff, subopt_len, ENC_BIG_ENDIAN);
+               proto_tree_add_item(o82_v_tree, hf_bootp_option82_value, tvb, suboptoff, subopt_len, ENC_NA);
        } else if (o82_opt[subopt].ftype == special) {
                switch(subopt)
                {
@@ -2438,7 +2438,7 @@ bootp_dhcp_decode_agent_info(packet_info *pinfo, proto_item *v_ti, proto_tree *v
                                        }
                                        break;
                                default:
-                                       proto_tree_add_item(o82_v_tree, hf_bootp_option82_value, tvb, suboptoff, datalen, ENC_BIG_ENDIAN);
+                                       proto_tree_add_item(o82_v_tree, hf_bootp_option82_value, tvb, suboptoff, datalen, ENC_NA);
                                        suboptoff += datalen;
                                        break;
                                }
@@ -2448,7 +2448,7 @@ bootp_dhcp_decode_agent_info(packet_info *pinfo, proto_item *v_ti, proto_tree *v
                        if (o82_opt[subopt].phf != NULL)
                                proto_tree_add_item(o82_v_tree, *o82_opt[subopt].phf, tvb, suboptoff, subopt_len, ENC_BIG_ENDIAN);
                        else
-                               proto_tree_add_item(o82_v_tree, hf_bootp_option82_value, tvb, suboptoff, subopt_len, ENC_BIG_ENDIAN);
+                               proto_tree_add_item(o82_v_tree, hf_bootp_option82_value, tvb, suboptoff, subopt_len, ENC_NA);
                        break;
                }
        }
@@ -2549,7 +2549,7 @@ dissect_vendor_pxeclient_suboption(packet_info *pinfo, proto_item *v_ti, proto_t
        if ( subopt == 71 ) {   /* 71 {"PXE boot item", special} */
                /* case special */
                /* I may need to decode that properly one day */
-               proto_tree_add_item(o43pxeclient_v_tree, hf_bootp_option43_pxeclient_boot_item, tvb, suboptoff, subopt_len, ENC_BIG_ENDIAN);
+               proto_tree_add_item(o43pxeclient_v_tree, hf_bootp_option43_pxeclient_boot_item, tvb, suboptoff, subopt_len, ENC_NA);
        } else if ((subopt < 1) || (subopt >= array_length(o43pxeclient_opt))) {
                expert_add_info_format(pinfo, vti, PI_PROTOCOL, PI_ERROR, "Unknown suboption %d (%d bytes)", subopt, subopt_len);
        } else if (o43pxeclient_opt[subopt].ftype == special) {
@@ -2557,7 +2557,7 @@ dissect_vendor_pxeclient_suboption(packet_info *pinfo, proto_item *v_ti, proto_t
                if (o43pxeclient_opt[subopt].phf != NULL)
                        proto_tree_add_item(o43pxeclient_v_tree, *o43pxeclient_opt[subopt].phf, tvb, suboptoff, subopt_len, ENC_BIG_ENDIAN);
                else
-                       proto_tree_add_item(o43pxeclient_v_tree, hf_bootp_option43_value, tvb, suboptoff, subopt_len, ENC_BIG_ENDIAN);
+                       proto_tree_add_item(o43pxeclient_v_tree, hf_bootp_option43_value, tvb, suboptoff, subopt_len, ENC_NA);
        } else {
                if (bootp_handle_basic_types(pinfo, o43pxeclient_v_tree, vti, tvb, o43pxeclient_opt[subopt].ftype,
                                                        suboptoff, subopt_len, o43pxeclient_opt[subopt].phf, &default_hfs) == 0)
@@ -2840,7 +2840,7 @@ dissect_vendor_cablelabs_suboption(packet_info *pinfo, proto_item *v_ti, proto_t
        }
 
        if ( (subopt < 1 ) || (subopt >= array_length(o43cablelabs_opt)) ) {
-               proto_tree_add_item(o43cl_v_tree, hf_bootp_option43_value, tvb, suboptoff, subopt_len, ENC_BIG_ENDIAN);
+               proto_tree_add_item(o43cl_v_tree, hf_bootp_option43_value, tvb, suboptoff, subopt_len, ENC_NA);
        } else if (o43cablelabs_opt[subopt].ftype == special) {
                switch(subopt)
                {
@@ -2868,7 +2868,7 @@ dissect_vendor_cablelabs_suboption(packet_info *pinfo, proto_item *v_ti, proto_t
                        if (o43cablelabs_opt[subopt].phf != NULL)
                                proto_tree_add_item(o43cl_v_tree, *o43cablelabs_opt[subopt].phf, tvb, suboptoff, subopt_len, ENC_BIG_ENDIAN);
                        else
-                               proto_tree_add_item(o43cl_v_tree, hf_bootp_option43_value, tvb, suboptoff, subopt_len, ENC_BIG_ENDIAN);
+                               proto_tree_add_item(o43cl_v_tree, hf_bootp_option43_value, tvb, suboptoff, subopt_len, ENC_NA);
                }
        }
        else {
@@ -3059,7 +3059,7 @@ dissect_netware_ip_suboption(packet_info *pinfo, proto_item *v_ti, proto_tree *v
                                break;
                        default:
                                if (o63_opt[subopt].phf == NULL)
-                                  proto_tree_add_item(o63_v_tree, hf_bootp_option63_value, tvb, suboptoff, subopt_len, ENC_BIG_ENDIAN);
+                                  proto_tree_add_item(o63_v_tree, hf_bootp_option63_value, tvb, suboptoff, subopt_len, ENC_NA);
                                break;
                        }
                }
@@ -3135,9 +3135,9 @@ dissect_vendor_tr111_suboption(packet_info *pinfo, proto_item *v_ti, proto_tree
                                if (o125_tr111_opt[subopt].phf != NULL)
                                   proto_tree_add_item(v_tree, *o125_tr111_opt[subopt].phf, tvb, suboptoff, subopt_len, ENC_BIG_ENDIAN);
                                else
-                                  proto_tree_add_item(v_tree, hf_bootp_option125_value, tvb, suboptoff, subopt_len, ENC_BIG_ENDIAN);
+                                  proto_tree_add_item(v_tree, hf_bootp_option125_value, tvb, suboptoff, subopt_len, ENC_NA);
                        } else if (o125_tr111_opt[subopt].phf == NULL)
-                               proto_tree_add_item(v_tree, hf_bootp_option125_value, tvb, suboptoff, subopt_len, ENC_BIG_ENDIAN);
+                               proto_tree_add_item(v_tree, hf_bootp_option125_value, tvb, suboptoff, subopt_len, ENC_NA);
                }
        }
 
@@ -3216,13 +3216,13 @@ dissect_vendor_cl_suboption(packet_info *pinfo, proto_item *v_ti, proto_tree *v_
                                if (o125_cl_opt[subopt].phf != NULL)
                                   proto_tree_add_item(o125_v_tree, *o125_cl_opt[subopt].phf, tvb, suboptoff, subopt_len, ENC_BIG_ENDIAN);
                                else
-                                  proto_tree_add_item(o125_v_tree, hf_bootp_option125_value, tvb, suboptoff, subopt_len, ENC_BIG_ENDIAN);
+                                  proto_tree_add_item(o125_v_tree, hf_bootp_option125_value, tvb, suboptoff, subopt_len, ENC_NA);
 
                                        dissect_docsis_cm_cap(o125_v_tree, tvb, optoff, subopt_len+2, TRUE);
                                break;
                        default:
                                if (o125_cl_opt[subopt].phf == NULL)
-                                  proto_tree_add_item(o125_v_tree, hf_bootp_option125_value, tvb, suboptoff, subopt_len, ENC_BIG_ENDIAN);
+                                  proto_tree_add_item(o125_v_tree, hf_bootp_option125_value, tvb, suboptoff, subopt_len, ENC_NA);
                                break;
                        }
                }
@@ -4705,7 +4705,7 @@ dissect_bootp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                        proto_tree_add_bytes_format_value(bp_tree, hf_bootp_hw_addr, tvb, 28, 16,
                                           NULL, "%s", tvb_arphrdaddr_to_str(tvb, 28, hlen, htype));
                if ((16 - hlen) > 0)
-                       proto_tree_add_item(bp_tree, hf_bootp_hw_addr_padding, tvb, 28+hlen, 16-hlen, ENC_BIG_ENDIAN);
+                       proto_tree_add_item(bp_tree, hf_bootp_hw_addr_padding, tvb, 28+hlen, 16-hlen, ENC_NA);
        } else {
                proto_tree_add_text(bp_tree,  tvb,
                                           28, 16, "Client address not given");
index 6c2d188c96a6062619e1e8ca79c23c0847ccda17..231e9853e03fd76214f35c1a0b82e7de220ac5cc 100644 (file)
@@ -663,7 +663,7 @@ dissect_bpdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
       proto_tree_add_item(mstp_tree, hf_bpdu_mst_config_revision_level, tvb,
                           BPDU_MST_CONFIG_REVISION_LEVEL, 2, ENC_BIG_ENDIAN);
       proto_tree_add_item(mstp_tree, hf_bpdu_mst_config_digest, tvb,
-                          BPDU_MST_CONFIG_DIGEST, 16, ENC_BIG_ENDIAN);
+                          BPDU_MST_CONFIG_DIGEST, 16, ENC_NA);
 
       switch(msti_format) {
 
index d9ad77d672a850f4805b3ca9145467902eabe588..ef6431158d337dc8a9fd648ea53609ae458a3c5e 100644 (file)
@@ -719,7 +719,7 @@ dissect_bssap_cell_global_id(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo
     guint8           ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_cell_global_id_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_cell_global_id_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_cell_global_id);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -731,7 +731,7 @@ dissect_bssap_cell_global_id(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo
      * of the cell global id IE defined in 3GPP TS 48.018 (not including
      * 3GPP TS 48.018 IEI and 3GPP TS 48.018 length indicator).
      */
-    cgi_item= proto_tree_add_item(ie_tree, hf_bssap_cell_global_id, tvb, offset, ie_len, ENC_BIG_ENDIAN);
+    cgi_item= proto_tree_add_item(ie_tree, hf_bssap_cell_global_id, tvb, offset, ie_len, ENC_NA);
     cgi_tree = proto_item_add_subtree(cgi_item, ett_bssap_cgi);
     /*  octets 3-8 Octets 3 to 8 contain the value part (starting with octet 2) of the
      *  Routing Area Identification IE defined in 3GPP TS 24.008, not
@@ -758,7 +758,7 @@ dissect_bssap_channel_needed(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo
     guint8           ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_channel_needed_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_channel_needed_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_channel_needed);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -787,7 +787,7 @@ dissect_bssap_dlink_tunnel_payload_control_and_info(tvbuff_t *tvb, packet_info *
     guint8 prot_disc;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_dlink_tnl_pld_cntrl_amd_inf_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_dlink_tnl_pld_cntrl_amd_inf_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_dlink_tnl_pld_cntrl_amd_inf);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -848,7 +848,7 @@ dissect_bssap_emlpp_priority(tvbuff_t *tvb, proto_tree *tree, int offset)
     guint8 ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_emlpp_prio_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_emlpp_prio_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_emlpp_prio);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -879,7 +879,7 @@ dissect_bssap_gprs_erroneous_msg(tvbuff_t *tvb, proto_tree *tree, int offset)
     guint8 ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_gprs_erroneous_msg_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_gprs_erroneous_msg_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_erroneous_msg);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -888,7 +888,7 @@ dissect_bssap_gprs_erroneous_msg(tvbuff_t *tvb, proto_tree *tree, int offset)
     offset++;
 
     /* Erroneous message including the message type. */
-    proto_tree_add_item(ie_tree, hf_bssap_plus_ie_data, tvb, offset, ie_len, ENC_BIG_ENDIAN);
+    proto_tree_add_item(ie_tree, hf_bssap_plus_ie_data, tvb, offset, ie_len, ENC_NA);
 
     return offset + ie_len;
 
@@ -910,7 +910,7 @@ dissect_bssap_gprs_location_update_type(tvbuff_t *tvb, proto_tree *tree, int off
     guint8 ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_gprs_loc_upd_type_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_gprs_loc_upd_type_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_gprs_loc_upd);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -955,7 +955,7 @@ dissect_bssap_Gs_cause(tvbuff_t *tvb, proto_tree *tree, int offset)
     guint8 ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_Gs_cause_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_Gs_cause_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bassp_Gs_cause);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -980,7 +980,7 @@ dissect_bssap_imei(tvbuff_t *tvb, proto_tree *tree, int offset)
     const char *digit_str;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_imei_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_imei_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bassp_imei);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1008,7 +1008,7 @@ dissect_bssap_imesiv(tvbuff_t *tvb, proto_tree *tree, int offset)
     const char *digit_str;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_imesiv_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_imesiv_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bassp_imesiv);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1042,7 +1042,7 @@ dissect_bssap_imsi(tvbuff_t *tvb, proto_tree *tree, int offset)
     const char *digit_str;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_imsi_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_imsi_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_imsi);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1073,7 +1073,7 @@ dissect_bssap_imsi_det_from_gprs_serv_type(tvbuff_t *tvb, proto_tree *tree, int
     guint8 ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_imsi_det_from_gprs_serv_type_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_imsi_det_from_gprs_serv_type_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_imsi_det_from_gprs_serv_type);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1096,14 +1096,14 @@ dissect_bssap_imsi_det_from_non_gprs_serv_type(tvbuff_t *tvb, proto_tree *tree,
     guint8 ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_imsi_det_from_non_gprs_serv_type_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_imsi_det_from_non_gprs_serv_type_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_imsi_det_from_non_gprs_serv_type);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
     offset++;
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie_len, tvb, offset, 1, ENC_BIG_ENDIAN);
     offset++;
-    proto_tree_add_item(ie_tree, hf_bssap_plus_ie_data, tvb, offset, ie_len, ENC_BIG_ENDIAN);
+    proto_tree_add_item(ie_tree, hf_bssap_plus_ie_data, tvb, offset, ie_len, ENC_NA);
 
 
     return offset + ie_len;
@@ -1131,7 +1131,7 @@ dissect_bssap_info_req(tvbuff_t *tvb, proto_tree *tree, int offset)
     guint8 ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_info_req_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_info_req_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_info_req);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1154,7 +1154,7 @@ dissect_bssap_loc_area_id(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, i
     guint8 ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_loc_area_id_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_loc_area_id_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_loc_area_id);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1180,7 +1180,7 @@ dissect_bssap_location_information_age(tvbuff_t *tvb, proto_tree *tree, int offs
     guint8 ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_loc_inf_age_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_loc_inf_age_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_loc_inf_age);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1213,7 +1213,7 @@ dissect_bssap_MM_information(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo
     guint8 ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_mm_information_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_mm_information_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_mm_information);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1241,7 +1241,7 @@ dissect_bssap_mobile_id(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, int
     guint ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_mobile_id_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_mobile_id_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_mobile_id);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1267,7 +1267,7 @@ dissect_bssap_mobile_stn_cls_mrk1(tvbuff_t *tvb, proto_tree *tree, packet_info *
     guint8 ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_mobile_stn_cls_mrk1_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_mobile_stn_cls_mrk1_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_mobile_stn_cls_mrk1);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1304,7 +1304,7 @@ dissect_bssap_mobile_station_state(tvbuff_t *tvb, proto_tree *tree, int offset)
     guint8 ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_mobile_station_state_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_mobile_station_state_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_mobile_station_state);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1326,7 +1326,7 @@ dissect_bssap_ptmsi(tvbuff_t *tvb, proto_tree *tree, int offset)
     guint8 ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_ptmsi_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_ptmsi_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_ptmsi);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1336,7 +1336,7 @@ dissect_bssap_ptmsi(tvbuff_t *tvb, proto_tree *tree, int offset)
     /* The PTMSI consists of 4 octets. It can be coded using a full hexadecimal representation
      * (see 3GPP TS 23.003).
      */
-    proto_tree_add_item(ie_tree, hf_bssap_ptmsi, tvb, offset, ie_len, ENC_BIG_ENDIAN);
+    proto_tree_add_item(ie_tree, hf_bssap_ptmsi, tvb, offset, ie_len, ENC_NA);
 
     return offset + ie_len;
 
@@ -1350,7 +1350,7 @@ dissect_bssap_reject_cause(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo,
     guint8 ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_reject_cause_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_reject_cause_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_reject_cause);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1376,7 +1376,7 @@ dissect_bssap_service_area_id(tvbuff_t *tvb, proto_tree *tree, int offset)
     guint8 ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_service_area_id_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_service_area_id_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_service_area_id);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1387,7 +1387,7 @@ dissect_bssap_service_area_id(tvbuff_t *tvb, proto_tree *tree, int offset)
      *  of the SAI IE defined in 3GPP TS 25.413 (not including
      *  3GPP TS 25.413 IEI and 3GPP TS 25.413 length indicator).
      */
-    proto_tree_add_item(ie_tree, hf_bssap_plus_ie_data, tvb, offset, ie_len, ENC_BIG_ENDIAN);
+    proto_tree_add_item(ie_tree, hf_bssap_plus_ie_data, tvb, offset, ie_len, ENC_NA);
 
     return offset + ie_len;
 
@@ -1410,7 +1410,7 @@ dissect_bssap_sgsn_number(tvbuff_t *tvb, proto_tree *tree, int offset)
     const char *digit_str;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_sgsn_nr_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_sgsn_nr_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_sgsn_nr);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1444,7 +1444,7 @@ dissect_bssap_tmsi(tvbuff_t *tvb, proto_tree *tree, int offset)
     guint8 ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_tmsi_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_tmsi_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_tmsi);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1454,7 +1454,7 @@ dissect_bssap_tmsi(tvbuff_t *tvb, proto_tree *tree, int offset)
     /* The TMSI consists of 4 octets. It can be coded using a full hexadecimal representation
      * (see 3GPP TS 23.003).
      */
-    proto_tree_add_item(ie_tree, hf_bssap_tmsi, tvb, offset, ie_len, ENC_BIG_ENDIAN);
+    proto_tree_add_item(ie_tree, hf_bssap_tmsi, tvb, offset, ie_len, ENC_NA);
 
 
     return offset + ie_len;
@@ -1474,7 +1474,7 @@ dissect_bssap_tmsi_status(tvbuff_t *tvb, proto_tree *tree, int offset)
     guint8 ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_tmsi_status_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_tmsi_status_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_tmsi_status);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1512,7 +1512,7 @@ dissect_bssap_ulink_tunnel_payload_control_and_info(tvbuff_t *tvb, packet_info *
     guint8 prot_disc;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_ulink_tnl_pld_cntrl_amd_inf_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_ulink_tnl_pld_cntrl_amd_inf_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_ulink_tnl_pld_cntrl_amd_inf);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1561,7 +1561,7 @@ dissect_bssap_vlr_number(tvbuff_t *tvb, proto_tree *tree, int offset)
     const char *digit_str;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_vlr_number_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_vlr_number_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_vlr_number);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1599,7 +1599,7 @@ dissect_bssap_global_cn_id(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
     guint8 ie_len;
 
     ie_len = tvb_get_guint8(tvb,offset+1);
-    item = proto_tree_add_item(tree, hf_bssap_global_cn_id_ie, tvb, offset, ie_len+2, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, hf_bssap_global_cn_id_ie, tvb, offset, ie_len+2, ENC_NA);
     ie_tree = proto_item_add_subtree(item, ett_bssap_global_cn);
 
     proto_tree_add_item(ie_tree, hf_bssap_plus_ie, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1613,12 +1613,12 @@ dissect_bssap_global_cn_id(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
      * the most significant bit is bit 8 of octet 6. If the CN-Id does not fill the field reserved for it,
      * the rest of the bits are set to '0'.
      */
-    global_cn_id_item = proto_tree_add_item(ie_tree, hf_bssap_global_cn_id, tvb, offset, ie_len, ENC_BIG_ENDIAN);
+    global_cn_id_item = proto_tree_add_item(ie_tree, hf_bssap_global_cn_id, tvb, offset, ie_len, ENC_NA);
     global_cn_id_tree = proto_item_add_subtree(global_cn_id_item, ett_bssap_global_cn_id);
     /* Octet 3 - 5 PLMN-Id Coded as octets 2 to 4 of the Location Area Identification IE,
      * defined in 3GPP TS 24.008 (not including 3GPP TS 24.008 IEI and LAC).
      */
-    plmn_item = proto_tree_add_item(global_cn_id_tree, hf_bssap_plmn_id, tvb, offset, 3, ENC_BIG_ENDIAN);
+    plmn_item = proto_tree_add_item(global_cn_id_tree, hf_bssap_plmn_id, tvb, offset, 3, ENC_NA);
     plmn_tree = proto_item_add_subtree(plmn_item, ett_bssap_plmn);
     dissect_e212_mcc_mnc(tvb, pinfo, plmn_tree, offset, TRUE);
     offset = offset + 3;
index d941da56310e1a7eb1e258ec95e8068bbd8c70bc..3ff07d1f1c3051544fada696f17b3ea4fc44c9c8 100644 (file)
@@ -986,7 +986,7 @@ de_bssgp_omc_id(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32
        curr_offset = offset;
 
        /* octet 3-22 For the OMC identity, see 3GPP TS 12.20 */
-       proto_tree_add_item(tree, hf_bssgp_omc_id, tvb, curr_offset, len, ENC_BIG_ENDIAN);
+       proto_tree_add_item(tree, hf_bssgp_omc_id, tvb, curr_offset, len, ENC_NA);
 
        return len;
 }
@@ -1332,7 +1332,7 @@ de_bssgp_trigger_id(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, gui
 
        curr_offset = offset;
 
-       proto_tree_add_item(tree, hf_bssgp_trigger_id, tvb, curr_offset, len, ENC_BIG_ENDIAN);
+       proto_tree_add_item(tree, hf_bssgp_trigger_id, tvb, curr_offset, len, ENC_NA);
 
        return(len);
 }
@@ -2641,7 +2641,7 @@ de_bssgp_src_to_trg_transp_cont(tvbuff_t *tvb, proto_tree *tree, packet_info *pi
         * In inter-RAT handovers ... RANAP specification 3GPP TS 25.413, excluding RANAP tag.
         * In inter-RAT handover to E-UTRAN ... encoding is defined in 3GPP TS 36.413
         */
-       proto_tree_add_item(tree, hf_bssgp_src_to_trg_transp_cont, tvb, curr_offset, len, ENC_BIG_ENDIAN);
+       proto_tree_add_item(tree, hf_bssgp_src_to_trg_transp_cont, tvb, curr_offset, len, ENC_NA);
 
        return(len);
 }
@@ -2664,7 +2664,7 @@ de_bssgp_trg_to_src_transp_cont(tvbuff_t *tvb, proto_tree *tree, packet_info *pi
         * RRCConnectionReconfiguration radio interface message (as
         * defined in 3GPP TS 36.331)
         */
-       proto_tree_add_item(tree, hf_bssgp_trg_to_src_transp_cont, tvb, curr_offset, len, ENC_BIG_ENDIAN);
+       proto_tree_add_item(tree, hf_bssgp_trg_to_src_transp_cont, tvb, curr_offset, len, ENC_NA);
 
        return(len);
 }
@@ -2853,7 +2853,7 @@ de_bssgp_ps_ho_cmd(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guin
        * radio interface message as defined in 3GPP TS 44.060 (carrying
        * the PS Handover to A/Gb Mode Payload)
        */
-       proto_tree_add_item(tree, hf_bssgp_ps_ho_cmd, tvb, curr_offset, len, ENC_BIG_ENDIAN);
+       proto_tree_add_item(tree, hf_bssgp_ps_ho_cmd, tvb, curr_offset, len, ENC_NA);
 
 
        return(len);
index 935384109194d718a452d11f61d8ea2fca5809cb..7cf6955dceefb8be9fdfc3f9a424e039d8141547 100644 (file)
@@ -274,7 +274,7 @@ dissect_utp_extension(tvbuff_t *tvb, packet_info _U_*pinfo, proto_tree *tree, in
     switch(*extension_type){
       case EXT_SELECTION_ACKS: /* 1 */
       {
-        ti = proto_tree_add_item(tree, hf_bt_utp_extension, tvb, offset, -1, FALSE);
+        ti = proto_tree_add_item(tree, hf_bt_utp_extension, tvb, offset, -1, ENC_NA);
         ext_tree = proto_item_add_subtree(ti, ett_bt_utp_extension);
 
         proto_tree_add_item(ext_tree, hf_bt_utp_next_extension_type, tvb, offset, 1, FALSE);
@@ -286,14 +286,14 @@ dissect_utp_extension(tvbuff_t *tvb, packet_info _U_*pinfo, proto_tree *tree, in
         proto_item_append_text(ti, " Selection Acks, Len=%d", extension_length);
         offset += 1;
 
-        proto_tree_add_item(ext_tree, hf_bt_utp_extension_bitmask, tvb, offset, extension_length, FALSE);
+        proto_tree_add_item(ext_tree, hf_bt_utp_extension_bitmask, tvb, offset, extension_length, ENC_NA);
         offset += extension_length;
         proto_item_set_len(ti, 1 + 1 + extension_length);
         break;
       }
       case EXT_EXTENSION_BITS: /* 2 */
       {
-        ti = proto_tree_add_item(tree, hf_bt_utp_extension, tvb, offset, -1, FALSE);
+        ti = proto_tree_add_item(tree, hf_bt_utp_extension, tvb, offset, -1, ENC_NA);
         ext_tree = proto_item_add_subtree(ti, ett_bt_utp_extension);
 
         proto_tree_add_item(ext_tree, hf_bt_utp_next_extension_type, tvb, offset, 1, FALSE);
@@ -305,13 +305,13 @@ dissect_utp_extension(tvbuff_t *tvb, packet_info _U_*pinfo, proto_tree *tree, in
         proto_item_append_text(ti, " Extension Bits, Len=%d", extension_length);
         offset += 1;
 
-        proto_tree_add_item(ext_tree, hf_bt_utp_extension_bitmask, tvb, offset, extension_length, FALSE);
+        proto_tree_add_item(ext_tree, hf_bt_utp_extension_bitmask, tvb, offset, extension_length, ENC_NA);
         offset += extension_length;
         proto_item_set_len(ti, 1 + 1 + extension_length);
         break;
       }
       default:
-        ti = proto_tree_add_item(tree, hf_bt_utp_extension, tvb, offset, -1, FALSE);
+        ti = proto_tree_add_item(tree, hf_bt_utp_extension, tvb, offset, -1, ENC_NA);
         ext_tree = proto_item_add_subtree(ti, ett_bt_utp_extension);
 
         proto_tree_add_item(ext_tree, hf_bt_utp_next_extension_type, tvb, offset, 1, FALSE);
@@ -323,7 +323,7 @@ dissect_utp_extension(tvbuff_t *tvb, packet_info _U_*pinfo, proto_tree *tree, in
         proto_item_append_text(ti, " Unknown, Len=%d", extension_length);
         offset += 1;
 
-        proto_tree_add_item(ext_tree, hf_bt_utp_extension_unknown, tvb, offset, extension_length, FALSE);
+        proto_tree_add_item(ext_tree, hf_bt_utp_extension_unknown, tvb, offset, extension_length, ENC_NA);
         offset += extension_length;
         proto_item_set_len(ti, 1 + 1 + extension_length);
       break;
index 06cc59e56ae4580007fca3afc2de30aa56e341cf..359f422fefa720c7420a77a4d4c5593c187baac6 100644 (file)
@@ -301,7 +301,7 @@ dissect_getampassocrequest(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, pr
 static int
 dissect_ampassoc(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree)
 {
-    proto_tree_add_item(tree, hf_btamp_amp_assoc, tvb, offset, tvb_length_remaining(tvb, offset), TRUE);
+    proto_tree_add_item(tree, hf_btamp_amp_assoc, tvb, offset, tvb_length_remaining(tvb, offset), ENC_NA);
     offset+=tvb_length_remaining(tvb, offset);
 
     return offset;
@@ -487,7 +487,7 @@ static void dissect_btamp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         break;
 
     default:
-        proto_tree_add_item(btamp_cmd_tree, hf_btamp_cmd_data, tvb, offset, -1, TRUE);
+        proto_tree_add_item(btamp_cmd_tree, hf_btamp_cmd_data, tvb, offset, -1, ENC_NA);
         offset+=tvb_length_remaining(tvb, offset);
         break;
     }
index cd16469d87203dd7ef927e5144149e904c83102c..77d0c043551da824e9a6575e04dc5118981ffff7 100644 (file)
@@ -818,7 +818,7 @@ dissect_bthci_cmd_bd_addr(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, pro
        for(i=6; i; i--)
                bd_addr[6-i] = tvb_get_guint8(tvb, offset+i-1);
 
-       item = proto_tree_add_item(tree, hf_bthci_cmd_bd_addr, tvb, offset, 6, ENC_LITTLE_ENDIAN);
+       item = proto_tree_add_item(tree, hf_bthci_cmd_bd_addr, tvb, offset, 6, ENC_NA);
        proto_item_append_text(item, "%02x%02x:%02x:%02x%02x%02x (%s)",
                                                        bd_addr[0], bd_addr[1], bd_addr[2], bd_addr[3], bd_addr[4], bd_addr[5],
                                                        get_ether_name(bd_addr));
@@ -923,7 +923,7 @@ dissect_bthci_ext_inquiry_response(tvbuff_t *tvb, int offset, packet_info *pinfo
                                        j=0;
                                        while(j<(length-1))
                                        {
-                                               proto_tree_add_item(ti_eir_struct_subtree, hf_bthci_cmd_sc_uuid128, tvb, offset+i+j+2, 16, ENC_LITTLE_ENDIAN);
+                                               proto_tree_add_item(ti_eir_struct_subtree, hf_bthci_cmd_sc_uuid128, tvb, offset+i+j+2, 16, ENC_NA);
                                                j+=16;
                                        }
                                        break;
@@ -936,7 +936,7 @@ dissect_bthci_ext_inquiry_response(tvbuff_t *tvb, int offset, packet_info *pinfo
                                        proto_tree_add_item(ti_eir_struct_subtree, hf_bthci_cmd_tx_power, tvb, offset+i+2, 1, ENC_LITTLE_ENDIAN);
 
                                default:
-                                       proto_tree_add_item(ti_eir_struct_subtree, hf_bthci_cmd_eir_data, tvb, offset+i+2, length-1, ENC_LITTLE_ENDIAN);
+                                       proto_tree_add_item(ti_eir_struct_subtree, hf_bthci_cmd_eir_data, tvb, offset+i+2, length-1, ENC_NA);
                                        break;
                        }
                        i += length+1;
@@ -1056,7 +1056,7 @@ dissect_link_control_cmd(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, prot
                case 0x000b: /* Link Key Request Reply */
                        offset = dissect_bthci_cmd_bd_addr(tvb, offset, pinfo, tree);
 
-                       proto_tree_add_item(tree, hf_bthci_cmd_link_key, tvb, offset, 16, ENC_LITTLE_ENDIAN);
+                       proto_tree_add_item(tree, hf_bthci_cmd_link_key, tvb, offset, 16, ENC_NA);
                        offset+=16;
                        break;
 
@@ -1224,7 +1224,7 @@ dissect_link_control_cmd(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, prot
                        break;
 
                default:
-                       proto_tree_add_item(tree, hf_bthci_cmd_params, tvb, offset, -1, ENC_LITTLE_ENDIAN);
+                       proto_tree_add_item(tree, hf_bthci_cmd_params, tvb, offset, -1, ENC_NA);
                        offset+=tvb_length_remaining(tvb, offset);
                        break;
        }
@@ -1364,7 +1364,7 @@ dissect_link_policy_cmd(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto
                        break;
 
                default:
-                       proto_tree_add_item(tree, hf_bthci_cmd_params, tvb, offset, -1, ENC_LITTLE_ENDIAN);
+                       proto_tree_add_item(tree, hf_bthci_cmd_params, tvb, offset, -1, ENC_NA);
                        offset+=tvb_length_remaining(tvb, offset);
                        break;
 
@@ -1530,7 +1530,7 @@ dissect_host_controller_baseband_cmd(tvbuff_t *tvb, int offset, packet_info *pin
                        offset++;
                        for (i=0; i<num8; i++) {
                                dissect_bthci_cmd_bd_addr(tvb, offset+(i*22), pinfo, tree);
-                               proto_tree_add_item(tree, hf_bthci_cmd_link_key, tvb, offset+6+(i*22), 16, ENC_LITTLE_ENDIAN);
+                               proto_tree_add_item(tree, hf_bthci_cmd_link_key, tvb, offset+6+(i*22), 16, ENC_NA);
                        }
                        break;
 
@@ -1714,7 +1714,7 @@ dissect_host_controller_baseband_cmd(tvbuff_t *tvb, int offset, packet_info *pin
                        break;
 
                case 0x003f: /* Set AFH Host Channel Classification */
-                       proto_tree_add_item(tree, hf_bthci_cmd_afh_ch_classification, tvb, offset, 10, ENC_LITTLE_ENDIAN);
+                       proto_tree_add_item(tree, hf_bthci_cmd_afh_ch_classification, tvb, offset, 10, ENC_NA);
                        offset+=10;
                        break;
 
@@ -1797,7 +1797,7 @@ dissect_host_controller_baseband_cmd(tvbuff_t *tvb, int offset, packet_info *pin
                        break;
 
                default:
-                       proto_tree_add_item(tree, hf_bthci_cmd_params, tvb, offset, -1, ENC_LITTLE_ENDIAN);
+                       proto_tree_add_item(tree, hf_bthci_cmd_params, tvb, offset, -1, ENC_NA);
                        offset+=tvb_length_remaining(tvb, offset);
                        break;
 
@@ -1816,7 +1816,7 @@ dissect_informational_parameters_cmd(tvbuff_t *tvb, int offset, packet_info *pin
                        break;
 
                default:
-                       proto_tree_add_item(tree, hf_bthci_cmd_params, tvb, offset, -1, ENC_LITTLE_ENDIAN);
+                       proto_tree_add_item(tree, hf_bthci_cmd_params, tvb, offset, -1, ENC_NA);
                        offset+=tvb_length_remaining(tvb, offset);
                        break;
 
@@ -1846,7 +1846,7 @@ dissect_status_parameters_cmd(tvbuff_t *tvb, int offset, packet_info *pinfo _U_,
                        break;
 
                default:
-                       proto_tree_add_item(tree, hf_bthci_cmd_params, tvb, offset, -1, ENC_LITTLE_ENDIAN);
+                       proto_tree_add_item(tree, hf_bthci_cmd_params, tvb, offset, -1, ENC_NA);
                        offset+=tvb_length_remaining(tvb, offset);
                        break;
 
@@ -1869,7 +1869,7 @@ dissect_testing_cmd(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tre
                        break;
 
                default:
-                       proto_tree_add_item(tree, hf_bthci_cmd_params, tvb, offset, -1, ENC_LITTLE_ENDIAN);
+                       proto_tree_add_item(tree, hf_bthci_cmd_params, tvb, offset, -1, ENC_NA);
                        offset+=tvb_length_remaining(tvb, offset);
                        break;
 
@@ -1942,7 +1942,7 @@ dissect_bthci_cmd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                                break;
 
                        default:
-                               proto_tree_add_item(bthci_cmd_tree, hf_bthci_cmd_params, tvb, 3, -1, ENC_LITTLE_ENDIAN);
+                               proto_tree_add_item(bthci_cmd_tree, hf_bthci_cmd_params, tvb, 3, -1, ENC_NA);
                                break;
                }
        }
index 2bb36177b81e254e9a1c66de3afb94476f583356..1e35a9983c07eebf99a6f2a5f60340c639675078 100644 (file)
@@ -614,7 +614,7 @@ dissect_bthci_evt_bd_addr(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, pro
        for(i=6; i; i--)
                bd_addr[6-i] = tvb_get_guint8(tvb, offset+i-1);
 
-       handle_item = proto_tree_add_item(tree, hf_bthci_evt_bd_addr, tvb, offset, 6, ENC_LITTLE_ENDIAN);
+       handle_item = proto_tree_add_item(tree, hf_bthci_evt_bd_addr, tvb, offset, 6, ENC_NA);
        proto_item_append_text(handle_item, "%02x%02x:%02x:%02x%02x%02x (%s)",
                                                        bd_addr[0], bd_addr[1], bd_addr[2], bd_addr[3], bd_addr[4], bd_addr[5],
                                                        get_ether_name(bd_addr));
@@ -840,7 +840,7 @@ dissect_bthci_evt_link_key_notification(tvbuff_t *tvb, int offset, packet_info *
 {
        offset = dissect_bthci_evt_bd_addr(tvb, offset, pinfo, tree);
 
-       proto_tree_add_item(tree, hf_bthci_evt_link_key, tvb, offset, 16, ENC_LITTLE_ENDIAN);
+       proto_tree_add_item(tree, hf_bthci_evt_link_key, tvb, offset, 16, ENC_NA);
        offset+=16;
 
        proto_tree_add_item(tree, hf_bthci_evt_key_type, tvb, offset, 1, ENC_LITTLE_ENDIAN);
@@ -861,7 +861,7 @@ dissect_bthci_evt_return_link_keys(tvbuff_t *tvb, int offset, packet_info *pinfo
        while(evt_num_keys--){
                offset = dissect_bthci_evt_bd_addr(tvb, offset, pinfo, tree);
 
-               proto_tree_add_item(tree, hf_bthci_evt_link_key, tvb, offset, 16, ENC_LITTLE_ENDIAN);
+               proto_tree_add_item(tree, hf_bthci_evt_link_key, tvb, offset, 16, ENC_NA);
                offset+=16;
 
        }
@@ -1260,7 +1260,7 @@ dissect_bthci_evt_ext_inquiry_response(tvbuff_t *tvb, int offset, packet_info *p
                                        j=0;
                                        while(j<(length-1))
                                        {
-                                               proto_tree_add_item(ti_eir_struct_subtree, hf_bthci_evt_sc_uuid128, tvb, offset+i+j+2, 16, ENC_LITTLE_ENDIAN);
+                                               proto_tree_add_item(ti_eir_struct_subtree, hf_bthci_evt_sc_uuid128, tvb, offset+i+j+2, 16, ENC_NA);
                                                j+=16;
                                        }
                                        break;
@@ -1273,7 +1273,7 @@ dissect_bthci_evt_ext_inquiry_response(tvbuff_t *tvb, int offset, packet_info *p
                                        proto_tree_add_item(ti_eir_struct_subtree, hf_bthci_evt_transmit_power_level, tvb, offset+i+2, 1, ENC_LITTLE_ENDIAN);
 
                                default:
-                                       proto_tree_add_item(ti_eir_struct_subtree, hf_bthci_evt_eir_data, tvb, offset+i+2, length-1, ENC_LITTLE_ENDIAN);
+                                       proto_tree_add_item(ti_eir_struct_subtree, hf_bthci_evt_eir_data, tvb, offset+i+2, length-1, ENC_NA);
                                        break;
                        }
                        i += length+1;
@@ -1855,7 +1855,7 @@ dissect_bthci_evt_command_complete(tvbuff_t *tvb, int offset, packet_info *pinfo
                        proto_tree_add_item(tree, hf_bthci_evt_status, tvb, offset, 1, ENC_LITTLE_ENDIAN);
                        offset++;
 
-                       proto_tree_add_item(tree, hf_bthci_evt_local_supported_cmds, tvb, offset, 64, ENC_LITTLE_ENDIAN);
+                       proto_tree_add_item(tree, hf_bthci_evt_local_supported_cmds, tvb, offset, 64, ENC_NA);
                        offset+=64;
 
                        break;
@@ -1998,7 +1998,7 @@ dissect_bthci_evt_command_complete(tvbuff_t *tvb, int offset, packet_info *pinfo
                        break;
 
                default:
-                       proto_tree_add_item(tree, hf_bthci_evt_ret_params, tvb, offset, -1, ENC_LITTLE_ENDIAN);
+                       proto_tree_add_item(tree, hf_bthci_evt_ret_params, tvb, offset, -1, ENC_NA);
                        offset+=tvb_length_remaining(tvb, offset);
                        break;
        }
@@ -2537,7 +2537,7 @@ dissect_bthci_evt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                        break;
 
                default:
-                       proto_tree_add_item(bthci_evt_tree, hf_bthci_evt_params, tvb, 2, -1, ENC_LITTLE_ENDIAN);
+                       proto_tree_add_item(bthci_evt_tree, hf_bthci_evt_params, tvb, 2, -1, ENC_NA);
                        break;
                }
 
index a6f5552bd5c508ab607fd9895924086806ffc4b7..febcaf808da043d71e37bd2b97218ff7a1aa313c 100644 (file)
@@ -63,7 +63,7 @@ dissect_btsco(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
   proto_tree_add_item(btsco_tree, hf_btsco_length, tvb, offset, 1, TRUE);
   offset++;
 
-  proto_tree_add_item(btsco_tree, hf_btsco_data, tvb, offset, -1, TRUE);
+  proto_tree_add_item(btsco_tree, hf_btsco_data, tvb, offset, -1, ENC_NA);
 }
 
 
index 40f321376f6e0090d201f49644fcc084a746fe73..d9a299a3b35aba6406fe518ce0c626cf80cd40eb 100644 (file)
@@ -698,7 +698,7 @@ dissect_inforesponse(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tr
                        break;
 
                default:
-                       proto_tree_add_item(tree, hf_btl2cap_cmd_data, tvb, offset, -1, TRUE);
+                       proto_tree_add_item(tree, hf_btl2cap_cmd_data, tvb, offset, -1, ENC_NA);
                        offset+=tvb_length_remaining(tvb, offset);
 
                        break;
@@ -880,13 +880,13 @@ dissect_b_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_tree
                        /* not a known fixed PSM, try to find a registered service to a dynamic PSM */
                        if(service != NULL && !dissector_try_uint(l2cap_service_dissector_table, *service, next_tvb, pinfo, tree)) {
                                /* unknown protocol. declare as data */
-                               proto_tree_add_item(btl2cap_tree, hf_btl2cap_payload, tvb, offset, length, TRUE);
+                               proto_tree_add_item(btl2cap_tree, hf_btl2cap_payload, tvb, offset, length, ENC_NA);
                        }
                }
                offset+=tvb_length_remaining(tvb, offset);
        }
        else {
-               proto_tree_add_item(btl2cap_tree, hf_btl2cap_payload, tvb, offset, length, TRUE);
+               proto_tree_add_item(btl2cap_tree, hf_btl2cap_payload, tvb, offset, length, ENC_NA);
                offset+=tvb_length_remaining(tvb, offset);
        }
 }
@@ -1025,12 +1025,12 @@ dissect_i_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_tree
                                /* not a known fixed PSM, try to find a registered service to a dynamic PSM */
                                if(service != NULL && !dissector_try_uint(l2cap_service_dissector_table, *service, next_tvb, pinfo, tree)) {
                                        /* unknown protocol. declare as data */
-                                       proto_tree_add_item(btl2cap_tree, hf_btl2cap_payload, next_tvb, 0, tvb_length(next_tvb), TRUE);
+                                       proto_tree_add_item(btl2cap_tree, hf_btl2cap_payload, next_tvb, 0, tvb_length(next_tvb), ENC_NA);
                                }
                        }
                }
                else {
-                       proto_tree_add_item(btl2cap_tree, hf_btl2cap_payload, next_tvb, 0, tvb_length(next_tvb), TRUE);
+                       proto_tree_add_item(btl2cap_tree, hf_btl2cap_payload, next_tvb, 0, tvb_length(next_tvb), ENC_NA);
                }
        }
        offset+=(tvb_length_remaining(tvb, offset) - 2);
@@ -1235,7 +1235,7 @@ dissect_btl2cap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                                break;
 
                        default:
-                               proto_tree_add_item(btl2cap_cmd_tree, hf_btl2cap_cmd_data, tvb, offset, -1, TRUE);
+                               proto_tree_add_item(btl2cap_cmd_tree, hf_btl2cap_cmd_data, tvb, offset, -1, ENC_NA);
                                offset+=tvb_length_remaining(tvb, offset);
                                break;
                        }
@@ -1258,7 +1258,7 @@ dissect_btl2cap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
                        if(!service || !dissector_try_uint(l2cap_service_dissector_table, *service,     next_tvb, pinfo, tree)) {
                                /* unknown protocol. declare as data */
-                               proto_tree_add_item(btl2cap_tree, hf_btl2cap_payload, tvb, offset, length, TRUE);
+                               proto_tree_add_item(btl2cap_tree, hf_btl2cap_payload, tvb, offset, length, ENC_NA);
                        }
                }
                offset+=tvb_length_remaining(tvb, offset);
@@ -1297,7 +1297,7 @@ dissect_btl2cap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                if(next_tvb && !dissector_try_uint(l2cap_cid_dissector_table, (guint32) cid,
                                        next_tvb, pinfo, tree)){
                        /* unknown protocol. declare as data */
-                       proto_tree_add_item(btl2cap_tree, hf_btl2cap_payload, tvb, offset, length, TRUE);
+                       proto_tree_add_item(btl2cap_tree, hf_btl2cap_payload, tvb, offset, length, ENC_NA);
                }
        }
        else /* if(cid >= BTL2CAP_FIXED_CID_MAX) */ { /* Connection oriented channel */
index f298d17425d0a2a3543315693b47646ba25d23b6..6874d2497e7836b672afa6c97a4dc3003761056f 100644 (file)
@@ -372,7 +372,7 @@ dissect_headers(proto_tree *tree, tvbuff_t *tvb, int offset, packet_info *pinfo)
                                proto_tree_add_item(hdr_tree, hf_hdr_length, tvb, offset, 2, FALSE);
                                offset += 2;
 
-                               handle_item = proto_tree_add_item(hdr_tree, hf_hdr_val_byte_seq, tvb, offset, item_length - 3, FALSE);
+                               handle_item = proto_tree_add_item(hdr_tree, hf_hdr_val_byte_seq, tvb, offset, item_length - 3, ENC_NA);
 
                                if( ((hdr_id == 0x46) || (hdr_id == 0x4a)) && (item_length == 19) ) { /* target or who */
                                        for( i=0; target_vals[i].strptr != NULL; i++) {
index e98f82ca80b2f774c0bb64c92b18889bbb0336d1..af7eee3af760ba1c000806165c53fdccecf73ed0 100644 (file)
@@ -988,7 +988,7 @@ dissect_btspp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                                tvb_length(tvb) > length ? "...":"");
        }
 
-       proto_tree_add_item(st, hf_data, tvb, 0, -1, ENC_LITTLE_ENDIAN);
+       proto_tree_add_item(st, hf_data, tvb, 0, -1, ENC_NA);
 }
 
 void
index da674c0d7e6b3a07745b1da0d578b8c4bb578454..4bb051691fa444994550bae3f8323a6e35ca2448 100644 (file)
@@ -218,7 +218,7 @@ dissect_bvlc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                                offset += 2;
                                proto_tree_add_item(bdt_tree,
                                        hf_bvlc_bdt_mask, tvb, offset, 4,
-                                       FALSE);
+                                       ENC_NA);
                                offset += 4;
                        }
                        /* We check this if we get a BDT-packet somewhere */
index 11d8ab1da23987d3718dcabf552151e787f53414..1e60137305c98d079ead91ebc8c821394ea5ad65 100644 (file)
@@ -711,7 +711,7 @@ dissect_capwap_data_message_bindings_ieee80211(tvbuff_t *tvb, proto_tree *data_m
        if (global_capwap_data_udp_port == pinfo->destport)
        {
           /* (WTP -> AC) IEEE 802.11 Frame Info */
-          data_message_binding_item = proto_tree_add_item(data_message_binding_tree, hf_capwap_header_wireless_data_ieee80211_fi,tvb, offset, 4, ENC_BIG_ENDIAN);
+          data_message_binding_item = proto_tree_add_item(data_message_binding_tree, hf_capwap_header_wireless_data_ieee80211_fi,tvb, offset, 4, ENC_NA);
           sub_data_message_binding_tree = proto_item_add_subtree(data_message_binding_item, ett_capwap);
 
           proto_tree_add_item(sub_data_message_binding_tree, hf_capwap_header_wireless_data_ieee80211_fi_rssi,tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -723,7 +723,7 @@ dissect_capwap_data_message_bindings_ieee80211(tvbuff_t *tvb, proto_tree *data_m
        else
        {
           /* (AC -> WTP) IEEE 802.11 Destination Wlans */
-          data_message_binding_item = proto_tree_add_item(data_message_binding_tree, hf_capwap_header_wireless_data_ieee80211_dest_wlan,tvb, offset, 4, ENC_BIG_ENDIAN);
+          data_message_binding_item = proto_tree_add_item(data_message_binding_tree, hf_capwap_header_wireless_data_ieee80211_dest_wlan,tvb, offset, 4, ENC_NA);
           sub_data_message_binding_tree = proto_item_add_subtree(data_message_binding_item, ett_capwap);
 
           proto_tree_add_item(sub_data_message_binding_tree, hf_capwap_header_wireless_data_ieee80211_dw_wlan_id_bitmap,tvb, offset, 2, ENC_BIG_ENDIAN);
@@ -771,7 +771,7 @@ dissect_capwap_ac_information(tvbuff_t *tvb, proto_tree *ac_information_type_tre
 
        proto_tree_add_item(sub_ac_information_type_tree, hf_capwap_msg_element_type_ac_information_length, tvb, offset+6, 2, ENC_BIG_ENDIAN);
 
-       proto_tree_add_item(sub_ac_information_type_tree, hf_capwap_msg_element_type_ac_information_value, tvb, offset+8, optlen, ENC_BIG_ENDIAN);
+       proto_tree_add_item(sub_ac_information_type_tree, hf_capwap_msg_element_type_ac_information_value, tvb, offset+8, optlen, ENC_NA);
        switch (ac_information_type) {
        case AC_INFORMATION_HARDWARE_VERSION:
                proto_tree_add_item(sub_ac_information_type_tree, hf_capwap_msg_element_type_ac_information_hardware_version, tvb, offset+8, optlen, ENC_BIG_ENDIAN);
@@ -807,7 +807,7 @@ dissect_capwap_wtp_descriptor(tvbuff_t *tvb, proto_tree *wtp_descriptor_type_tre
 
        proto_tree_add_item(sub_wtp_descriptor_type_tree, hf_capwap_msg_element_type_wtp_descriptor_length, tvb, offset+6, 2, ENC_BIG_ENDIAN);
 
-       proto_tree_add_item(sub_wtp_descriptor_type_tree, hf_capwap_msg_element_type_wtp_descriptor_value, tvb, offset+8, optlen, ENC_BIG_ENDIAN);
+       proto_tree_add_item(sub_wtp_descriptor_type_tree, hf_capwap_msg_element_type_wtp_descriptor_value, tvb, offset+8, optlen, ENC_NA);
 
        switch (wtp_descriptor_type) {
        case WTP_DESCRIPTOR_HARDWARE_VERSION:
@@ -851,7 +851,7 @@ dissect_capwap_board_data(tvbuff_t *tvb, proto_tree *board_data_type_tree, guint
 
        proto_tree_add_item(sub_board_data_type_tree, hf_capwap_msg_element_type_wtp_board_data_length, tvb, offset+2, 2, ENC_BIG_ENDIAN);
 
-       proto_tree_add_item(sub_board_data_type_tree, hf_capwap_msg_element_type_wtp_board_data_value, tvb, offset+4, optlen, ENC_BIG_ENDIAN);
+       proto_tree_add_item(sub_board_data_type_tree, hf_capwap_msg_element_type_wtp_board_data_value, tvb, offset+4, optlen, ENC_NA);
        switch (board_data_type) {
        case BOARD_DATA_WTP_MODEL_NUMBER:
                proto_tree_add_item(sub_board_data_type_tree, hf_capwap_msg_element_type_wtp_board_data_wtp_model_number, tvb, offset+4, optlen, ENC_BIG_ENDIAN);
@@ -898,7 +898,7 @@ dissect_capwap_message_element_type(tvbuff_t *tvb, proto_tree *msg_element_type_
 
        proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_length, tvb, offset+2, 2, ENC_BIG_ENDIAN);
 
-       proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_value, tvb, offset+4, optlen, ENC_BIG_ENDIAN);
+       proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_value, tvb, offset+4, optlen, ENC_NA);
 
        switch (msg_element_type) {
        case TYPE_AC_DESCRIPTOR: /* AC Descriptor (1) */
@@ -908,7 +908,7 @@ dissect_capwap_message_element_type(tvbuff_t *tvb, proto_tree *msg_element_type_
                proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ac_descriptor_max_wtp, tvb, offset+10, 2, ENC_BIG_ENDIAN);
 
                /* AC Descriptor Security Flags... */
-               msg_element_type_item_flag = proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ac_descriptor_security, tvb, offset+12, 1, ENC_BIG_ENDIAN);
+               msg_element_type_item_flag = proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ac_descriptor_security, tvb, offset+12, 1, ENC_NA);
                sub_msg_element_type_flag_tree = proto_item_add_subtree(msg_element_type_item_flag, ett_capwap);
 
                proto_tree_add_boolean(sub_msg_element_type_flag_tree, hf_capwap_msg_element_type_ac_descriptor_security_r, tvb, offset+12, 1, ENC_BIG_ENDIAN);
@@ -919,7 +919,7 @@ dissect_capwap_message_element_type(tvbuff_t *tvb, proto_tree *msg_element_type_
                proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ac_descriptor_reserved, tvb, offset+14, 1, ENC_BIG_ENDIAN);
 
                /* AC Descriptor DTLS Flags... */
-               msg_element_type_item_flag = proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ac_descriptor_dtls_policy, tvb, offset+15, 1, ENC_BIG_ENDIAN);
+               msg_element_type_item_flag = proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ac_descriptor_dtls_policy, tvb, offset+15, 1, ENC_NA);
                sub_msg_element_type_flag_tree = proto_item_add_subtree(msg_element_type_item_flag, ett_capwap);
 
                proto_tree_add_item(sub_msg_element_type_flag_tree, hf_capwap_msg_element_type_ac_descriptor_dtls_policy_r, tvb, offset+15, 1, ENC_BIG_ENDIAN);
@@ -1023,7 +1023,7 @@ dissect_capwap_message_element_type(tvbuff_t *tvb, proto_tree *msg_element_type_
                break;
 
        case TYPE_SESSION_ID: /* Session ID (35) */
-               proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_session_id, tvb, offset+4, optlen, ENC_BIG_ENDIAN);
+               proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_session_id, tvb, offset+4, optlen, ENC_NA);
                break;
 
        case TYPE_STATISTICS_TIMER: /* Statistics Timer (36) */
@@ -1033,7 +1033,7 @@ dissect_capwap_message_element_type(tvbuff_t *tvb, proto_tree *msg_element_type_
        case TYPE_VENDOR_SPECIFIC_PAYLOAD: /* Vendor Specific Payload (37) */
                proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_vsp_vendor_identifier, tvb, offset+4, 4, ENC_BIG_ENDIAN);
                proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_vsp_vendor_element_id, tvb, offset+8, 2, ENC_BIG_ENDIAN);
-               proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_vsp_vendor_data, tvb, offset+10, optlen-6, ENC_BIG_ENDIAN);
+               proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_vsp_vendor_data, tvb, offset+10, optlen-6, ENC_NA);
                break;
 
        case TYPE_WTP_BOARD_DATA: /* WTP Board Data (38) */
@@ -1076,7 +1076,7 @@ dissect_capwap_message_element_type(tvbuff_t *tvb, proto_tree *msg_element_type_
                break;
 
        case TYPE_WTP_FRAME_TUNNEL_MODE: /* WTP Frame Tunnel Mode (41) */
-               msg_element_type_item_flag = proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_wtp_frame_tunnel_mode, tvb, offset+4, 1, ENC_BIG_ENDIAN);
+               msg_element_type_item_flag = proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_wtp_frame_tunnel_mode, tvb, offset+4, 1, ENC_NA);
                sub_msg_element_type_flag_tree = proto_item_add_subtree(msg_element_type_item_flag, ett_capwap);
 
                proto_tree_add_item(sub_msg_element_type_flag_tree, hf_capwap_msg_element_type_wtp_frame_tunnel_mode_n, tvb, offset+4, 1, ENC_BIG_ENDIAN);
@@ -1106,7 +1106,7 @@ dissect_capwap_message_element_type(tvbuff_t *tvb, proto_tree *msg_element_type_
 
        case IEEE80211_RATE_SET: /* ieee80211 Rate Set (1034) */
                proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ieee80211_rate_set_radio_id, tvb, offset+4, 1, ENC_BIG_ENDIAN);
-               proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ieee80211_rate_set_rate_set, tvb, offset+5, optlen-1, ENC_BIG_ENDIAN);
+               proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ieee80211_rate_set_rate_set, tvb, offset+5, optlen-1, ENC_NA);
                break;
 
        case IEEE80211_STATION_SESSION_KEY: /* ieee80211 Station Session Key (1038) */
@@ -1114,14 +1114,14 @@ dissect_capwap_message_element_type(tvbuff_t *tvb, proto_tree *msg_element_type_
                proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ieee80211_station_session_key_flags, tvb, offset+10, 2, ENC_BIG_ENDIAN);
                proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ieee80211_station_session_key_flags_a, tvb, offset+10, 2, ENC_BIG_ENDIAN);
                proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ieee80211_station_session_key_flags_c, tvb, offset+10, 2, ENC_BIG_ENDIAN);
-               proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ieee80211_station_session_key_pairwire_tsc, tvb, offset+12, 6, ENC_BIG_ENDIAN);
-               proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ieee80211_station_session_key_pairwire_rsc, tvb, offset+18, 6, ENC_BIG_ENDIAN);
-               proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ieee80211_station_session_key_key, tvb, offset+24, optlen-24, ENC_BIG_ENDIAN);
+               proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ieee80211_station_session_key_pairwire_tsc, tvb, offset+12, 6, ENC_NA);
+               proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ieee80211_station_session_key_pairwire_rsc, tvb, offset+18, 6, ENC_NA);
+               proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ieee80211_station_session_key_key, tvb, offset+24, optlen-24, ENC_NA);
                break;
 
        case IEEE80211_WTP_RADIO_INFORMATION: /* ieee80211 WTP Radio Information (1048) */
                proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ieee80211_wtp_radio_info_radio_id, tvb, offset+4, 1, ENC_BIG_ENDIAN);
-               proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ieee80211_wtp_radio_info_radio_type_reserved, tvb, offset+5, 3, ENC_BIG_ENDIAN);
+               proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ieee80211_wtp_radio_info_radio_type_reserved, tvb, offset+5, 3, ENC_NA);
                proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ieee80211_wtp_radio_info_radio_type_n, tvb, offset+8, 1, ENC_BIG_ENDIAN);
                proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ieee80211_wtp_radio_info_radio_type_g, tvb, offset+8, 1, ENC_BIG_ENDIAN);
                proto_tree_add_item(sub_msg_element_type_tree, hf_capwap_msg_element_type_ieee80211_wtp_radio_info_radio_type_a, tvb, offset+8, 1, ENC_BIG_ENDIAN);
@@ -1144,7 +1144,7 @@ dissect_capwap_message_element(tvbuff_t *tvb, proto_tree *capwap_control_tree, g
        proto_item *ti;
        proto_tree *capwap_message_element_tree;
 
-       ti = proto_tree_add_item(capwap_control_tree, hf_capwap_message_element, tvb, offset, tvb_reported_length(tvb) - offset, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(capwap_control_tree, hf_capwap_message_element, tvb, offset, tvb_reported_length(tvb) - offset, ENC_NA);
        capwap_message_element_tree = proto_item_add_subtree(ti, ett_capwap);
 
        offset_end = tvb_reported_length(tvb);
@@ -1165,7 +1165,7 @@ dissect_capwap_control_header(tvbuff_t *tvb, proto_tree *capwap_control_tree, gu
        proto_tree *capwap_control_header_tree;
        proto_tree *capwap_control_msg_type_tree;
 
-       ti = proto_tree_add_item(capwap_control_tree, hf_capwap_control_header, tvb, offset, 8, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(capwap_control_tree, hf_capwap_control_header, tvb, offset, 8, ENC_NA);
        capwap_control_header_tree = proto_item_add_subtree(ti, ett_capwap);
 
        /* Message Type 32 bits */
@@ -1203,7 +1203,7 @@ dissect_capwap_header(tvbuff_t *tvb, proto_tree *capwap_control_tree, guint offs
        guint8 maclength, wirelesslength;
        guint align = 0;
 
-       ti = proto_tree_add_item(capwap_control_tree, hf_capwap_header, tvb, offset+plen, tvb_get_bits8(tvb, (offset+plen)*8, 5), ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(capwap_control_tree, hf_capwap_header, tvb, offset+plen, tvb_get_bits8(tvb, (offset+plen)*8, 5), ENC_NA);
        capwap_header_tree = proto_item_add_subtree(ti, ett_capwap);
 
        /* Header Length : 5 Bits */
@@ -1265,14 +1265,14 @@ dissect_capwap_header(tvbuff_t *tvb, proto_tree *capwap_control_tree, guint offs
                } else if (maclength == 8) {
                        proto_tree_add_item(capwap_header_tree, hf_capwap_header_mac_eui64, tvb, offset+plen, maclength, ENC_BIG_ENDIAN);
                } else {
-                       proto_tree_add_item(capwap_header_tree, hf_capwap_header_mac_data, tvb, offset+plen, maclength, ENC_BIG_ENDIAN);
+                       proto_tree_add_item(capwap_header_tree, hf_capwap_header_mac_data, tvb, offset+plen, maclength, ENC_NA);
                }
                plen += maclength;
                /* 4 Bytes Alignment ? */
                align = 4-((offset+plen)%4);
                if (align != 4)
                {
-                       proto_tree_add_item(capwap_header_tree, hf_capwap_header_padding, tvb, offset+plen, align, ENC_BIG_ENDIAN);
+                       proto_tree_add_item(capwap_header_tree, hf_capwap_header_padding, tvb, offset+plen, align, ENC_NA);
                        plen += align;
                }
        }
@@ -1287,7 +1287,7 @@ dissect_capwap_header(tvbuff_t *tvb, proto_tree *capwap_control_tree, guint offs
                }
                proto_tree_add_item(capwap_header_tree, hf_capwap_header_wireless_length, tvb, offset+plen, 1, ENC_BIG_ENDIAN);
                plen += 1;
-               proto_tree_add_item(capwap_header_tree, hf_capwap_header_wireless_data, tvb, offset+plen, wirelesslength, ENC_BIG_ENDIAN);
+               proto_tree_add_item(capwap_header_tree, hf_capwap_header_wireless_data, tvb, offset+plen, wirelesslength, ENC_NA);
 
                /* Optional Wireless Specific Information for ieee80211 (wbid = 1) Section 4 of RFC5416 */
                if (*payload_wbid == 1)
@@ -1300,7 +1300,7 @@ dissect_capwap_header(tvbuff_t *tvb, proto_tree *capwap_control_tree, guint offs
                align = 4-((offset+plen)%4);
                if (align != 4)
                {
-                       proto_tree_add_item(capwap_header_tree, hf_capwap_header_padding, tvb, offset+plen, align, ENC_BIG_ENDIAN);
+                       proto_tree_add_item(capwap_header_tree, hf_capwap_header_padding, tvb, offset+plen, align, ENC_NA);
                        plen += align;
                }
        }
@@ -1315,7 +1315,7 @@ dissect_capwap_preamble(tvbuff_t *tvb, proto_tree *capwap_control_tree, guint of
        proto_item *ti;
        proto_tree *capwap_preamble_tree;
 
-       ti = proto_tree_add_item(capwap_control_tree, hf_capwap_preamble, tvb, offset+plen, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(capwap_control_tree, hf_capwap_preamble, tvb, offset+plen, -1, ENC_NA);
        capwap_preamble_tree = proto_item_add_subtree(ti, ett_capwap);
 
        proto_tree_add_uint(capwap_preamble_tree, hf_capwap_preamble_version, tvb, offset+plen, 1, hi_nibble(tvb_get_guint8(tvb, offset+plen)));
index b295981e049d6b963cc6628019129b5bbc3074ad..2095e924a19c75d4e4f494b4f13ae98d179da83e 100644 (file)
@@ -1569,7 +1569,7 @@ static void dissect_tty_lines(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tre
     int         lines = 0;
 
     /* Create tty tree. */
-    ti = proto_tree_add_item(tree, hf_catapult_dct2000_tty, tvb, offset, -1, FALSE);
+    ti = proto_tree_add_item(tree, hf_catapult_dct2000_tty, tvb, offset, -1, ENC_NA);
     tty_tree = proto_item_add_subtree(ti, ett_catapult_dct2000_tty);
 
     /* Show the tty lines one at a time. */
@@ -2020,7 +2020,7 @@ dissect_catapult_dct2000(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 /* Look for and flag generic error messages */
                 if (strncmp(string, ">> ERR", 6) == 0) {
                     proto_item *error_ti = proto_tree_add_item(dct2000_tree, hf_catapult_dct2000_error_comment, tvb,
-                                                               offset, -1, FALSE);
+                                                               offset, -1, ENC_NA);
                     PROTO_ITEM_SET_GENERATED(error_ti);
                     expert_add_info_format(pinfo, string_ti, PI_SEQUENCE, PI_ERROR,
                                           "%s", string);
@@ -2368,7 +2368,7 @@ dissect_catapult_dct2000(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
            - protocol rejected our data
            Show remaining bytes as unparsed data */
         proto_tree_add_item(dct2000_tree, hf_catapult_dct2000_unparsed_data,
-                            tvb, offset, -1, FALSE);
+                            tvb, offset, -1, ENC_NA);
 
         col_add_fstr(pinfo->cinfo, COL_INFO,
                      "Not dissected  (context=%s.%u   t=%s   %c   prot=%s (v=%s))",
index 3ee097cbb50a6439ae23c8d2d568cb132c29ff1e..1154db6eb67658d55ccc2592802f8b170ce99bce 100644 (file)
@@ -385,7 +385,7 @@ static int dissect_cfm_ccm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree *cfm_ccm_itu_tree;
 
 
-       ti = proto_tree_add_item(tree, hf_cfm_ccm_pdu, tvb, offset, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, hf_cfm_ccm_pdu, tvb, offset, -1, ENC_NA);
        cfm_pdu_tree = proto_item_add_subtree(ti, ett_cfm_pdu);
 
        fi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -403,7 +403,7 @@ static int dissect_cfm_ccm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        offset += 2;
 
        /* dissect CCM MAID */
-       mi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_ccm_maid, tvb, offset, 48, ENC_BIG_ENDIAN);
+       mi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_ccm_maid, tvb, offset, 48, ENC_NA);
        cfm_ccm_maid_tree = proto_item_add_subtree(mi, ett_cfm_ccm_maid);
        maid_offset = offset;
        proto_tree_add_item(cfm_ccm_maid_tree, hf_cfm_maid_md_name_format, tvb, maid_offset, 1, ENC_BIG_ENDIAN);
@@ -422,12 +422,12 @@ static int dissect_cfm_ccm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
                                        /* the MD name of type MAC should be 8 octets but if
                                         * it isn't we are going to try and process it anyways.*/
                                        proto_tree_add_item(cfm_ccm_maid_tree, hf_cfm_maid_md_name_hex,
-                                               tvb, maid_offset, cfm_maid_md_name_length, ENC_BIG_ENDIAN);
+                                               tvb, maid_offset, cfm_maid_md_name_length, ENC_NA);
                                } else {
                                        proto_tree_add_item(cfm_ccm_maid_tree, hf_cfm_maid_md_name_mac,
                                                tvb, maid_offset, 6, ENC_BIG_ENDIAN);
                                        proto_tree_add_item(cfm_ccm_maid_tree, hf_cfm_maid_md_name_mac_id,
-                                               tvb, maid_offset+6, 2, ENC_BIG_ENDIAN);
+                                               tvb, maid_offset+6, 2, ENC_NA);
                                }
                        } else {
                                /* MD name format is regular string or DNS string */
@@ -449,7 +449,7 @@ static int dissect_cfm_ccm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
                        tvb, maid_offset, cfm_maid_ma_name_length, ENC_BIG_ENDIAN);
        } else {
                proto_tree_add_item(cfm_ccm_maid_tree, hf_cfm_maid_ma_name_hex,
-                       tvb, maid_offset, cfm_maid_ma_name_length, ENC_BIG_ENDIAN);
+                       tvb, maid_offset, cfm_maid_ma_name_length, ENC_NA);
        }
        maid_offset += cfm_maid_ma_name_length;
        offset += 48;
@@ -457,20 +457,20 @@ static int dissect_cfm_ccm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
                gint padding_length;
                padding_length = offset - maid_offset;
                proto_tree_add_item(cfm_ccm_maid_tree, hf_cfm_maid_padding,
-                       tvb, maid_offset, padding_length, ENC_BIG_ENDIAN);
+                       tvb, maid_offset, padding_length, ENC_NA);
        }
 
        /* Dissect 16 octets reserved for Y.1731, samples of the wrap-around frame counters */
-       wi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_ccm_itu_t_y1731, tvb, offset, 16, ENC_BIG_ENDIAN);
+       wi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_ccm_itu_t_y1731, tvb, offset, 16, ENC_NA);
        cfm_ccm_itu_tree = proto_item_add_subtree(wi, ett_cfm_ccm_itu);
        itu_offset = offset;
-       proto_tree_add_item(cfm_ccm_itu_tree, hf_cfm_itu_TxFCf, tvb, itu_offset, 4, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_ccm_itu_tree, hf_cfm_itu_TxFCf, tvb, itu_offset, 4, ENC_NA);
        itu_offset += 4;
-       proto_tree_add_item(cfm_ccm_itu_tree, hf_cfm_itu_RxFCb, tvb, itu_offset, 4, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_ccm_itu_tree, hf_cfm_itu_RxFCb, tvb, itu_offset, 4, ENC_NA);
        itu_offset += 4;
-       proto_tree_add_item(cfm_ccm_itu_tree, hf_cfm_itu_TxFCb, tvb, itu_offset, 4, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_ccm_itu_tree, hf_cfm_itu_TxFCb, tvb, itu_offset, 4, ENC_NA);
        itu_offset += 4;
-       proto_tree_add_item(cfm_ccm_itu_tree, hf_cfm_itu_reserved, tvb, itu_offset, 4, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_ccm_itu_tree, hf_cfm_itu_reserved, tvb, itu_offset, 4, ENC_NA);
        itu_offset += 4;
 
        offset += 16;
@@ -482,7 +482,7 @@ static int dissect_cfm_lbm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_item *ti;
        proto_tree *cfm_pdu_tree;
 
-       ti = proto_tree_add_item(tree, hf_cfm_lbm_pdu, tvb, offset, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, hf_cfm_lbm_pdu, tvb, offset, -1, ENC_NA);
        cfm_pdu_tree = proto_item_add_subtree(ti, ett_cfm_pdu);
 
        proto_tree_add_item(cfm_pdu_tree, hf_cfm_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -499,7 +499,7 @@ static int dissect_cfm_lbr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_item *ti;
        proto_tree *cfm_pdu_tree;
 
-       ti = proto_tree_add_item(tree, hf_cfm_lbr_pdu, tvb, offset, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, hf_cfm_lbr_pdu, tvb, offset, -1, ENC_NA);
        cfm_pdu_tree = proto_item_add_subtree(ti, ett_cfm_pdu);
 
        proto_tree_add_item(cfm_pdu_tree, hf_cfm_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -518,7 +518,7 @@ static int dissect_cfm_ltm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree *cfm_pdu_tree;
        proto_tree *cfm_flag_tree;
 
-       ti = proto_tree_add_item(tree, hf_cfm_ltm_pdu, tvb, offset, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, hf_cfm_ltm_pdu, tvb, offset, -1, ENC_NA);
        cfm_pdu_tree = proto_item_add_subtree(ti, ett_cfm_pdu);
 
        fi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -547,7 +547,7 @@ static int dissect_cfm_ltr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree *cfm_pdu_tree;
        proto_tree *cfm_flag_tree;
 
-       ti = proto_tree_add_item(tree, hf_cfm_ltr_pdu, tvb, offset, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, hf_cfm_ltr_pdu, tvb, offset, -1, ENC_NA);
        cfm_pdu_tree = proto_item_add_subtree(ti, ett_cfm_pdu);
 
        fi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -576,7 +576,7 @@ static int dissect_cfm_ais(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree *cfm_pdu_tree;
        proto_tree *cfm_flag_tree;
 
-       ti = proto_tree_add_item(tree, hf_cfm_ais_pdu, tvb, offset, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, hf_cfm_ais_pdu, tvb, offset, -1, ENC_NA);
        cfm_pdu_tree = proto_item_add_subtree(ti, ett_cfm_pdu);
 
        fi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -598,7 +598,7 @@ static int dissect_cfm_lck(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree *cfm_pdu_tree;
        proto_tree *cfm_flag_tree;
 
-       ti = proto_tree_add_item(tree, hf_cfm_lck_pdu, tvb, offset, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, hf_cfm_lck_pdu, tvb, offset, -1, ENC_NA);
        cfm_pdu_tree = proto_item_add_subtree(ti, ett_cfm_pdu);
 
        fi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -620,7 +620,7 @@ static int dissect_cfm_tst(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree *cfm_pdu_tree;
        proto_tree *cfm_flag_tree;
 
-       ti = proto_tree_add_item(tree, hf_cfm_tst_pdu, tvb, offset, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, hf_cfm_tst_pdu, tvb, offset, -1, ENC_NA);
        cfm_pdu_tree = proto_item_add_subtree(ti, ett_cfm_pdu);
 
        fi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -645,7 +645,7 @@ static int dissect_cfm_aps(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree *cfm_pdu_tree;
        proto_tree *cfm_flag_tree;
 
-       ti = proto_tree_add_item(tree, hf_cfm_aps_pdu, tvb, offset, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, hf_cfm_aps_pdu, tvb, offset, -1, ENC_NA);
        cfm_pdu_tree = proto_item_add_subtree(ti, ett_cfm_pdu);
 
        fi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -661,7 +661,7 @@ static int dissect_cfm_aps(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
         * the TLV offset and perform a hex dump */
        cfm_tlv_offset = tvb_get_guint8(tvb, 3);
        if (cfm_tlv_offset > 0) {
-               proto_tree_add_item(cfm_pdu_tree, hf_cfm_aps_data, tvb, offset, cfm_tlv_offset, ENC_BIG_ENDIAN);
+               proto_tree_add_item(cfm_pdu_tree, hf_cfm_aps_data, tvb, offset, cfm_tlv_offset, ENC_NA);
                offset += cfm_tlv_offset;
        }
 
@@ -677,7 +677,7 @@ static int dissect_cfm_raps(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *t
        proto_tree *cfm_flag_tree;
        proto_tree *raps_flag_tree;
 
-       ti = proto_tree_add_item(tree, hf_cfm_raps_pdu, tvb, offset, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, hf_cfm_raps_pdu, tvb, offset, -1, ENC_NA);
        cfm_pdu_tree = proto_item_add_subtree(ti, ett_cfm_pdu);
 
        fi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -700,7 +700,7 @@ static int dissect_cfm_raps(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *t
        proto_tree_add_item(cfm_pdu_tree, hf_cfm_raps_node_id, tvb, offset, 6, ENC_BIG_ENDIAN);
        offset += 6;
 
-       proto_tree_add_item(cfm_pdu_tree, hf_cfm_raps_reserved, tvb, offset, 24, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_cfm_raps_reserved, tvb, offset, 24, ENC_NA);
        offset += 24;
 
        return offset;
@@ -714,7 +714,7 @@ static int dissect_cfm_mcc(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree *cfm_pdu_tree;
        proto_tree *cfm_flag_tree;
 
-       ti = proto_tree_add_item(tree, hf_cfm_mcc_pdu, tvb, offset, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, hf_cfm_mcc_pdu, tvb, offset, -1, ENC_NA);
        cfm_pdu_tree = proto_item_add_subtree(ti, ett_cfm_pdu);
 
        fi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -725,9 +725,9 @@ static int dissect_cfm_mcc(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree_add_item(cfm_pdu_tree, hf_cfm_first_tlv_offset, tvb, offset, 1, ENC_BIG_ENDIAN);
        offset += 1;
 
-       proto_tree_add_item(cfm_pdu_tree, hf_tlv_org_spec_oui, tvb, offset, 3, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_tlv_org_spec_oui, tvb, offset, 3, ENC_NA);
        offset += 3;
-       proto_tree_add_item(cfm_pdu_tree, hf_tlv_org_spec_subtype, tvb, offset, 1, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_tlv_org_spec_subtype, tvb, offset, 1, ENC_NA);
        offset += 1;
 
        /* The MCC data field was not defined at the time of this code being written
@@ -737,7 +737,7 @@ static int dissect_cfm_mcc(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        /* Remove OUI and subtype from the offset */
        cfm_tlv_offset -= 4;
        if (cfm_tlv_offset > 0) {
-               proto_tree_add_item(cfm_pdu_tree, hf_cfm_mcc_data, tvb, offset, cfm_tlv_offset, ENC_BIG_ENDIAN);
+               proto_tree_add_item(cfm_pdu_tree, hf_cfm_mcc_data, tvb, offset, cfm_tlv_offset, ENC_NA);
                offset += cfm_tlv_offset;
        }
 
@@ -751,7 +751,7 @@ static int dissect_cfm_lmm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree *cfm_pdu_tree;
        proto_tree *cfm_flag_tree;
 
-       ti = proto_tree_add_item(tree, hf_cfm_lmm_pdu, tvb, offset, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, hf_cfm_lmm_pdu, tvb, offset, -1, ENC_NA);
        cfm_pdu_tree = proto_item_add_subtree(ti, ett_cfm_pdu);
 
        fi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -762,11 +762,11 @@ static int dissect_cfm_lmm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree_add_item(cfm_pdu_tree, hf_cfm_first_tlv_offset, tvb, offset, 1, ENC_BIG_ENDIAN);
        offset += 1;
 
-       proto_tree_add_item(cfm_pdu_tree, hf_cfm_lmm_lmr_TxFCf, tvb, offset, 4, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_cfm_lmm_lmr_TxFCf, tvb, offset, 4, ENC_NA);
        offset += 4;
-       proto_tree_add_item(cfm_pdu_tree, hf_cfm_lmm_lmr_RxFCf, tvb, offset, 4, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_cfm_lmm_lmr_RxFCf, tvb, offset, 4, ENC_NA);
        offset += 4;
-       proto_tree_add_item(cfm_pdu_tree, hf_cfm_lmm_lmr_TxFCb, tvb, offset, 4, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_cfm_lmm_lmr_TxFCb, tvb, offset, 4, ENC_NA);
        offset += 4;
 
        return offset;
@@ -779,7 +779,7 @@ static int dissect_cfm_lmr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree *cfm_pdu_tree;
        proto_tree *cfm_flag_tree;
 
-       ti = proto_tree_add_item(tree, hf_cfm_lmr_pdu, tvb, offset, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, hf_cfm_lmr_pdu, tvb, offset, -1, ENC_NA);
        cfm_pdu_tree = proto_item_add_subtree(ti, ett_cfm_pdu);
 
        fi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -790,11 +790,11 @@ static int dissect_cfm_lmr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree_add_item(cfm_pdu_tree, hf_cfm_first_tlv_offset, tvb, offset, 1, ENC_BIG_ENDIAN);
        offset += 1;
 
-       proto_tree_add_item(cfm_pdu_tree, hf_cfm_lmm_lmr_TxFCf, tvb, offset, 4, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_cfm_lmm_lmr_TxFCf, tvb, offset, 4, ENC_NA);
        offset += 4;
-       proto_tree_add_item(cfm_pdu_tree, hf_cfm_lmm_lmr_RxFCf, tvb, offset, 4, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_cfm_lmm_lmr_RxFCf, tvb, offset, 4, ENC_NA);
        offset += 4;
-       proto_tree_add_item(cfm_pdu_tree, hf_cfm_lmm_lmr_TxFCb, tvb, offset, 4, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_cfm_lmm_lmr_TxFCb, tvb, offset, 4, ENC_NA);
        offset += 4;
 
        return offset;
@@ -807,7 +807,7 @@ static int dissect_cfm_odm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree *cfm_pdu_tree;
        proto_tree *cfm_flag_tree;
 
-       ti = proto_tree_add_item(tree, hf_cfm_odm_pdu, tvb, offset, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, hf_cfm_odm_pdu, tvb, offset, -1, ENC_NA);
        cfm_pdu_tree = proto_item_add_subtree(ti, ett_cfm_pdu);
 
        fi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -818,9 +818,9 @@ static int dissect_cfm_odm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree_add_item(cfm_pdu_tree, hf_cfm_first_tlv_offset, tvb, offset, 1, ENC_BIG_ENDIAN);
        offset += 1;
 
-       proto_tree_add_item(cfm_pdu_tree, hf_cfm_odm_dmm_dmr_TxTimestampf, tvb, offset, 8, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_cfm_odm_dmm_dmr_TxTimestampf, tvb, offset, 8, ENC_NA);
        offset += 8;
-       proto_tree_add_item(cfm_pdu_tree, hf_cfm_odm_dmm_dmr_RxTimestampf, tvb, offset, 8, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_cfm_odm_dmm_dmr_RxTimestampf, tvb, offset, 8, ENC_NA);
        offset += 8;
 
        return offset;
@@ -833,7 +833,7 @@ static int dissect_cfm_dmm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree *cfm_pdu_tree;
        proto_tree *cfm_flag_tree;
 
-       ti = proto_tree_add_item(tree, hf_cfm_dmm_pdu, tvb, offset, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, hf_cfm_dmm_pdu, tvb, offset, -1, ENC_NA);
        cfm_pdu_tree = proto_item_add_subtree(ti, ett_cfm_pdu);
 
        fi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -844,13 +844,13 @@ static int dissect_cfm_dmm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree_add_item(cfm_pdu_tree, hf_cfm_first_tlv_offset, tvb, offset, 1, ENC_BIG_ENDIAN);
        offset += 1;
 
-       proto_tree_add_item(cfm_pdu_tree, hf_cfm_odm_dmm_dmr_TxTimestampf, tvb, offset, 8, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_cfm_odm_dmm_dmr_TxTimestampf, tvb, offset, 8, ENC_NA);
        offset += 8;
-       proto_tree_add_item(cfm_pdu_tree, hf_cfm_odm_dmm_dmr_RxTimestampf, tvb, offset, 8, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_cfm_odm_dmm_dmr_RxTimestampf, tvb, offset, 8, ENC_NA);
        offset += 8;
-       proto_tree_add_item(cfm_pdu_tree, hf_cfm_dmm_dmr_TxTimestampb, tvb, offset, 8, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_cfm_dmm_dmr_TxTimestampb, tvb, offset, 8, ENC_NA);
        offset += 8;
-       proto_tree_add_item(cfm_pdu_tree, hf_cfm_dmm_dmr_RxTimestampb, tvb, offset, 8, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_cfm_dmm_dmr_RxTimestampb, tvb, offset, 8, ENC_NA);
        offset += 8;
 
        return offset;
@@ -863,7 +863,7 @@ static int dissect_cfm_dmr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree *cfm_pdu_tree;
        proto_tree *cfm_flag_tree;
 
-       ti = proto_tree_add_item(tree, hf_cfm_dmr_pdu, tvb, offset, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, hf_cfm_dmr_pdu, tvb, offset, -1, ENC_NA);
        cfm_pdu_tree = proto_item_add_subtree(ti, ett_cfm_pdu);
 
        fi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -874,13 +874,13 @@ static int dissect_cfm_dmr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree_add_item(cfm_pdu_tree, hf_cfm_first_tlv_offset, tvb, offset, 1, ENC_BIG_ENDIAN);
        offset += 1;
 
-       proto_tree_add_item(cfm_pdu_tree, hf_cfm_odm_dmm_dmr_TxTimestampf, tvb, offset, 8, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_cfm_odm_dmm_dmr_TxTimestampf, tvb, offset, 8, ENC_NA);
        offset += 8;
-       proto_tree_add_item(cfm_pdu_tree, hf_cfm_odm_dmm_dmr_RxTimestampf, tvb, offset, 8, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_cfm_odm_dmm_dmr_RxTimestampf, tvb, offset, 8, ENC_NA);
        offset += 8;
-       proto_tree_add_item(cfm_pdu_tree, hf_cfm_dmm_dmr_TxTimestampb, tvb, offset, 8, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_cfm_dmm_dmr_TxTimestampb, tvb, offset, 8, ENC_NA);
        offset += 8;
-       proto_tree_add_item(cfm_pdu_tree, hf_cfm_dmm_dmr_RxTimestampb, tvb, offset, 8, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_cfm_dmm_dmr_RxTimestampb, tvb, offset, 8, ENC_NA);
        offset += 8;
 
        return offset;
@@ -894,7 +894,7 @@ static int dissect_cfm_exm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree *cfm_pdu_tree;
        proto_tree *cfm_flag_tree;
 
-       ti = proto_tree_add_item(tree, hf_cfm_exm_pdu, tvb, offset, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, hf_cfm_exm_pdu, tvb, offset, -1, ENC_NA);
        cfm_pdu_tree = proto_item_add_subtree(ti, ett_cfm_pdu);
 
        fi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -905,9 +905,9 @@ static int dissect_cfm_exm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree_add_item(cfm_pdu_tree, hf_cfm_first_tlv_offset, tvb, offset, 1, ENC_BIG_ENDIAN);
        offset += 1;
 
-       proto_tree_add_item(cfm_pdu_tree, hf_tlv_org_spec_oui, tvb, offset, 3, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_tlv_org_spec_oui, tvb, offset, 3, ENC_NA);
        offset += 3;
-       proto_tree_add_item(cfm_pdu_tree, hf_tlv_org_spec_subtype, tvb, offset, 1, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_tlv_org_spec_subtype, tvb, offset, 1, ENC_NA);
        offset += 1;
 
        /* The EXM data field was not defined at the time of this code being written
@@ -917,7 +917,7 @@ static int dissect_cfm_exm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        /* Remove OUI and subtype from the offset */
        cfm_tlv_offset -= 4;
        if (cfm_tlv_offset > 0) {
-               proto_tree_add_item(cfm_pdu_tree, hf_cfm_exm_exr_data, tvb, offset, cfm_tlv_offset, ENC_BIG_ENDIAN);
+               proto_tree_add_item(cfm_pdu_tree, hf_cfm_exm_exr_data, tvb, offset, cfm_tlv_offset, ENC_NA);
                offset += cfm_tlv_offset;
        }
 
@@ -932,7 +932,7 @@ static int dissect_cfm_exr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree *cfm_pdu_tree;
        proto_tree *cfm_flag_tree;
 
-       ti = proto_tree_add_item(tree, hf_cfm_exr_pdu, tvb, offset, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, hf_cfm_exr_pdu, tvb, offset, -1, ENC_NA);
        cfm_pdu_tree = proto_item_add_subtree(ti, ett_cfm_pdu);
 
        fi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -943,9 +943,9 @@ static int dissect_cfm_exr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree_add_item(cfm_pdu_tree, hf_cfm_first_tlv_offset, tvb, offset, 1, ENC_BIG_ENDIAN);
        offset += 1;
 
-       proto_tree_add_item(cfm_pdu_tree, hf_tlv_org_spec_oui, tvb, offset, 3, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_tlv_org_spec_oui, tvb, offset, 3, ENC_NA);
        offset += 3;
-       proto_tree_add_item(cfm_pdu_tree, hf_tlv_org_spec_subtype, tvb, offset, 1, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_tlv_org_spec_subtype, tvb, offset, 1, ENC_NA);
        offset += 1;
 
        /* The EXR data field was not defined at the time of this code being written
@@ -955,7 +955,7 @@ static int dissect_cfm_exr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        /* Remove OUI and subtype from the offset */
        cfm_tlv_offset -= 4;
        if (cfm_tlv_offset > 0) {
-               proto_tree_add_item(cfm_pdu_tree, hf_cfm_exm_exr_data, tvb, offset, cfm_tlv_offset, ENC_BIG_ENDIAN);
+               proto_tree_add_item(cfm_pdu_tree, hf_cfm_exm_exr_data, tvb, offset, cfm_tlv_offset, ENC_NA);
                offset += cfm_tlv_offset;
        }
 
@@ -970,7 +970,7 @@ static int dissect_cfm_vsm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree *cfm_pdu_tree;
        proto_tree *cfm_flag_tree;
 
-       ti = proto_tree_add_item(tree, hf_cfm_vsm_pdu, tvb, offset, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, hf_cfm_vsm_pdu, tvb, offset, -1, ENC_NA);
        cfm_pdu_tree = proto_item_add_subtree(ti, ett_cfm_pdu);
 
        fi = proto_tree_add_item(cfm_pdu_tree, hf_cfm_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -981,9 +981,9 @@ static int dissect_cfm_vsm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        proto_tree_add_item(cfm_pdu_tree, hf_cfm_first_tlv_offset, tvb, offset, 1, ENC_BIG_ENDIAN);
        offset += 1;
 
-       proto_tree_add_item(cfm_pdu_tree, hf_tlv_org_spec_oui, tvb, offset, 3, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_tlv_org_spec_oui, tvb, offset, 3, ENC_NA);
        offset += 3;
-       proto_tree_add_item(cfm_pdu_tree, hf_tlv_org_spec_subtype, tvb, offset, 1, ENC_BIG_ENDIAN);
+       proto_tree_add_item(cfm_pdu_tree, hf_tlv_org_spec_subtype, tvb, offset, 1, ENC_NA);
        offset += 1;
 
        /* The VSM data field was not defined at the time of this code being written
@@ -993,7 +993,7 @@ static int dissect_cfm_vsm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
        /* Remove OUI and subtype from the offset */
        cfm_tlv_offset -= 4;
        if (cfm_tlv_offset > 0) {
-               proto_tree_add_item(cfm_pdu_tree, hf_cfm_vsm_vsr_data, tvb, offset, cfm_tlv_offset, ENC_BIG_ENDIAN);
+               proto_tree_add_item(cfm_pdu_tree, hf_cfm_vsm_vsr_data, tvb, offset, cfm_tlv_offset, ENC_NA);
                offset += cfm_tlv_offset;
        }