For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 21 Oct 2011 02:10:19 +0000 (02:10 +0000)
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 21 Oct 2011 02:10:19 +0000 (02:10 +0000)
Also: remove trailing whitespace for a number of files.

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

595 files changed:
asn1/ansi_map/packet-ansi_map-template.c
asn1/ansi_tcap/packet-ansi_tcap-template.c
asn1/camel/packet-camel-template.c
asn1/cmip/packet-cmip-template.c
asn1/cmp/packet-cmp-template.c
asn1/goose/packet-goose-template.c
asn1/h248/packet-h248-template.c
asn1/h282/packet-h282-template.c
asn1/h283/packet-h283-template.c
asn1/h501/packet-h501-template.c
asn1/hnbap/packet-hnbap-template.c
asn1/idmp/packet-idmp-template.c
asn1/inap/packet-inap-template.c
asn1/kerberos/packet-kerberos-template.c
asn1/lcsap/packet-lcsap-template.c
asn1/lte-rrc/packet-lte-rrc-template.c
asn1/mms/packet-mms-template.c
asn1/mpeg-pes/packet-mpeg-pes-template.c
asn1/nbap/packet-nbap-template.c
asn1/ocsp/packet-ocsp-template.c
asn1/pcap/packet-pcap-template.c
asn1/pkixtsp/packet-pkixtsp-template.c
asn1/qsig/packet-qsig-template.c
asn1/ranap/packet-ranap-template.c
asn1/rrc/packet-rrc-template.c
asn1/rua/packet-rua-template.c
asn1/s1ap/packet-s1ap-template.c
asn1/sabp/packet-sabp-template.c
asn1/smrse/packet-smrse-template.c
asn1/snmp/packet-snmp-template.c
asn1/spnego/packet-spnego-template.c
asn1/sv/packet-sv-template.c
asn1/t124/packet-t124-template.c
asn1/t125/packet-t125-template.c
asn1/x2ap/packet-x2ap-template.c
epan/dissectors/packet-2dparityfec.c
epan/dissectors/packet-3com-njack.c
epan/dissectors/packet-3com-xns.c
epan/dissectors/packet-3g-a11.c
epan/dissectors/packet-acap.c
epan/dissectors/packet-actrace.c
epan/dissectors/packet-agentx.c
epan/dissectors/packet-airopeek.c
epan/dissectors/packet-alcap.c
epan/dissectors/packet-amqp.c
epan/dissectors/packet-amr.c
epan/dissectors/packet-ancp.c
epan/dissectors/packet-ans.c
epan/dissectors/packet-ansi_map.c
epan/dissectors/packet-ansi_tcap.c
epan/dissectors/packet-aoe.c
epan/dissectors/packet-app-pkix-cert.c
epan/dissectors/packet-applemidi.c
epan/dissectors/packet-arcnet.c
epan/dissectors/packet-armagetronad.c
epan/dissectors/packet-artnet.c
epan/dissectors/packet-aruba-adp.c
epan/dissectors/packet-aruba-erm.c
epan/dissectors/packet-aruba-papi.c
epan/dissectors/packet-asf.c
epan/dissectors/packet-assa_r3.c
epan/dissectors/packet-atalk.c
epan/dissectors/packet-atm.c
epan/dissectors/packet-auto_rp.c
epan/dissectors/packet-ax4000.c
epan/dissectors/packet-bacapp.c
epan/dissectors/packet-bacnet.c
epan/dissectors/packet-banana.c
epan/dissectors/packet-bat.c
epan/dissectors/packet-batadv.c
epan/dissectors/packet-bctp.c
epan/dissectors/packet-beep.c
epan/dissectors/packet-bgp.c
epan/dissectors/packet-bittorrent.c
epan/dissectors/packet-bofl.c
epan/dissectors/packet-bootp.c
epan/dissectors/packet-brp.c
epan/dissectors/packet-bssap.c
epan/dissectors/packet-bt-utp.c
epan/dissectors/packet-btamp.c
epan/dissectors/packet-bthci_acl.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-btsdp.c
epan/dissectors/packet-bvlc.c
epan/dissectors/packet-calcappprotocol.c
epan/dissectors/packet-camel.c
epan/dissectors/packet-capwap.c
epan/dissectors/packet-cast.c
epan/dissectors/packet-catapult-dct2000.c
epan/dissectors/packet-ccsds.c
epan/dissectors/packet-cdp.c
epan/dissectors/packet-cfm.c
epan/dissectors/packet-cgmp.c
epan/dissectors/packet-chdlc.c
epan/dissectors/packet-cimd.c
epan/dissectors/packet-cimetrics.c
epan/dissectors/packet-cip.c
epan/dissectors/packet-cipmotion.c
epan/dissectors/packet-cisco-erspan.c
epan/dissectors/packet-cisco-sm.c
epan/dissectors/packet-cisco-wids.c
epan/dissectors/packet-classicstun.c
epan/dissectors/packet-clnp.c
epan/dissectors/packet-cmip.c
epan/dissectors/packet-cmp.c
epan/dissectors/packet-cmpp.c
epan/dissectors/packet-cnip.c
epan/dissectors/packet-coap.c
epan/dissectors/packet-collectd.c
epan/dissectors/packet-componentstatus.c
epan/dissectors/packet-cops.c
epan/dissectors/packet-cpfi.c
epan/dissectors/packet-cpha.c
epan/dissectors/packet-csm-encaps.c
epan/dissectors/packet-cups.c
epan/dissectors/packet-daap.c
epan/dissectors/packet-daytime.c
epan/dissectors/packet-db-lsp.c
epan/dissectors/packet-dcc.c
epan/dissectors/packet-dccp.c
epan/dissectors/packet-dcerpc.c
epan/dissectors/packet-dcm.c
epan/dissectors/packet-dcp-etsi.c
epan/dissectors/packet-ddtp.c
epan/dissectors/packet-dec-bpdu.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-distcc.c
epan/dissectors/packet-dlm3.c
epan/dissectors/packet-dlsw.c
epan/dissectors/packet-dnp.c
epan/dissectors/packet-dplay.c
epan/dissectors/packet-dpnss-link.c
epan/dissectors/packet-dsi.c
epan/dissectors/packet-dtls.c
epan/dissectors/packet-dtn.c
epan/dissectors/packet-dtp.c
epan/dissectors/packet-dtpt.c
epan/dissectors/packet-dvmrp.c
epan/dissectors/packet-e100.c
epan/dissectors/packet-eap.c
epan/dissectors/packet-eapol.c
epan/dissectors/packet-echo.c
epan/dissectors/packet-edonkey.c
epan/dissectors/packet-egd.c
epan/dissectors/packet-ehs.c
epan/dissectors/packet-enttec.c
epan/dissectors/packet-epl.c
epan/dissectors/packet-epl_v1.c
epan/dissectors/packet-epmd.c
epan/dissectors/packet-erf.c
epan/dissectors/packet-erldp.c
epan/dissectors/packet-esio.c
epan/dissectors/packet-esis.c
epan/dissectors/packet-eth.c
epan/dissectors/packet-evrc.c
epan/dissectors/packet-exec.c
epan/dissectors/packet-extreme.c
epan/dissectors/packet-fcgi.c
epan/dissectors/packet-fefd.c
epan/dissectors/packet-ff.c
epan/dissectors/packet-fix.c
epan/dissectors/packet-flip.c
epan/dissectors/packet-fmtp.c
epan/dissectors/packet-fp_hint.c
epan/dissectors/packet-fractalgeneratorprotocol.c
epan/dissectors/packet-ftp.c
epan/dissectors/packet-g723.c
epan/dissectors/packet-gdsdb.c
epan/dissectors/packet-gift.c
epan/dissectors/packet-giop.c
epan/dissectors/packet-git.c
epan/dissectors/packet-glbp.c
epan/dissectors/packet-gmhdr.c
epan/dissectors/packet-gmrp.c
epan/dissectors/packet-gnutella.c
epan/dissectors/packet-goose.c
epan/dissectors/packet-gopher.c
epan/dissectors/packet-gpef.c
epan/dissectors/packet-gsm_bsslap.c
epan/dissectors/packet-gsm_ipa.c
epan/dissectors/packet-gsm_sms_ud.c
epan/dissectors/packet-gsm_um.c
epan/dissectors/packet-gssapi.c
epan/dissectors/packet-gtp.c
epan/dissectors/packet-gtpv2.c
epan/dissectors/packet-gvcp.c
epan/dissectors/packet-gvrp.c
epan/dissectors/packet-h1.c
epan/dissectors/packet-h223.c
epan/dissectors/packet-h248.c
epan/dissectors/packet-h261.c
epan/dissectors/packet-h263.c
epan/dissectors/packet-h263p.c
epan/dissectors/packet-h282.c
epan/dissectors/packet-h283.c
epan/dissectors/packet-h501.c
epan/dissectors/packet-hci_h1.c
epan/dissectors/packet-hci_h4.c
epan/dissectors/packet-hdfs.c
epan/dissectors/packet-hdfsdata.c
epan/dissectors/packet-hip.c
epan/dissectors/packet-hnbap.c
epan/dissectors/packet-homeplug-av.c
epan/dissectors/packet-homeplug.c
epan/dissectors/packet-hp-erm.c
epan/dissectors/packet-hpext.c
epan/dissectors/packet-hpsw.c
epan/dissectors/packet-hpteam.c
epan/dissectors/packet-hsrp.c
epan/dissectors/packet-http.c
epan/dissectors/packet-hyperscsi.c
epan/dissectors/packet-iapp.c
epan/dissectors/packet-iax2.c
epan/dissectors/packet-icap.c
epan/dissectors/packet-icep.c
epan/dissectors/packet-icmp.c
epan/dissectors/packet-icmpv6.c
epan/dissectors/packet-icp.c
epan/dissectors/packet-idmp.c
epan/dissectors/packet-idp.c
epan/dissectors/packet-iec104.c
epan/dissectors/packet-ieee1722.c
epan/dissectors/packet-ieee80211-prism.c
epan/dissectors/packet-ieee80211-radio.c
epan/dissectors/packet-ieee80211-wlancap.c
epan/dissectors/packet-ieee80211.c
epan/dissectors/packet-ieee802a.c
epan/dissectors/packet-igap.c
epan/dissectors/packet-igmp.c
epan/dissectors/packet-image-gif.c
epan/dissectors/packet-image-jfif.c
epan/dissectors/packet-image-png.c
epan/dissectors/packet-imap.c
epan/dissectors/packet-imf.c
epan/dissectors/packet-inap.c
epan/dissectors/packet-infiniband.c
epan/dissectors/packet-interlink.c
epan/dissectors/packet-ip.c
epan/dissectors/packet-ipdc.c
epan/dissectors/packet-ipmi.c
epan/dissectors/packet-ipnet.c
epan/dissectors/packet-ipp.c
epan/dissectors/packet-ipsec-tcp.c
epan/dissectors/packet-ipsec.c
epan/dissectors/packet-ipsi-ctl.c
epan/dissectors/packet-ipv6.c
epan/dissectors/packet-ipvs-syncd.c
epan/dissectors/packet-ipx.c
epan/dissectors/packet-ipxwan.c
epan/dissectors/packet-irc.c
epan/dissectors/packet-isakmp.c
epan/dissectors/packet-isdn.c
epan/dissectors/packet-isis.c
epan/dissectors/packet-ismacryp.c
epan/dissectors/packet-ismp.c
epan/dissectors/packet-isns.c
epan/dissectors/packet-isup.c
epan/dissectors/packet-itdm.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-kdp.c
epan/dissectors/packet-kerberos.c
epan/dissectors/packet-kerberos4.c
epan/dissectors/packet-kink.c
epan/dissectors/packet-kismet.c
epan/dissectors/packet-kpasswd.c
epan/dissectors/packet-l1-events.c
epan/dissectors/packet-l2tp.c
epan/dissectors/packet-lanforge.c
epan/dissectors/packet-lapd.c
epan/dissectors/packet-lapdm.c
epan/dissectors/packet-laplink.c
epan/dissectors/packet-lcsap.c
epan/dissectors/packet-ldp.c
epan/dissectors/packet-ldss.c
epan/dissectors/packet-lge_monitor.c
epan/dissectors/packet-linx.c
epan/dissectors/packet-lisp-data.c
epan/dissectors/packet-lisp.c
epan/dissectors/packet-llc.c
epan/dissectors/packet-lldp.c
epan/dissectors/packet-llt.c
epan/dissectors/packet-lmi.c
epan/dissectors/packet-lmp.c
epan/dissectors/packet-loop.c
epan/dissectors/packet-lpd.c
epan/dissectors/packet-lsc.c
epan/dissectors/packet-lte-rrc.c
epan/dissectors/packet-ltp.c
epan/dissectors/packet-lwapp.c
epan/dissectors/packet-lwres.c
epan/dissectors/packet-m2tp.c
epan/dissectors/packet-mac-lte.c
epan/dissectors/packet-maccontrol.c
epan/dissectors/packet-manolito.c
epan/dissectors/packet-media.c
epan/dissectors/packet-megaco.c
epan/dissectors/packet-mesh.c
epan/dissectors/packet-meta.c
epan/dissectors/packet-mgcp.c
epan/dissectors/packet-mikey.c
epan/dissectors/packet-mim.c
epan/dissectors/packet-mime-encap.c
epan/dissectors/packet-miop.c
epan/dissectors/packet-mip.c
epan/dissectors/packet-mip6.c
epan/dissectors/packet-mms.c
epan/dissectors/packet-mmse.c
epan/dissectors/packet-mndp.c
epan/dissectors/packet-mp2t.c
epan/dissectors/packet-mp4ves.c
epan/dissectors/packet-mpeg-pes.c
epan/dissectors/packet-mpeg1.c
epan/dissectors/packet-mpls-echo.c
epan/dissectors/packet-mpls.c
epan/dissectors/packet-mq-pcf.c
epan/dissectors/packet-mrdisc.c
epan/dissectors/packet-mrp-msrp.c
epan/dissectors/packet-ms-mms.c
epan/dissectors/packet-msdp.c
epan/dissectors/packet-msn-messenger.c
epan/dissectors/packet-msnip.c
epan/dissectors/packet-msnlb.c
epan/dissectors/packet-msproxy.c
epan/dissectors/packet-msrp.c
epan/dissectors/packet-mstp.c
epan/dissectors/packet-multipart.c
epan/dissectors/packet-mux27010.c
epan/dissectors/packet-nas_eps.c
epan/dissectors/packet-nasdaq-soup.c
epan/dissectors/packet-nb_rtpmux.c
epan/dissectors/packet-nbap.c
epan/dissectors/packet-nbd.c
epan/dissectors/packet-nbipx.c
epan/dissectors/packet-nbns.c
epan/dissectors/packet-ncp.c
epan/dissectors/packet-ncs.c
epan/dissectors/packet-ndmp.c
epan/dissectors/packet-ndps.c
epan/dissectors/packet-netbios.c
epan/dissectors/packet-netdump.c
epan/dissectors/packet-netperfmeter.c
epan/dissectors/packet-netsync.c
epan/dissectors/packet-newmail.c
epan/dissectors/packet-nlsp.c
epan/dissectors/packet-nntp.c
epan/dissectors/packet-nsip.c
epan/dissectors/packet-nsrp.c
epan/dissectors/packet-ntlmssp.c
epan/dissectors/packet-ntp.c
epan/dissectors/packet-null.c
epan/dissectors/packet-ocsp.c
epan/dissectors/packet-oicq.c
epan/dissectors/packet-olsr.c
epan/dissectors/packet-omapi.c
epan/dissectors/packet-omron-fins.c
epan/dissectors/packet-opensafety.c
epan/dissectors/packet-opsi.c
epan/dissectors/packet-ositp.c
epan/dissectors/packet-ospf.c
epan/dissectors/packet-p_mul.c
epan/dissectors/packet-packetbb.c
epan/dissectors/packet-paltalk.c
epan/dissectors/packet-pcap.c
epan/dissectors/packet-pcep.c
epan/dissectors/packet-pcli.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-pkixtsp.c
epan/dissectors/packet-pktc.c
epan/dissectors/packet-pktgen.c
epan/dissectors/packet-pnrp.c
epan/dissectors/packet-pop.c
epan/dissectors/packet-ppp.c
epan/dissectors/packet-pppoe.c
epan/dissectors/packet-pptp.c
epan/dissectors/packet-prp.c
epan/dissectors/packet-ptp.c
epan/dissectors/packet-pvfs2.c
epan/dissectors/packet-pw-atm.c
epan/dissectors/packet-pw-cesopsn.c
epan/dissectors/packet-pw-common.c
epan/dissectors/packet-pw-eth.c
epan/dissectors/packet-pw-fr.c
epan/dissectors/packet-pw-hdlc.c
epan/dissectors/packet-pw-satop.c
epan/dissectors/packet-q2931.c
epan/dissectors/packet-q931.c
epan/dissectors/packet-q933.c
epan/dissectors/packet-qllc.c
epan/dissectors/packet-qsig.c
epan/dissectors/packet-quake.c
epan/dissectors/packet-quake2.c
epan/dissectors/packet-quake3.c
epan/dissectors/packet-quakeworld.c
epan/dissectors/packet-radius.c
epan/dissectors/packet-ranap.c
epan/dissectors/packet-raw.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-framing.c
epan/dissectors/packet-reload.c
epan/dissectors/packet-retix-bpdu.c
epan/dissectors/packet-rfc2190.c
epan/dissectors/packet-rgmp.c
epan/dissectors/packet-rip.c
epan/dissectors/packet-ripng.c
epan/dissectors/packet-rlc-lte.c
epan/dissectors/packet-rlc.c
epan/dissectors/packet-rlm.c
epan/dissectors/packet-rlogin.c
epan/dissectors/packet-rmi.c
epan/dissectors/packet-rmp.c
epan/dissectors/packet-rmt-alc.c
epan/dissectors/packet-rmt-norm.c
epan/dissectors/packet-rohc.c
epan/dissectors/packet-roofnet.c
epan/dissectors/packet-rpc.c
epan/dissectors/packet-rpl.c
epan/dissectors/packet-rrc.c
epan/dissectors/packet-rsh.c
epan/dissectors/packet-rsip.c
epan/dissectors/packet-rsl.c
epan/dissectors/packet-rsvp.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-events.c
epan/dissectors/packet-rtp.c
epan/dissectors/packet-rtps.c
epan/dissectors/packet-rtps2.c
epan/dissectors/packet-rtsp.c
epan/dissectors/packet-rua.c
epan/dissectors/packet-rudp.c
epan/dissectors/packet-s1ap.c
epan/dissectors/packet-s5066.c
epan/dissectors/packet-sabp.c
epan/dissectors/packet-sap.c
epan/dissectors/packet-sasp.c
epan/dissectors/packet-sbus.c
epan/dissectors/packet-sccp.c
epan/dissectors/packet-sccpmg.c
epan/dissectors/packet-scriptingservice.c
epan/dissectors/packet-sdlc.c
epan/dissectors/packet-sdp.c
epan/dissectors/packet-sebek.c
epan/dissectors/packet-sercosiii.c
epan/dissectors/packet-ses.c
epan/dissectors/packet-sflow.c
epan/dissectors/packet-sgsap.c
epan/dissectors/packet-sigcomp.c
epan/dissectors/packet-simulcrypt.c
epan/dissectors/packet-sip.c
epan/dissectors/packet-sipfrag.c
epan/dissectors/packet-skinny.c
epan/dissectors/packet-slimp3.c
epan/dissectors/packet-slowprotocols.c
epan/dissectors/packet-slsk.c
epan/dissectors/packet-smb-browse.c
epan/dissectors/packet-smb-logon.c
epan/dissectors/packet-smb-mailslot.c
epan/dissectors/packet-smb-pipe.c
epan/dissectors/packet-smb.c
epan/dissectors/packet-smb2.c
epan/dissectors/packet-smpp.c
epan/dissectors/packet-smrse.c
epan/dissectors/packet-smtp.c
epan/dissectors/packet-sna.c
epan/dissectors/packet-snaeth.c
epan/dissectors/packet-sndcp-xid.c
epan/dissectors/packet-sndcp.c
epan/dissectors/packet-snmp.c
epan/dissectors/packet-socketcan.c
epan/dissectors/packet-socks.c
epan/dissectors/packet-spnego.c
epan/dissectors/packet-spp.c
epan/dissectors/packet-sqloracle.c
epan/dissectors/packet-srp.c
epan/dissectors/packet-srvloc.c
epan/dissectors/packet-sscf-nni.c
epan/dissectors/packet-ssh.c
epan/dissectors/packet-ssl.c
epan/dissectors/packet-starteam.c
epan/dissectors/packet-stun.c
epan/dissectors/packet-sv.c
epan/dissectors/packet-synphasor.c
epan/dissectors/packet-t124.c
epan/dissectors/packet-t125.c
epan/dissectors/packet-tali.c
epan/dissectors/packet-tapa.c
epan/dissectors/packet-tcp.c
epan/dissectors/packet-tds.c
epan/dissectors/packet-teamspeak2.c
epan/dissectors/packet-teimanagement.c
epan/dissectors/packet-telkonet.c
epan/dissectors/packet-telnet.c
epan/dissectors/packet-teredo.c
epan/dissectors/packet-text-media.c
epan/dissectors/packet-tftp.c
epan/dissectors/packet-time.c
epan/dissectors/packet-tipc.c
epan/dissectors/packet-tivoconnect.c
epan/dissectors/packet-tnef.c
epan/dissectors/packet-tns.c
epan/dissectors/packet-tpkt.c
epan/dissectors/packet-tpncp.c
epan/dissectors/packet-tr.c
epan/dissectors/packet-trill.c
epan/dissectors/packet-trmac.c
epan/dissectors/packet-tsp.c
epan/dissectors/packet-tte-pcf.c
epan/dissectors/packet-tte.c
epan/dissectors/packet-turbocell.c
epan/dissectors/packet-turnchannel.c
epan/dissectors/packet-tuxedo.c
epan/dissectors/packet-ua.c
epan/dissectors/packet-uaudp.c
epan/dissectors/packet-ucp.c
epan/dissectors/packet-udld.c
epan/dissectors/packet-uma.c
epan/dissectors/packet-umts_fp.c
epan/dissectors/packet-umts_mac.c
epan/dissectors/packet-user_encap.c
epan/dissectors/packet-v52.c
epan/dissectors/packet-v5ua.c
epan/dissectors/packet-vicp.c
epan/dissectors/packet-vines.c
epan/dissectors/packet-vlan.c
epan/dissectors/packet-vmlab.c
epan/dissectors/packet-vnc.c
epan/dissectors/packet-vrrp.c
epan/dissectors/packet-vtp.c
epan/dissectors/packet-vuze-dht.c
epan/dissectors/packet-wassp.c
epan/dissectors/packet-wbxml.c
epan/dissectors/packet-wccp.c
epan/dissectors/packet-wcp.c
epan/dissectors/packet-wfleet-hdlc.c
epan/dissectors/packet-who.c
epan/dissectors/packet-winsrepl.c
epan/dissectors/packet-wlccp.c
epan/dissectors/packet-wol.c
epan/dissectors/packet-wow.c
epan/dissectors/packet-wsmp.c
epan/dissectors/packet-wtls.c
epan/dissectors/packet-wtp.c
epan/dissectors/packet-x11.c
epan/dissectors/packet-x224.c
epan/dissectors/packet-x25.c
epan/dissectors/packet-x29.c
epan/dissectors/packet-x2ap.c
epan/dissectors/packet-xcsl.c
epan/dissectors/packet-xdmcp.c
epan/dissectors/packet-xmcp.c
epan/dissectors/packet-xmpp.c
epan/dissectors/packet-xtp.c
epan/dissectors/packet-xyplex.c
epan/dissectors/packet-yhoo.c
epan/dissectors/packet-ymsg.c
epan/dissectors/packet-zebra.c
epan/dissectors/packet-ziop.c
plugins/ethercat/packet-ams.c
plugins/ethercat/packet-ecatmb.c
plugins/ethercat/packet-esl.c
plugins/ethercat/packet-ethercat-datagram.c
plugins/ethercat/packet-ethercat-frame.c
plugins/ethercat/packet-ioraw.c
plugins/ethercat/packet-nv.c
plugins/gryphon/packet-gryphon.c
plugins/irda/packet-ircomm.c
plugins/irda/packet-irda.c
plugins/m2m/packet-m2m.c
plugins/opcua/opcua.c
plugins/profinet/packet-pn-mrp.c
plugins/profinet/packet-pn-rt.c
plugins/tpg/packet-http.c
plugins/unistim/packet-unistim.c
plugins/wimaxasncp/packet-wimaxasncp.c

index 05e8fa8c14cdc4d0a5de80f333777c31ec466e0b..0cb366fa10951a33a5bd0d0fdd41423170b7f649 100644 (file)
@@ -4429,7 +4429,7 @@ dissect_ansi_map(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     /*
      * create the ansi_map protocol tree
      */
-    ansi_map_item = proto_tree_add_item(tree, proto_ansi_map, tvb, 0, -1, FALSE);
+    ansi_map_item = proto_tree_add_item(tree, proto_ansi_map, tvb, 0, -1, ENC_NA);
     ansi_map_tree = proto_item_add_subtree(ansi_map_item, ett_ansi_map);
     ansi_map_is_invoke = FALSE;
     is683_ota = FALSE;
index c7c35b8c7fcf584e99e665e109ed98711b79ab7e..f375007e6eb809c93f419278245a0a340c1f7c63 100644 (file)
@@ -357,7 +357,7 @@ dissect_ansi_tcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
 
     /* create display subtree for the protocol */
     if(parent_tree){
-      item = proto_tree_add_item(parent_tree, proto_ansi_tcap, tvb, 0, -1, FALSE);
+      item = proto_tree_add_item(parent_tree, proto_ansi_tcap, tvb, 0, -1, ENC_NA);
       tree = proto_item_add_subtree(item, ett_tcap);
       tcap_stat_item=item;
       tcap_stat_tree=tree;
@@ -465,7 +465,7 @@ proto_register_ansi_tcap(void)
 
        static enum_val_t ansi_tcap_response_matching_type_values[] = {
                {"Only Transaction ID will be used in Invoke/response matching",                                        "Transaction ID only", 0},
-               {"Transaction ID and Source will be used in Invoke/response matching",                          "Transaction ID and Source", 1}, 
+               {"Transaction ID and Source will be used in Invoke/response matching",                          "Transaction ID and Source", 1},
                {"Transaction ID Source and Destination will be used in Invoke/response matching",      "Transaction ID Source and Destination", 2},
                {NULL, NULL, -1}
        };
index f5239416c6d693b247fbf32d672f58b981a8a38e..556d4c27e11ed9787154a829dd43d5a5453996cb 100644 (file)
@@ -29,8 +29,8 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  * References: ETSI 300 374
  */
-/* 
- * Indentation logic: this file is indented with 2 spaces indentation. 
+/*
+ * Indentation logic: this file is indented with 2 spaces indentation.
  *                    there are no tabs.
  */
 #ifdef HAVE_CONFIG_H
@@ -74,7 +74,7 @@ static guint32 errorCode=0;
 /* ROSE context */
 static rose_ctx_t camel_rose_ctx;
 
-static int hf_digit = -1; 
+static int hf_digit = -1;
 static int hf_camel_extension_code_local = -1;
 static int hf_camel_error_code_local = -1;
 static int hf_camel_cause_indicator = -1;
@@ -192,8 +192,8 @@ static const value_string digit_value[] = {
     { 12, "spare"},
     { 13, "spare"},
     { 0,  NULL}};
-  
-  
+
+
 static const value_string camel_nature_of_addr_indicator_values[] = {
   {   0x00,  "unknown" },
   {   0x01,  "International Number" },
@@ -280,7 +280,7 @@ static char camel_number_to_char(int number)
 
 /*
  * 24.011 8.2.5.4
- */   
+ */
 static guint8
 dissect_RP_cause_ie(tvbuff_t *tvb, guint32 offset, _U_ guint len,
                    proto_tree *tree, int hf_cause_value, guint8 *cause_value)
@@ -288,21 +288,21 @@ dissect_RP_cause_ie(tvbuff_t *tvb, guint32 offset, _U_ guint len,
   guint8       oct;
   guint32      curr_offset;
   static char a_bigbuf[1024];
-  
+
   curr_offset = offset;
   oct = tvb_get_guint8(tvb, curr_offset);
 
-  *cause_value = oct & 0x7f; 
-  
+  *cause_value = oct & 0x7f;
+
   other_decode_bitfield_value(a_bigbuf, oct, 0x7f, 8);
   proto_tree_add_uint_format(tree, hf_cause_value,
                             tvb, curr_offset, 1, *cause_value,
                             "%s : %s",
                             a_bigbuf,
-                            val_to_str(*cause_value, camel_RP_Cause_values, 
+                            val_to_str(*cause_value, camel_RP_Cause_values,
                                        "Unknown Cause (%u), treated as (41) \"Temporary failure\" for MO-SMS or (111) \"Protocol error,unspecified\" for MT-SMS"));
   curr_offset++;
-  
+
   if ((oct & 0x80)) {
     oct = tvb_get_guint8(tvb, curr_offset);
     proto_tree_add_uint_format(tree, hf_cause_value,
@@ -331,14 +331,14 @@ dissect_camel_camelPDU(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, asn
   opcode = 0;
   application_context_version = 0;
   if (actx->pinfo->private_data != NULL){
-    p_private_tcap=actx->pinfo->private_data; 
-    
+    p_private_tcap=actx->pinfo->private_data;
+
     if (p_private_tcap->acv==TRUE ){
       version_ptr = strrchr(p_private_tcap->oid,'.');
       if (version_ptr)
        application_context_version = atoi(version_ptr+1);
     }
-    gp_camelsrt_info->tcap_context=p_private_tcap->context; 
+    gp_camelsrt_info->tcap_context=p_private_tcap->context;
     if (p_private_tcap->context)
       gp_camelsrt_info->tcap_session_id
 
@@ -374,14 +374,14 @@ dissect_camel(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
 
   /* create display subtree for the protocol */
   if(parent_tree){
-     item = proto_tree_add_item(parent_tree, proto_camel, tvb, 0, -1, FALSE);
+     item = proto_tree_add_item(parent_tree, proto_camel, tvb, 0, -1, ENC_NA);
      tree = proto_item_add_subtree(item, ett_camel);
   }
   /* camelsrt reset counter, and initialise global pointer
      to store service response time related data */
   gp_camelsrt_info=camelsrt_razinfo();
   dissect_camel_camelPDU(FALSE, tvb, 0, &asn1_ctx , tree, -1);
-  
+
   /* If a Tcap context is associated to this transaction */
   if (gcamel_HandleSRT &&
       gp_camelsrt_info->tcap_context ) {
@@ -428,7 +428,7 @@ void proto_reg_handoff_camel(void) {
     register_ber_oid_dissector_handle("0.4.0.0.1.21.3.61",camel_handle, proto_camel, "cap3-sms-AC" );
     register_ber_oid_dissector_handle("0.4.0.0.1.23.3.4",camel_handle, proto_camel, "capssf-scfGenericAC" );
     register_ber_oid_dissector_handle("0.4.0.0.1.23.3.61",camel_handle, proto_camel, "cap4-sms-AC" );
-       
+
 
 #include "packet-camel-dis-tab.c"
   } else {
@@ -439,7 +439,7 @@ void proto_reg_handoff_camel(void) {
   ssn_range = range_copy(global_ssn_range);
 
   range_foreach(ssn_range, range_add_callback);
-  
+
 }
 
 void proto_register_camel(void) {
@@ -485,12 +485,12 @@ void proto_register_camel(void) {
       { "RP Cause",  "camel.RP_Cause",
         FT_UINT8, BASE_DEC, NULL, 0,
        "RP Cause Value", HFILL }},
-    
+
     { &hf_camel_CAMEL_AChBillingChargingCharacteristics,
       { "CAMEL-AChBillingChargingCharacteristics", "camel.CAMEL_AChBillingChargingCharacteristics",
         FT_UINT32, BASE_DEC,  VALS(camel_CAMEL_AChBillingChargingCharacteristics_vals), 0,
-        NULL, HFILL }}, 
-    
+        NULL, HFILL }},
+
     { &hf_camel_CAMEL_FCIBillingChargingCharacteristics,
       { "CAMEL-FCIBillingChargingCharacteristics", "camel.CAMEL_FCIBillingChargingCharacteristics",
         FT_UINT32, BASE_DEC, VALS(camel_CAMEL_FCIBillingChargingCharacteristics_vals), 0,
@@ -630,15 +630,15 @@ void proto_register_camel(void) {
   rose_ctx_init(&camel_rose_ctx);
 
   /* Register dissector tables */
-  camel_rose_ctx.arg_local_dissector_table = register_dissector_table("camel.ros.local.arg", 
-                                                                      "CAMEL Operation Argument (local opcode)", 
-                                                                      FT_UINT32, BASE_HEX); 
-  camel_rose_ctx.res_local_dissector_table = register_dissector_table("camel.ros.local.res", 
-                                                                      "CAMEL Operation Result (local opcode)", 
-                                                                      FT_UINT32, BASE_HEX); 
-  camel_rose_ctx.err_local_dissector_table = register_dissector_table("camel.ros.local.err", 
-                                                                      "CAMEL Error (local opcode)", 
-                                                                      FT_UINT32, BASE_HEX); 
+  camel_rose_ctx.arg_local_dissector_table = register_dissector_table("camel.ros.local.arg",
+                                                                      "CAMEL Operation Argument (local opcode)",
+                                                                      FT_UINT32, BASE_HEX);
+  camel_rose_ctx.res_local_dissector_table = register_dissector_table("camel.ros.local.res",
+                                                                      "CAMEL Operation Result (local opcode)",
+                                                                      FT_UINT32, BASE_HEX);
+  camel_rose_ctx.err_local_dissector_table = register_dissector_table("camel.ros.local.err",
+                                                                      "CAMEL Error (local opcode)",
+                                                                      FT_UINT32, BASE_HEX);
 
   /* Register our configuration options, particularly our ssn:s */
   /* Set default SSNs */
@@ -649,8 +649,8 @@ void proto_register_camel(void) {
   prefs_register_enum_preference(camel_module, "date.format", "Date Format",
                                   "The date format: (DD/MM) or (MM/DD)",
                                   &date_format, date_options, FALSE);
-  
-  
+
+
   prefs_register_range_preference(camel_module, "tcap.ssn",
     "TCAP SSNs",
     "TCAP Subsystem numbers used for Camel",
@@ -665,8 +665,8 @@ void proto_register_camel(void) {
                                 "Persistent stats for SRT",
                                 "Statistics for Response Time",
                                 &gcamel_PersistentSRT);
-  
-  /* Routine for statistic */ 
+
+  /* Routine for statistic */
   register_init_routine(&camelsrt_init_routine);
   camel_tap=register_tap(PSNAME);
 }
index 7fcde6ef61c1a69f3238abe49e9d4b4f47e1b0fd..4b9b764e9670577c0ea7b6a3e4080e03670895ed 100644 (file)
@@ -121,7 +121,7 @@ dissect_cmip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
        }
 
        if(parent_tree){
-               item = proto_tree_add_item(parent_tree, proto_cmip, tvb, 0, -1, FALSE);
+               item = proto_tree_add_item(parent_tree, proto_cmip, tvb, 0, -1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_cmip);
        }
 
@@ -212,7 +212,7 @@ void proto_reg_handoff_cmip(void) {
        register_ber_oid_dissector("2.9.0.0.2", dissect_cmip, proto_cmip, "cmip");
        register_ber_oid_dissector("2.9.1.1.4", dissect_cmip, proto_cmip, "joint-iso-itu-t(2) ms(9) cmip(1) cmip-pci(1) abstractSyntax(4)");
 
-       oid_add_from_string("2.9.3.2.3.1","managedObjectClass(3) alarmRecord(1)");  
+       oid_add_from_string("2.9.3.2.3.1","managedObjectClass(3) alarmRecord(1)");
        oid_add_from_string("2.9.3.2.3.2","managedObjectClass(3) attributeValueChangeRecord(2)");
        oid_add_from_string("2.9.3.2.3.3","managedObjectClass(3) discriminator(3)");
        oid_add_from_string("2.9.3.2.3.4","managedObjectClass(3) eventForwardingDiscriminator(4)");
index 8114039e01c39d8d6f10d8fc0be9c0d745a60d3c..43f43eb886628bd34da68d1e0b84b40736980946 100644 (file)
@@ -124,7 +124,7 @@ static int dissect_cmp_tcp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *pa
        col_set_str(pinfo->cinfo, COL_INFO, "PKIXCMP");
 
        if(parent_tree){
-               item=proto_tree_add_item(parent_tree, proto_cmp, tvb, 0, -1, FALSE);
+               item=proto_tree_add_item(parent_tree, proto_cmp, tvb, 0, -1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_cmp);
        }
 
@@ -133,7 +133,7 @@ static int dissect_cmp_tcp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *pa
 
        if (pdu_type < 10) {
                /* RFC2510 TCP transport */
-               ti = proto_tree_add_item(tree, proto_cmp, tvb, offset, 5, FALSE);
+               ti = proto_tree_add_item(tree, proto_cmp, tvb, offset, 5, ENC_NA);
                tcptrans_tree = proto_item_add_subtree(ti, ett_cmp);
                proto_tree_add_item(tree, hf_cmp_tcptrans_len, tvb, offset, 4, ENC_BIG_ENDIAN);
                offset += 4;
@@ -289,7 +289,7 @@ dissect_cmp_http(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
        col_set_str(pinfo->cinfo, COL_INFO, "PKIXCMP");
 
        if(parent_tree){
-               item=proto_tree_add_item(parent_tree, proto_cmp, tvb, 0, -1, FALSE);
+               item=proto_tree_add_item(parent_tree, proto_cmp, tvb, 0, -1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_cmp);
        }
 
index 1d218e3e757e1065d1f2f6681a5d625f7156124a..80cd0a478b792cfbc41ab15fb65c5836000ca321 100644 (file)
@@ -72,7 +72,7 @@ dissect_goose(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
        asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
 
        if (parent_tree){
-               item = proto_tree_add_item(parent_tree, proto_goose, tvb, 0, -1, FALSE);
+               item = proto_tree_add_item(parent_tree, proto_goose, tvb, 0, -1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_goose);
        }
        col_set_str(pinfo->cinfo, COL_PROTOCOL, PNAME);
@@ -153,6 +153,6 @@ void proto_reg_handoff_goose(void) {
 
        dissector_handle_t goose_handle;
        goose_handle = find_dissector("goose");
-       
+
        dissector_add_uint("ethertype", ETHERTYPE_IEC61850_GOOSE, goose_handle);
 }
index 14588f3618a0ab1354de5e7b0655acb4540d65a0..5fbc01e6c1e1bbe441eda2caec640831d7c81f76 100644 (file)
@@ -1383,7 +1383,7 @@ dissect_h248(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "H.248");
 
     if (tree) {
-        h248_item = proto_tree_add_item(tree, proto_h248, tvb, 0, -1, FALSE);
+        h248_item = proto_tree_add_item(tree, proto_h248, tvb, 0, -1, ENC_NA);
         h248_tree = proto_item_add_subtree(h248_item, ett_h248);
     }
 
index f038cc30ee86f3138e7b26d699ffec92aaa6494f..293873fcc3f7b639e1884a0bff714780c9d9a1a6 100644 (file)
@@ -60,7 +60,7 @@ dissect_h282(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME);
 
-  ti = proto_tree_add_item(tree, proto_h282, tvb, 0, -1, FALSE);
+  ti = proto_tree_add_item(tree, proto_h282, tvb, 0, -1, ENC_NA);
   h282_tree = proto_item_add_subtree(ti, ett_h282);
 
   return dissect_RDCPDU_PDU(tvb, pinfo, h282_tree);
@@ -93,7 +93,7 @@ void proto_register_h282(void) {
 }
 
 /*--- proto_reg_handoff_h282 -------------------------------------------*/
-void proto_reg_handoff_h282(void) 
+void proto_reg_handoff_h282(void)
 {
 
 }
index 0a5b46582fb5669d2d3c49a42d21a67aecb3879a..0440ebaa67c46a6d2f69702b217374cd26ebd7e5 100644 (file)
@@ -47,9 +47,9 @@ static int ett_h283 = -1;
 #include "packet-h283-ett.c"
 
 /* Subdissectors */
-static dissector_handle_t rdc_pdu_handle; 
-static dissector_handle_t rdc_device_list_handle; 
-static dissector_handle_t data_handle; 
+static dissector_handle_t rdc_pdu_handle;
+static dissector_handle_t rdc_device_list_handle;
+static dissector_handle_t data_handle;
 
 static gboolean info_is_set;
 
@@ -65,7 +65,7 @@ dissect_h283_udp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   info_is_set = FALSE;
 
-  ti = proto_tree_add_item(tree, proto_h283, tvb, 0, -1, FALSE);
+  ti = proto_tree_add_item(tree, proto_h283, tvb, 0, -1, ENC_NA);
   h283_tree = proto_item_add_subtree(ti, ett_h283);
 
   return dissect_LCTPDU_PDU(tvb, pinfo, h283_tree);
@@ -97,12 +97,12 @@ void proto_register_h283(void) {
 }
 
 /*--- proto_reg_handoff_h283 -------------------------------------------*/
-void proto_reg_handoff_h283(void) 
+void proto_reg_handoff_h283(void)
 {
-  dissector_handle_t h283_udp_handle; 
+  dissector_handle_t h283_udp_handle;
 
   h283_udp_handle = find_dissector(PFNAME);
-  dissector_add_handle("udp.port", h283_udp_handle); 
+  dissector_add_handle("udp.port", h283_udp_handle);
 
   rdc_pdu_handle = find_dissector("rdc");
   rdc_device_list_handle = find_dissector("rdc.device_list");
index 55e337ae2a305a7093976079afc822dfd273a1d6..2ac3b8c2706e4d9fc4633363d0e39b938eb73b34 100644 (file)
@@ -70,7 +70,7 @@ dissect_h501_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME);
 
-  ti = proto_tree_add_item(tree, proto_h501, tvb, 0, -1, FALSE);
+  ti = proto_tree_add_item(tree, proto_h501, tvb, 0, -1, ENC_NA);
   h501_tree = proto_item_add_subtree(ti, ett_h501);
 
   return dissect_Message_PDU(tvb, pinfo, h501_tree);
@@ -131,7 +131,7 @@ void proto_register_h501(void) {
 }
 
 /*--- proto_reg_handoff_h501 -------------------------------------------*/
-void proto_reg_handoff_h501(void) 
+void proto_reg_handoff_h501(void)
 {
   static gboolean h501_prefs_initialized = FALSE;
   static dissector_handle_t h501_udp_handle;
index 18639af3c5de079ef12b8441614c85acec20c99a..d8edec13641c74ec18e7d0feb91bd92b7b15c8cb 100644 (file)
@@ -137,7 +137,7 @@ dissect_hnbap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "HNBAP");
 
     /* create the hnbap protocol tree */
-    hnbap_item = proto_tree_add_item(tree, proto_hnbap, tvb, 0, -1, FALSE);
+    hnbap_item = proto_tree_add_item(tree, proto_hnbap, tvb, 0, -1, ENC_NA);
     hnbap_tree = proto_item_add_subtree(hnbap_item, ett_hnbap);
 
     dissect_HNBAP_PDU_PDU(tvb, pinfo, hnbap_tree);
index 447a50af921b6e4f8995c41f65f59acf7397a9df..fd86a4e0cf115eda34ffe12ce7ba3ff7798e1011 100644 (file)
@@ -172,7 +172,7 @@ static void dissect_idmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_t
        top_tree=parent_tree;
 
        if(parent_tree){
-               item = proto_tree_add_item(parent_tree, proto_idmp, tvb, 0, -1, FALSE);
+               item = proto_tree_add_item(parent_tree, proto_idmp, tvb, 0, -1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_idmp);
        }
 
index f0e6409f36f811100909d961f9dfc15bc9836ad2..b6d5979e553fd44e158d7093a5d6404ab087aa1d 100644 (file)
@@ -138,7 +138,7 @@ dissect_inap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
 
     /* create display subtree for the protocol */
     if(parent_tree){
-       item = proto_tree_add_item(parent_tree, proto_inap, tvb, 0, -1, FALSE);
+       item = proto_tree_add_item(parent_tree, proto_inap, tvb, 0, -1, ENC_NA);
        tree = proto_item_add_subtree(item, ett_inap);
     }
        inap_pdu_type = tvb_get_guint8(tvb, offset)&0x0f;
index f3b383f29a3684e893134bbc3ed147503fa42fed..236bda01122f6719e7a44c27ba50b9056931a149 100644 (file)
@@ -1318,9 +1318,9 @@ dissect_krb5_PW_SALT(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U
 /* Make wrappers around exported functions for now */
 int
 dissect_krb5_Checksum(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_)
-{      
+{
        return dissect_kerberos_Checksum(FALSE, tvb, offset, actx, tree, hf_kerberos_cksum);
-       
+
 }
 
 int
@@ -1330,12 +1330,12 @@ dissect_krb5_ctime(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx
 }
 
 
-int 
+int
 dissect_krb5_cname(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_)
 {
        return dissect_kerberos_PrincipalName(FALSE, tvb, offset, actx, tree, hf_kerberos_cname);
 }
-int 
+int
 dissect_krb5_realm(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_)
 {
        return dissect_kerberos_Realm(FALSE, tvb, offset, actx, tree, hf_kerberos_realm);
@@ -1375,7 +1375,7 @@ dissect_kerberos_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
             col_set_str(pinfo->cinfo, COL_PROTOCOL, "KRB5");
        }
         if (tree) {
-            item = proto_tree_add_item(tree, proto_kerberos, tvb, 0, -1, FALSE);
+            item = proto_tree_add_item(tree, proto_kerberos, tvb, 0, -1, ENC_NA);
             kerberos_tree = proto_item_add_subtree(item, ett_kerberos);
         }
        show_krb_recordmark(kerberos_tree, tvb, offset, krb_rm);
@@ -1426,7 +1426,7 @@ dissect_kerberos_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
             col_clear(pinfo->cinfo, COL_INFO);
         }
         if (tree) {
-            item = proto_tree_add_item(tree, proto_kerberos, tvb, 0, -1, FALSE);
+            item = proto_tree_add_item(tree, proto_kerberos, tvb, 0, -1, ENC_NA);
             kerberos_tree = proto_item_add_subtree(item, ett_kerberos);
         }
     }
index 640f79d2c2ef81660dc9017c3e306f0b06d2671b..5b00246123fb66e47aa83a859d025a372f0fda7e 100644 (file)
@@ -25,7 +25,7 @@
  * References:
  * ETSI TS 129 171 V9.2.0 (2010-10)
  */
+
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
@@ -132,9 +132,9 @@ dissect_lcsap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                col_set_str(pinfo->cinfo, COL_PROTOCOL, "LCSAP");
 
        /* create the lcsap protocol tree */
-       lcsap_item = proto_tree_add_item(tree, proto_lcsap, tvb, 0, -1, FALSE);
+       lcsap_item = proto_tree_add_item(tree, proto_lcsap, tvb, 0, -1, ENC_NA);
        lcsap_tree = proto_item_add_subtree(lcsap_item, ett_lcsap);
-       
+
        dissect_LCS_AP_PDU_PDU(tvb, pinfo, lcsap_tree);
 }
 
@@ -148,7 +148,7 @@ proto_reg_handoff_lcsap(void)
 
        if (!Initialized) {
                lcsap_handle = find_dissector("lcsap");
-               
+
                dissector_add_handle("sctp.port", lcsap_handle);   /* for "decode-as"  */
                dissector_add_uint("sctp.ppi", LCS_AP_PAYLOAD_PROTOCOL_ID,   lcsap_handle);
                Initialized=TRUE;
@@ -191,13 +191,13 @@ void proto_register_lcsap(void) {
 
   /* Register dissector tables */
   lcsap_ies_dissector_table = register_dissector_table("lcsap.ies", "LCS-AP-PROTOCOL-IES", FT_UINT32, BASE_DEC);
-  
+
 
   lcsap_extension_dissector_table = register_dissector_table("lcsap.extension", "LCS-AP-PROTOCOL-EXTENSION", FT_UINT32, BASE_DEC);
   lcsap_proc_imsg_dissector_table = register_dissector_table("lcsap.proc.imsg", "LCS-AP-ELEMENTARY-PROCEDURE InitiatingMessage", FT_UINT32, BASE_DEC);
   lcsap_proc_sout_dissector_table = register_dissector_table("lcsap.proc.sout", "LCS-AP-ELEMENTARY-PROCEDURE SuccessfulOutcome", FT_UINT32, BASE_DEC);
   lcsap_proc_uout_dissector_table = register_dissector_table("lcsap.proc.uout", "LCS-AP-ELEMENTARY-PROCEDURE UnsuccessfulOutcome", FT_UINT32, BASE_DEC);
-  
+
   /* Register configuration options for ports */
   lcsap_module = prefs_register_protocol(proto_lcsap, proto_reg_handoff_lcsap);
 
index ed441ce3bc29df5c9dac29827d7d18aed39390e8..0e05d2c4ad72f0fb8721edfc94d3e3637c69e2fc 100644 (file)
@@ -248,7 +248,7 @@ dissect_lte_rrc_DL_CCCH(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_clear(pinfo->cinfo, COL_INFO);
        if (tree) {
 
-               ti = proto_tree_add_item(tree, proto_lte_rrc, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_lte_rrc, tvb, 0, -1, ENC_NA);
                lte_rrc_tree = proto_item_add_subtree(ti, ett_lte_rrc);
                dissect_DL_CCCH_Message_PDU(tvb, pinfo, lte_rrc_tree);
        }
@@ -264,7 +264,7 @@ dissect_lte_rrc_DL_DCCH(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_clear(pinfo->cinfo, COL_INFO);
        if (tree) {
 
-               ti = proto_tree_add_item(tree, proto_lte_rrc, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_lte_rrc, tvb, 0, -1, ENC_NA);
                lte_rrc_tree = proto_item_add_subtree(ti, ett_lte_rrc);
                dissect_DL_DCCH_Message_PDU(tvb, pinfo, lte_rrc_tree);
        }
@@ -281,7 +281,7 @@ dissect_lte_rrc_UL_CCCH(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_clear(pinfo->cinfo, COL_INFO);
        if (tree) {
 
-               ti = proto_tree_add_item(tree, proto_lte_rrc, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_lte_rrc, tvb, 0, -1, ENC_NA);
                lte_rrc_tree = proto_item_add_subtree(ti, ett_lte_rrc);
                dissect_UL_CCCH_Message_PDU(tvb, pinfo, lte_rrc_tree);
        }
@@ -297,7 +297,7 @@ dissect_lte_rrc_UL_DCCH(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_clear(pinfo->cinfo, COL_INFO);
        if (tree) {
 
-               ti = proto_tree_add_item(tree, proto_lte_rrc, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_lte_rrc, tvb, 0, -1, ENC_NA);
                lte_rrc_tree = proto_item_add_subtree(ti, ett_lte_rrc);
                dissect_UL_DCCH_Message_PDU(tvb, pinfo, lte_rrc_tree);
        }
@@ -313,12 +313,12 @@ dissect_lte_rrc_BCCH_BCH(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_clear(pinfo->cinfo, COL_INFO);
        if (tree) {
 
-               ti = proto_tree_add_item(tree, proto_lte_rrc, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_lte_rrc, tvb, 0, -1, ENC_NA);
                lte_rrc_tree = proto_item_add_subtree(ti, ett_lte_rrc);
                dissect_BCCH_BCH_Message_PDU(tvb, pinfo, lte_rrc_tree);
        }
 }
+
 static void
 dissect_lte_rrc_BCCH_DL_SCH(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 {
@@ -329,7 +329,7 @@ dissect_lte_rrc_BCCH_DL_SCH(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_clear(pinfo->cinfo, COL_INFO);
        if (tree) {
 
-               ti = proto_tree_add_item(tree, proto_lte_rrc, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_lte_rrc, tvb, 0, -1, ENC_NA);
                lte_rrc_tree = proto_item_add_subtree(ti, ett_lte_rrc);
                dissect_BCCH_DL_SCH_Message_PDU(tvb, pinfo, lte_rrc_tree);
        }
index 58fcd8d47833cc3c5bbc2999f4f5a1656a17c359..054fe4ac20c5cfe4e1e6939238a577e633daef88 100644 (file)
@@ -67,7 +67,7 @@ dissect_mms(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
        asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
 
        if(parent_tree){
-               item = proto_tree_add_item(parent_tree, proto_mms, tvb, 0, -1, FALSE);
+               item = proto_tree_add_item(parent_tree, proto_mms, tvb, 0, -1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_mms);
        }
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "MMS");
@@ -87,7 +87,7 @@ dissect_mms(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
 
 /*--- proto_register_mms -------------------------------------------*/
 void proto_register_mms(void) {
-       
+
        /* List of fields */
   static hf_register_info hf[] =
   {
@@ -113,7 +113,7 @@ void proto_register_mms(void) {
 
 static gboolean
 dissect_mms_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
-{      
+{
        /* must check that this really is an mms packet */
        int offset = 0;
        guint32 length = 0 ;
@@ -123,40 +123,40 @@ dissect_mms_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
        gint8 tmp_class;
        gboolean tmp_pc;
        gint32 tmp_tag;
-       
+
                /* first, check do we have at least 2 bytes (pdu) */
        if (!tvb_bytes_exist(tvb, 0, 2))
                return FALSE;   /* no */
-       
+
        /* can we recognize MMS PDU ? Return FALSE if  not */
        /*   get MMS PDU type */
        offset = get_ber_identifier(tvb, offset, &tmp_class, &tmp_pc, &tmp_tag);
-       
+
        /* check MMS type */
-       
-       /* Class should be constructed */ 
+
+       /* Class should be constructed */
        if (tmp_class!=BER_CLASS_CON)
                return FALSE;
-       
+
        /* see if the tag is a valid MMS PDU */
        match_strval_idx(tmp_tag, mms_MMSpdu_vals, &idx);
-       if  (idx == -1) { 
+       if  (idx == -1) {
                return FALSE;  /* no, it isn't an MMS PDU */
        }
-       
+
        /* check MMS length  */
        oct = tvb_get_guint8(tvb, offset)& 0x7F;
        if (oct==0)
                /* MMS requires length after tag so not MMS if indefinite length*/
                return FALSE;
-                                               
+
        offset = get_ber_length(tvb, offset, &length, NULL);
        /* do we have enough bytes? */
        if (!tvb_bytes_exist(tvb, offset, length))
-               return FALSE; 
-               
+               return FALSE;
+
        dissect_mms(tvb, pinfo, parent_tree);
-       return TRUE;    
+       return TRUE;
 }
 
 /*--- proto_reg_handoff_mms --- */
index 06bf361cc84c4d57bb8fe5723380200b2fbf1a91..2113a133d8b08c862a7ac2818d0469f3fa86f67f 100644 (file)
@@ -558,7 +558,7 @@ dissect_mpeg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "MPEG");
        col_clear(pinfo->cinfo, COL_INFO);
        if (tree)
-           proto_tree_add_item(tree, proto_mpeg, tvb, 0, -1, FALSE);
+           proto_tree_add_item(tree, proto_mpeg, tvb, 0, -1, ENC_NA);
     }
 }
 
index f8f761b794b6f7a32895dc170fabf83524285a36..a1b3dfaf2e3ebf7b893ed41c5f78b651dbe9f885 100644 (file)
@@ -120,9 +120,9 @@ dissect_nbap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "NBAP");
 
        /* create the nbap protocol tree */
-       nbap_item = proto_tree_add_item(tree, proto_nbap, tvb, 0, -1, FALSE);
+       nbap_item = proto_tree_add_item(tree, proto_nbap, tvb, 0, -1, ENC_NA);
        nbap_tree = proto_item_add_subtree(nbap_item, ett_nbap);
-       
+
        dissect_NBAP_PDU_PDU(tvb, pinfo, nbap_tree);
 }
 
@@ -157,7 +157,7 @@ void proto_register_nbap(void) {
   /* Register fields and subtrees */
   proto_register_field_array(proto_nbap, hf, array_length(hf));
   proto_register_subtree_array(ett, array_length(ett));
+
   /* Register dissector */
   register_dissector("nbap", dissect_nbap, proto_nbap);
 
index 8ec3dbafafdcef4b94202af528249125738d0f14..c6fa93060f37bfd025c42a51fcb6ad2ddbb902d1 100644 (file)
@@ -72,7 +72,7 @@ dissect_ocsp_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
 
 
        if(parent_tree){
-               item=proto_tree_add_item(parent_tree, proto_ocsp, tvb, 0, -1, FALSE);
+               item=proto_tree_add_item(parent_tree, proto_ocsp, tvb, 0, -1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_ocsp);
        }
 
@@ -94,7 +94,7 @@ dissect_ocsp_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree
 
 
        if(parent_tree){
-               item=proto_tree_add_item(parent_tree, proto_ocsp, tvb, 0, -1, FALSE);
+               item=proto_tree_add_item(parent_tree, proto_ocsp, tvb, 0, -1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_ocsp);
        }
 
index 791558c49c80e09166211af463471472c48f75ad..ffa534211529f647400c0d65f6d9125fa99a851c 100644 (file)
@@ -135,9 +135,9 @@ dissect_pcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "PCAP");
 
        /* create the pcap protocol tree */
-       pcap_item = proto_tree_add_item(tree, proto_pcap, tvb, 0, -1, FALSE);
+       pcap_item = proto_tree_add_item(tree, proto_pcap, tvb, 0, -1, ENC_NA);
        pcap_tree = proto_item_add_subtree(pcap_item, ett_pcap);
-       
+
        dissect_PCAP_PDU_PDU(tvb, pinfo, pcap_tree);
 }
 
@@ -201,7 +201,7 @@ void proto_register_pcap(void) {
   proto_register_subtree_array(ett, array_length(ett));
 
   pcap_module = prefs_register_protocol(proto_pcap, proto_reg_handoff_pcap);
+
   /* Register dissector */
   register_dissector("pcap", dissect_pcap, proto_pcap);
 
index 4ba7262f441bd7c2e750761743727ea4cd571418..21b68ef08b2809e0191ddd8fe734573b8bad745b 100644 (file)
@@ -67,7 +67,7 @@ dissect_timestamp_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tr
 
 
        if(parent_tree){
-               item=proto_tree_add_item(parent_tree, proto_pkixtsp, tvb, 0, -1, FALSE);
+               item=proto_tree_add_item(parent_tree, proto_pkixtsp, tvb, 0, -1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_pkixtsp);
        }
 
@@ -88,7 +88,7 @@ dissect_timestamp_query(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tr
 
 
        if(parent_tree){
-               item=proto_tree_add_item(parent_tree, proto_pkixtsp, tvb, 0, -1, FALSE);
+               item=proto_tree_add_item(parent_tree, proto_pkixtsp, tvb, 0, -1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_pkixtsp);
        }
 
index 30d80b10b8290436692e8012af0c088feb40455d..21c09450518f84cecf48f929aeccbfc89fd5ae95 100644 (file)
@@ -398,7 +398,7 @@ dissect_qsig_arg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
     return offset;
   service = get_service(opcode);
 
-  ti = proto_tree_add_item(tree, proto_qsig, tvb, offset, tvb_length(tvb), FALSE);
+  ti = proto_tree_add_item(tree, proto_qsig, tvb, offset, tvb_length(tvb), ENC_NA);
   qsig_tree = proto_item_add_subtree(ti, ett_qsig);
 
   proto_tree_add_uint(qsig_tree, hf_qsig_operation, tvb, 0, 0, opcode);
@@ -449,7 +449,7 @@ dissect_qsig_res(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
     return offset;
   service = get_service(opcode);
 
-  ti = proto_tree_add_item(tree, proto_qsig, tvb, offset, tvb_length(tvb), FALSE);
+  ti = proto_tree_add_item(tree, proto_qsig, tvb, offset, tvb_length(tvb), ENC_NA);
   qsig_tree = proto_item_add_subtree(ti, ett_qsig);
 
   proto_tree_add_uint(qsig_tree, hf_qsig_operation, tvb, 0, 0, opcode);
@@ -499,7 +499,7 @@ dissect_qsig_err(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
   if (!err_ptr)
     return offset;
 
-  ti = proto_tree_add_item(tree, proto_qsig, tvb, offset, tvb_length(tvb), FALSE);
+  ti = proto_tree_add_item(tree, proto_qsig, tvb, offset, tvb_length(tvb), ENC_NA);
   qsig_tree = proto_item_add_subtree(ti, ett_qsig);
 
   proto_tree_add_uint(qsig_tree, hf_qsig_error, tvb, 0, 0, errcode);
@@ -547,7 +547,7 @@ dissect_qsig_ie(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int codeset
 
   offset = 0;
 
-  ti = proto_tree_add_item(tree, proto_qsig, tvb, offset, -1, FALSE);
+  ti = proto_tree_add_item(tree, proto_qsig, tvb, offset, -1, ENC_NA);
   PROTO_ITEM_SET_HIDDEN(ti);
 
   ie_type = tvb_get_guint8(tvb, offset);
index 04793b87aab8ac2fbd35091f841670af77ae6921..2d67a541f543ac630b765a51841eee29a114cd47 100644 (file)
@@ -237,7 +237,7 @@ dissect_ranap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "RANAP");
 
        /* create the ranap protocol tree */
-       ranap_item = proto_tree_add_item(tree, proto_ranap, tvb, 0, -1, FALSE);
+       ranap_item = proto_tree_add_item(tree, proto_ranap, tvb, 0, -1, ENC_NA);
        ranap_tree = proto_item_add_subtree(ranap_item, ett_ranap);
 
        dissect_RANAP_PDU_PDU(tvb, pinfo, ranap_tree);
index 9e074b616ff5df70807927fe8f8bd534718208ee..b46da22a60681167bb8a35a505b53fc6b0681d0a 100644 (file)
@@ -135,7 +135,7 @@ dissect_rrc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "RRC");
 
        /* create the rrc protocol tree */
-       rrc_item = proto_tree_add_item(tree, proto_rrc, tvb, 0, -1, FALSE);
+       rrc_item = proto_tree_add_item(tree, proto_rrc, tvb, 0, -1, ENC_NA);
        rrc_tree = proto_item_add_subtree(rrc_item, ett_rrc);
 
        if (rrcinf) {
index bda78611a64513dd57ece2d3bd30e48da6e2aeee..a58b1721482b567e5a406f2ff1f810313aeb3145 100644 (file)
@@ -122,9 +122,9 @@ dissect_rua(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "RUA");
 
     /* create the rua protocol tree */
-    rua_item = proto_tree_add_item(tree, proto_rua, tvb, 0, -1, FALSE);
+    rua_item = proto_tree_add_item(tree, proto_rua, tvb, 0, -1, ENC_NA);
     rua_tree = proto_item_add_subtree(rua_item, ett_rua);
-    
+
     dissect_RUA_PDU_PDU(tvb, pinfo, rua_tree);
 }
 
@@ -151,7 +151,7 @@ module_t *rua_module;
   /* Register fields and subtrees */
   proto_register_field_array(proto_rua, hf, array_length(hf));
   proto_register_subtree_array(ett, array_length(ett));
+
   /* Register dissector */
   register_dissector("rua", dissect_rua, proto_rua);
 
@@ -161,7 +161,7 @@ module_t *rua_module;
   rua_proc_imsg_dissector_table = register_dissector_table("rua.proc.imsg", "RUA-ELEMENTARY-PROCEDURE InitiatingMessage", FT_UINT32, BASE_DEC);
   rua_proc_sout_dissector_table = register_dissector_table("rua.proc.sout", "RUA-ELEMENTARY-PROCEDURE SuccessfulOutcome", FT_UINT32, BASE_DEC);
   rua_proc_uout_dissector_table = register_dissector_table("rua.proc.uout", "RUA-ELEMENTARY-PROCEDURE UnsuccessfulOutcome", FT_UINT32, BASE_DEC);
+
   rua_module = prefs_register_protocol(proto_rua, proto_reg_handoff_rua);
   prefs_register_uint_preference(rua_module, "port", "RUA SCTP Port", "Set the port for RUA messages (Default of 29169)", 10, &global_sctp_port);
 
index bdf3f2ad9214ba8636f3be93b4c68c4abfe88e3f..d2b3042876a2688ca95bbd72fbe61939abc306a9 100644 (file)
@@ -168,9 +168,9 @@ dissect_s1ap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "S1AP");
 
        /* create the s1ap protocol tree */
-       s1ap_item = proto_tree_add_item(tree, proto_s1ap, tvb, 0, -1, FALSE);
+       s1ap_item = proto_tree_add_item(tree, proto_s1ap, tvb, 0, -1, ENC_NA);
        s1ap_tree = proto_item_add_subtree(s1ap_item, ett_s1ap);
-       
+
        dissect_S1AP_PDU_PDU(tvb, pinfo, s1ap_tree);
 }
 
@@ -238,7 +238,7 @@ void proto_register_s1ap(void) {
   /* Register fields and subtrees */
   proto_register_field_array(proto_s1ap, hf, array_length(hf));
   proto_register_subtree_array(ett, array_length(ett));
+
   /* Register dissector */
   register_dissector("s1ap", dissect_s1ap, proto_s1ap);
 
@@ -250,7 +250,7 @@ void proto_register_s1ap(void) {
   s1ap_proc_imsg_dissector_table = register_dissector_table("s1ap.proc.imsg", "S1AP-ELEMENTARY-PROCEDURE InitiatingMessage", FT_UINT32, BASE_DEC);
   s1ap_proc_sout_dissector_table = register_dissector_table("s1ap.proc.sout", "S1AP-ELEMENTARY-PROCEDURE SuccessfulOutcome", FT_UINT32, BASE_DEC);
   s1ap_proc_uout_dissector_table = register_dissector_table("s1ap.proc.uout", "S1AP-ELEMENTARY-PROCEDURE UnsuccessfulOutcome", FT_UINT32, BASE_DEC);
-  
+
   /* Register configuration options for ports */
   s1ap_module = prefs_register_protocol(proto_s1ap, proto_reg_handoff_s1ap);
 
index 457cd9f55215b2c0d53c3e7404b926daed8d16be..20d07d6277879d639ef93f106feef2dec52d3d5e 100644 (file)
@@ -148,7 +148,7 @@ dissect_sabp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME);
 
        /* create the sbap protocol tree */
-       sabp_item = proto_tree_add_item(tree, proto_sabp, tvb, 0, -1, FALSE);
+       sabp_item = proto_tree_add_item(tree, proto_sabp, tvb, 0, -1, ENC_NA);
        sabp_tree = proto_item_add_subtree(sabp_item, ett_sabp);
 
        dissect_SABP_PDU_PDU(tvb, pinfo, sabp_tree);
index aa6028b00ce13cc9e8bd8e5b9ea5034969dd1fd1..ca400b9214c23f7ae8ca188a22e1fa62dfa50b48 100644 (file)
@@ -91,7 +91,7 @@ dissect_smrse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
                return 0;
 
        if(parent_tree){
-               item = proto_tree_add_item(parent_tree, proto_smrse, tvb, 0, -1, FALSE);
+               item = proto_tree_add_item(parent_tree, proto_smrse, tvb, 0, -1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_smrse);
        }
 
index 2c9b041ebd055dd1d640ac266be783aa6138c4a0..b74427bf2d695b55976dc5ae84264c230ddfa654 100644 (file)
@@ -1781,7 +1781,7 @@ dissect_smux(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "SMUX");
 
        if (tree) {
-               item = proto_tree_add_item(tree, proto_smux, tvb, 0, -1, ENC_BIG_ENDIAN);
+               item = proto_tree_add_item(tree, proto_smux, tvb, 0, -1, ENC_NA);
                smux_tree = proto_item_add_subtree(item, ett_smux);
        }
 
index 626713d6834a59a1bab5b4b04032563ecfa906e4..a07c19cb2bbabe184b9c8944172c88ee73e17ddb 100644 (file)
@@ -1245,7 +1245,7 @@ dissect_spnego_wrap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
 
        item = proto_tree_add_item(tree, proto_spnego, tvb, offset,
-                                  -1, FALSE);
+                                  -1, ENC_NA);
 
        subtree = proto_item_add_subtree(item, ett_spnego);
        /*
@@ -1298,7 +1298,7 @@ dissect_spnego(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
        }
 
        item = proto_tree_add_item(parent_tree, proto_spnego, tvb, offset,
-                                  -1, FALSE);
+                                  -1, ENC_NA);
 
        subtree = proto_item_add_subtree(item, ett_spnego);
 
index ffbfb2fe52af9b17c498bc7c5d360d2c7f0536bf..1f043137c71550cb4d72d35491cff30e7983217e 100644 (file)
@@ -201,7 +201,7 @@ dissect_sv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
        asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
 
        if (parent_tree){
-               item = proto_tree_add_item(parent_tree, proto_sv, tvb, 0, -1, FALSE);
+               item = proto_tree_add_item(parent_tree, proto_sv, tvb, 0, -1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_sv);
        }
        col_set_str(pinfo->cinfo, COL_PROTOCOL, PNAME);
index 876d9dea8864fbfe318d06c2be76947b692df6b2..f15a86a63685f6065195f0558dd4604805d77879 100644 (file)
@@ -88,7 +88,7 @@ register_t124_ns_dissector(const char *nsKey, dissector_t dissector, int proto)
 void register_t124_sd_dissector(packet_info *pinfo _U_, guint32 channelId, dissector_t dissector, int proto)
 {
   /* XXX: we should keep the sub-dissectors list per conversation
-     as the same channels may be used. 
+     as the same channels may be used.
      While we are just using RDP over T.124, then we can get away with it.
   */
 
@@ -131,7 +131,7 @@ dissect_t124_new(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *parent_tree)
   col_set_str(pinfo->cinfo, COL_PROTOCOL, "T.125");
   col_clear(pinfo->cinfo, COL_INFO);
 
-  item = proto_tree_add_item(parent_tree, proto_t124, tvb, 0, tvb_length(tvb), FALSE);
+  item = proto_tree_add_item(parent_tree, proto_t124, tvb, 0, tvb_length(tvb), ENC_NA);
   tree = proto_item_add_subtree(item, ett_t124);
 
   asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
@@ -157,7 +157,7 @@ dissect_t124_heur(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *parent_tree
 
   (void) dissect_per_sequence(tvb, 0, &asn1_ctx, NULL, -1, -1, t124Heur_sequence);
 
-  if((t124Identifier != NULL) && 
+  if((t124Identifier != NULL) &&
      (strcmp(t124Identifier, "0.0.20.124.0.1") == 0)) {
 
     dissect_t124(tvb, pinfo, parent_tree);
@@ -209,7 +209,7 @@ void proto_register_t124(void) {
   /* suppress some warnings */
   warning_suppressor = dissect_t124_GCCPDU;
   warning_suppressor = dissect_t124_ConnectMCSPDU;
-  
+
 }
 
 void
index 4940c12f4f9598c43e9d7dc2370b0ca625c8aeee..c2ab2f7e90b62a2309b94e3dff5d9705eec76461 100644 (file)
@@ -73,7 +73,7 @@ dissect_t125(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *parent_tree)
   col_set_str(pinfo->cinfo, COL_PROTOCOL, "T.125");
   col_clear(pinfo->cinfo, COL_INFO);
 
-  item = proto_tree_add_item(parent_tree, proto_t125, tvb, 0, tvb_length(tvb), FALSE);
+  item = proto_tree_add_item(parent_tree, proto_t125, tvb, 0, tvb_length(tvb), ENC_NA);
   tree = proto_item_add_subtree(item, ett_t125);
 
   get_ber_identifier(tvb, 0, &class, &pc, &tag);
@@ -104,7 +104,7 @@ dissect_t125_heur(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *parent_tree
   /* or PER */
   dissect_per_constrained_integer(tvb, 0, &asn1_ctx,
                                  NULL, hf_t125_heur, 0, 42,
-                                 &choice_index, FALSE); 
+                                 &choice_index, FALSE);
 
   /* is this strong enough ? */
   if ( ((class==BER_CLASS_APP) && ((tag>=101) && (tag<=104))) ||
index 730555f72e03d49d16034ff32970cdb1cf4b5fc6..877fe934f0b32e14455f8c7ff5e601132f92afb3 100644 (file)
@@ -24,7 +24,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  *
- * Ref: 
+ * Ref:
  * 3GPP TS 36.423 V9.2.0 (2010-03)
  */
 
@@ -125,9 +125,9 @@ dissect_x2ap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "X2AP");
 
        /* create the x2ap protocol tree */
-       x2ap_item = proto_tree_add_item(tree, proto_x2ap, tvb, 0, -1, FALSE);
+       x2ap_item = proto_tree_add_item(tree, proto_x2ap, tvb, 0, -1, ENC_NA);
        x2ap_tree = proto_item_add_subtree(x2ap_item, ett_x2ap);
-       
+
        dissect_X2AP_PDU_PDU(tvb, pinfo, x2ap_tree);
 }
 
@@ -163,7 +163,7 @@ void proto_register_x2ap(void) {
   /* Register fields and subtrees */
   proto_register_field_array(proto_x2ap, hf, array_length(hf));
   proto_register_subtree_array(ett, array_length(ett));
+
   /* Register dissector */
   register_dissector("x2ap", dissect_x2ap, proto_x2ap);
 
index d44637df16675ab677d6528b04963bedbb34c07f..b88ce0270b67384d25fc03d76f0c3dfc4a9a9951 100644 (file)
@@ -139,7 +139,7 @@ static void dissect_2dparityfec(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t
       proto_tree *tree_2dparityfec = NULL;
       gint offset = 0;
 
-      ti = proto_tree_add_item(tree, proto_2dparityfec, tvb, 0, -1, FALSE);
+      ti = proto_tree_add_item(tree, proto_2dparityfec, tvb, 0, -1, ENC_NA);
       tree_2dparityfec = proto_item_add_subtree(ti, ett_2dparityfec);
 
       proto_tree_add_item(tree_2dparityfec, hf_2dparityfec_snbase_low,      tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2;
index c8cf9353d7b7c9664517f277a8f81a8b3f96e9a5..1f869b0aa57085ba49ec479e08da3142d9bf489b 100644 (file)
@@ -581,7 +581,7 @@ dissect_njack(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_njack, tvb, offset, -1,
-                   ENC_BIG_ENDIAN);
+                   ENC_NA);
                njack_tree = proto_item_add_subtree(ti, ett_njack);
 
                proto_tree_add_item(njack_tree, hf_njack_magic, tvb, offset, 5,
index 58b559ca62bbe2f23f158e6b57b53972cd14af9d..be829a8c2b654c8362c2a488f05e7c7aab661754 100644 (file)
@@ -74,7 +74,7 @@ dissect_3com_xns(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_clear(pinfo->cinfo, COL_INFO);
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_3com_xns, tvb, 0, 4, FALSE);
+               ti = proto_tree_add_item(tree, proto_3com_xns, tvb, 0, 4, ENC_NA);
                subtree = proto_item_add_subtree(ti, ett_3com_xns);
        }
 
@@ -112,7 +112,7 @@ proto_register_3com_xns(void)
        };
 
        proto_3com_xns = proto_register_protocol("3Com XNS Encapsulation", "3COMXNS", "3comxns");
-       proto_register_field_array(proto_3com_xns, hf, array_length(hf)); 
+       proto_register_field_array(proto_3com_xns, hf, array_length(hf));
        proto_register_subtree_array(ett, array_length(ett));
 }
 
index 3dee019255a6598c3b2042201b3b41207efa9e43..d1e907ca663ab422ac2ddc784c94955e1f8976c7 100644 (file)
@@ -1622,7 +1622,7 @@ dissect_a11( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                      tvb_ip_to_str(tvb, 12));
 
         if (tree) {
-            ti = proto_tree_add_item(tree, proto_a11, tvb, offset, -1, ENC_BIG_ENDIAN);
+            ti = proto_tree_add_item(tree, proto_a11, tvb, offset, -1, ENC_NA);
             a11_tree = proto_item_add_subtree(ti, ett_a11);
 
             /* type */
@@ -1671,7 +1671,7 @@ dissect_a11( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
         if (tree) {
             /* Add Subtree */
-            ti = proto_tree_add_item(tree, proto_a11, tvb, offset, -1, ENC_BIG_ENDIAN);
+            ti = proto_tree_add_item(tree, proto_a11, tvb, offset, -1, ENC_NA);
             a11_tree = proto_item_add_subtree(ti, ett_a11);
 
             /* Type */
@@ -1705,7 +1705,7 @@ dissect_a11( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                      tvb_ip_to_str(tvb, 8));
         if (tree) {
             /* Add Subtree */
-            ti = proto_tree_add_item(tree, proto_a11, tvb, offset, -1, ENC_BIG_ENDIAN);
+            ti = proto_tree_add_item(tree, proto_a11, tvb, offset, -1, ENC_NA);
             a11_tree = proto_item_add_subtree(ti, ett_a11);
 
             /* Type */
@@ -1735,7 +1735,7 @@ dissect_a11( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                      tvb_get_guint8(tvb,3));
         if (tree) {
             /* Add Subtree */
-            ti = proto_tree_add_item(tree, proto_a11, tvb, offset, -1, ENC_BIG_ENDIAN);
+            ti = proto_tree_add_item(tree, proto_a11, tvb, offset, -1, ENC_NA);
             a11_tree = proto_item_add_subtree(ti, ett_a11);
 
             /* Type */
@@ -1768,7 +1768,7 @@ dissect_a11( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                      tvb_ip_to_str(tvb, 8));
         if (tree) {
             /* Add Subtree */
-            ti = proto_tree_add_item(tree, proto_a11, tvb, offset, -1, ENC_BIG_ENDIAN);
+            ti = proto_tree_add_item(tree, proto_a11, tvb, offset, -1, ENC_NA);
             a11_tree = proto_item_add_subtree(ti, ett_a11);
 
             /* Type */
@@ -1798,7 +1798,7 @@ dissect_a11( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                      tvb_get_guint8(tvb,3));
         if (tree) {
             /* Add Subtree */
-            ti = proto_tree_add_item(tree, proto_a11, tvb, offset, -1, ENC_BIG_ENDIAN);
+            ti = proto_tree_add_item(tree, proto_a11, tvb, offset, -1, ENC_NA);
             a11_tree = proto_item_add_subtree(ti, ett_a11);
 
             /* Type */
@@ -1832,7 +1832,7 @@ dissect_a11( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                      tvb_ip_to_str(tvb, 12));
         if (tree) {
             /* Add Subtree */
-            ti = proto_tree_add_item(tree, proto_a11, tvb, offset, -1, ENC_BIG_ENDIAN);
+            ti = proto_tree_add_item(tree, proto_a11, tvb, offset, -1, ENC_NA);
             a11_tree = proto_item_add_subtree(ti, ett_a11);
 
             /* Type */
@@ -1865,7 +1865,7 @@ dissect_a11( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                      tvb_ip_to_str(tvb, 8));
         if (tree) {
             /* Add Subtree */
-            ti = proto_tree_add_item(tree, proto_a11, tvb, offset, -1, ENC_BIG_ENDIAN);
+            ti = proto_tree_add_item(tree, proto_a11, tvb, offset, -1, ENC_NA);
             a11_tree = proto_item_add_subtree(ti, ett_a11);
 
             /* Type */
index 44d6ec2038b98db0e44612e45eb36fc91ad33137..ab24f656d332b4ade2b881fddf5bb354684d76ad 100644 (file)
@@ -83,7 +83,7 @@ dissect_acap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_acap, tvb, offset, -1,
-                   ENC_BIG_ENDIAN);
+                   ENC_NA);
                acap_tree = proto_item_add_subtree(ti, ett_acap);
 
                if (is_request) {
index 60494743c163f06497a30ee3fa555bc72f14f7ce..99346295c1808ca82f2f3abab2ed48ceea634306 100644 (file)
@@ -475,7 +475,7 @@ static int dissect_actrace(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                if (tree)
                {
                        /* Create our actrace subtree */
-                       ti = proto_tree_add_item(tree,proto_actrace,tvb,0,-1, FALSE);
+                       ti = proto_tree_add_item(tree,proto_actrace,tvb,0,-1, ENC_NA);
                        actrace_tree = proto_item_add_subtree(ti, ett_actrace);
                }
 
index f0faf143a5f43f98d4d9ac2210755cd2d782513c..011fe33d865a459a9e7e7c31dcaef7d57048b9c4 100644 (file)
@@ -858,7 +858,7 @@ dissect_agentx_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if(!tree)
                return;
 
-       /*t_item = proto_tree_add_item(tree, proto_agentx, tvb, 0, -1, FALSE);*/
+       /*t_item = proto_tree_add_item(tree, proto_agentx, tvb, 0, -1, ENC_NA);*/
        t_item = proto_tree_add_protocol_format(tree, proto_agentx, tvb, 0, -1,
                        "Agent Extensibility (AgentX) Protocol: %s, sid=%d, tid=%d, packid=%d, plen=%d",
                        val_to_str(type, type_values, "unknown"),
index 5a22d39bc541fc6f30567a9d98df7e5a9991f580..e9ad7b0964b843da436da15518e2565864b163b7 100644 (file)
@@ -66,7 +66,7 @@ dissect_airopeek(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_clear(pinfo->cinfo, COL_INFO);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_airopeek, tvb, 0, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_airopeek, tvb, 0, -1, ENC_NA);
     airopeek_tree = proto_item_add_subtree(ti, ett_airopeek);
 
     proto_tree_add_item(airopeek_tree, hf_airopeek_unknown1, tvb, 0, 2,  ENC_NA);
index cb63ca1537da92b1eaf8a390090fd33d3749c223..02096cf49a27f8906da14b4b238e716d08fcdc11 100644 (file)
@@ -1375,7 +1375,7 @@ static void dissect_alcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
     col_set_str(pinfo->cinfo, COL_PROTOCOL, alcap_proto_name_short);
 
     if (tree) {
-        proto_item *alcap_item = proto_tree_add_item(tree, proto_alcap, tvb, 0, -1, ENC_BIG_ENDIAN);
+        proto_item *alcap_item = proto_tree_add_item(tree, proto_alcap, tvb, 0, -1, ENC_NA);
         alcap_tree = proto_item_add_subtree(alcap_item, ett_alcap);
     }
 
index 21538e19b85c4881927d170ab473d060763f98ca..2edaeb765218294133963da5bceb1d11e3c37635 100644 (file)
@@ -5613,7 +5613,7 @@ dissect_amqp_0_10_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
             col_append_str(pinfo->cinfo, COL_INFO, strbuf->str);
             col_set_fence(pinfo->cinfo, COL_INFO);
 
-            ti = proto_tree_add_item(tree, proto_amqp, tvb, 0, -1, ENC_BIG_ENDIAN);
+            ti = proto_tree_add_item(tree, proto_amqp, tvb, 0, -1, ENC_NA);
             amqp_tree = proto_item_add_subtree(ti, ett_amqp_init);
             proto_tree_add_item(amqp_tree, hf_amqp_init_protocol, tvb, 0, 4, ENC_ASCII|ENC_NA);
             proto_tree_add_item(amqp_tree, hf_amqp_init_id_major, tvb, 4, 1, ENC_BIG_ENDIAN);
@@ -5625,7 +5625,7 @@ dissect_amqp_0_10_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         }
 
         /* Protocol frame */
-        ti = proto_tree_add_item(tree, proto_amqp, tvb, 0, -1, ENC_BIG_ENDIAN);
+        ti = proto_tree_add_item(tree, proto_amqp, tvb, 0, -1, ENC_NA);
         amqp_tree = proto_item_add_subtree(ti, ett_amqp);
         proto_tree_add_item(amqp_tree, hf_amqp_0_10_format, tvb, 0, 1, ENC_BIG_ENDIAN);
         proto_tree_add_item(amqp_tree, hf_amqp_0_10_position, tvb, 0, 1, ENC_BIG_ENDIAN);
@@ -5759,7 +5759,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
             col_append_str(pinfo->cinfo, COL_INFO, strbuf->str);
             col_set_fence(pinfo->cinfo, COL_INFO);
 
-            ti = proto_tree_add_item(tree, proto_amqp, tvb, 0, -1, ENC_BIG_ENDIAN);
+            ti = proto_tree_add_item(tree, proto_amqp, tvb, 0, -1, ENC_NA);
             amqp_tree = proto_item_add_subtree(ti, ett_amqp_init);
             proto_tree_add_item(amqp_tree, hf_amqp_init_protocol, tvb, 0, 4, ENC_ASCII|ENC_NA);
             proto_tree_add_item(amqp_tree, hf_amqp_init_id_major, tvb, 4, 1, ENC_BIG_ENDIAN);
@@ -5770,7 +5770,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
             return;
         }
 
-        ti = proto_tree_add_item(tree, proto_amqp, tvb, 0, -1, ENC_BIG_ENDIAN);
+        ti = proto_tree_add_item(tree, proto_amqp, tvb, 0, -1, ENC_NA);
         amqp_tree = proto_item_add_subtree(ti, ett_amqp);
         frame_type = tvb_get_guint8(tvb, 0);
         proto_tree_add_item(amqp_tree, hf_amqp_0_9_type, tvb, 0, 1, ENC_BIG_ENDIAN);
@@ -5790,7 +5790,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 ti = proto_tree_add_item(amqp_tree, hf_amqp_method_arguments,
                     tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
-                               col_append_fstr(pinfo->cinfo, COL_INFO, "Connection.%s", 
+                               col_append_fstr(pinfo->cinfo, COL_INFO, "Connection.%s",
                                        val_to_str( method_id, amqp_method_connection_methods, "Unknown (%u)"));
                 col_set_fence(pinfo->cinfo, COL_INFO);
                 switch (method_id) {
@@ -5853,7 +5853,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                     tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
 
-                               col_append_fstr(pinfo->cinfo, COL_INFO, "Channel.%s", 
+                               col_append_fstr(pinfo->cinfo, COL_INFO, "Channel.%s",
                                        val_to_str( method_id, amqp_method_channel_methods, "Unknown (%u)"));
                 col_set_fence(pinfo->cinfo, COL_INFO);
 
@@ -5941,7 +5941,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 ti = proto_tree_add_item(amqp_tree, hf_amqp_method_arguments,
                     tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
-                               col_append_fstr(pinfo->cinfo, COL_INFO, "Exchange.%s", 
+                               col_append_fstr(pinfo->cinfo, COL_INFO, "Exchange.%s",
                                        val_to_str( method_id, amqp_method_exchange_methods, "Unknown (%u)"));
                 col_set_fence(pinfo->cinfo, COL_INFO);
                 switch (method_id) {
@@ -5983,7 +5983,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 ti = proto_tree_add_item(amqp_tree, hf_amqp_method_arguments,
                     tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
-                               col_append_fstr(pinfo->cinfo, COL_INFO, "Queue.%s", 
+                               col_append_fstr(pinfo->cinfo, COL_INFO, "Queue.%s",
                                        val_to_str( method_id, amqp_method_queue_methods, "Unknown (%u)"));
                 col_set_fence(pinfo->cinfo, COL_INFO);
 
@@ -6043,7 +6043,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                     tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
 
-                               col_append_fstr(pinfo->cinfo, COL_INFO, "Basic.%s", 
+                               col_append_fstr(pinfo->cinfo, COL_INFO, "Basic.%s",
                                        val_to_str( method_id, amqp_method_basic_methods, "Unknown (%u)"));
                 col_set_fence(pinfo->cinfo, COL_INFO);
 
@@ -6123,7 +6123,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                     tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
 
-                               col_append_fstr(pinfo->cinfo, COL_INFO, "File.%s", 
+                               col_append_fstr(pinfo->cinfo, COL_INFO, "File.%s",
                                        val_to_str( method_id, amqp_method_file_methods, "Unknown (%u)"));
                 col_set_fence(pinfo->cinfo, COL_INFO);
 
@@ -6199,7 +6199,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                     tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
 
-                               col_append_fstr(pinfo->cinfo, COL_INFO, "Stream.%s", 
+                               col_append_fstr(pinfo->cinfo, COL_INFO, "Stream.%s",
                                        val_to_str( method_id, amqp_method_stream_methods, "Unknown (%u)"));
                 col_set_fence(pinfo->cinfo, COL_INFO);
 
@@ -6255,7 +6255,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                     tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
 
-                               col_append_fstr(pinfo->cinfo, COL_INFO, "Tx.%s", 
+                               col_append_fstr(pinfo->cinfo, COL_INFO, "Tx.%s",
                                        val_to_str( method_id, amqp_method_tx_methods, "Unknown (%u)"));
                 col_set_fence(pinfo->cinfo, COL_INFO);
 
@@ -6299,7 +6299,7 @@ dissect_amqp_0_9_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                     tvb, 11, length - 4, ENC_NA);
                 args_tree = proto_item_add_subtree(ti, ett_args);
 
-                               col_append_fstr(pinfo->cinfo, COL_INFO, "Dtx.%s", 
+                               col_append_fstr(pinfo->cinfo, COL_INFO, "Dtx.%s",
                                        val_to_str( method_id, amqp_method_dtx_methods, "Unknown (%u)"));
                 col_set_fence(pinfo->cinfo, COL_INFO);
 
index 0a5c65623a0a7e832bc879daa1cd1898a7bd9ec1..0ca194f9ffb5f85e9656019c30999bf6f3b1c84e 100644 (file)
@@ -439,7 +439,7 @@ dissect_amr_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint amr
 
        if (tree) {
 
-               ti = proto_tree_add_item(tree, proto_amr, tvb, 0, -1, ENC_BIG_ENDIAN);
+               ti = proto_tree_add_item(tree, proto_amr, tvb, 0, -1, ENC_NA);
                amr_tree = proto_item_add_subtree(ti, ett_amr);
 
                proto_tree_add_text(amr_tree, tvb, offset, -1, "Payload decoded as %s",
index d025655f1d9d50cd1f4079bbffb6ef03798c6b52..52e5beb705bc8a5624c905c17ee8a7e5d4bf3426 100644 (file)
@@ -573,7 +573,7 @@ dissect_ancp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         proto_tree *ancp_tree = NULL;
         guint8  byte;
 
-        ti = proto_tree_add_item(tree, proto_ancp, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_ancp, tvb, 0, -1, ENC_NA);
 
         ancp_tree = proto_item_add_subtree(ti, ett_ancp_len);
 
index f837f38deb5a3aa3d9ccf59616cf082657f66312..f4e7968bec980ca10e5cbc32e51f2d36f2647793 100644 (file)
@@ -84,7 +84,7 @@ dissect_ans(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                seq_num, sender_id, ether_to_str(team_id));
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_ans, tvb, 0, -1, ENC_BIG_ENDIAN);
+               ti = proto_tree_add_item(tree, proto_ans, tvb, 0, -1, ENC_NA);
                ans_tree = proto_item_add_subtree(ti, ett_ans);
 
                proto_tree_add_item(ans_tree, hf_ans_app_id, tvb, 0, 2, ENC_BIG_ENDIAN);
index c9e34e1a21d281124e341a9d8c9e8e76156a6ca3..cb0704332a41b4ec19a7828e2ef7214664f24027 100644 (file)
@@ -16311,7 +16311,7 @@ dissect_ansi_map(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     /*
      * create the ansi_map protocol tree
      */
-    ansi_map_item = proto_tree_add_item(tree, proto_ansi_map, tvb, 0, -1, FALSE);
+    ansi_map_item = proto_tree_add_item(tree, proto_ansi_map, tvb, 0, -1, ENC_NA);
     ansi_map_tree = proto_item_add_subtree(ansi_map_item, ett_ansi_map);
     ansi_map_is_invoke = FALSE;
     is683_ota = FALSE;
index 1c092a2d028a4e09e3704f532d70f3ad818e227e..66a578cc503941143fbb94d47c485cb962aea458 100644 (file)
@@ -1338,7 +1338,7 @@ dissect_ansi_tcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
 
     /* create display subtree for the protocol */
     if(parent_tree){
-      item = proto_tree_add_item(parent_tree, proto_ansi_tcap, tvb, 0, -1, FALSE);
+      item = proto_tree_add_item(parent_tree, proto_ansi_tcap, tvb, 0, -1, ENC_NA);
       tree = proto_item_add_subtree(item, ett_tcap);
       tcap_stat_item=item;
       tcap_stat_tree=tree;
@@ -1682,7 +1682,7 @@ proto_register_ansi_tcap(void)
 
        static enum_val_t ansi_tcap_response_matching_type_values[] = {
                {"Only Transaction ID will be used in Invoke/response matching",                                        "Transaction ID only", 0},
-               {"Transaction ID and Source will be used in Invoke/response matching",                          "Transaction ID and Source", 1}, 
+               {"Transaction ID and Source will be used in Invoke/response matching",                          "Transaction ID and Source", 1},
                {"Transaction ID Source and Destination will be used in Invoke/response matching",      "Transaction ID Source and Destination", 2},
                {NULL, NULL, -1}
        };
index 89636f82476fb6032f4608239d717bd28e8a39ed..c82c6047f6c13831ed02820a3cd4cdef9a604ed1 100644 (file)
@@ -386,7 +386,7 @@ dissect_aoe(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
   col_clear(pinfo->cinfo, COL_INFO);
 
   if (parent_tree) {
-    item = proto_tree_add_item(parent_tree, proto_aoe, tvb, 0, -1, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(parent_tree, proto_aoe, tvb, 0, -1, ENC_NA);
     tree = proto_item_add_subtree(item, ett_aoe);
   }
 
index 66893ab3f34a389e0022754064dc37196c7ef284..3ccd667c68dedece63f2db8b8f87016f4ff845f2 100644 (file)
  * Wireshark - Network traffic analyzer
  * By Gerald Combs <gerald@wireshark.org>
  * Copyright 1998 Gerald Combs
- * 
+ *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
  * as published by the Free Software Foundation; either version 2
  * of the License, or (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -57,11 +57,11 @@ dissect_cert(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
         proto_item *ti;
                asn1_ctx_t asn1_ctx;
                asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
-        
+
         col_append_sep_fstr(pinfo->cinfo, COL_INFO, " ", "(application/pkix-cert)");
 
         if (tree) {
-                ti = proto_tree_add_item(tree, proto_cert, tvb, 0, -1, ENC_BIG_ENDIAN);
+                ti = proto_tree_add_item(tree, proto_cert, tvb, 0, -1, ENC_NA);
                 subtree = proto_item_add_subtree(ti, ett_cert);
         }
 
@@ -96,7 +96,7 @@ proto_register_cert(void)
         proto_cert = proto_register_protocol(
                         "PKIX CERT File Format",
                         "PKIX Certificate",
-                        "pkix-cert"     
+                        "pkix-cert"
         );
 
         /* Required function calls to register the header fields
index c679636e7000a8d986b42a06ce6707e2178ac767..e212d9aa3e661937a38bd6e70c2f1106060ff73a 100644 (file)
@@ -120,7 +120,7 @@ dissect_applemidi_common( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, g
 
        if ( tree ) {
                proto_item *ti;
-               ti = proto_tree_add_item( tree, proto_applemidi, tvb, 0, -1, FALSE );
+               ti = proto_tree_add_item( tree, proto_applemidi, tvb, 0, -1, ENC_NA );
                applemidi_tree = proto_item_add_subtree( ti, ett_applemidi );
 
                proto_tree_add_item( applemidi_tree, hf_applemidi_signature, tvb, offset, 2, ENC_BIG_ENDIAN );
index 8d4466bc2bc5d906f6489196a2eb0ffd72372dd6..11f29f87622d6ff8eef86feacc4fadc5eab03a65 100644 (file)
@@ -151,7 +151,7 @@ dissect_arcnet_common (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree,
   SET_ADDRESS(&pinfo->dl_dst,  AT_ARCNET, 1, tvb_get_ptr(tvb, 1, 1));
   SET_ADDRESS(&pinfo->dst,     AT_ARCNET, 1, tvb_get_ptr(tvb, 1, 1));
 
-  ti = proto_tree_add_item (tree, proto_arcnet, tvb, 0, -1, ENC_BIG_ENDIAN);
+  ti = proto_tree_add_item (tree, proto_arcnet, tvb, 0, -1, ENC_NA);
 
   arcnet_tree = proto_item_add_subtree (ti, ett_arcnet);
 
index 547834b55f30fb718e75026d51159169f16c8309..27e5ee520601c03212bf628771b6b4b63dbab2df 100644 (file)
  * modify it under the terms of the GNU General Public License
  * as published by the Free Software Foundation; either version 2
  * of the License, or (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -247,7 +247,7 @@ dissect_armagetronad(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
 
        col_clear(pinfo->cinfo, COL_INFO);
 
-       ti = proto_tree_add_item(tree, proto_armagetronad, tvb, 0, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_armagetronad, tvb, 0, -1, ENC_NA);
        armagetronad_tree = proto_item_add_subtree(ti, ett_armagetronad);
 
        /* For each message in the frame */
index 92ab8cff8bc1a9929c036f6ca80f08d1896be3d2..47ee930896acd951d802eb05f5dd970633d9e35c 100644 (file)
@@ -1369,7 +1369,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
   col_clear(pinfo->cinfo, COL_INFO);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_artnet, tvb, offset, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_artnet, tvb, offset, -1, ENC_NA);
     artnet_tree = proto_item_add_subtree(ti, ett_artnet);
 
     hi = proto_tree_add_item(artnet_tree,
index 824cada3956b945821c5af77ce416491c7331295..fdff22f0026e42047f1cc7f241592bd563e15b53 100644 (file)
@@ -68,7 +68,7 @@ dissect_aruba_adp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_aruba_adp, tvb, 0, 0, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_aruba_adp, tvb, 0, 0, ENC_NA);
     aruba_adp_tree = proto_item_add_subtree(ti, ett_aruba_adp);
 
     proto_tree_add_item(aruba_adp_tree, hf_adp_version, tvb, 0, 2, ENC_BIG_ENDIAN);
index 5f3996d0f096c475e522c328becd2a48aa50cc10..df8690074d3ebea4cd76983696d30c91069a584a 100644 (file)
@@ -75,7 +75,7 @@ dissect_aruba_erm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_set_str(pinfo->cinfo, COL_INFO, PROTO_SHORT_NAME ":");
 
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_aruba_erm, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_aruba_erm, tvb, 0, -1, ENC_NA);
         aruba_erm_tree = proto_item_add_subtree(ti, ett_aruba_erm);
 
         ts.secs = tvb_get_ntohl(tvb, 0);
index fb3ec9c0c95d50a6e8478f0de2a92319a8ce5120..c56a74a4e411ed5dd594bcde6d8acb12f06e8e3c 100644 (file)
@@ -156,7 +156,7 @@ dissect_papi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
 
-               ti = proto_tree_add_item(tree, proto_papi, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_papi, tvb, 0, -1, ENC_NA);
 
                papi_tree = proto_item_add_subtree(ti, ett_papi);
 
index df9f0a9fcfbc185530e67b6950957ef4fca47e5b..93a8421a152d2996a9955dd9863a047b15185fd1 100644 (file)
@@ -167,7 +167,7 @@ dissect_asf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                val_to_str(type, asf_type_vals, "Unknown (0x%02x)"));
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_asf, tvb, 0, 8,ENC_BIG_ENDIAN);
+               ti = proto_tree_add_item(tree, proto_asf, tvb, 0, 8,ENC_NA);
                asf_tree = proto_item_add_subtree(ti, ett_asf);
                proto_tree_add_item(asf_tree, hf_asf_iana, tvb, 0, 4,ENC_BIG_ENDIAN);
                proto_tree_add_item(asf_tree, hf_asf_type, tvb, 4, 1,ENC_BIG_ENDIAN);
index 17642864e7a46d27898181c253a0cb30e7ec5488..54bf8522bc9f04e96e8e5967b89847ce4d9f2661 100644 (file)
@@ -5708,7 +5708,7 @@ static void dissect_r3_message (tvbuff_t *tvb, packet_info *pinfo, proto_tree *t
 
   if (tree)
   {
-    r3_item = proto_tree_add_item (tree, proto_r3, tvb, 0, -1, TRUE);
+    r3_item = proto_tree_add_item (tree, proto_r3, tvb, 0, -1, ENC_NA);
     r3_tree = proto_item_add_subtree (r3_item, ett_r3);
   }
 
index 0e94a25cc39affad27ee94b367e4449bf980b0ff..62aff6aa16cec9790df583320de3055bc1b6267c 100644 (file)
@@ -598,7 +598,7 @@ dissect_rtmp_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
               val_to_str(function, rtmp_function_vals, "Unknown function (%02x)"));
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_rtmp, tvb, 0, 1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_rtmp, tvb, 0, 1, ENC_NA);
     rtmp_tree = proto_item_add_subtree(ti, ett_rtmp);
 
     proto_tree_add_uint(rtmp_tree, hf_rtmp_function, tvb, 0, 1, function);
@@ -632,7 +632,7 @@ dissect_rtmp_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
                net, nodelen_bits, node);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_rtmp, tvb, offset, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_rtmp, tvb, offset, -1, ENC_NA);
     rtmp_tree = proto_item_add_subtree(ti, ett_rtmp);
 
     proto_tree_add_uint(rtmp_tree, hf_rtmp_net, tvb, offset, 2, net);
@@ -710,7 +710,7 @@ dissect_nbp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
     val_to_str(op, nbp_op_vals, "Unknown (0x%01x)"), count);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_nbp, tvb, offset, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_nbp, tvb, offset, -1, ENC_NA);
     nbp_tree = proto_item_add_subtree(ti, ett_nbp);
 
     info_item = proto_tree_add_uint_format(nbp_tree, hf_nbp_info, tvb, offset, 1,
@@ -847,7 +847,7 @@ dissect_atp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
     col_append_str(pinfo->cinfo, COL_INFO, " [fragment]");
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_atp, tvb, offset, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_atp, tvb, offset, -1, ENC_NA);
     atp_tree = proto_item_add_subtree(ti, ett_atp);
     proto_item_set_len(atp_tree, aspinfo.release?8:ATP_HDRSIZE -1);
 
@@ -1192,7 +1192,7 @@ dissect_pap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_clear(pinfo->cinfo, COL_INFO);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_pap, tvb, offset, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_pap, tvb, offset, -1, ENC_NA);
     pap_tree = proto_item_add_subtree(ti, ett_pap);
   }
 
@@ -1335,7 +1335,7 @@ dissect_asp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                  val_to_str_ext(fn, &asp_func_vals_ext, "Unknown (0x%01x)"), aspinfo->seq);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_asp, tvb, offset, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_asp, tvb, offset, -1, ENC_NA);
     asp_tree = proto_item_add_subtree(ti, ett_asp);
   }
   if (!aspinfo->reply) {
@@ -1481,7 +1481,7 @@ dissect_atp_zip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   if (!tree)
     return;
 
-  ti = proto_tree_add_item(tree, proto_zip, tvb, offset, -1, ENC_BIG_ENDIAN);
+  ti = proto_tree_add_item(tree, proto_zip, tvb, offset, -1, ENC_NA);
   zip_tree = proto_item_add_subtree(ti, ett_zip);
 
   if (!aspinfo->reply) {
@@ -1550,7 +1550,7 @@ dissect_ddp_zip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   if (!tree)
     return;
 
-  ti = proto_tree_add_item(tree, proto_zip, tvb, 0, -1, ENC_BIG_ENDIAN);
+  ti = proto_tree_add_item(tree, proto_zip, tvb, 0, -1, ENC_NA);
   zip_tree = proto_item_add_subtree(ti, ett_zip);
 
   proto_tree_add_item(zip_tree, hf_zip_function, tvb, offset, 1,ENC_BIG_ENDIAN);
@@ -1669,7 +1669,7 @@ dissect_ddp_short(tvbuff_t *tvb, packet_info *pinfo, guint8 dnode,
 
   if (tree) {
     ti = proto_tree_add_item(tree, proto_ddp, tvb, 0, DDP_SHORT_HEADER_SIZE,
-                             ENC_BIG_ENDIAN);
+                             ENC_NA);
     ddp_tree = proto_item_add_subtree(ti, ett_ddp);
   }
   len = tvb_get_ntohs(tvb, 0);
@@ -1751,7 +1751,7 @@ dissect_ddp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   if (tree) {
     ti = proto_tree_add_item(tree, proto_ddp, tvb, 0, DDP_HEADER_SIZE,
-                             ENC_BIG_ENDIAN);
+                             ENC_NA);
     ddp_tree = proto_item_add_subtree(ti, ett_ddp);
 
     hidden_item = proto_tree_add_string(ddp_tree, hf_ddp_src, tvb,
@@ -1821,7 +1821,7 @@ dissect_llap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_clear(pinfo->cinfo, COL_INFO);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_llap, tvb, 0, 3, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_llap, tvb, 0, 3, ENC_NA);
     llap_tree = proto_item_add_subtree(ti, ett_llap);
   }
 
index 8ef142beeacc620204894f4facddfbefba903de6..2cfe8727d0e27f3f70a020374a05b45a151d6e82 100644 (file)
@@ -1688,7 +1688,7 @@ dissect_atm_cell(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
   case AAL_1:
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "AAL1");
     col_clear(pinfo->cinfo, COL_INFO);
-    ti = proto_tree_add_item(tree, proto_aal1, tvb, offset, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_aal1, tvb, offset, -1, ENC_NA);
     aal_tree = proto_item_add_subtree(ti, ett_aal1);
     octet = tvb_get_guint8(tvb, offset);
     proto_tree_add_text(aal_tree, tvb, offset, 1, "CSI: %u", octet >> 7);
@@ -1711,7 +1711,7 @@ dissect_atm_cell(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
      */
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "AAL3/4");
     col_clear(pinfo->cinfo, COL_INFO);
-    ti = proto_tree_add_item(tree, proto_aal3_4, tvb, offset, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_aal3_4, tvb, offset, -1, ENC_NA);
     aal_tree = proto_item_add_subtree(ti, ett_aal3_4);
     aal3_4_hdr = tvb_get_ntohs(tvb, offset);
     col_add_fstr(pinfo->cinfo, COL_INFO, "%s, sequence number = %u",
@@ -1745,7 +1745,7 @@ dissect_atm_cell(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
       col_set_str(pinfo->cinfo, COL_PROTOCOL, "OAM AAL");
       col_clear(pinfo->cinfo, COL_INFO);
     }
-    ti = proto_tree_add_item(tree, proto_oamaal, tvb, offset, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_oamaal, tvb, offset, -1, ENC_NA);
     aal_tree = proto_item_add_subtree(ti, ett_oamaal);
     octet = tvb_get_guint8(tvb, offset);
     if (NULL == pwpd || pwpd->enable_fill_columns_by_atm_dissector)
@@ -1842,7 +1842,7 @@ dissect_atm_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
   }
 
   if (tree) {
-    atm_ti = proto_tree_add_item(tree, proto_atm, tvb, 0, -1, ENC_BIG_ENDIAN);
+    atm_ti = proto_tree_add_item(tree, proto_atm, tvb, 0, -1, ENC_NA);
     atm_tree = proto_item_add_subtree(atm_ti, ett_atm);
 
     if (!pseudowire_mode) {
index 4ba1bb3dd1156074d71b9eea6918aae60fcfde5f..1059660e6b4630b369769a4f546954df88baaab2 100644 (file)
@@ -131,7 +131,7 @@ static void dissect_auto_rp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 guint16 holdtime;
 
                 offset = 0;
-                ti = proto_tree_add_item(tree, proto_auto_rp, tvb, offset, -1, ENC_BIG_ENDIAN);
+                ti = proto_tree_add_item(tree, proto_auto_rp, tvb, offset, -1, ENC_NA);
                 auto_rp_tree = proto_item_add_subtree(ti, ett_auto_rp);
 
                 tv = proto_tree_add_text(auto_rp_tree, tvb, offset, 1, "Version: %s, Packet type: %s",
index 9a4fbf254fc777fc80690edf642f25493f8db1d5..549d13ff98c091f49b2037fccbf459f0accd1166 100644 (file)
@@ -51,7 +51,7 @@ dissect_ax4000(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 {
        proto_item *ti;
        proto_tree *ax4000_tree;
-       
+
        guint8  ax_port;
        guint8  ax_chassis;
        guint16 ax_index;
@@ -67,14 +67,14 @@ dissect_ax4000(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        ax_index = tvb_get_ntohs(tvb, 2) & 0x0FFF;
        ax_timestamp = tvb_get_letohl(tvb, 6);
        ax_seq = tvb_get_letohl(tvb, 10);
-       
+
        col_append_fstr(pinfo->cinfo, COL_INFO,
                        "Chss:%u Prt:%u Idx:%u Seq:0x%08x TS:%.6f[msec]",
                        ax_chassis, ax_port, ax_index, ax_seq, ax_timestamp*1e-5);
-       
+
        if (tree) {
                /* create display subtree for the protocol */
-               ti = proto_tree_add_item(tree, proto_ax4000, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_ax4000, tvb, 0, -1, ENC_NA);
 
                ax4000_tree = proto_item_add_subtree(ti, ett_ax4000);
 
index 6941e041de382921d234038c4d850ad0c13febef..857ce4e8ac27a61db5efb511225b815370f03a54 100644 (file)
@@ -7304,7 +7304,7 @@ fEventParameter (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offs
 
                case 7: /* buffer-ready */
                        /* deprecated
-                       while ((tvb_reported_length_remaining(tvb, offset) > 0)&&(offset>lastoffset)) { 
+                       while ((tvb_reported_length_remaining(tvb, offset) > 0)&&(offset>lastoffset)) {
                                lastoffset = offset;
                                switch (fTagNo(tvb, offset)) {
                                case 0:
@@ -7427,7 +7427,7 @@ fEventParameter (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offs
                default:
                        break;
                }
-       
+
        /* Closing tag for parameter choice */
        offset += fTagHeaderTree(tvb, subtree, offset, &tag_no, &tag_info, &lvt);
        return offset;
@@ -9777,7 +9777,7 @@ dissect_bacapp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        save_fragmented = pinfo->fragmented;
 
-       ti = proto_tree_add_item(tree, proto_bacapp, tvb, offset, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_bacapp, tvb, offset, -1, ENC_NA);
        bacapp_tree = proto_item_add_subtree(ti, ett_bacapp);
 
        if (!fragment)
index 7186088dbfae4a4c98ae1f40af34cd02aa911c07..3ca710f537931854a52253e61a7d21d45a5c70ae 100644 (file)
@@ -201,7 +201,7 @@ dissect_bacnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        i = 0;
 
        /* I don't know the length of the NPDU yet; Setting the length after dissection */
-       ti = proto_tree_add_item(tree, proto_bacnet, tvb, 0, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_bacnet, tvb, 0, -1, ENC_NA);
 
        bacnet_tree = proto_item_add_subtree(ti, ett_bacnet);
 
index cc17e03e517b7f117bfe9b750af0d10acd007cf2..d7232a59843c49426cc0ec27a8ace9e2cf0696fd 100644 (file)
@@ -242,7 +242,7 @@ dissect_banana(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
 
     if (tree) {
         /* Create display subtree for the protocol */
-        ti = proto_tree_add_item(tree, proto_banana, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_banana, tvb, 0, -1, ENC_NA);
         banana_tree = proto_item_add_subtree(ti, ett_banana);
 
         offset = 0;
index 32647e963ad727c1fb86679e91cbb5408ccdfbed..2a46690281a8f703225d06f5b900236a255b1ae1 100644 (file)
@@ -271,7 +271,7 @@ static int dissect_bat_batman_v5(tvbuff_t *tvb, int offset, packet_info *pinfo,
                                                            "B.A.T.M.A.N., Orig: %s (%s)",
                                                            get_hostname(orig), ip_to_str(batman_packeth->orig.data));
                } else {
-                       ti = proto_tree_add_item(tree, proto_bat_plugin, tvb, offset, BATMAN_PACKET_V5_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_bat_plugin, tvb, offset, BATMAN_PACKET_V5_SIZE, ENC_NA);
                }
                bat_batman_tree = proto_item_add_subtree(ti, ett_bat_batman);
        }
@@ -348,7 +348,7 @@ static void dissect_bat_hna(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *t
                                                            "B.A.T.M.A.N. HNA: %s/%d",
                                                            tvb_ip_to_str(tvb, 0), hna_netmask);
                } else {
-                       ti = proto_tree_add_item(tree, proto_bat_plugin, tvb, 0, 5, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_bat_plugin, tvb, 0, 5, ENC_NA);
                }
                bat_batman_hna_tree = proto_item_add_subtree(ti, ett_bat_batman_hna);
 
@@ -402,7 +402,7 @@ static void dissect_bat_gw(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                                                            "B.A.T.M.A.N. GW [%s]",
                                                            val_to_str(gw_packeth->type, gw_packettypenames, "Unknown (0x%02x)"));
                } else {
-                       ti = proto_tree_add_item(tree, proto_bat_plugin, tvb, 0, 1, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_bat_plugin, tvb, 0, 1, ENC_NA);
                }
                bat_gw_entry_tree = proto_item_add_subtree(ti, ett_bat_gw);
 
@@ -494,7 +494,7 @@ static void dissect_bat_vis_v22(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t
                                                            "B.A.T.M.A.N. Vis, Src: %s (%s)",
                                                            get_hostname(sender_ip), ip_to_str(vis_packeth->sender_ip.data));
                } else {
-                       ti = proto_tree_add_item(tree, proto_bat_plugin, tvb, 0, VIS_PACKET_V22_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_bat_plugin, tvb, 0, VIS_PACKET_V22_SIZE, ENC_NA);
                }
                bat_vis_tree = proto_item_add_subtree(ti, ett_bat_vis);
 
@@ -570,7 +570,7 @@ static void dissect_vis_entry_v22(tvbuff_t *tvb, packet_info *pinfo _U_, proto_t
                                                            val_to_str(vis_datah->type, vis_packettypenames, "Unknown (0x%02x)"),
                                                            get_hostname(ip), ip_to_str(vis_datah->ip.data));
                } else {
-                       ti = proto_tree_add_item(tree, proto_bat_plugin, tvb, 0, 7, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_bat_plugin, tvb, 0, 7, ENC_NA);
                }
                bat_vis_entry_tree = proto_item_add_subtree(ti, ett_bat_vis_entry);
 
@@ -627,7 +627,7 @@ static void dissect_bat_vis_v23(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t
                                                            "B.A.T.M.A.N. Vis, Src: %s (%s)",
                                                            get_hostname(sender_ip), ip_to_str(vis_packeth->sender_ip.data));
                } else {
-                       ti = proto_tree_add_item(tree, proto_bat_plugin, tvb, 0, VIS_PACKET_V23_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_bat_plugin, tvb, 0, VIS_PACKET_V23_SIZE, ENC_NA);
                }
                bat_vis_tree = proto_item_add_subtree(ti, ett_bat_vis);
 
@@ -703,7 +703,7 @@ static void dissect_vis_entry_v23(tvbuff_t *tvb, packet_info *pinfo _U_, proto_t
                                                            val_to_str(vis_datah->type, vis_packettypenames, "Unknown (0x%02x)"),
                                                            get_hostname(ip), ip_to_str(vis_datah->ip.data));
                } else {
-                       ti = proto_tree_add_item(tree, proto_bat_plugin, tvb, 0, 7, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_bat_plugin, tvb, 0, 7, ENC_NA);
                }
                bat_vis_entry_tree = proto_item_add_subtree(ti, ett_bat_vis_entry);
 
index f6313537a474bf31019feb2419ea0851d6604dca..c9a8e0bd8a6f817ba92b9b9f4c8ebde9822f810c 100644 (file)
@@ -714,7 +714,7 @@ static int dissect_batadv_batman_v5(tvbuff_t *tvb, int offset, packet_info *pinf
                                                            "B.A.T.M.A.N., Orig: %s (%s)",
                                                            get_ether_name(orig_addr), ether_to_str(orig_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, offset, BATMAN_PACKET_V5_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, offset, BATMAN_PACKET_V5_SIZE, ENC_NA);
                }
                batadv_batman_tree = proto_item_add_subtree(ti, ett_batadv_batman);
        }
@@ -822,7 +822,7 @@ static int dissect_batadv_batman_v7(tvbuff_t *tvb, int offset, packet_info *pinf
                                                            "B.A.T.M.A.N., Orig: %s (%s)",
                                                            get_ether_name(orig_addr), ether_to_str(orig_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, offset, BATMAN_PACKET_V7_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, offset, BATMAN_PACKET_V7_SIZE, ENC_NA);
                }
                batadv_batman_tree = proto_item_add_subtree(ti, ett_batadv_batman);
        }
@@ -924,7 +924,7 @@ static int dissect_batadv_batman_v9(tvbuff_t *tvb, int offset, packet_info *pinf
                                                            "B.A.T.M.A.N., Orig: %s (%s)",
                                                            get_ether_name(orig_addr), ether_to_str(orig_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, offset, BATMAN_PACKET_V9_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, offset, BATMAN_PACKET_V9_SIZE, ENC_NA);
                }
                batadv_batman_tree = proto_item_add_subtree(ti, ett_batadv_batman);
        }
@@ -1034,7 +1034,7 @@ static int dissect_batadv_batman_v10(tvbuff_t *tvb, int offset, packet_info *pin
                                                            "B.A.T.M.A.N., Orig: %s (%s)",
                                                            get_ether_name(orig_addr), ether_to_str(orig_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, offset, BATMAN_PACKET_V10_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, offset, BATMAN_PACKET_V10_SIZE, ENC_NA);
                }
                batadv_batman_tree = proto_item_add_subtree(ti, ett_batadv_batman);
        }
@@ -1143,7 +1143,7 @@ static int dissect_batadv_batman_v11(tvbuff_t *tvb, int offset, packet_info *pin
                                                            "B.A.T.M.A.N., Orig: %s (%s)",
                                                            get_ether_name(orig_addr), ether_to_str(orig_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, offset, BATMAN_PACKET_V11_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, offset, BATMAN_PACKET_V11_SIZE, ENC_NA);
                }
                batadv_batman_tree = proto_item_add_subtree(ti, ett_batadv_batman);
        }
@@ -1249,7 +1249,7 @@ static int dissect_batadv_batman_v14(tvbuff_t *tvb, int offset, packet_info *pin
                                                            "B.A.T.M.A.N., Orig: %s (%s)",
                                                            get_ether_name(orig_addr), ether_to_str(orig_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, offset, BATMAN_PACKET_V14_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, offset, BATMAN_PACKET_V14_SIZE, ENC_NA);
                }
                batadv_batman_tree = proto_item_add_subtree(ti, ett_batadv_batman);
        }
@@ -1342,7 +1342,7 @@ static void dissect_batadv_tt(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree
                                                            "B.A.T.M.A.N. TT: %s (%s)",
                                                            get_ether_name(tt), ether_to_str(tt));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, 6, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, 6, ENC_NA);
                }
                batadv_batman_tt_tree = proto_item_add_subtree(ti, ett_batadv_batman_tt);
        }
@@ -1410,7 +1410,7 @@ static void dissect_batadv_bcast_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tre
                                                            "B.A.T.M.A.N. Bcast, Orig: %s (%s)",
                                                            get_ether_name(orig_addr), ether_to_str(orig_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, BCAST_PACKET_V6_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, BCAST_PACKET_V6_SIZE, ENC_NA);
                }
                batadv_bcast_tree = proto_item_add_subtree(ti, ett_batadv_bcast);
        }
@@ -1477,7 +1477,7 @@ static void dissect_batadv_bcast_v10(tvbuff_t *tvb, packet_info *pinfo, proto_tr
                                                            "B.A.T.M.A.N. Bcast, Orig: %s (%s)",
                                                            get_ether_name(orig_addr), ether_to_str(orig_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, BCAST_PACKET_V10_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, BCAST_PACKET_V10_SIZE, ENC_NA);
                }
                batadv_bcast_tree = proto_item_add_subtree(ti, ett_batadv_bcast);
        }
@@ -1548,7 +1548,7 @@ static void dissect_batadv_bcast_v14(tvbuff_t *tvb, packet_info *pinfo, proto_tr
                                                            "B.A.T.M.A.N. Bcast, Orig: %s (%s)",
                                                            get_ether_name(orig_addr), ether_to_str(orig_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, BCAST_PACKET_V14_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, BCAST_PACKET_V14_SIZE, ENC_NA);
                }
                batadv_bcast_tree = proto_item_add_subtree(ti, ett_batadv_bcast);
        }
@@ -1657,7 +1657,7 @@ static void dissect_batadv_icmp_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree
                                                            "B.A.T.M.A.N. ICMP, Orig: %s (%s), Dst: %s (%s)",
                                                            get_ether_name(orig_addr), ether_to_str(orig_addr), get_ether_name(dst_addr), ether_to_str(dst_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, ICMP_PACKET_V6_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, ICMP_PACKET_V6_SIZE, ENC_NA);
                }
                batadv_icmp_tree = proto_item_add_subtree(ti, ett_batadv_icmp);
        }
@@ -1766,7 +1766,7 @@ static void dissect_batadv_icmp_v7(tvbuff_t *tvb, packet_info *pinfo, proto_tree
                                                                "B.A.T.M.A.N. ICMP, Orig: %s (%s), Dst: %s (%s)",
                                                                get_ether_name(orig_addr), ether_to_str(orig_addr), get_ether_name(dst_addr), ether_to_str(dst_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, ICMP_PACKET_V7_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, ICMP_PACKET_V7_SIZE, ENC_NA);
                }
                batadv_icmp_tree = proto_item_add_subtree(ti, ett_batadv_icmp);
        }
@@ -1857,7 +1857,7 @@ static void dissect_batadv_icmp_v14(tvbuff_t *tvb, packet_info *pinfo, proto_tre
                                                                "B.A.T.M.A.N. ICMP, Orig: %s (%s), Dst: %s (%s)",
                                                                get_ether_name(orig_addr), ether_to_str(orig_addr), get_ether_name(dst_addr), ether_to_str(dst_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, ICMP_PACKET_V14_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, ICMP_PACKET_V14_SIZE, ENC_NA);
                }
                batadv_icmp_tree = proto_item_add_subtree(ti, ett_batadv_icmp);
        }
@@ -1973,7 +1973,7 @@ static void dissect_batadv_unicast_v6(tvbuff_t *tvb, packet_info *pinfo, proto_t
                                                            "B.A.T.M.A.N. Unicast, Dst: %s (%s)",
                                                            get_ether_name(dest_addr), ether_to_str(dest_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, UNICAST_PACKET_V6_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, UNICAST_PACKET_V6_SIZE, ENC_NA);
                }
                batadv_unicast_tree = proto_item_add_subtree(ti, ett_batadv_unicast);
        }
@@ -2040,7 +2040,7 @@ static void dissect_batadv_unicast_v14(tvbuff_t *tvb, packet_info *pinfo, proto_
                                                            "B.A.T.M.A.N. Unicast, Dst: %s (%s)",
                                                            get_ether_name(dest_addr), ether_to_str(dest_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, UNICAST_PACKET_V14_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, UNICAST_PACKET_V14_SIZE, ENC_NA);
                }
                batadv_unicast_tree = proto_item_add_subtree(ti, ett_batadv_unicast);
        }
@@ -2142,7 +2142,7 @@ static void dissect_batadv_unicast_frag_v12(tvbuff_t *tvb, packet_info *pinfo, p
                                                            "B.A.T.M.A.N. Unicast Fragment, Dst: %s (%s)",
                                                            get_ether_name(dest_addr), ether_to_str(dest_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, UNICAST_FRAG_PACKET_V12_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, UNICAST_FRAG_PACKET_V12_SIZE, ENC_NA);
                }
                batadv_unicast_frag_tree = proto_item_add_subtree(ti, ett_batadv_unicast_frag);
        }
@@ -2247,7 +2247,7 @@ static void dissect_batadv_unicast_frag_v14(tvbuff_t *tvb, packet_info *pinfo, p
                                                            "B.A.T.M.A.N. Unicast Fragment, Dst: %s (%s)",
                                                            get_ether_name(dest_addr), ether_to_str(dest_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, UNICAST_FRAG_PACKET_V14_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, UNICAST_FRAG_PACKET_V14_SIZE, ENC_NA);
                }
                batadv_unicast_frag_tree = proto_item_add_subtree(ti, ett_batadv_unicast_frag);
        }
@@ -2386,7 +2386,7 @@ static void dissect_batadv_vis_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree
                                                            "B.A.T.M.A.N. Vis, Orig: %s (%s)",
                                                            get_ether_name(vis_orig_addr), ether_to_str(vis_orig_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, VIS_PACKET_V6_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, VIS_PACKET_V6_SIZE, ENC_NA);
                }
                batadv_vis_tree = proto_item_add_subtree(ti, ett_batadv_vis);
        }
@@ -2515,7 +2515,7 @@ static void dissect_batadv_vis_v10(tvbuff_t *tvb, packet_info *pinfo, proto_tree
                                                            "B.A.T.M.A.N. Vis, Orig: %s (%s)",
                                                            get_ether_name(vis_orig_addr), ether_to_str(vis_orig_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, VIS_PACKET_V10_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, VIS_PACKET_V10_SIZE, ENC_NA);
                }
                batadv_vis_tree = proto_item_add_subtree(ti, ett_batadv_vis);
        }
@@ -2620,7 +2620,7 @@ static void dissect_batadv_vis_v14(tvbuff_t *tvb, packet_info *pinfo, proto_tree
                                                            "B.A.T.M.A.N. Vis, Orig: %s (%s)",
                                                            get_ether_name(vis_orig_addr), ether_to_str(vis_orig_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, VIS_PACKET_V14_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, VIS_PACKET_V14_SIZE, ENC_NA);
                }
                batadv_vis_tree = proto_item_add_subtree(ti, ett_batadv_vis);
        }
@@ -2703,7 +2703,7 @@ static void dissect_vis_entry_v6(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tr
                                                            "VIS Entry: %s (%s)",
                                                            get_ether_name(dst), ether_to_str(dst));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, VIS_ENTRY_V6_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, VIS_ENTRY_V6_SIZE, ENC_NA);
                }
                batadv_vis_entry_tree = proto_item_add_subtree(ti, ett_batadv_vis_entry);
        }
@@ -2728,7 +2728,7 @@ static void dissect_vis_entry_v8(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tr
                                                            "VIS Entry: %s (%s)",
                                                            get_ether_name(dst), ether_to_str(dst));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, VIS_ENTRY_V8_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, VIS_ENTRY_V8_SIZE, ENC_NA);
                }
                batadv_vis_entry_tree = proto_item_add_subtree(ti, ett_batadv_vis_entry);
        }
@@ -2806,7 +2806,7 @@ static void dissect_batadv_tt_query_v14(tvbuff_t *tvb, packet_info *pinfo _U_, p
                                                            "B.A.T.M.A.N. TT Query, Dst: %s (%s)",
                                                            get_ether_name(dst_addr), ether_to_str(dst_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, TT_QUERY_PACKET_V14_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, TT_QUERY_PACKET_V14_SIZE, ENC_NA);
                }
                batadv_tt_query_tree = proto_item_add_subtree(ti, ett_batadv_tt_query);
        }
@@ -2902,7 +2902,7 @@ static void dissect_tt_entry_v14(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tr
                                                            "TT Entry: %s (%s)",
                                                            get_ether_name(entry), ether_to_str(entry));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, TT_ENTRY_V14_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, TT_ENTRY_V14_SIZE, ENC_NA);
                }
                batadv_tt_entry_tree = proto_item_add_subtree(ti, ett_batadv_tt_entry);
        }
@@ -2968,7 +2968,7 @@ static void dissect_batadv_roam_adv_v14(tvbuff_t *tvb, packet_info *pinfo, proto
                                                            "B.A.T.M.A.N. Roam: %s (%s)",
                                                            get_ether_name(client_addr), ether_to_str(client_addr));
                } else {
-                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, ROAM_ADV_PACKET_V14_SIZE, ENC_BIG_ENDIAN);
+                       ti = proto_tree_add_item(tree, proto_batadv_plugin, tvb, 0, ROAM_ADV_PACKET_V14_SIZE, ENC_NA);
                }
                batadv_roam_adv_tree = proto_item_add_subtree(ti, ett_batadv_roam_adv);
        }
index 02575453f7d41060708cb1df64aaf9a9f11a7f8e..d0982b2bd049fbc651f2e76a208c9d315cc4df36 100644 (file)
@@ -26,7 +26,7 @@
  *
  * Ref ITU-T Rec. Q.1990 (07/2001)
  */
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -70,16 +70,16 @@ static const value_string bvei_vals[] = {
 
 
 static void dissect_bctp(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree) {
-       proto_item* pi = proto_tree_add_item(tree, proto_bctp, tvb,0,2, FALSE);
+       proto_item* pi = proto_tree_add_item(tree, proto_bctp, tvb,0,2, ENC_NA);
        proto_tree* pt = proto_item_add_subtree(pi,ett_bctp);
        tvbuff_t* sub_tvb = tvb_new_subset_remaining(tvb, 2);
        guint8 tpi = tvb_get_guint8(tvb,1) & 0x3f;
-       
+
        proto_tree_add_item(pt, hf_bctp_bvei, tvb,0,2, ENC_BIG_ENDIAN);
        proto_tree_add_item(pt, hf_bctp_bvi, tvb,0,2, ENC_BIG_ENDIAN);
        proto_tree_add_item(pt, hf_bctp_tpei, tvb,0,2, ENC_BIG_ENDIAN);
        proto_tree_add_item(pt, hf_bctp_tpi, tvb,0,2, ENC_BIG_ENDIAN);
-       
+
        if ( dissector_try_uint(bctp_dissector_table, tpi, sub_tvb, pinfo, tree) ) {
                return;
        } else if (tpi <= 0x22) {
index f84ad04692ba2d4428c3aef0cd0f78df7b22882c..e91270c3c459ee813f575adcaaa413412efcf391 100644 (file)
@@ -888,7 +888,7 @@ dissect_beep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
 
   /* "tvb_format_text()" is passed a value that won't go past the end
-   * of the packet, so it won't throw an exception. 
+   * of the packet, so it won't throw an exception.
    */
    col_add_str(pinfo->cinfo, COL_INFO, tvb_format_text(tvb, offset, tvb_length_remaining(tvb, offset)));
 
@@ -904,7 +904,7 @@ dissect_beep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   if (tree) {  /* Build the tree info ... */
 
-    ti = proto_tree_add_item(tree, proto_beep, tvb, offset, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_beep, tvb, offset, -1, ENC_NA);
 
     beep_tree = proto_item_add_subtree(ti, ett_beep);
 
index 7b1a9db7298ac8c1a1eabe926996f0c7c8abd182..6429bf97c4e5fe07daff91cd5a6605f0ec3695e6 100644 (file)
@@ -449,7 +449,7 @@ static gint bgp_asn_len = 0;
  * Detect IPv4 prefixes  conform to BGP Additional Path but NOT conform to standard BGP
  *
  * A real BGP speaker would rely on the BGP Additional Path in the BGP Open messages.
- * But it is not suitable for a packet analyse because the BGP sessions are not supposed to 
+ * But it is not suitable for a packet analyse because the BGP sessions are not supposed to
  * restart very often, and Open messages from both sides of the session would be needed
  * to determine the result of the capability negociation.
  * Code inspired from the decode_prefix4 function
@@ -1261,7 +1261,7 @@ decode_prefix_MP(proto_tree *tree, int hf_addr4, int hf_addr6,
                 plen =  tvb_get_ntohs(tvb,offset);
                 rd_type=tvb_get_ntohs(tvb,offset+2);
 
-                /* RFC6074 Section 7 BGP-AD and VPLS-BGP Interoperability 
+                /* RFC6074 Section 7 BGP-AD and VPLS-BGP Interoperability
                    Both BGP-AD and VPLS-BGP [RFC4761] use the same AFI/SAFI.  In order
                    for both BGP-AD and VPLS-BGP to co-exist, the NLRI length must be
                    used as a demultiplexer.
@@ -1736,7 +1736,7 @@ dissect_bgp_update(tvbuff_t *tvb, proto_tree *tree)
         if( detect_add_path_prefix4(tvb, o, end) ) {
             /* IPv4 prefixes with Path Id */
             while (o < end) {
-                i = decode_path_prefix4(subtree, hf_bgp_nlri_path_id, hf_bgp_withdrawn_prefix, tvb, o, 
+                i = decode_path_prefix4(subtree, hf_bgp_nlri_path_id, hf_bgp_withdrawn_prefix, tvb, o,
                     "Withdrawn route");
                 if (i < 0)
                     return;
@@ -1835,13 +1835,13 @@ dissect_bgp_update(tvbuff_t *tvb, proto_tree *tree)
                                 length = tvb_get_guint8(tvb, k++);
 
                                 /* Check for invalid ASN */
-                                for (d = 0; d < length; d++) 
+                                for (d = 0; d < length; d++)
                                 {
                                     if(tvb_get_ntohs(tvb, k) == 0)
                                         asn_is_null = 1;
                                     k += 2;
                                 }
-                            }                        
+                            }
                             if(k != end || unknown_segment_type || asn_is_null)
                                 asn_len = 4;
                         }
@@ -2775,7 +2775,7 @@ dissect_bgp_update(tvbuff_t *tvb, proto_tree *tree)
             if( detect_add_path_prefix4(tvb, o, end) ) {
                 /* IPv4 prefixes with Path Id */
                 while (o < end) {
-                    i = decode_path_prefix4(subtree, hf_bgp_nlri_path_id, hf_bgp_nlri_prefix, tvb, o, 
+                    i = decode_path_prefix4(subtree, hf_bgp_nlri_path_id, hf_bgp_nlri_prefix, tvb, o,
                                             "NLRI");
                     if (i < 0)
                        return;
@@ -3001,7 +3001,7 @@ dissect_bgp_pdu(tvbuff_t *volatile tvb, packet_info *pinfo, proto_tree *tree,
         col_append_fstr(pinfo->cinfo, COL_INFO, ", %s", typ);
 
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_bgp, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_bgp, tvb, 0, -1, ENC_NA);
         proto_item_append_text(ti, " - %s", typ);
 
         /* add a different tree for each message type */
@@ -3131,7 +3131,7 @@ dissect_bgp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
      * If we skipped any bytes, mark it as a BGP continuation.
      */
     if (offset > 0) {
-        ti = proto_tree_add_item(tree, proto_bgp, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_bgp, tvb, 0, -1, ENC_NA);
         bgp_tree = proto_item_add_subtree(ti, ett_bgp);
 
         proto_tree_add_text(bgp_tree, tvb, 0, offset, "Continuation");
index 725bc8ff38fbddb754b456bdea067d2ee8722983..ee15317f50e44e7120e638471cec453fbf66eea9 100644 (file)
@@ -797,7 +797,7 @@ static void dissect_bittorrent_tcp_pdu (tvbuff_t *tvb, packet_info *pinfo, proto
 
    col_set_str(pinfo->cinfo, COL_INFO, "BitTorrent ");
 
-   ti = proto_tree_add_item (tree, proto_bittorrent, tvb, 0, -1, ENC_BIG_ENDIAN);
+   ti = proto_tree_add_item (tree, proto_bittorrent, tvb, 0, -1, ENC_NA);
    tree = proto_item_add_subtree(ti, ett_bittorrent);
 
    if (tvb_get_guint8(tvb, 0) == 19 &&
index 0d872e620bb4e24eab601634a0ab17df370505e0..40c40c5056984e2f1ffc60b373ac57de8621d292 100644 (file)
  * modify it under the terms of the GNU General Public License
  * as published by the Free Software Foundation; either version 2
  * of the License, or (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -73,7 +73,7 @@ dissect_bofl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_clear(pinfo->cinfo, COL_INFO);
 
     if (tree) {
-       ti = proto_tree_add_item(tree, proto_bofl, tvb, 0, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_bofl, tvb, 0, -1, ENC_NA);
        bofl_tree = proto_item_add_subtree(ti, ett_bofl);
     }
 
index 7c4cebbafc5528f8f3c73ed698815d9059738258..4ca3d88853c856317104176fcf3c0901b3de0d75 100644 (file)
@@ -4643,7 +4643,7 @@ dissect_bootp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         * OK, now build the protocol tree.
         */
 
-       ti = proto_tree_add_item(tree, proto_bootp, tvb, 0, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_bootp, tvb, 0, -1, ENC_NA);
        bp_tree = proto_item_add_subtree(ti, ett_bootp);
 
        proto_tree_add_uint(bp_tree, hf_bootp_type, tvb,
index 0a33aa313fdeee9f3e29d06b611325f0895f37a9..bbbd6d6c2b7bb1278d9d486f02ff9a914c8db353 100644 (file)
@@ -155,7 +155,7 @@ dissect_brp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     if (tree) { /* we are being asked for details */
 
         /* Here we add our tree/subtree so we can have a collapsible branch. */
-        brp_item = proto_tree_add_item( tree, proto_brp, tvb, 0, -1, ENC_BIG_ENDIAN );
+        brp_item = proto_tree_add_item( tree, proto_brp, tvb, 0, -1, ENC_NA );
         brp_tree = proto_item_add_subtree( brp_item, ett_brp);
 
         /* We use tvb_get_guint8 to get our type value out. */
@@ -394,7 +394,7 @@ void proto_register_brp (void)
     proto_brp = proto_register_protocol ("BRP Protocol", "BRP", "brp");
     proto_register_field_array (proto_brp, hf, array_length (hf));
     proto_register_subtree_array (ett, array_length (ett));
-    
+
     /* Register preferences module */
     brp_module = prefs_register_protocol(proto_brp, proto_reg_handoff_brp);
 
index ef6431158d337dc8a9fd648ea53609ae458a3c5e..f071c3fa1c78cc669920c5effbf8bbda1b9b3504 100644 (file)
@@ -605,7 +605,7 @@ dissect_bssap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     /*
      * create the bssap protocol tree
      */
-    hidden_item = proto_tree_add_item(tree, proto_bssap, tvb, 0, -1, ENC_BIG_ENDIAN);
+    hidden_item = proto_tree_add_item(tree, proto_bssap, tvb, 0, -1, ENC_NA);
     PROTO_ITEM_SET_HIDDEN(hidden_item);
     bssap_item = proto_tree_add_text(tree, tvb, 0, -1, (bssap_or_bsap_global == BSSAP) ? "BSSAP" : "BSAP");
     bssap_tree = proto_item_add_subtree(bssap_item, ett_bssap);
@@ -1647,7 +1647,7 @@ static void dissect_bssap_plus(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr
         pinfo->sccp_info->data.co.assoc->payload = SCCP_PLOAD_BSSAP;
 
     /* create the BSSAP+ protocol tree */
-    bssap_item = proto_tree_add_item(tree, proto_bssap, tvb, 0, -1, ENC_BIG_ENDIAN);
+    bssap_item = proto_tree_add_item(tree, proto_bssap, tvb, 0, -1, ENC_NA);
     bssap_tree = proto_item_add_subtree(bssap_item, ett_bssap);
 
     message_type = tvb_get_guint8(tvb,offset);
index 51babb08ca1f9c8b47a1e65cabad3ed136bf2b8c..74679b70cc1f7e9f501feaab2b04a342320a220f 100644 (file)
@@ -348,7 +348,7 @@ dissect_bt_utp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   if(tree)
   {
     proto_item *ti;
-    ti = proto_tree_add_item(tree, proto_bt_utp, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_bt_utp, tvb, 0, -1, ENC_NA);
     sub_tree = proto_item_add_subtree(ti, ett_bt_utp);
   }
 
index 5a2b06ac0d14d1c54e5c74e792e6e5e30da5b3d5..f651f1a25f6030e645f289f404b07feb14c9c388 100644 (file)
@@ -410,7 +410,7 @@ static int dissect_btamp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     }
 
     if(tree){
-        ti=proto_tree_add_item(tree, proto_btamp, tvb, offset, -1, FALSE);
+        ti=proto_tree_add_item(tree, proto_btamp, tvb, offset, -1, ENC_NA);
         btamp_tree=proto_item_add_subtree(ti, ett_btamp);
     }
 
index 5ce2f452d36125a7512ea442fbf8f8c8f1e5594f..0e03baa1c9096365117090ebfac8e2adac31446d 100644 (file)
@@ -106,7 +106,7 @@ dissect_btacl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "HCI_ACL");
 
        if(tree){
-               ti=proto_tree_add_item(tree, proto_btacl, tvb, offset, -1, ENC_BIG_ENDIAN);
+               ti=proto_tree_add_item(tree, proto_btacl, tvb, offset, -1, ENC_NA);
                btacl_tree = proto_item_add_subtree(ti, ett_btacl);
        }
 
index 94d55ba7aa21c11de10adfe0f864b6380631a696..769220dc4d014c90482daa9d5526f18555c57e8c 100644 (file)
@@ -1896,7 +1896,7 @@ dissect_bthci_cmd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        proto_tree *opcode_tree;
 
        if(tree){
-               ti_cmd = proto_tree_add_item(tree, proto_bthci_cmd, tvb, offset, -1, ENC_BIG_ENDIAN);
+               ti_cmd = proto_tree_add_item(tree, proto_bthci_cmd, tvb, offset, -1, ENC_NA);
                bthci_cmd_tree = proto_item_add_subtree(ti_cmd, ett_bthci_cmd);
        }
 
index 9dd780f02e58eb8da4f25d616e274caab683e22b..f3497d50b09c1b35f700b0e6b8cc96df4d2ac4ef 100644 (file)
@@ -2311,7 +2311,7 @@ dissect_bthci_evt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        int offset=0;
 
        if(tree){
-               ti=proto_tree_add_item(tree, proto_bthci_evt, tvb, offset, -1, ENC_BIG_ENDIAN);
+               ti=proto_tree_add_item(tree, proto_bthci_evt, tvb, offset, -1, ENC_NA);
                bthci_evt_tree=proto_item_add_subtree(ti, ett_bthci_evt);
        }
 
index 773cf1d2086b9945b2bc216454d94f0b52d1268a..9072ff88f714325e4b03168f161aa4ae607fccab 100644 (file)
  * modify it under the terms of the GNU General Public License
  * as published by the Free Software Foundation; either version 2
  * of the License, or (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -46,16 +46,16 @@ static gint ett_btsco = -1;
 
 
 /* Code to actually dissect the packets */
-static void 
+static void
 dissect_btsco(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
 {
   proto_item *ti;
   proto_tree *btsco_tree;
   int offset=0;
 
-  ti = proto_tree_add_item(tree, proto_btsco, tvb, offset, -1, FALSE);
+  ti = proto_tree_add_item(tree, proto_btsco, tvb, offset, -1, ENC_NA);
   btsco_tree = proto_item_add_subtree(ti, ett_btsco);
-  
+
 
   proto_tree_add_item(btsco_tree, hf_btsco_chandle, tvb, offset, 2, ENC_LITTLE_ENDIAN);
   offset+=2;
@@ -69,21 +69,21 @@ dissect_btsco(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
 
 void
 proto_register_btsco(void)
-{                 
+{
        static hf_register_info hf[] = {
                { &hf_btsco_chandle,
                        { "Connection Handle",           "bthci_sco.chandle",
-                       FT_UINT16, BASE_HEX, NULL, 0x0FFF,          
+                       FT_UINT16, BASE_HEX, NULL, 0x0FFF,
                        NULL, HFILL }
                },
                { &hf_btsco_length,
                        { "Data Total Length",           "bthci_sco.length",
-                       FT_UINT8, BASE_DEC, NULL, 0x0,          
+                       FT_UINT8, BASE_DEC, NULL, 0x0,
                        NULL, HFILL }
                },
                { &hf_btsco_data,
                        { "Data",           "bthci_sco.data",
-                       FT_NONE, BASE_NONE, NULL, 0x0,          
+                       FT_NONE, BASE_NONE, NULL, 0x0,
                        NULL, HFILL }
                },
        };
@@ -103,7 +103,7 @@ proto_register_btsco(void)
 }
 
 
-void 
+void
 proto_reg_handoff_btsco(void)
 {
        dissector_handle_t bthci_sco_handle;
index 0d27b260fcf8922bda596aad9e96f3f4cb1ae0d3..4e565a48811726d6aa9e0c1c743dcba2d00848bd 100644 (file)
@@ -1116,7 +1116,7 @@ dissect_btl2cap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        if(tree){
-               ti=proto_tree_add_item(tree, proto_btl2cap, tvb, offset, -1, FALSE);
+               ti=proto_tree_add_item(tree, proto_btl2cap, tvb, offset, -1, ENC_NA);
                btl2cap_tree=proto_item_add_subtree(ti, ett_btl2cap);
        }
 
index 60efbc56d5619005997fdf57c150cefdd99481a7..22e9084bf164700d1c717e16a5ebe7a1985d5d66 100644 (file)
@@ -481,7 +481,7 @@ dissect_btobex(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                /* fully dissectable packet ready */
                col_set_str(pinfo->cinfo, COL_PROTOCOL, "OBEX");
 
-               ti = proto_tree_add_item(tree, proto_btobex, next_tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_btobex, next_tvb, 0, -1, ENC_NA);
                st = proto_item_add_subtree(ti, ett_btobex);
 
                /* op/response code */
index 6a7a20fd7eccd2e4e36fcdc33efe7b752d53d338..3ad37dfbd632b4efaa20414d8396759c45da94dd 100644 (file)
@@ -505,7 +505,7 @@ dissect_btrfcomm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        guint16 frame_len;
        dlci_state_t *dlci_state = NULL;
 
-       ti = proto_tree_add_item(tree, proto_btrfcomm, tvb, offset, -1, ENC_LITTLE_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_btrfcomm, tvb, offset, -1, ENC_NA);
        rfcomm_tree = proto_item_add_subtree(ti, ett_btrfcomm);
 
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "RFCOMM");
@@ -840,7 +840,7 @@ dissect_bthf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "HANDSFREE");
 
-       ti = proto_tree_add_item(tree, proto_bthf, tvb, 0, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_bthf, tvb, 0, -1, ENC_NA);
        st = proto_item_add_subtree(ti, ett_bthf);
 
        col_add_fstr(pinfo->cinfo, COL_INFO, "%s \"%s\"",
@@ -896,7 +896,7 @@ dissect_btdun(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "DUN");
 
-       ti = proto_tree_add_item(tree, proto_btdun, tvb, 0, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_btdun, tvb, 0, -1, ENC_NA);
        st = proto_item_add_subtree(ti, ett_btdun);
 
        is_at_cmd = TRUE;
@@ -972,7 +972,7 @@ dissect_btspp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "SPP");
 
-       ti = proto_tree_add_item(tree, proto_btspp, tvb, 0, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_btspp, tvb, 0, -1, ENC_NA);
        st = proto_item_add_subtree(ti, ett_btspp);
 
        length = MIN(length,60);
index c6f966e640c9e115863568861cc6b3451bbbf10b..a0989811f1c4d7bc087cc82142f59198ae29ccab 100644 (file)
@@ -865,7 +865,7 @@ dissect_btsdp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "SDP");
 
-       ti = proto_tree_add_item(tree, proto_btsdp, tvb, 0, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_btsdp, tvb, 0, -1, ENC_NA);
        st = proto_item_add_subtree(ti, ett_btsdp);
 
        /* pdu id */
index b04c5043e2ff3bfa41221a43075985f5a918ac9b..7fff6c5d0a19ea50258a890882b7b9d907f9e2be 100644 (file)
@@ -170,7 +170,7 @@ dissect_bvlc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                        return tvb_reported_length(tvb);        /* XXX - reject? */
                }
                ti = proto_tree_add_item(tree, proto_bvlc, tvb, 0,
-                       bvlc_length, FALSE);
+                       bvlc_length, ENC_NA);
                bvlc_tree = proto_item_add_subtree(ti, ett_bvlc);
                proto_tree_add_uint(bvlc_tree, hf_bvlc_type, tvb, offset, 1,
                        bvlc_type);
@@ -180,10 +180,10 @@ dissect_bvlc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                offset ++;
                if (length_remaining != packet_length)
                        proto_tree_add_uint_format_value(bvlc_tree, hf_bvlc_length, tvb, offset,
-                               2, bvlc_length, 
+                               2, bvlc_length,
                                "%d of %d bytes (invalid length - expected %d bytes)",
                                bvlc_length, packet_length, length_remaining);
-               else            
+               else
                        proto_tree_add_uint_format_value(bvlc_tree, hf_bvlc_length, tvb, offset,
                                2, bvlc_length, "%d of %d bytes BACnet packet length",
                                bvlc_length, packet_length);
@@ -206,7 +206,7 @@ dissect_bvlc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                case 0x03: /* Read-Broadcast-Distribution-Table-Ack */
                        /* List of BDT Entries: N*10-octet */
                        ti_bdt = proto_tree_add_item(bvlc_tree, proto_bvlc, tvb,
-                               offset, bvlc_length-4, FALSE);
+                               offset, bvlc_length-4, ENC_NA);
                        bdt_tree = proto_item_add_subtree(ti_bdt, ett_bdt);
                        /* List of BDT Entries: N*10-octet */
                        while ((bvlc_length - offset) > 9) {
@@ -246,7 +246,7 @@ dissect_bvlc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                         * the registrant's FDT entry if no re-registration occurs.
                         */
                        ti_fdt = proto_tree_add_item(bvlc_tree, proto_bvlc, tvb,
-                               offset, bvlc_length -4, FALSE);
+                               offset, bvlc_length -4, ENC_NA);
                        fdt_tree = proto_item_add_subtree(ti_fdt, ett_fdt);
                        /* List of FDT Entries: N*10-octet */
                        while ((bvlc_length - offset) > 9) {
@@ -424,7 +424,7 @@ proto_reg_handoff_bvlc(void)
        static gboolean bvlc_initialized = FALSE;
        static dissector_handle_t bvlc_handle;
        static guint additional_bvlc_udp_port;
-       
+
        if (!bvlc_initialized)
        {
                bvlc_handle = find_dissector("bvlc");
index ad4ab682257ecff8e2a9ade12745ddb11f16a597..ab6a87183187f4436c947846390ee588efca427b 100644 (file)
@@ -124,7 +124,7 @@ dissect_calcappprotocol(tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *t
      necessary to generate protocol tree items. */
   if (tree) {
     /* create the calcappprotocol protocol tree */
-    calcappprotocol_item = proto_tree_add_item(tree, proto_calcappprotocol, message_tvb, 0, -1, ENC_BIG_ENDIAN);
+    calcappprotocol_item = proto_tree_add_item(tree, proto_calcappprotocol, message_tvb, 0, -1, ENC_NA);
     calcappprotocol_tree = proto_item_add_subtree(calcappprotocol_item, ett_calcappprotocol);
   } else {
     calcappprotocol_tree = NULL;
index fc84d27cd6f24288d9b6c5f058415b770b9e723f..cf9a0ef7ecbeb92e8c75671a9ae866cc8b06e982 100644 (file)
@@ -37,8 +37,8 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  * References: ETSI 300 374
  */
-/* 
- * Indentation logic: this file is indented with 2 spaces indentation. 
+/*
+ * Indentation logic: this file is indented with 2 spaces indentation.
  *                    there are no tabs.
  */
 #ifdef HAVE_CONFIG_H
@@ -82,7 +82,7 @@ static guint32 errorCode=0;
 /* ROSE context */
 static rose_ctx_t camel_rose_ctx;
 
-static int hf_digit = -1; 
+static int hf_digit = -1;
 static int hf_camel_extension_code_local = -1;
 static int hf_camel_error_code_local = -1;
 static int hf_camel_cause_indicator = -1;
@@ -872,8 +872,8 @@ static const value_string digit_value[] = {
     { 12, "spare"},
     { 13, "spare"},
     { 0,  NULL}};
-  
-  
+
+
 static const value_string camel_nature_of_addr_indicator_values[] = {
   {   0x00,  "unknown" },
   {   0x01,  "International Number" },
@@ -1233,7 +1233,7 @@ static char camel_number_to_char(int number)
 
 /*
  * 24.011 8.2.5.4
- */   
+ */
 static guint8
 dissect_RP_cause_ie(tvbuff_t *tvb, guint32 offset, _U_ guint len,
                    proto_tree *tree, int hf_cause_value, guint8 *cause_value)
@@ -1241,21 +1241,21 @@ dissect_RP_cause_ie(tvbuff_t *tvb, guint32 offset, _U_ guint len,
   guint8       oct;
   guint32      curr_offset;
   static char a_bigbuf[1024];
-  
+
   curr_offset = offset;
   oct = tvb_get_guint8(tvb, curr_offset);
 
-  *cause_value = oct & 0x7f; 
-  
+  *cause_value = oct & 0x7f;
+
   other_decode_bitfield_value(a_bigbuf, oct, 0x7f, 8);
   proto_tree_add_uint_format(tree, hf_cause_value,
                             tvb, curr_offset, 1, *cause_value,
                             "%s : %s",
                             a_bigbuf,
-                            val_to_str(*cause_value, camel_RP_Cause_values, 
+                            val_to_str(*cause_value, camel_RP_Cause_values,
                                        "Unknown Cause (%u), treated as (41) \"Temporary failure\" for MO-SMS or (111) \"Protocol error,unspecified\" for MT-SMS"));
   curr_offset++;
-  
+
   if ((oct & 0x80)) {
     oct = tvb_get_guint8(tvb, curr_offset);
     proto_tree_add_uint_format(tree, hf_cause_value,
@@ -7078,14 +7078,14 @@ dissect_camel_camelPDU(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, asn
   opcode = 0;
   application_context_version = 0;
   if (actx->pinfo->private_data != NULL){
-    p_private_tcap=actx->pinfo->private_data; 
-    
+    p_private_tcap=actx->pinfo->private_data;
+
     if (p_private_tcap->acv==TRUE ){
       version_ptr = strrchr(p_private_tcap->oid,'.');
       if (version_ptr)
        application_context_version = atoi(version_ptr+1);
     }
-    gp_camelsrt_info->tcap_context=p_private_tcap->context; 
+    gp_camelsrt_info->tcap_context=p_private_tcap->context;
     if (p_private_tcap->context)
       gp_camelsrt_info->tcap_session_id
 
@@ -7121,14 +7121,14 @@ dissect_camel(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
 
   /* create display subtree for the protocol */
   if(parent_tree){
-     item = proto_tree_add_item(parent_tree, proto_camel, tvb, 0, -1, FALSE);
+     item = proto_tree_add_item(parent_tree, proto_camel, tvb, 0, -1, ENC_NA);
      tree = proto_item_add_subtree(item, ett_camel);
   }
   /* camelsrt reset counter, and initialise global pointer
      to store service response time related data */
   gp_camelsrt_info=camelsrt_razinfo();
   dissect_camel_camelPDU(FALSE, tvb, 0, &asn1_ctx , tree, -1);
-  
+
   /* If a Tcap context is associated to this transaction */
   if (gcamel_HandleSRT &&
       gp_camelsrt_info->tcap_context ) {
@@ -7175,7 +7175,7 @@ void proto_reg_handoff_camel(void) {
     register_ber_oid_dissector_handle("0.4.0.0.1.21.3.61",camel_handle, proto_camel, "cap3-sms-AC" );
     register_ber_oid_dissector_handle("0.4.0.0.1.23.3.4",camel_handle, proto_camel, "capssf-scfGenericAC" );
     register_ber_oid_dissector_handle("0.4.0.0.1.23.3.61",camel_handle, proto_camel, "cap4-sms-AC" );
-       
+
 
 
 /*--- Included file: packet-camel-dis-tab.c ---*/
@@ -7194,7 +7194,7 @@ void proto_reg_handoff_camel(void) {
   ssn_range = range_copy(global_ssn_range);
 
   range_foreach(ssn_range, range_add_callback);
-  
+
 }
 
 void proto_register_camel(void) {
@@ -7240,12 +7240,12 @@ void proto_register_camel(void) {
       { "RP Cause",  "camel.RP_Cause",
         FT_UINT8, BASE_DEC, NULL, 0,
        "RP Cause Value", HFILL }},
-    
+
     { &hf_camel_CAMEL_AChBillingChargingCharacteristics,
       { "CAMEL-AChBillingChargingCharacteristics", "camel.CAMEL_AChBillingChargingCharacteristics",
         FT_UINT32, BASE_DEC,  VALS(camel_CAMEL_AChBillingChargingCharacteristics_vals), 0,
-        NULL, HFILL }}, 
-    
+        NULL, HFILL }},
+
     { &hf_camel_CAMEL_FCIBillingChargingCharacteristics,
       { "CAMEL-FCIBillingChargingCharacteristics", "camel.CAMEL_FCIBillingChargingCharacteristics",
         FT_UINT32, BASE_DEC, VALS(camel_CAMEL_FCIBillingChargingCharacteristics_vals), 0,
@@ -9479,15 +9479,15 @@ void proto_register_camel(void) {
   rose_ctx_init(&camel_rose_ctx);
 
   /* Register dissector tables */
-  camel_rose_ctx.arg_local_dissector_table = register_dissector_table("camel.ros.local.arg", 
-                                                                      "CAMEL Operation Argument (local opcode)", 
-                                                                      FT_UINT32, BASE_HEX); 
-  camel_rose_ctx.res_local_dissector_table = register_dissector_table("camel.ros.local.res", 
-                                                                      "CAMEL Operation Result (local opcode)", 
-                                                                      FT_UINT32, BASE_HEX); 
-  camel_rose_ctx.err_local_dissector_table = register_dissector_table("camel.ros.local.err", 
-                                                                      "CAMEL Error (local opcode)", 
-                                                                      FT_UINT32, BASE_HEX); 
+  camel_rose_ctx.arg_local_dissector_table = register_dissector_table("camel.ros.local.arg",
+                                                                      "CAMEL Operation Argument (local opcode)",
+                                                                      FT_UINT32, BASE_HEX);
+  camel_rose_ctx.res_local_dissector_table = register_dissector_table("camel.ros.local.res",
+                                                                      "CAMEL Operation Result (local opcode)",
+                                                                      FT_UINT32, BASE_HEX);
+  camel_rose_ctx.err_local_dissector_table = register_dissector_table("camel.ros.local.err",
+                                                                      "CAMEL Error (local opcode)",
+                                                                      FT_UINT32, BASE_HEX);
 
   /* Register our configuration options, particularly our ssn:s */
   /* Set default SSNs */
@@ -9498,8 +9498,8 @@ void proto_register_camel(void) {
   prefs_register_enum_preference(camel_module, "date.format", "Date Format",
                                   "The date format: (DD/MM) or (MM/DD)",
                                   &date_format, date_options, FALSE);
-  
-  
+
+
   prefs_register_range_preference(camel_module, "tcap.ssn",
     "TCAP SSNs",
     "TCAP Subsystem numbers used for Camel",
@@ -9514,8 +9514,8 @@ void proto_register_camel(void) {
                                 "Persistent stats for SRT",
                                 "Statistics for Response Time",
                                 &gcamel_PersistentSRT);
-  
-  /* Routine for statistic */ 
+
+  /* Routine for statistic */
   register_init_routine(&camelsrt_init_routine);
   camel_tap=register_tap(PSNAME);
 }
index 0e59142e7b20b3e18f1119ddc34f4c6bd430266c..0796b93fa442d1ea2a6c8115fc7c417f2b4bb87e 100644 (file)
@@ -1354,7 +1354,7 @@ dissect_capwap_control(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "CAPWAP");
        col_set_str(pinfo->cinfo, COL_INFO, "CAPWAP-Control");
 
-       ti = proto_tree_add_item(tree, proto_capwap, tvb, 0, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_capwap, tvb, 0, -1, ENC_NA);
        capwap_control_tree = proto_item_add_subtree(ti, ett_capwap);
 
        /* CAPWAP Preamble */
@@ -1437,7 +1437,7 @@ dissect_capwap_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "CAPWAP");
        col_set_str(pinfo->cinfo, COL_INFO, "CAPWAP-Data");
 
-       ti = proto_tree_add_item(tree, proto_capwap, tvb, 0, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_capwap, tvb, 0, -1, ENC_NA);
        capwap_data_tree = proto_item_add_subtree(ti, ett_capwap);
 
        /* CAPWAP Preamble */
index 3e1484092aee4aabe2b519d8cfb6d9f32a06a656..8ac856c62ce8182bdd015750826051dbfa3ea62a 100644 (file)
@@ -423,7 +423,7 @@ static void dissect_cast_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
   /* In the interest of speed, if "tree" is NULL, don't do any work not
    * necessary to generate protocol tree items. */
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_cast, tvb, offset, hdr_data_length+8, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_cast, tvb, offset, hdr_data_length+8, ENC_NA);
     cast_tree = proto_item_add_subtree(ti, ett_cast);
     proto_tree_add_uint(cast_tree, hf_cast_data_length, tvb, offset, 4, hdr_data_length);
     proto_tree_add_uint(cast_tree, hf_cast_reserved, tvb, offset+4, 4, hdr_marker);
index 113af9d5d6618298e5d66d5bccb47f3e2f83a584..33907697e04189b961bfdb24ad695e2e350336cc 100644 (file)
@@ -1769,7 +1769,7 @@ dissect_catapult_dct2000(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
     /* Create root (protocol) tree. */
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_catapult_dct2000, tvb, offset, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_catapult_dct2000, tvb, offset, -1, ENC_NA);
         dct2000_tree = proto_item_add_subtree(ti, ett_catapult_dct2000);
     }
 
index ebc3da8e87c176ed0349dec73f6f727fd6f6718a..c7f64a7e3d746c754b6d0bff254b5bd4485abdc3 100644 (file)
@@ -339,7 +339,7 @@ dissect_ccsds(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                else
                        length = ccsds_length;
 
-               ccsds_packet = proto_tree_add_item(tree, proto_ccsds, tvb, 0, length, FALSE);
+               ccsds_packet = proto_tree_add_item(tree, proto_ccsds, tvb, 0, length, ENC_NA);
                ccsds_tree = proto_item_add_subtree(ccsds_packet, ett_ccsds);
 
                 /* build the ccsds primary header tree */
index 053b68ded03e034fe0d4709701e221d34635bb37..18331cbc252ce0dbb700a1caea917b495891a65e 100644 (file)
--- a/