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)
@@ -196,7 +196,7 @@ dissect_cdp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_clear(pinfo->cinfo, COL_INFO);
 
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_cdp, tvb, offset, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_cdp, tvb, offset, -1, ENC_NA);
        cdp_tree = proto_item_add_subtree(ti, ett_cdp);
 
        /* CDP header */
index d6b316cf83ec6299efd0b47a5b46a0b6e257ddaf..3511db7eef4ca72cbf6930af765d0343a5f18926 100644 (file)
@@ -1127,7 +1127,7 @@ static void dissect_cfm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                proto_tree *cfm_tree;
 
                /* isolate the payload of the packet */
-               ti = proto_tree_add_item(tree, proto_cfm, tvb, 0, -1, ENC_BIG_ENDIAN);
+               ti = proto_tree_add_item(tree, proto_cfm, tvb, 0, -1, ENC_NA);
 
 
                /* report type of CFM packet to base of dissection tree */
index 25950d449ddb4570fe0e80b27e3bdf2fb7142343..d1226135608fb630bd3acd2b0668eeef90d31235 100644 (file)
@@ -65,7 +65,7 @@ dissect_cgmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_cgmp, tvb, offset, -1,
-                   FALSE);
+                   ENC_NA);
                cgmp_tree = proto_item_add_subtree(ti, ett_cgmp);
 
                proto_tree_add_item(cgmp_tree, hf_cgmp_version, tvb, offset, 1,
index 35c7d08fc0da411e2042368c2e67d68fd330eb6c..a26b60f37d1904ed2cd7dfdabc4114e734d269e7 100644 (file)
@@ -187,7 +187,7 @@ dissect_chdlc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   proto = tvb_get_ntohs(tvb, 2);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_chdlc, tvb, 0, 4, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_chdlc, tvb, 0, 4, ENC_NA);
     fh_tree = proto_item_add_subtree(ti, ett_chdlc);
 
     proto_tree_add_uint(fh_tree, hf_chdlc_addr, tvb, 0, 1, addr);
@@ -275,7 +275,7 @@ dissect_slarp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   code = tvb_get_ntohl(tvb, 0);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_slarp, tvb, 0, 14, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_slarp, tvb, 0, 14, ENC_NA);
     slarp_tree = proto_item_add_subtree(ti, ett_slarp);
   }
 
index 59c33c82fe64ab2a0162621281073f9ea3b0c264..155ffa8cda7df57c7341c7ce7b1c0ec6c80981f0 100644 (file)
@@ -612,7 +612,7 @@ dissect_cimd_operation(tvbuff_t *tvb, proto_tree *tree, gint etxp, guint16 check
   if (tree)
   {
     /* create display subtree for the protocol */
-    cimd_item = proto_tree_add_item(tree, proto_cimd, tvb, 0, etxp + 1, ENC_LITTLE_ENDIAN);
+    cimd_item = proto_tree_add_item(tree, proto_cimd, tvb, 0, etxp + 1, ENC_NA);
     cimd_tree = proto_item_add_subtree(cimd_item, ett_cimd);
     proto_tree_add_uint(cimd_tree, hf_cimd_opcode_indicator, tvb, CIMD_OC_OFFSET, CIMD_OC_LENGTH, OC);
     proto_tree_add_uint(cimd_tree, hf_cimd_packet_number_indicator, tvb, CIMD_PN_OFFSET, CIMD_PN_LENGTH, PN);
index 1dcefca829fed62665e1b23f2aee3835cc0b4126..107fec2ba55e3a596f223df77a928c596033fac0 100644 (file)
@@ -74,7 +74,7 @@ dissect_cimetrics_mstp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                mstp_frame_source, mstp_frame_destination,
                mstp_frame_type_text(mstp_frame_type));
 #else
-       ti = proto_tree_add_item(tree, proto_cimetrics_mstp, tvb, offset, 9, FALSE);
+       ti = proto_tree_add_item(tree, proto_cimetrics_mstp, tvb, offset, 9, ENC_NA);
 #endif
        subtree = proto_item_add_subtree(ti, ett_cimetrics_mstp);
        proto_tree_add_item(subtree, hf_cimetrics_mstp_timer, tvb,
@@ -119,7 +119,7 @@ proto_register_cimetrics(void)
 
        register_dissector("cimetrics", dissect_cimetrics_mstp,
                proto_cimetrics_mstp);
-       
+
        llc_add_oui(OUI_CIMETRICS, "llc.cimetrics_pid",
                "Cimetrics OUI PID", hf2);
 }
index b4355bd2fe57446509bcd958548b4b0c5f4fe374..e3edb9777f496fd0274d11d30572ecff8f91a628 100644 (file)
@@ -1829,7 +1829,7 @@ dissect_cip_class_generic(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
    if( tree )
    {
       /* Create display subtree for the protocol */
-      ti = proto_tree_add_item(tree, proto_cip_class_generic, tvb, 0, -1, ENC_BIG_ENDIAN);
+      ti = proto_tree_add_item(tree, proto_cip_class_generic, tvb, 0, -1, ENC_NA);
       class_tree = proto_item_add_subtree( ti, ett_cip_class_generic );
 
       dissect_cip_generic_data( class_tree, tvb, 0, tvb_length(tvb), pinfo, ti );
@@ -2142,7 +2142,7 @@ dissect_cip_class_mr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
    if( tree )
    {
       /* Create display subtree for the protocol */
-      ti = proto_tree_add_item(tree, proto_cip_class_mr, tvb, 0, -1, ENC_BIG_ENDIAN);
+      ti = proto_tree_add_item(tree, proto_cip_class_mr, tvb, 0, -1, ENC_NA);
       class_tree = proto_item_add_subtree( ti, ett_cip_class_mr );
 
       dissect_cip_mr_data( class_tree, tvb, 0, tvb_length(tvb), pinfo );
@@ -2774,7 +2774,7 @@ dissect_cip_class_cm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
    if( tree )
    {
       /* Create display subtree for the protocol */
-      ti = proto_tree_add_item(tree, proto_cip_class_cm, tvb, 0, -1, ENC_BIG_ENDIAN);
+      ti = proto_tree_add_item(tree, proto_cip_class_cm, tvb, 0, -1, ENC_NA);
       class_tree = proto_item_add_subtree( ti, ett_cip_class_cm );
 
       dissect_cip_cm_data( class_tree, tvb, 0, tvb_length(tvb), pinfo );
@@ -3268,7 +3268,7 @@ dissect_cip_class_cco(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
    if( tree )
    {
       /* Create display subtree for the protocol */
-      ti = proto_tree_add_item(tree, proto_cip_class_cco, tvb, 0, -1, ENC_BIG_ENDIAN);
+      ti = proto_tree_add_item(tree, proto_cip_class_cco, tvb, 0, -1, ENC_NA);
       class_tree = proto_item_add_subtree( ti, ett_cip_class_cco );
 
       dissect_cip_cco_data( class_tree, tvb, 0, tvb_length(tvb), pinfo );
@@ -3306,7 +3306,7 @@ dissect_cip_data( proto_tree *item_tree, tvbuff_t *tvb, int offset, packet_info
    p_add_proto_data(pinfo->fd, proto_cip, preq_info);
 
    /* Create display subtree for the protocol */
-   ti = proto_tree_add_item(item_tree, proto_cip, tvb, 0, -1, ENC_BIG_ENDIAN);
+   ti = proto_tree_add_item(item_tree, proto_cip, tvb, 0, -1, ENC_NA);
    cip_tree = proto_item_add_subtree( ti, ett_cip );
 
    /* Add Service code & Request/Response tree */
index f28931d055cb0d8092c5f9f06a1d61d1a1767439..b20eb0c4130e9b973f74fa72bebeb0292dc64174 100644 (file)
@@ -1821,7 +1821,7 @@ dissect_cipmotion(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree)
       /* Create display subtree for the protocol by creating an item and then
        * creating a subtree from the item, the subtree must have been registered
        * in proto_register_cipmotion already */
-      proto_item_top = proto_tree_add_item( tree, proto_cipmotion, tvb, 0, -1, ENC_LITTLE_ENDIAN );
+      proto_item_top = proto_tree_add_item( tree, proto_cipmotion, tvb, 0, -1, ENC_NA );
       proto_tree_top = proto_item_add_subtree( proto_item_top, ett_cipmotion );
 
       /* Add the CIP class 1 sequence number to the tree */
index fcc23c272bc66d3f0a9c88e0600d6f5f5fbd7af6..0f715c331a35a09e70ee6c8330013bd8615b45c5 100644 (file)
@@ -53,7 +53,7 @@
  * 0000030:                     1002 0001 0000 0380 <-- ERSPAN header (01: erspan-id)
  * 0000040: 00d0 b7a7 7480 0015 c721 75c0 0800 4500 <-- Ethernet packet
  * ...
- * 
+ *
  *
  */
 
@@ -130,7 +130,7 @@ dissect_erspan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_erspan, tvb, offset, -1,
-                   ENC_BIG_ENDIAN);
+                   ENC_NA);
                erspan_tree = proto_item_add_subtree(ti, ett_erspan);
 
                version = tvb_get_ntohs(tvb, offset) >> 12;
index ff759108a215d21de0a41c499f426f632e78ddf7..d30123b6bec9098481135a6e6eede3d3359fa33b 100644 (file)
@@ -154,7 +154,7 @@ dissect_sm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_add_fstr(pinfo->cinfo, COL_INFO, "Cisco SM Packet (%s)",
                val_to_str(sm_message_type, sm_message_type_value_info,"reserved"));
 
-       ti = proto_tree_add_item(tree, proto_sm, tvb, offset, 0, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_sm, tvb, offset, 0, ENC_NA);
        sm_tree = proto_item_add_subtree(ti, ett_sm);
 
        proto_tree_add_uint_format(sm_tree, hf_sm_sm_msg_type, tvb, offset, 4, sm_message_type,
index 2484ed58dbb9e0eff87d36f794800fe4c7e63fd7..b8267604cad859afe949fd622ea57cd2f6f158b3 100644 (file)
@@ -86,7 +86,7 @@ dissect_cwids(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        cwids_tree = NULL;
 
        while(tvb_length_remaining(tvb, offset) > 0) {
-               ti = proto_tree_add_item(tree, proto_cwids, tvb, offset, 28, ENC_BIG_ENDIAN);
+               ti = proto_tree_add_item(tree, proto_cwids, tvb, offset, 28, ENC_NA);
                cwids_tree = proto_item_add_subtree(ti, ett_cwids);
 
                proto_tree_add_item(cwids_tree, hf_cwids_version, tvb, offset, 2, ENC_BIG_ENDIAN);
index 712c8fa8a63680cd284064c90c9f6d76a9f65d73..1fa9dab9827fbcb75919e256c8a54955a4b7896c 100644 (file)
@@ -326,7 +326,7 @@ dissect_classicstun(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if (tree) {
                guint transaction_id_first_word;
 
-               ti = proto_tree_add_item(tree, proto_classicstun, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_classicstun, tvb, 0, -1, ENC_NA);
 
                classicstun_tree = proto_item_add_subtree(ti, ett_classicstun);
 
index fbe6147e82ef567dba3855b9c4d8588f3b88bf59..0ec999eddfa8cd94de7c31bada0a4ce5ca935003 100644 (file)
@@ -223,7 +223,7 @@ static void dissect_clnp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   if (cnf_proto_id == NLPID_NULL) {
     col_set_str(pinfo->cinfo, COL_INFO, "Inactive subset");
     if (tree) {
-      ti = proto_tree_add_item(tree, proto_clnp, tvb, P_CLNP_PROTO_ID, 1, ENC_BIG_ENDIAN);
+      ti = proto_tree_add_item(tree, proto_clnp, tvb, P_CLNP_PROTO_ID, 1, ENC_NA);
       clnp_tree = proto_item_add_subtree(ti, ett_clnp);
       proto_tree_add_uint_format(clnp_tree, hf_clnp_id, tvb, P_CLNP_PROTO_ID, 1,
                                  cnf_proto_id,
@@ -247,7 +247,7 @@ static void dissect_clnp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   opt_len = cnf_hdr_len;
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_clnp, tvb, 0, cnf_hdr_len, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_clnp, tvb, 0, cnf_hdr_len, ENC_NA);
     clnp_tree = proto_item_add_subtree(ti, ett_clnp);
     proto_tree_add_uint(clnp_tree, hf_clnp_id, tvb, P_CLNP_PROTO_ID, 1,
                         cnf_proto_id);
index fb04ea3af60fa982ca94528c4808c910105bddc6..31cefc9ec4fc6c88d9b8e808e6bd8f346ae82c15 100644 (file)
@@ -4411,7 +4411,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);
        }
 
@@ -5809,7 +5809,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 8705acbdf8b993fc4217a646fff893258db9bfe1..75ae3d3ecaaa76019f017a77e23c2048b202776d 100644 (file)
@@ -1506,7 +1506,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);
        }
 
@@ -1515,7 +1515,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;
@@ -1671,7 +1671,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 85048bcdeb9e2d787c251bb6caa94c22fc05e015..f6bdf478ab83d33c444a0c3a807915b53ff171be 100644 (file)
@@ -580,7 +580,7 @@ dissect_cmpp_tcp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree)
        {
-               ti = proto_tree_add_item(tree, proto_cmpp, tvb, 0, -1, ENC_BIG_ENDIAN);
+               ti = proto_tree_add_item(tree, proto_cmpp, tvb, 0, -1, ENC_NA);
 
                cmpp_tree = proto_item_add_subtree(ti, ett_cmpp);
 
index 8b7729decc1077cf0895a7b40ea8e21d18b6f095..5c702599d840891852935b1b03f454f031270fce 100644 (file)
@@ -100,7 +100,7 @@ static void dissect_cnip (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                offset = 0;
 
                /* Take whole packet for now, we'll adjust it later */
-               ti = proto_tree_add_item(tree, proto_cnip, tvb, offset, -1, ENC_BIG_ENDIAN);
+               ti = proto_tree_add_item(tree, proto_cnip, tvb, offset, -1, ENC_NA);
                cnip_tree = proto_item_add_subtree(ti, ett_cnip);
 
                proto_tree_add_item(cnip_tree, hf_cnip_len, tvb, offset, 2, ENC_BIG_ENDIAN);
index 191f81d681cfb0dfe9c9486bdb8b9d34915631f3..31c3306f82d2a061a5a708dc239f4b7ef58a6ebc 100644 (file)
@@ -468,7 +468,7 @@ dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
        coap_content_type = NULL;
        coap_content_type_value = ~0;
 
-       coap_root = proto_tree_add_item(parent_tree, proto_coap, tvb, offset, -1, FALSE);
+       coap_root = proto_tree_add_item(parent_tree, proto_coap, tvb, offset, -1, ENC_NA);
        coap_tree = proto_item_add_subtree(coap_root, ett_coap);
 
        proto_tree_add_item(coap_tree, hf_coap_version, tvb, offset, 1, ENC_BIG_ENDIAN);
index 02514c21491f8a34b24b03467d740a68c377a895..741e79d49ab6bd0d403f41bd325145f0012b46c2 100644 (file)
@@ -857,7 +857,7 @@ dissect_collectd (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        size = tvb_reported_length(tvb);
 
        /* create the collectd protocol tree */
-       pi = proto_tree_add_item(tree, proto_collectd, tvb, 0, -1, FALSE);
+       pi = proto_tree_add_item(tree, proto_collectd, tvb, 0, -1, ENC_NA);
        collectd_tree = proto_item_add_subtree(pi, ett_collectd);
 
        memset (&tap_data, 0, sizeof (tap_data));
index 0fa20d4f1f6839200bfa2b99cce9e86093046e22..3bc5fc4bf7c7a1a4d609fb9692ffb64b48586c39 100644 (file)
@@ -170,7 +170,7 @@ dissect_componentstatusprotocol_componentstatusreport_message(tvbuff_t *message_
      association_item = proto_tree_add_text(message_tree, message_tvb, offset, COMPONENTASSOCIATION_LENGTH,
          "Association #%d", i++);
      association_tree = proto_item_add_subtree(association_item, ett_association);
-     association_tvb  = tvb_new_subset(message_tvb, offset, 
+     association_tvb  = tvb_new_subset(message_tvb, offset,
                                        MIN(COMPONENTASSOCIATION_LENGTH, tvb_length_remaining(message_tvb, offset)),
                                        COMPONENTASSOCIATION_LENGTH);
 
@@ -230,7 +230,7 @@ dissect_componentstatusprotocol(tvbuff_t *message_tvb, packet_info *pinfo, proto
      necessary to generate protocol tree items. */
   if (tree) {
     /* create the componentstatusprotocol protocol tree */
-    componentstatusprotocol_item = proto_tree_add_item(tree, proto_componentstatusprotocol, message_tvb, 0, -1, ENC_BIG_ENDIAN);
+    componentstatusprotocol_item = proto_tree_add_item(tree, proto_componentstatusprotocol, message_tvb, 0, -1, ENC_NA);
     componentstatusprotocol_tree = proto_item_add_subtree(componentstatusprotocol_item, ett_componentstatusprotocol);
   } else {
     componentstatusprotocol_tree = NULL;
index 7ff03664364eaaf42791316c4643ad19fbed2762..74600d8c9739f825bcfd890db2d7dd2fa13697c0 100644 (file)
@@ -920,7 +920,7 @@ dissect_cops_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         guint8 ver_flags;
         gint garbage;
 
-        ti = proto_tree_add_item(tree, proto_cops, tvb, offset, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_cops, tvb, offset, -1, ENC_NA);
         cops_tree = proto_item_add_subtree(ti, ett_cops);
 
         /* Version and flags share the same byte, put them in a subtree */
index 5ddd415449794f4aab067ec925dd52e23556b001..ca3b5224eb82a8d774083b6bbda3858cb365c88e 100644 (file)
@@ -354,7 +354,7 @@ dissect_cpfi(tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *tree)
      necessary to generate protocol tree items. */
   if (tree) {
     /* create the protocol tree */
-    cpfi_item = proto_tree_add_item(tree, proto_cpfi, message_tvb, 0, -1, ENC_BIG_ENDIAN);
+    cpfi_item = proto_tree_add_item(tree, proto_cpfi, message_tvb, 0, -1, ENC_NA);
     cpfi_tree = proto_item_add_subtree(cpfi_item, ett_cpfi);
   }
 
index 8dc2f22db612c26a4a1bb82a0b000184fc0f7994..fe1f0f4eaea5edf537537919d1f9f725f792332f 100644 (file)
@@ -229,7 +229,7 @@ dissect_cpha(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
       hdr.ha_protocol_ver, opcode2str_short(opcode));
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_cphap, tvb, offset, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_cphap, tvb, offset, -1, ENC_NA);
     cpha_tree = proto_item_add_subtree(ti, ett_cphap);
   }
   if (tree) {
index f0b11787f139f627b7fc83a1dfb02f179a019fd8..657a60eff6a46b2519c5c93f147bf7a9f6ae9f99 100644 (file)
@@ -262,7 +262,7 @@ dissect_csm_encaps(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_csm_encaps, tvb, 0, -1, ENC_BIG_ENDIAN);
+               ti = proto_tree_add_item(tree, proto_csm_encaps, tvb, 0, -1, ENC_NA);
                csm_encaps_tree = proto_item_add_subtree(ti, ett_csm_encaps);
 
 
index fa67a28c65e7211c3812d18f025433cd16264c5a..1a1d2ceb1de84dbc667fef5412f3b087f099157f 100644 (file)
@@ -164,7 +164,7 @@ dissect_cups(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_cups, tvb, offset, -1,
-                   ENC_BIG_ENDIAN);
+                   ENC_NA);
                cups_tree = proto_item_add_subtree(ti, ett_cups);
        }
 
index 63b0e3b3871a20c3d666c6d6c3e504ec6de7d401..3b68d3f4dbc84ec0a2cde1a1e6dd032e69c710ac 100644 (file)
@@ -421,7 +421,7 @@ dissect_daap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
    }
 
    if (tree) {
-      ti = proto_tree_add_item(tree, proto_daap, tvb, 0, -1, ENC_BIG_ENDIAN);
+      ti = proto_tree_add_item(tree, proto_daap, tvb, 0, -1, ENC_NA);
       daap_tree = proto_item_add_subtree(ti, ett_daap);
       dissect_daap_one_tag(daap_tree, tvb);
    }
@@ -458,7 +458,7 @@ dissect_daap_one_tag(proto_tree *tree, tvbuff_t *tvb)
 
       offset += 8;
 
-      len = reported_length - offset; /* should be >= 0 since no exception above */ 
+      len = reported_length - offset; /* should be >= 0 since no exception above */
       DISSECTOR_ASSERT(len >= 0);
       if (tagsize <= (unsigned)len) {
          len = tagsize;
@@ -685,7 +685,7 @@ dissect_daap_one_tag(proto_tree *tree, tvbuff_t *tvb)
          /* now playing */
          /* bytes  4-7  contain uint32 playlist id */
          /* bytes 12-15 contain uint32 track id */
-         proto_item_append_text(ti, 
+         proto_item_append_text(ti,
                                 "; unknown: %d, playlist id: %d, unknown: %d, track id: %d",
                                 tvb_get_ntohl(tvb, offset),
                                 tvb_get_ntohl(tvb, offset+4),
@@ -741,6 +741,6 @@ proto_reg_handoff_daap(void)
 
    daap_handle = create_dissector_handle(dissect_daap, proto_daap);
    http_dissector_add(TCP_PORT_DAAP, daap_handle);
-   
+
    png_handle = find_dissector("png");
 }
index 4522b2f6d0bfc128fa604bf4374572c1fb0b7c6c..3fc244a50cc1beee2d43f32eb5ae2e36efb864d5 100644 (file)
@@ -52,7 +52,7 @@ dissect_daytime(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   if (tree) {
 
-    ti = proto_tree_add_item(tree, proto_daytime, tvb, 0, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_daytime, tvb, 0, -1, ENC_NA);
     daytime_tree = proto_item_add_subtree(ti, ett_daytime);
 
     proto_tree_add_text(daytime_tree, tvb, 0, 0,
index 3319ca55af4353e727b9a48e07ca3f27e7b98f1e..6ce601802c1f10200b4c320512e447689f16205e 100644 (file)
@@ -168,7 +168,7 @@ dissect_db_lsp_disc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_set_str (pinfo->cinfo, COL_PROTOCOL, PSNAME_DISC);
   col_set_str (pinfo->cinfo, COL_INFO, PNAME_DISC);
 
-  db_lsp_item = proto_tree_add_item (tree, proto_db_lsp_disc, tvb, offset, -1, ENC_BIG_ENDIAN);
+  db_lsp_item = proto_tree_add_item (tree, proto_db_lsp_disc, tvb, offset, -1, ENC_NA);
   db_lsp_tree = proto_item_add_subtree (db_lsp_item, ett_db_lsp);
 
   proto_tree_add_item (db_lsp_tree, hf_text, tvb, offset, -1, ENC_ASCII|ENC_NA);
index 992274029f9e68e618cee3aa89aafd5cf431e4d1..e2542c7d07a724482d03bcd7dc3135889aae32e0 100644 (file)
@@ -239,7 +239,7 @@ dissect_dcc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_dcc, tvb, offset, -1,
-                       FALSE);
+                       ENC_NA);
                dcc_tree = proto_item_add_subtree(ti, ett_dcc);
 
                proto_tree_add_item(dcc_tree, hf_dcc_len, tvb,
index 791283c519dedd4b20a30e370b19487f382d4211..791c1bbb52075493d9d2f4e47df95b4fb4d281c6 100644 (file)
@@ -662,7 +662,7 @@ static void dissect_dccp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                                                               val_to_str(dccph->type, dccp_packet_type_vals, "Unknown Type"),
                                                               dccph->seq);
                } else {
-                       dccp_item = proto_tree_add_item(tree, proto_dccp, tvb, offset, 8, ENC_BIG_ENDIAN);
+                       dccp_item = proto_tree_add_item(tree, proto_dccp, tvb, offset, 8, ENC_NA);
                }
 
                dccp_tree = proto_item_add_subtree(dccp_item, ett_dccp);
index d656333244476db63646cbf534cf7e088c10e02d..17445a3b242003a931b924b26c8c157cf80ff220 100644 (file)
@@ -4377,7 +4377,7 @@ dissect_dcerpc_cn (tvbuff_t *tvb, int offset, packet_info *pinfo,
     offset = start_offset;
     tvb_ensure_bytes_exist(tvb, offset, 16);
     if (tree) {
-        ti = proto_tree_add_item (tree, proto_dcerpc, tvb, offset, hdr.frag_len, FALSE);
+        ti = proto_tree_add_item (tree, proto_dcerpc, tvb, offset, hdr.frag_len, ENC_NA);
         dcerpc_tree = proto_item_add_subtree (ti, ett_dcerpc);
     }
 
@@ -5213,7 +5213,7 @@ dissect_dcerpc_dg (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     hdr.serial_lo = tvb_get_guint8 (tvb, offset++);
 
     if (tree) {
-        ti = proto_tree_add_item (tree, proto_dcerpc, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item (tree, proto_dcerpc, tvb, 0, -1, ENC_NA);
         if (ti) {
             dcerpc_tree = proto_item_add_subtree(ti, ett_dcerpc);
             proto_item_append_text(ti, " %s, Seq: %u, Serial: %u, Frag: %u, FragLen: %u",
index f2f1a4d5d3ea04eb2d39b50dbb005985ea1f7db4..f2b1268a739c74c6404dccc0dc6054c04b5a8dce 100644 (file)
@@ -6595,7 +6595,7 @@ dissect_dcm_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 off
        return offset;
     }
 
-    dcm_pitem = proto_tree_add_item(tree, proto_dcm, tvb, offset, -1, FALSE);
+    dcm_pitem = proto_tree_add_item(tree, proto_dcm, tvb, offset, -1, ENC_NA);
     dcm_ptree = proto_item_add_subtree(dcm_pitem, ett_dcm);
 
     pdu_type = tvb_get_guint8(tvb, offset);
index e4285683a8102a620a8cd203df0ef4ee5e2c4fae..1e36601a5d27b56ad97c854b8a4889d1f0e11e91 100644 (file)
@@ -193,7 +193,7 @@ dissect_dcp_etsi (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
 
   if(tree) {
     proto_item *ti = NULL;
-    ti = proto_tree_add_item (tree, proto_dcp_etsi, tvb, 0, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item (tree, proto_dcp_etsi, tvb, 0, -1, ENC_NA);
     dcp_tree = proto_item_add_subtree (ti, ett_edcp);
   }
 
@@ -448,7 +448,7 @@ dissect_pft(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
   col_set_str(pinfo->cinfo, COL_PROTOCOL, "DCP-PFT");
 
   if (tree) {                   /* we are being asked for details */
-    ti = proto_tree_add_item (tree, proto_pft, tvb, 0, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item (tree, proto_pft, tvb, 0, -1, ENC_NA);
     pft_tree = proto_item_add_subtree (ti, ett_pft);
     proto_tree_add_item (pft_tree, hf_edcp_sync, tvb, offset, 2, ENC_ASCII|ENC_NA);
   }
@@ -550,7 +550,7 @@ dissect_af (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
   col_set_str(pinfo->cinfo, COL_PROTOCOL, "DCP-AF");
 
   if (tree) {                   /* we are being asked for details */
-    ti = proto_tree_add_item (tree, proto_af, tvb, 0, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item (tree, proto_af, tvb, 0, -1, ENC_NA);
     af_tree = proto_item_add_subtree (ti, ett_af);
     proto_tree_add_item (af_tree, hf_edcp_sync, tvb, offset, 2, ENC_ASCII|ENC_NA);
   }
@@ -624,7 +624,7 @@ dissect_tpl(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
 
   if(tree) {
     proto_item *ti = NULL;
-    ti = proto_tree_add_item (tree, proto_tpl, tvb, 0, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item (tree, proto_tpl, tvb, 0, -1, ENC_NA);
     tpl_tree = proto_item_add_subtree (ti, ett_tpl);
   }
   while(offset<tvb_length(tvb)) {
index e3ddc51bfabbfe985f044e0b31c1cb1893bc8497..a211e8e417b31bdd7cdf2057bfc48ad54abdb190 100644 (file)
@@ -108,7 +108,7 @@ dissect_ddtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_clear (pinfo->cinfo, COL_INFO);
 
     if (tree) {
-       ti = proto_tree_add_item(tree, proto_ddtp, tvb, 0, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_ddtp, tvb, 0, -1, ENC_NA);
        ddtp_tree = proto_item_add_subtree(ti, ett_ddtp);
 
        proto_tree_add_item(ddtp_tree, hf_ddtp_version, tvb, 0, 4, ENC_BIG_ENDIAN);
index b897facf762a0f2da9f28f077c4865fb8581681f..1581b8c753cd928e08cd5c6bbc7be267d8966f89 100644 (file)
@@ -128,7 +128,7 @@ dissect_dec_bpdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
       if (tree) {
            ti = proto_tree_add_item(tree, proto_dec_bpdu, tvb, 0, DEC_BPDU_SIZE,
-                               ENC_BIG_ENDIAN);
+                               ENC_NA);
            bpdu_tree = proto_item_add_subtree(ti, ett_dec_bpdu);
 
            proto_tree_add_item(bpdu_tree, hf_dec_bpdu_proto_id, tvb,
index 83de7fd631759f56b4bad352c90755e7c7d3bfc7..41e031b0c9940c051292cc61c2ad8c31d2b60b75 100644 (file)
@@ -389,7 +389,7 @@ dissect_dec_rt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     offset += 2;
     msg_flags = tvb_get_guint8(tvb, offset);
     ti = proto_tree_add_item(tree, proto_dec_rt, tvb, 0, -1,
-                TRUE);
+                ENC_NA);
     rt_tree = proto_item_add_subtree(ti, ett_dec_rt);
     /* When padding, the first byte after the padding has
        the real routing flags */
index 39efe29950602260d6ce5ce04fc8daca44f9292f..cf85f53d64efb56d8aeefe98f7374f7945aa4a59 100644 (file)
@@ -1959,7 +1959,7 @@ dissect_dect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                return;
        }
 
-       ti=proto_tree_add_item(tree, proto_dect, tvb, 0, -1, FALSE);
+       ti=proto_tree_add_item(tree, proto_dect, tvb, 0, -1, ENC_NA);
        DectTree=proto_item_add_subtree(ti, ett_dect);
 
        proto_tree_add_item(DectTree, hf_dect_transceivermode, tvb, offset, 1, ENC_BIG_ENDIAN);
index 696825301105a1ca22d25d60c303987f6afb3d5a..41ad1b1f6ba0edc144f6e5875cdee9f8fa0f1bf2 100644 (file)
@@ -380,7 +380,7 @@ dissect_dhcpfo_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        length = tvb_get_ntohs(tvb, offset);
        if (tree) {
                /* create display subtree for the protocol */
-               ti = proto_tree_add_item(tree, proto_dhcpfo, tvb, 0, -1, ENC_BIG_ENDIAN);
+               ti = proto_tree_add_item(tree, proto_dhcpfo, tvb, 0, -1, ENC_NA);
 
                dhcpfo_tree = proto_item_add_subtree(ti, ett_dhcpfo);
 
index e86fd1087482273231690b202fe308fb4d837a83..8bebe7d1ce6f7a45c78f8dcbcb6eaa11e2a2ecf8 100644 (file)
@@ -1871,7 +1871,7 @@ dissect_dhcpv6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
     col_append_fstr(pinfo->cinfo, COL_INFO, "%s ", val_to_str(msgtype, msgtype_vals, "Message Type %u"));
 
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_dhcpv6, tvb, off, eoff - off, FALSE);
+        ti = proto_tree_add_item(tree, proto_dhcpv6, tvb, off, eoff - off, ENC_NA);
         bp_tree = proto_item_add_subtree(ti, ett_dhcpv6);
     }
 
index e8b116240c45091b797bfe7147312166121e4c63..950a28e3bbe3ae48c236c6cf9d82af12748cd5fa 100644 (file)
@@ -820,7 +820,7 @@ dissect_diameter_common(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree)
        pd_save = pinfo->private_data;
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "DIAMETER");
 
-       pi = proto_tree_add_item(tree,proto_diameter,tvb,0,-1,FALSE);
+       pi = proto_tree_add_item(tree,proto_diameter,tvb,0,-1,ENC_NA);
        diam_tree = proto_item_add_subtree(pi,ett_diameter);
 
        c->tree = diam_tree;
index 2c2d2dc6f7bdba489795c3024827617ecfb7d46f..9a0182d5be0ae3a9a69eaf8fc80bc309a51e1443 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.
@@ -135,7 +135,7 @@ dissect_distcc_argc(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int
 static int
 dissect_distcc_argv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset, gint parameter)
 {
-       char argv[256]; 
+       char argv[256];
        int argv_len;
        gint len=parameter;
 
@@ -164,7 +164,7 @@ dissect_distcc_argv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int
 static int
 dissect_distcc_serr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset, gint parameter)
 {
-       char argv[256]; 
+       char argv[256];
        int argv_len;
        gint len=parameter;
 
@@ -193,7 +193,7 @@ dissect_distcc_serr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int
 static int
 dissect_distcc_sout(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset, gint parameter)
 {
-       char argv[256]; 
+       char argv[256];
        int argv_len;
        gint len=parameter;
 
@@ -271,7 +271,7 @@ dissect_distcc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
        proto_item *item=NULL;
        char token[4];
        guint32 parameter;
-       
+
 
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "DISTCC ");
 
@@ -279,12 +279,12 @@ dissect_distcc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
 
        if (parent_tree) {
                item = proto_tree_add_item(parent_tree, proto_distcc, tvb, offset,
-                       -1, ENC_BIG_ENDIAN);
+                       -1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_distcc);
        }
 
        while(1){
-               /* we must have at least 12 bytes so we can read the 
+               /* we must have at least 12 bytes so we can read the
                   token and the parameter */
                if(tvb_length_remaining(tvb, offset)<12){
                        return;
@@ -320,7 +320,7 @@ dissect_distcc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
                } else {
                        call_dissector(data_handle, tvb, pinfo, tree);
                        return;
-               }               
+               }
        }
 
 
index 8b75e254992b53bdbf0a6a918176715e76b20e48..b8fda239a2767cd93054b0374e83ef967b07c71a 100644 (file)
@@ -798,7 +798,7 @@ dissect_dlm3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
     offset = 0;
 
     item = proto_tree_add_item(parent_tree, proto_dlm3, tvb, offset,
-                               -1, ENC_LITTLE_ENDIAN);
+                               -1, ENC_NA);
     tree = proto_item_add_subtree(item, ett_dlm3);
 
     sub_item = proto_tree_add_uint(tree,
index 69b9c9e303ad5640172176d4560ef6549acca7a5..7e61d1c92eddb15698ba63df0025534e51cdcfe4 100644 (file)
@@ -229,7 +229,7 @@ dissect_dlsw_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
  if (tree)
  {
-   ti = proto_tree_add_item(tree, proto_dlsw, tvb, 0, -1, ENC_BIG_ENDIAN);
+   ti = proto_tree_add_item(tree, proto_dlsw, tvb, 0, -1, ENC_NA);
    dlsw_tree = proto_item_add_subtree(ti, ett_dlsw);
 
    hlen=tvb_get_guint8(tvb,1);
index 72926ea0246b8d3ebfc04344e0a5b8fcd29d3483..c3be0cae5499ad874e55bf0be9ffc11f89def614 100644 (file)
@@ -2761,7 +2761,7 @@ dissect_dnp3_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_append_sep_fstr(pinfo->cinfo, COL_INFO, NULL, "len=%u, %s", dl_len, func_code_str);
 
   /* create display subtree for the protocol */
-  ti = proto_tree_add_item(tree, proto_dnp3, tvb, offset, -1, ENC_BIG_ENDIAN);
+  ti = proto_tree_add_item(tree, proto_dnp3, tvb, offset, -1, ENC_NA);
   dnp3_tree = proto_item_add_subtree(ti, ett_dnp3);
 
   /* Create Subtree for Data Link Layer */
index af99458555659c88ef3e8f8ee1bc2dca9ed8cdfe..7d482f754650d934d71142941c9f8669c706f2af 100644 (file)
@@ -1052,7 +1052,7 @@ static void dissect_dplay(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         proto_tree *dplay_data = NULL;
         gint offset = 0;
 
-        dplay_item = proto_tree_add_item(tree, proto_dplay, tvb, 0, -1, ENC_BIG_ENDIAN);
+        dplay_item = proto_tree_add_item(tree, proto_dplay, tvb, 0, -1, ENC_NA);
         dplay_tree = proto_item_add_subtree(dplay_item, ett_dplay);
         header_item = proto_tree_add_text(dplay_tree, tvb, offset, DPLAY_HEADER_OFFSET, "DirectPlay header");
         dplay_header = proto_item_add_subtree(header_item, ett_dplay_header);
@@ -1136,7 +1136,7 @@ static void dissect_dplay_player_msg(tvbuff_t *tvb, packet_info *pinfo, proto_tr
         proto_tree *data_tree = NULL;
         gint offset = 0;
 
-        dplay_item = proto_tree_add_item(tree, proto_dplay, tvb, offset, -1, ENC_BIG_ENDIAN);
+        dplay_item = proto_tree_add_item(tree, proto_dplay, tvb, offset, -1, ENC_NA);
         dplay_tree = proto_item_add_subtree(dplay_item, ett_dplay);
         data_item  = proto_tree_add_text(dplay_tree, tvb, offset, -1, "Message content");
         data_tree  = proto_item_add_subtree(data_item, ett_dplay_data);
index 2c490c9a589ea026880f946de25538f8fc48ecea..868aa885fc6cb70751fa8d32d22cf6df67947a0e 100644 (file)
@@ -111,7 +111,7 @@ dissect_dpnss_link(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_DEF_SRC, uton?"TE":"NT");
        col_set_str(pinfo->cinfo, COL_DEF_DST, uton?"NT":"TE");
 
-       item = proto_tree_add_item(tree, proto_dpnss_link, tvb, 0, -1, ENC_BIG_ENDIAN);
+       item = proto_tree_add_item(tree, proto_dpnss_link, tvb, 0, -1, ENC_NA);
        dpnss_link_tree = proto_item_add_subtree(item, ett_dpnss_link);
        proto_tree_add_item(dpnss_link_tree, hf_dpnss_link_address_framegroup,
                            tvb, 0, 1, ENC_BIG_ENDIAN);
index 12c6545a5514e68667b64c1d4622b20312435c4a..fff47f9e69f57b15b4e0724db5b933f2496d5ecc 100644 (file)
@@ -537,7 +537,7 @@ dissect_dsi_packet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_dsi, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_dsi, tvb, 0, -1, ENC_NA);
                dsi_tree = proto_item_add_subtree(ti, ett_dsi);
 
                proto_tree_add_uint(dsi_tree, hf_dsi_flags, tvb,
index 440fea0e2230594025171610d0c8ad7f07d9e76d..bcc615953d4773490256b2eac071c8c363fde262 100644 (file)
@@ -447,7 +447,7 @@ dissect_dtls(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   /* Create display subtree for SSL as a whole */
   if (tree)
     {
-      ti = proto_tree_add_item(tree, proto_dtls, tvb, 0, -1, FALSE);
+      ti = proto_tree_add_item(tree, proto_dtls, tvb, 0, -1, ENC_NA);
       dtls_tree = proto_item_add_subtree(ti, ett_dtls);
     }
 
index 664c14c9f72783fa23e7c6cbf7e01e8e732e92c0..a5400fb2a10c7f94d06720701cb91bd89cfec3ed 100644 (file)
@@ -327,7 +327,7 @@ dissect_tcp_bundle(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 more_frags = TRUE;
             }
             ci = proto_tree_add_item(tree, proto_tcp_conv, tvb,
-                                                        frame_offset, -1, FALSE);
+                                                        frame_offset, -1, ENC_NA);
             conv_proto_tree = proto_item_add_subtree(ci, ett_tcp_conv);
             dissect_tcp_convergence_data_header(tvb, conv_proto_tree);
 
@@ -344,7 +344,7 @@ dissect_tcp_bundle(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 proto_item *ti;
 
                 ti = proto_tree_add_item(tree, proto_bundle, tvb,
-                                                        frame_offset, -1, FALSE);
+                                                        frame_offset, -1, ENC_NA);
                 bundle_tree = proto_item_add_subtree(ti, ett_bundle);
                 new_tvb = process_reassembled_data(tvb,
                                                    frame_offset + convergence_hdr_size,
@@ -393,7 +393,7 @@ dissect_tcp_bundle(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
             if(frame_offset == 0) {
                 ci = proto_tree_add_item(tree, proto_tcp_conv, tvb,
-                                                        frame_offset, -1, FALSE);
+                                                        frame_offset, -1, ENC_NA);
                 conv_proto_tree = proto_item_add_subtree(ci, ett_tcp_conv);
             }
 
@@ -519,7 +519,7 @@ dissect_udp_bundle(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     /* Clear out stuff in the info column */
     col_clear(pinfo->cinfo,COL_INFO);
 
-    ti = proto_tree_add_item(tree, proto_bundle, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_bundle, tvb, 0, -1, ENC_NA);
     bundle_tree = proto_item_add_subtree(ti, ett_bundle);
 
     primary_item = proto_tree_add_text(bundle_tree, tvb, 0, -1,
@@ -1755,7 +1755,7 @@ dissect_admin_record(proto_tree *primary_tree, tvbuff_t *tvb, int offset)
 
         timestamp_sequence = evaluate_sdnv(tvb, offset, &sdnv_length);
         timestamp_sequence_item = proto_tree_add_text(admin_record_tree, tvb, offset, sdnv_length, " ");
-        
+
         if(timestamp_sequence < 0) {
             gint64 ts_seq;
 
@@ -1845,7 +1845,7 @@ dissect_admin_record(proto_tree *primary_tree, tvbuff_t *tvb, int offset)
 
         timestamp_sequence = evaluate_sdnv(tvb, offset, &sdnv_length);
         timestamp_sequence_item = proto_tree_add_text(admin_record_tree, tvb, offset, sdnv_length, " ");
-        
+
         if(timestamp_sequence < 0) {
             gint64 ts_seq;
 
index 9bec86fa7e240aca2860511b09cdc1fc72ae8e58..43030b13ec6901d6b2f8aab066c421de591d9f58 100644 (file)
@@ -81,7 +81,7 @@ dissect_dtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_INFO, "Dynamic Trunking Protocol");
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_dtp, tvb, offset, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_dtp, tvb, offset, -1, ENC_NA);
                dtp_tree = proto_item_add_subtree(ti, ett_dtp);
        }
 
@@ -95,12 +95,12 @@ dissect_dtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                type = tvb_get_ntohs(tvb, offset);
                length = tvb_get_ntohs(tvb, offset + 2);
                valuelength = (length-4);
-    
+
                /* make sure still in valid tlv  */
                if ((valuelength < 1) || ( length > tvb_length_remaining(tvb, offset) ))
                        break;
 
-               ti = proto_tree_add_text(dtp_tree, tvb, offset, length, "%s", 
+               ti = proto_tree_add_text(dtp_tree, tvb, offset, length, "%s",
                     val_to_str(type, dtp_tlv_type_vals, "Unknown TLV type: 0x%02x"));
 
                tlv_tree = proto_item_add_subtree(ti, ett_dtp_tlv);
@@ -198,19 +198,19 @@ proto_register_dtp(void)
 {
        static hf_register_info hf[] = {
        { &hf_dtp_version,
-               { "Version",    "dtp.version", FT_UINT8, BASE_HEX, 
+               { "Version",    "dtp.version", FT_UINT8, BASE_HEX,
                NULL, 0x0, NULL, HFILL }},
 
        { &hf_dtp_tlvtype,
-               { "Type",       "dtp.tlv_type", FT_UINT16, BASE_HEX, 
+               { "Type",       "dtp.tlv_type", FT_UINT16, BASE_HEX,
                VALS(dtp_tlv_type_vals), 0x0, NULL, HFILL }},
 
        { &hf_dtp_tlvlength,
-               { "Length",     "dtp.tlv_len", FT_UINT16, BASE_DEC, 
+               { "Length",     "dtp.tlv_len", FT_UINT16, BASE_DEC,
                NULL, 0x0, NULL, HFILL }},
 
        { &hf_dtp_some_mac,
-               { "Neighbor", "dtp.neighbor", FT_ETHER, BASE_NONE, 
+               { "Neighbor", "dtp.neighbor", FT_ETHER, BASE_NONE,
                NULL, 0x0, "MAC Address of neighbor", HFILL }},
 
         };
index 8ac75735d5cbe81e11c22a7a610e5c70d9b405cc..3a488e097cb4dc60ae92ac33eafa292bdf8cf862 100644 (file)
@@ -460,7 +460,7 @@ dissect_dtpt_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                dtpt_item = proto_tree_add_item(tree, proto_dtpt,
-                               tvb, 0, -1, FALSE);
+                               tvb, 0, -1, ENC_NA);
                if (dtpt_item)
                        dtpt_tree = proto_item_add_subtree(dtpt_item, ett_dtpt);
        }
@@ -734,7 +734,7 @@ dissect_dtpt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                dtpt_item = proto_tree_add_item(tree, proto_dtpt,
-                               tvb, 0, -1, FALSE);
+                               tvb, 0, -1, ENC_NA);
                if (dtpt_item)
                        dtpt_tree = proto_item_add_subtree(dtpt_item, ett_dtpt);
        }
index eeac4c43c329cf38403f1364f7bda6a190cc0f6a..7318e5ab27eb2081c23a4f394495dc63ff84b0c2 100644 (file)
@@ -496,8 +496,8 @@ dissect_dvmrp_v3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, int
                                tvb, offset, 1, ENC_BIG_ENDIAN);
                        offset += 1;
 
-                       while ((tvb_reported_length_remaining(tvb, offset)>=4) 
-                               && (neighbor_count>0)) { 
+                       while ((tvb_reported_length_remaining(tvb, offset)>=4)
+                               && (neighbor_count>0)) {
                                proto_tree_add_item(parent_tree, hf_neighbor,
                                        tvb, offset, 4, ENC_BIG_ENDIAN);
                                offset += 4;
@@ -697,7 +697,7 @@ dissect_dvmrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, int of
                return offset+tvb_length_remaining(tvb, offset);
        }
 
-       item = proto_tree_add_item(parent_tree, proto_dvmrp, tvb, offset, -1, FALSE);
+       item = proto_tree_add_item(parent_tree, proto_dvmrp, tvb, offset, -1, ENC_NA);
        tree = proto_item_add_subtree(item, ett_dvmrp);
 
 
index 348bd90c7545c4f27569f203706d63ed332e15e4..cd16eb0851e5ab6fff628e6b9416d0dfefef23d5 100644 (file)
@@ -88,7 +88,7 @@ dissect_e100(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 proto_item *ti = NULL;
                 proto_tree *e100_tree = NULL;
 
-                ti = proto_tree_add_item(tree, proto_e100, tvb, 0, e100_encap_len, FALSE);
+                ti = proto_tree_add_item(tree, proto_e100, tvb, 0, e100_encap_len, ENC_NA);
                 e100_tree = proto_item_add_subtree(ti, ett_e100);
 
                 proto_tree_add_item(e100_tree, hf_e100_header, tvb,
index f38a6e5771f707082546dfe0a52d5127d38b1683..7b477966f0a383900686416477e2e124049c80d3 100644 (file)
@@ -312,7 +312,7 @@ dissect_eap_mschapv2(proto_tree *eap_tree, tvbuff_t *tvb, int offset,
        /* OpCode (1 byte), MS-CHAPv2-ID (1 byte), MS-Length (2 bytes), Data */
        opcode = tvb_get_guint8(tvb, offset);
        proto_tree_add_text(eap_tree, tvb, offset, 1,
-                           "OpCode: %d (%s)", 
+                           "OpCode: %d (%s)",
                            opcode, val_to_str(opcode, opcodes, "Unknown"));
        offset++;
        left--;
@@ -461,7 +461,7 @@ dissect_eap_sim(proto_tree *eap_tree, tvbuff_t *tvb, int offset, gint size)
 
        subtype = tvb_get_guint8(tvb, offset);
        proto_tree_add_text(eap_tree, tvb, offset, 1,
-                           "subtype: %d (%s)", 
+                           "subtype: %d (%s)",
                            subtype, val_to_str(subtype, subtypes, "Unknown"));
 
        offset++;
@@ -487,7 +487,7 @@ dissect_eap_sim(proto_tree *eap_tree, tvbuff_t *tvb, int offset, gint size)
                aleft = 4 * length;
 
                pi = proto_tree_add_text(eap_tree, tvb, aoffset, aleft,
-                                        "Attribute: %s", 
+                                        "Attribute: %s",
                                         val_to_str(type, attributes,
                                                    "Unknown %u"));
                attr_tree = proto_item_add_subtree(pi, ett_eap_sim_attr);
@@ -564,7 +564,7 @@ dissect_eap_aka(proto_tree *eap_tree, tvbuff_t *tvb, int offset, gint size)
 
        subtype = tvb_get_guint8(tvb, offset);
        proto_tree_add_text(eap_tree, tvb, offset, 1,
-                           "subtype: %d (%s)", 
+                           "subtype: %d (%s)",
                            subtype, val_to_str(subtype, subtypes, "Unknown"));
 
        offset++;
@@ -590,7 +590,7 @@ dissect_eap_aka(proto_tree *eap_tree, tvbuff_t *tvb, int offset, gint size)
                aleft = 4 * length;
 
                pi = proto_tree_add_text(eap_tree, tvb, aoffset, aleft,
-                                        "Attribute: %s", 
+                                        "Attribute: %s",
                                         val_to_str(type, attributes,
                                                    "Unknown %u"));
                attr_tree = proto_item_add_subtree(pi, ett_eap_aka_attr);
@@ -709,7 +709,7 @@ dissect_eap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   len = eap_len;
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_eap, tvb, 0, len, FALSE);
+    ti = proto_tree_add_item(tree, proto_eap, tvb, 0, len, ENC_NA);
     eap_tree = proto_item_add_subtree(ti, ett_eap);
 
     proto_tree_add_uint(eap_tree, hf_eap_code, tvb, 0, 1, eap_code);
index 2224a6f247ddb5792bf855fbb0d564cafcb61a8d..885a1fb71c4e92473ec9e09f07f72952534cb82e 100644 (file)
@@ -148,7 +148,7 @@ dissect_eapol(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_clear(pinfo->cinfo, COL_INFO);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_eapol, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_eapol, tvb, 0, -1, ENC_NA);
     eapol_tree = proto_item_add_subtree(ti, ett_eapol);
 
     proto_tree_add_item(eapol_tree, hf_eapol_version, tvb, offset, 1, ENC_BIG_ENDIAN);
index f566ff1dd59278357bc7b0f9e0cd5633ed0f075e..24b066cfd2e7f923e2f63cb6cc22483c5626a569 100644 (file)
@@ -65,7 +65,7 @@ static void dissect_echo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   if (tree) {
 
-    ti = proto_tree_add_item(tree, proto_echo, tvb, offset, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_echo, tvb, offset, -1, ENC_NA);
     echo_tree = proto_item_add_subtree(ti, ett_echo);
 
     if (request) {
index c1c3ed077ab44f93676eff06ef4c15b827f84af3..d1b3bab4665fc9f5c401479c740be39fb8a18fa6 100644 (file)
@@ -2950,7 +2950,7 @@ static void dissect_edonkey_tcp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tre
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "eDonkey");
 
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_edonkey, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_edonkey, tvb, 0, -1, ENC_NA);
         edonkey_tree = proto_item_add_subtree(ti, ett_edonkey);
     }
 
@@ -3072,7 +3072,7 @@ static void dissect_edonkey_udp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t
     col_set_str(pinfo->cinfo, COL_INFO, "eDonkey UDP Message");
 
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_edonkey, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_edonkey, tvb, 0, -1, ENC_NA);
         edonkey_tree = proto_item_add_subtree(ti, ett_edonkey);
     }
 
index c854e2fd673c716acc179fb71dd344f6a194da0c..61e4d1c2345799a8e6b548573ca66e87b155e518 100644 (file)
@@ -115,7 +115,7 @@ static void dissect_egd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     memset(&egd_time, 0, sizeof(nstime_t));
     offset = 0;
 
-    ti = proto_tree_add_item(tree, proto_egd, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_egd, tvb, 0, -1, ENC_NA);
     egd_tree = proto_item_add_subtree(ti, ett_egd);
     proto_tree_add_item(egd_tree, hf_egd_type, tvb, offset, 1, ENC_LITTLE_ENDIAN);
     offset++;
index 069f41071c4b06b1f8eed10fab950475d9a8a59b..d53fd5214b151f2a7030803e42eaef580b7ae245 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.
@@ -866,7 +866,7 @@ static void aoslos_data_zone_dissector ( proto_tree* ehs_tree, tvbuff_t* tvb, in
    * The AOS/LOS packet data zone is only 2 bytes in
    * length and only 2 bits in the first byte are
    * meaningful -- Ku band or S band and AOS or LOS
-   * 
+   *
    * 7-2 - unused
    * 1-0 - band + AOS/LOS indicator
    *
@@ -1064,7 +1064,7 @@ dissect_ehs(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         col_set_str(pinfo->cinfo, COL_PROTOCOL, "EHS");
         col_set_str(pinfo->cinfo, COL_INFO, "EHS");
 
-        ehs_packet = proto_tree_add_item ( tree, proto_ehs, tvb, 0, -1, FALSE );
+        ehs_packet = proto_tree_add_item ( tree, proto_ehs, tvb, 0, -1, ENC_NA );
         ehs_tree = proto_item_add_subtree ( ehs_packet, ett_ehs );
 
         /* build the ehs primary header tree */
index 064b2995e32abffa6ac75864ae450db8f8b160fb..8f03db77db161821dca12ce2db7e5099348550e8 100644 (file)
@@ -361,7 +361,7 @@ dissect_enttec(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_enttec, tvb, offset, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_enttec, tvb, offset, -1, ENC_NA);
                enttec_tree = proto_item_add_subtree(ti, ett_enttec);
        }
 
index 7f628455e466c9fbf3f6820c3f70c30072b82707..e2f00d70c2de70692df2c119a56f7ccf724eda50 100644 (file)
@@ -763,7 +763,7 @@ dissect_epl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     if (tree)
     {
         /* create display subtree for the protocol */
-        ti = proto_tree_add_item(tree, proto_epl, tvb, 0, -1, TRUE);
+        ti = proto_tree_add_item(tree, proto_epl, tvb, 0, -1, ENC_NA);
         epl_tree = proto_item_add_subtree(ti, ett_epl);
 
         proto_tree_add_item(epl_tree,
index d30b7b4a8c80a6313d859ee11ab014a161c99fab..000efbbc4c8c2df156c706db2fe9493e586a1f6d 100644 (file)
@@ -406,7 +406,7 @@ dissect_epl_v1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if(tree){
                /* create display subtree for the protocol */
-               ti = proto_tree_add_item(tree, proto_epl_v1, tvb, 0, -1, TRUE);
+               ti = proto_tree_add_item(tree, proto_epl_v1, tvb, 0, -1, ENC_NA);
 
                epl_v1_tree = proto_item_add_subtree(ti, ett_epl_v1);
        }
index 6ca417d68763d2d9a066e43725ff29f67defd418..73bb83253dcc3569c78d99e078e98297f1368d13 100644 (file)
@@ -318,7 +318,7 @@ dissect_epmd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
 
   col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME);
 
-  ti = proto_tree_add_item(tree, proto_epmd, tvb, 0, -1, FALSE);
+  ti = proto_tree_add_item(tree, proto_epmd, tvb, 0, -1, ENC_NA);
   epmd_tree = proto_item_add_subtree(ti, ett_epmd);
 
   if (pinfo->match_port == pinfo->destport) {
index 47635cdceca66bb8a83a24e22bf72e93f81d8cb9..ee1b273817ec69632dccb63f808325c69e6bbd70 100644 (file)
@@ -654,7 +654,7 @@ channelised_fill_sdh_g707_format(sdh_g707_format_t* in_fmt, guint16 bit_flds, gu
       /* check the value in bit flds */
       aug_n_index = ((bit_flds >> (2 *i))& 0x3) +1;
     }
-    else                                                                                                                           
+    else
     {
       aug_n_index = 0;
     }
@@ -669,7 +669,7 @@ channelised_fill_vc_id_string(char* out_string, int maxstrlen, sdh_g707_format_t
   int i = 0;
   int cur_len = 0, print_index = 0;
   guint8 is_printed = 0;
-  static char* g_vc_size_strings[] =  { 
+  static char* g_vc_size_strings[] =  {
                   "unknown", /* 0x0 */
                   "VC3", /*0x1*/
                   "VC4", /*0x2*/
@@ -715,7 +715,7 @@ channelised_fill_vc_id_string(char* out_string, int maxstrlen, sdh_g707_format_t
   }
   g_snprintf(out_string+print_index, maxstrlen, ")");
   return;
-} 
+}
 
 static void
 dissect_channelised_ex_header(tvbuff_t *tvb,  packet_info *pinfo, proto_tree *pseudo_hdr_tree, int idx)
@@ -1130,7 +1130,7 @@ dissect_erf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   }
 
   if (tree) {
-    erf_item = proto_tree_add_item(tree, proto_erf, tvb, 0, -1, FALSE);
+    erf_item = proto_tree_add_item(tree, proto_erf, tvb, 0, -1, ENC_NA);
     erf_tree = proto_item_add_subtree(erf_item, ett_erf);
 
     dissect_erf_pseudo_header(tvb, pinfo, erf_tree);
index ae197c950e2d45fdbf667aefabc0e2c54232e9d7..62c916a71123bd2446c91f27f6d385d27e5677ed 100644 (file)
@@ -452,7 +452,7 @@ static void dissect_erldp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tre
 
   col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME);
 
-  ti = proto_tree_add_item(tree, proto_erldp, tvb, 0, -1, FALSE);
+  ti = proto_tree_add_item(tree, proto_erldp, tvb, 0, -1, ENC_NA);
   erldp_tree = proto_item_add_subtree(ti, ett_erldp);
 
   if (is_handshake(tvb, 0)) {
index a8ea08d9145235f44a47cb99a1743a347ddec21f..8500157a3f4bd23858faa404d13cda744ca36294 100644 (file)
@@ -83,7 +83,7 @@ static const value_string esio_sts_types[] = {
 static gboolean
 is_esio_pdu(tvbuff_t *tvb)
 {
-       /* we need at least 8 bytes to determine whether this is 
+       /* we need at least 8 bytes to determine whether this is
           Ether-S-I/O or not*/
        /* minimal length is 20 bytes*/
        if (tvb_length(tvb) < 20) {
@@ -173,7 +173,7 @@ dissect_esio(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 /* create display subtree for the protocol */
        if (tree) {
               offset =0;
-              ti = proto_tree_add_item(tree, proto_esio, tvb, offset, -1, FALSE);
+              ti = proto_tree_add_item(tree, proto_esio, tvb, offset, -1, ENC_NA);
               esio_tree = proto_item_add_subtree(ti, ett_esio);
 /*Add subtree for Ether-S-I/O header*/
               et = proto_tree_add_text(esio_tree, tvb, offset, 12, "Ether-S-I/O header");
index dcbb8ee64f6f065900e21b8b4298f5a3d37f1863..87d6295f6c8ee439a8614f0cbf8b0aede48cdb7f 100644 (file)
@@ -286,7 +286,7 @@ dissect_esis(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
    tvb_memcpy(tvb, (guint8 *)&ehdr, 0, sizeof ehdr);
 
    if (tree) {
-     ti = proto_tree_add_item(tree, proto_esis, tvb, 0, -1, FALSE);
+     ti = proto_tree_add_item(tree, proto_esis, tvb, 0, -1, ENC_NA);
      esis_tree = proto_item_add_subtree(ti, ett_esis);
 
      if (ehdr.esis_version != ESIS_REQUIRED_VERSION){
index 54dd9c30a1d8d8936d67792a581fdd9d192f5228..692d54d1d1e89b0283fa1f65601b6432d3c8c0dc 100644 (file)
@@ -368,7 +368,7 @@ dissect_eth_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree,
                 get_ether_name(dst_addr), ether_to_str(dst_addr));
       }
       else {
-            ti = proto_tree_add_item(parent_tree, proto_eth, tvb, 0, ETH_HEADER_SIZE, FALSE);
+            ti = proto_tree_add_item(parent_tree, proto_eth, tvb, 0, ETH_HEADER_SIZE, ENC_NA);
       }
       fh_tree = proto_item_add_subtree(ti, ett_ether2);
     }
index d439bcf5eaa4e426155558ba84c41ea70e661eb9..a6f5af1491802111bf102570c17e9b59fd41d377 100644 (file)
@@ -239,7 +239,7 @@ dissect_evrc_aux(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, evrc_varia
 
     len = tvb_length(tvb);
 
-    item = proto_tree_add_item(tree, proto_evrc, tvb, 0, -1, FALSE);
+    item = proto_tree_add_item(tree, proto_evrc, tvb, 0, -1, ENC_NA);
 
     evrc_tree = proto_item_add_subtree(item, ett_evrc);
 
index 43ec382ea59473c7b1bbc397d6ab7b73b6d3980b..9466293dd2d2996ab0681336a631c2951d1978f0 100644 (file)
@@ -221,7 +221,7 @@ dissect_exec(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        /* create display subtree for the protocol */
-       ti = proto_tree_add_item(tree, proto_exec, tvb, 0, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_exec, tvb, 0, -1, ENC_NA);
        exec_tree = proto_item_add_subtree(ti, ett_exec);
 
        /* If this packet doesn't end with a null terminated string,
index 8b6d431a8241a6145435c7e359ffe50ee84878e8..48a729e1d986e01ae3826f008ef0beccad1dab2e 100644 (file)
@@ -976,7 +976,7 @@ dissect_edp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_edp, tvb, offset, -1,
-                   ENC_BIG_ENDIAN);
+                   ENC_NA);
                edp_tree = proto_item_add_subtree(ti, ett_edp);
 
                proto_tree_add_item(edp_tree, hf_edp_version, tvb, offset, 1,
index 227ae641d2d4b0bbb0f94de20f01bc727470b899..3be25b63dc2ffc84dd27d1d69a3c4183e95b9e2e 100644 (file)
@@ -258,7 +258,7 @@ dissect_fcgi_record(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
       guint16 clen;
       guint8 plen;
 
-      ti = proto_tree_add_item(tree, proto_fcgi, tvb, 0, -1, FALSE);
+      ti = proto_tree_add_item(tree, proto_fcgi, tvb, 0, -1, ENC_NA);
       proto_item_append_text(ti, " (%s)",
                              val_to_str(type, record_types, "Unknown (%u)"));
       fcgi_tree = proto_item_add_subtree(ti, ett_fcgi);
index cbf8d06d180e55a88be3f190784635d175da30bd..76e13dd1c7894b66c84fa042458ad5b9a7d0551e 100644 (file)
@@ -108,7 +108,7 @@ dissect_fefd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         proto_item *flags_ti;
         proto_tree *flags_tree;
 
-        ti = proto_tree_add_item(tree, proto_fefd, tvb, offset, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_fefd, tvb, offset, -1, ENC_NA);
         fefd_tree = proto_item_add_subtree(ti, ett_fefd);
 
         /* FEFD header */
index cd21fad357d3fb7425f0868cb454346024cd075a..b19bbc264d4099abd07c3c14ae2f24e13fb9ac60 100644 (file)
@@ -12965,7 +12965,7 @@ dissect_ff(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        length = tvb_get_ntohl(tvb, 8);
 
        if(tree) {
-               ti = proto_tree_add_item(tree, proto_ff, tvb, offset, length, FALSE);
+               ti = proto_tree_add_item(tree, proto_ff, tvb, offset, length, ENC_NA);
                sub_tree = proto_item_add_subtree(ti, ett_ff);
        }
 
index cb2eaba2a3d0939c0d1458784684994bdae9ae24..8378587c3d176e6ee24486b9c1626de792bed8ac 100644 (file)
@@ -244,14 +244,14 @@ dissect_fix_packet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     if (fix_marker(tvb, 0) != 0) {
         /* not a fix packet start but it's a fix packet */
         col_set_str(pinfo->cinfo, COL_INFO, "[FIX continuation]");
-        ti = proto_tree_add_item(tree, proto_fix, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_fix, tvb, 0, -1, ENC_NA);
         fix_tree = proto_item_add_subtree(ti, ett_fix);
         proto_tree_add_item(fix_tree, hf_fix_data, tvb, 0, -1, ENC_NA);
         return;
     }
 
     pdu_len = tvb_reported_length(tvb);
-    ti = proto_tree_add_item(tree, proto_fix, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_fix, tvb, 0, -1, ENC_NA);
     fix_tree = proto_item_add_subtree(ti, ett_fix);
 
     /* begin string */
index c086bd86dbbca238342d334a6d9dc193fcc15a7f..eabff0a9469515bdfc3a4c08e62cab4564a0e9e5 100644 (file)
@@ -448,7 +448,7 @@ dissect_flip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         }
         else {
             ti = proto_tree_add_item(tree, proto_flip, flip_tvb, 0,
-                                     flip_len, FALSE);
+                                     flip_len, ENC_NA);
         }
         flip_tree = proto_item_add_subtree(ti, ett_flip);
 
index 27915e7388185c347cf39fe90cc39f684beb60ae..cdc14a81126df7e2b21793084b8d61679e162654 100644 (file)
@@ -88,7 +88,7 @@ dissect_fmtp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     /* Clear out stuff in the info column */
     col_clear(pinfo->cinfo, COL_INFO);
 
-    ti = proto_tree_add_item(tree, proto_fmtp, tvb, 0, -1, ENC_LITTLE_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_fmtp, tvb, 0, -1, ENC_NA);
     proto_item_append_text(ti, ", %s",
         val_to_str(packet_type, packet_type_names, "Unknown (0x%02x)"));
 
index e7b6d27c6c8d44519b6cb2a63f7ad36b83a6dc70..66cb2c4830e4af393e43f28fce0964977151f682 100644 (file)
@@ -500,7 +500,7 @@ static void dissect_fp_hint(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        channel_type = tvb_get_guint8(tvb, 3);
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_fp_hint, tvb, 0, hdrlen, TRUE);
+               ti = proto_tree_add_item(tree, proto_fp_hint, tvb, 0, hdrlen, ENC_NA);
                fph_tree = proto_item_add_subtree(ti, ett_fph);
                proto_tree_add_uint(fph_tree, hf_fph_frametype, tvb, 2, 1, frame_type);
                proto_tree_add_uint(fph_tree, hf_fph_channeltype, tvb, 3, 1, channel_type);
index 9638fc056551fe982667f254c1fcb0941c7b6569..fba74b334a3c4fc346d8527cd2d2950d55e2df25 100644 (file)
@@ -185,7 +185,7 @@ dissect_fractalgeneratorprotocol(tvbuff_t *message_tvb, packet_info *pinfo, prot
      necessary to generate protocol tree items. */
   if (tree) {
     /* create the fractalgeneratorprotocol protocol tree */
-    fractalgeneratorprotocol_item = proto_tree_add_item(tree, proto_fractalgeneratorprotocol, message_tvb, 0, -1, FALSE);
+    fractalgeneratorprotocol_item = proto_tree_add_item(tree, proto_fractalgeneratorprotocol, message_tvb, 0, -1, ENC_NA);
     fractalgeneratorprotocol_tree = proto_item_add_subtree(fractalgeneratorprotocol_item, ett_fractalgeneratorprotocol);
   } else {
     fractalgeneratorprotocol_tree = NULL;
index 89a8ce8b29999bab7d109663a381bd910812b82b..1f542a6ea5c9a5c28beba4948069803f78f87385 100644 (file)
@@ -354,7 +354,7 @@ dissect_ftp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_ftp, tvb, offset, -1,
-                   FALSE);
+                   ENC_NA);
                ftp_tree = proto_item_add_subtree(ti, ett_ftp);
 
                if (is_request) {
@@ -647,7 +647,7 @@ dissect_ftpdata(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                data_length = tvb_length(tvb);
 
                ti = proto_tree_add_item(tree, proto_ftp_data, tvb, 0, -1,
-                   FALSE);
+                   ENC_NA);
                ftp_data_tree = proto_item_add_subtree(ti, ett_ftp_data);
 
                /*
index 578265507eaf9888f52410ce1b785fb02b5e237c..6f0e272ad0e6015a696003baa7fe45531c267711 100644 (file)
@@ -7,17 +7,17 @@
  * 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,7 +57,7 @@ static int ett_g723 = -1;
 
  */
 static const value_string g723_frame_size_and_codec_type_value[] = {
-       {0,                     "High-rate speech (6.3 kb/s)"}, 
+       {0,                     "High-rate speech (6.3 kb/s)"},
        {1,                     "Low-rate speech  (5.3 kb/s)"}, /* Not coded */
        {2,                     "SID frame"},
        {3,                     "Reserved"},
@@ -79,16 +79,16 @@ dissect_g723(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 /* Make entries in Protocol column and Info column on summary display */
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "G.723.1");
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_g723, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_g723, tvb, 0, -1, ENC_NA);
 
                g723_tree = proto_item_add_subtree(ti, ett_g723);
 
                octet = tvb_get_guint8(tvb,offset);
                proto_tree_add_item(g723_tree, hf_g723_frame_size_and_codec, tvb, offset, 1, ENC_BIG_ENDIAN);
                proto_tree_add_item(g723_tree, hf_g723_lpc_B5_B0, tvb, offset, 1, ENC_BIG_ENDIAN);
-       
+
                if ((octet & 0x1) == 1 ) /* Low rate */
-                       return; 
+                       return;
        }/* if tree */
 
 }
@@ -103,7 +103,7 @@ void
 proto_reg_handoff_g723(void)
 {
        dissector_handle_t g723_handle;
-       
+
        g723_handle = create_dissector_handle(dissect_g723, proto_g723);
 
        dissector_add_uint("rtp.pt", PT_G723, g723_handle);
@@ -116,19 +116,19 @@ proto_reg_handoff_g723(void)
 
 void
 proto_register_g723(void)
-{                 
+{
 
 
 /* Setup list of header fields  See Section 1.6.1 for details*/
        static hf_register_info hf[] = {
                { &hf_g723_frame_size_and_codec,
                        { "Frame size and codec type", "g723.frame_size_and_codec",
-                       FT_UINT8, BASE_HEX, VALS(g723_frame_size_and_codec_type_value), 0x03,          
+                       FT_UINT8, BASE_HEX, VALS(g723_frame_size_and_codec_type_value), 0x03,
                        "RATEFLAG_B0", HFILL }
                },
                { &hf_g723_lpc_B5_B0,
                        { "LPC_B5...LPC_B0",           "g723.lpc.b5b0",
-                       FT_UINT8, BASE_HEX, NULL, 0xfc,          
+                       FT_UINT8, BASE_HEX, NULL, 0xfc,
                        NULL, HFILL }
                },
 
index 18d8cbf887d65df0229387ea69ebbd00ac9fda2a..796316b6af5e9dc5aa71daa08a3447fbbccae6e4 100644 (file)
@@ -1247,7 +1247,7 @@ dissect_gdsdb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        gdsdb_tree = NULL; /* So the opcode functions can check on if(tree) */
        nopi.cinfo = NULL;
 
-       if (tvb_length(tvb) < 4) 
+       if (tvb_length(tvb) < 4)
                return 0;
 
        opcode = tvb_get_ntohl(tvb, 0);
@@ -1264,7 +1264,7 @@ dissect_gdsdb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_gdsdb, tvb, 0, -1,
-                                                                  FALSE);
+                                                                  ENC_NA);
                gdsdb_tree = proto_item_add_subtree(ti, ett_gdsdb);
                proto_tree_add_item(gdsdb_tree, hf_gdsdb_opcode, tvb,
                                                        0, 4, ENC_BIG_ENDIAN);
index da497fb678edff7e69981d0eb8a984b996a024e7..cda1dfd896adce79bae772a286f9182c6b2d832f 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.
@@ -69,14 +69,14 @@ dissect_gift(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        line = tvb_get_ptr(tvb, offset, linelen);
 
        /* set "Info" column text */
-       if (check_col(pinfo->cinfo, COL_INFO)) 
+       if (check_col(pinfo->cinfo, COL_INFO))
                col_add_fstr(pinfo->cinfo, COL_INFO, "%s: %s",
                             is_request ? "Request" : "Response",
                             format_text(line, linelen));
 
        /* if tree != NULL, build protocol tree */
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_gift, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_gift, tvb, 0, -1, ENC_NA);
                gift_tree = proto_item_add_subtree(ti, ett_gift);
 
                if (is_request) {
@@ -86,7 +86,7 @@ dissect_gift(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                }
                PROTO_ITEM_SET_HIDDEN(hidden_item);
 
-               ti = proto_tree_add_text(gift_tree, tvb, offset, next_offset - offset, "%s", 
+               ti = proto_tree_add_text(gift_tree, tvb, offset, next_offset - offset, "%s",
                                         tvb_format_text(tvb, offset, next_offset - offset));
                cmd_tree = proto_item_add_subtree(ti, ett_gift_cmd);
 
index 49a66c58e6bdef7ea474802e676a1c8074c983d6..6a025ba6f21587d143f0c8cac6de204c853a0de7 100644 (file)
@@ -3945,7 +3945,7 @@ static void dissect_giop_common (tvbuff_t * tvb, packet_info * pinfo, proto_tree
     }
     if (tree)
     {
-      ti = proto_tree_add_item (tree, proto_giop, tvb, 0, -1, FALSE);
+      ti = proto_tree_add_item (tree, proto_giop, tvb, 0, -1, ENC_NA);
       clnp_tree = proto_item_add_subtree (ti, ett_giop);
       proto_tree_add_text (clnp_tree, giop_header_tvb, 0, -1,
                            "Version %u.%u not supported",
@@ -3981,7 +3981,7 @@ static void dissect_giop_common (tvbuff_t * tvb, packet_info * pinfo, proto_tree
 
   if (tree)
   {
-    ti = proto_tree_add_item (tree, proto_giop, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item (tree, proto_giop, tvb, 0, -1, ENC_NA);
     clnp_tree = proto_item_add_subtree (ti, ett_giop);
     proto_tree_add_text (clnp_tree, giop_header_tvb, offset, 4,
                          "Magic number: %s", GIOP_MAGIC);
index 4f9dedf389d4e8400f046d8f3a981e099bab2fcc..a2700fb6245d7bb401d679d89fb423cf9774fac3 100644 (file)
@@ -90,7 +90,7 @@ dissect_git_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   col_set_str(pinfo->cinfo, COL_INFO, "Git Smart Protocol");
 
-  ti = proto_tree_add_item(tree, proto_git, tvb, offset, -1, FALSE);
+  ti = proto_tree_add_item(tree, proto_git, tvb, offset, -1, ENC_NA);
   git_tree = proto_item_add_subtree(ti, ett_git);
 
   if (!tvb_get_packet_length(tvb, 0, &plen))
@@ -107,7 +107,7 @@ dissect_git_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
          proto_tree_add_uint(git_tree, hf_git_packet_len, tvb, offset,
                                                                4, plen);
 
-         proto_tree_add_item(git_tree, hf_git_packet_data, tvb, offset+4, 
+         proto_tree_add_item(git_tree, hf_git_packet_data, tvb, offset+4,
                                                                plen-4, ENC_NA);
        }
 }
index 5994fe462fa6d11f47c39ff8c35bbccddcd46cc9..8b3b7e3a6ec1f71120cf410f78d0df4b719afa62 100644 (file)
@@ -309,7 +309,7 @@ dissect_glbp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_add_fstr(pinfo->cinfo, COL_INFO, "G: %d", group);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_glbp, tvb, 0, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_glbp, tvb, 0, -1, ENC_NA);
     glbp_tree = proto_item_add_subtree(ti, ett_glbp);
 
     /* glbp header? */
index ed6e8426e48d9a9116880f7fc9d633d750bde134..b79686e082ef46d8cb3da3405bd04969fbd335d5 100644 (file)
@@ -166,7 +166,7 @@ dissect_gmhdr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   length = tvb_get_guint8(tvb, offset); /* Length of the Gigamon header */
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_gmhdr, tvb, offset, length, FALSE);
+    ti = proto_tree_add_item(tree, proto_gmhdr, tvb, offset, length, ENC_NA);
 
     if (gmhdr_summary_in_tree) {
       proto_item_append_text(ti, ", Length: %u", length);
@@ -244,7 +244,7 @@ dissect_gmtrailer(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
 
   /* OK: We appear to have a Gigamon trailer */
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_gmhdr, tvb, offset, length + 5, FALSE);
+    ti = proto_tree_add_item(tree, proto_gmhdr, tvb, offset, length + 5, ENC_NA);
 
     if (gmhdr_summary_in_tree) {
         proto_item_append_text(ti, ", Length: %u, Checksum: 0x%x", length, cksum);
index b2c70fa2ccd5121f3b9e68918d83806713125546..906861f58cdc416c41622074c9dbcd8359e3feaa 100644 (file)
@@ -124,7 +124,7 @@ dissect_gmrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
     if (tree)
     {
-       ti = proto_tree_add_item(tree, proto_gmrp, tvb, 0, length, FALSE);
+       ti = proto_tree_add_item(tree, proto_gmrp, tvb, 0, length, ENC_NA);
 
        gmrp_tree = proto_item_add_subtree(ti, ett_gmrp);
 
index c74756840d683329b2c8d0bfb15dbf9c95b44d21..e65293358f29134a6ef56b7ddbe2c176c44bd4f1 100644 (file)
@@ -357,7 +357,7 @@ static void dissect_gnutella_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *
                        tvb,
                        0,
                        -1,
-                       FALSE);
+                       ENC_NA);
                gnutella_tree = proto_item_add_subtree(ti, ett_gnutella);
 
                size = tvb_get_letohl(
@@ -548,7 +548,7 @@ static void dissect_gnutella(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
                                        tvb,
                                        0,
                                        -1,
-                                       FALSE);
+                                       ENC_NA);
                                gnutella_tree = proto_item_add_subtree(ti,
                                        ett_gnutella);
 
index 27eb5784cadad4efcdb9ef173da8aed4ecc41eb5..4fd51b25f0f38b9bd36e6f69b1820a7f33e52d37 100644 (file)
@@ -703,7 +703,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);
@@ -1035,6 +1035,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 9cdc5078986c55b6533721550e924cdbb5c63f5c..c9719e6fddff8f73e393adc02257fe857f128241 100644 (file)
@@ -160,7 +160,7 @@ dissect_gopher(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
 
     if (tree) {
         /* Create display subtree for the protocol */
-        ti = proto_tree_add_item(tree, proto_gopher, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_gopher, tvb, 0, -1, ENC_NA);
         gopher_tree = proto_item_add_subtree(ti, ett_gopher);
 
         if (client) {
index 054b76597865cacdec4483e9d4d1115de71f4a08..160cb344d4a7894303b2048858cc813e1da73bd8 100644 (file)
@@ -120,7 +120,7 @@ dissect_gpef_efsblob(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *parent_t
        guint32 count;
 
        if (parent_tree) {
-               item = proto_tree_add_item(parent_tree, proto_gpef, tvb, 0, -1, FALSE);
+               item = proto_tree_add_item(parent_tree, proto_gpef, tvb, 0, -1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_gpef);
        }
 
index 61451eaef687fe5a7aeced2396c1fc6a9a3af762..f9e19f11943cfcbde9d20cb230394a9b6b58ac73 100644 (file)
@@ -807,7 +807,7 @@ dissect_gsm_bsslap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_append_str(pinfo->cinfo, COL_PROTOCOL, "/BSSLAP");
        if (tree) {
                octet = tvb_get_guint8(tvb, offset);
-               item = proto_tree_add_item(tree, proto_gsm_bsslap, tvb, 0, -1, FALSE);
+               item = proto_tree_add_item(tree, proto_gsm_bsslap, tvb, 0, -1, ENC_NA);
                sub_tree = proto_item_add_subtree(item, ett_gsm_bsslap);
 
                /* Message Type IE / 5.1 M V 1 */
index bc95d7f90914b5c88455fdd1de3b97939e40116e..6601bc3d873f0bda535545db44b13a89c27e20ec 100644 (file)
 #include <epan/prefs.h>
 
 /* http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml
- * 
+ *
  * exlm-agent     3002
  * cgms           3003
  * ii-admin       3006
- * vrml-multi-use 4200-4299 
+ * vrml-multi-use 4200-4299
  * commplex-main  5000
  */
 #define IPA_TCP_PORTS "3002,3003,3006,4249,4250,5000"
@@ -189,7 +189,7 @@ dissect_ipaccess(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                        val_to_str(msg_type, ipaccess_msgtype_vals,
                                   "unknown 0x%02x"));
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_ipaccess, tvb, 0, -1, ENC_BIG_ENDIAN);
+               ti = proto_tree_add_item(tree, proto_ipaccess, tvb, 0, -1, ENC_NA);
                ipaccess_tree = proto_item_add_subtree(ti, ett_ipaccess);
                proto_tree_add_item(ipaccess_tree, hf_ipaccess_msgtype,
                                    tvb, 0, 1, ENC_BIG_ENDIAN);
index 683aa7c986c7cec69e4698a06add56aeec0f1854..b3965c207157fdf4f9eefc2bdc64aad469524b93 100644 (file)
@@ -391,7 +391,7 @@ parse_gsm_sms_ud_message(proto_tree *sm_tree, tvbuff_t *tvb, packet_info *pinfo,
                                if ( prevent_subdissectors_changing_columns && col_get_writable(pinfo->cinfo) ) {
                                        disallow_write = TRUE;
                                        col_set_writable(pinfo->cinfo, FALSE);
-                               }                               
+                               }
 
                                if ( port_number_udh_means_wsp ) {
                                        call_dissector (wsp_handle, sm_tvb, pinfo, top_tree);
@@ -407,7 +407,7 @@ parse_gsm_sms_ud_message(proto_tree *sm_tree, tvbuff_t *tvb, packet_info *pinfo,
                                                }
                                        }
                                }
-                               
+
                                if ( disallow_write )
                                        col_set_writable(pinfo->cinfo, TRUE);
                        } else { /* No ports IE */
@@ -433,7 +433,7 @@ dissect_gsm_sms_ud(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 {
        proto_item *ti;
        proto_tree *subtree;
-       ti = proto_tree_add_item(tree, proto_gsm_sms_ud, tvb, 0, -1, TRUE);
+       ti = proto_tree_add_item(tree, proto_gsm_sms_ud, tvb, 0, -1, ENC_NA);
        subtree = proto_item_add_subtree(ti, ett_gsm_sms);
        parse_gsm_sms_ud_message(subtree, tvb, pinfo, tree);
 }
index 87bef0dcb737f367c5131fa7e1a8c16800f1ebe7..feb111ef51cce52a15e8d8b4d194743ac53aeff0 100644 (file)
@@ -140,7 +140,7 @@ dissect_gsm_um(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if (tree) {
                const char *channel;
 
-               ti = proto_tree_add_item(tree, proto_gsm_um, tvb, 0, 0, FALSE);
+               ti = proto_tree_add_item(tree, proto_gsm_um, tvb, 0, 0, ENC_NA);
                gsm_um_tree = proto_item_add_subtree(ti, ett_gsm_um);
 
                switch( pinfo->pseudo_header->gsm_um.channel ) {
index d6af5f8e664b03b8243b97425f91f009179c8016..ddfaf1ad92fc01727a5f90f8a1ec555b21fe378a 100644 (file)
@@ -227,7 +227,7 @@ dissect_gssapi_work(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
        }
 
        item = proto_tree_add_item(
-               tree, proto_gssapi, tvb, offset, -1, FALSE);
+               tree, proto_gssapi, tvb, offset, -1, ENC_NA);
 
        subtree = proto_item_add_subtree(item, ett_gssapi);
 
index 7d957c29e0c0a25493cea96d80a7e6a3c64c0a37..136ac864ac0f0ffb44c804d1ec7e3166e4edacce 100644 (file)
@@ -6673,7 +6673,7 @@ static void dissect_gtp_common(tvbuff_t * tvb, packet_info * pinfo, proto_tree *
     col_add_str(pinfo->cinfo, COL_INFO, val_to_str_ext_const(gtp_hdr.message, &message_type_ext, "Unknown"));
 
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_gtp, tvb, 0, -1, ENC_BIG_ENDIAN);
+        ti = proto_tree_add_item(tree, proto_gtp, tvb, 0, -1, ENC_NA);
         gtp_tree = proto_item_add_subtree(ti, ett_gtp);
 
         tf = proto_tree_add_uint(gtp_tree, hf_gtp_flags, tvb, 0, 1, gtp_hdr.flags);
@@ -6748,14 +6748,14 @@ static void dissect_gtp_common(tvbuff_t * tvb, packet_info * pinfo, proto_tree *
                     /* proto_tree_add_uint(gtp_tree, hf_gtp_next, tvb, offset, 1, next_hdr); */
 
                     offset++;
-                    
+
                     /* Change to while? */
                     if (next_hdr) {
 
                         /* TODO Add support for more than one extension header */
-                        
+
                         noOfExtHdrs++;
-                        
+
                         tf = proto_tree_add_uint(gtp_tree, hf_gtp_ext_hdr, tvb, offset, 4, next_hdr);
                         ext_tree = proto_item_add_subtree(tf, ett_gtp_ext_hdr);
 
@@ -6772,7 +6772,7 @@ static void dissect_gtp_common(tvbuff_t * tvb, packet_info * pinfo, proto_tree *
                          * Wireshark Note: TS 29.060 does not define bit 5-6 as spare, so no check is possible unless a preference is used.
                                                 */
                         if (next_hdr == GTP_EXT_HDR_PDCP_SN) {
-                                                                                  
+
                             /* First byte is length (should be 1) */
                                ext_hdr_length = tvb_get_guint8(tvb, offset);
                                if (ext_hdr_length != 1) {
@@ -6783,7 +6783,7 @@ static void dissect_gtp_common(tvbuff_t * tvb, packet_info * pinfo, proto_tree *
 
                             proto_tree_add_item(ext_tree, hf_gtp_ext_hdr_pdcpsn, tvb, offset, 2, ENC_BIG_ENDIAN);
                             offset += 2;
-                            
+
                             /* Last is next_hdr */
                             next_hdr = tvb_get_guint8(tvb, offset);
                             item = proto_tree_add_item(ext_tree, hf_gtp_ext_hdr_next, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -6791,9 +6791,9 @@ static void dissect_gtp_common(tvbuff_t * tvb, packet_info * pinfo, proto_tree *
                             if (next_hdr) {
                                expert_add_info_format(pinfo, item, PI_UNDECODED, PI_WARN, "Can't decode more than one extension header.");
                             }
-                            offset++;                            
+                            offset++;
                          }
-                    }   
+                    }
                 }
                 break;
             default:
index a3fe47123d9b40fc52143d5e5e93eeaed4da9e4b..84cc6693e8ed02f303ac5d5aa7b2f6897edd3467 100644 (file)
@@ -3712,7 +3712,7 @@ dissect_gtpv2(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
     col_add_str(pinfo->cinfo, COL_INFO, val_to_str(message_type, gtpv2_message_type_vals, "Unknown"));
 
 
-    proto_tree_add_item(tree, proto_gtpv2, tvb, offset, -1, ENC_BIG_ENDIAN);
+    proto_tree_add_item(tree, proto_gtpv2, tvb, offset, -1, ENC_NA);
 
     if (tree) {
         ti = proto_tree_add_text(tree, tvb, offset, -1, "%s", val_to_str(message_type, gtpv2_message_type_vals, "Unknown"));
index 1a882fd57da79a249b114456ff3866d53e3e8ffe..38311a21afe80e6c1f2cbf1dbf622c1d7bf0c39c 100644 (file)
@@ -256,7 +256,7 @@ dissect_gvcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     proto_item *ti = NULL;
     proto_tree *gvcp_tree = NULL;
 
-    ti = proto_tree_add_item(tree, proto_gvcp, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_gvcp, tvb, 0, -1, ENC_NA);
     gvcp_tree = proto_item_add_subtree(ti, ett_gvcp);
     proto_tree_add_item(gvcp_tree, hf_gvcp_type, tvb, 0, 2, ENC_BIG_ENDIAN);
     proto_tree_add_item(gvcp_tree, hf_gvcp_opcode, tvb, 2, 2, ENC_BIG_ENDIAN);
index 905d5d39d1c977cffaca97292caea3e4df19701d..c2b0495f091ce6110c8a50a6b4c467f1b227c1fc 100644 (file)
@@ -108,7 +108,7 @@ dissect_gvrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
     if (tree)
     {
-       ti = proto_tree_add_item(tree, proto_gvrp, tvb, 0, length, FALSE);
+       ti = proto_tree_add_item(tree, proto_gvrp, tvb, 0, length, ENC_NA);
 
        gvrp_tree = proto_item_add_subtree(ti, ett_gvrp);
 
index 6a492c540c8d531d0cb1d1a6f40eee95df588f73..3814d34d8a9e802befba8549a16756907ae1f169 100644 (file)
@@ -124,7 +124,7 @@ static gboolean dissect_h1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_set_str(pinfo->cinfo, COL_INFO, "S5: ");
   if (tree)
     {
-      ti = proto_tree_add_item (tree, proto_h1, tvb, offset, 16, FALSE);
+      ti = proto_tree_add_item (tree, proto_h1, tvb, offset, 16, ENC_NA);
       h1_tree = proto_item_add_subtree (ti, ett_h1);
       proto_tree_add_uint (h1_tree, hf_h1_header, tvb, offset, 2,
                           tvb_get_ntohs(tvb,offset));
index 859315e4161309f846c8b4f0d8775f8b7a096780..e1c64ed928d89a5b957d853060f19cd1850653ad 100644 (file)
@@ -1310,7 +1310,7 @@ dissect_h223 (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
     /* add the 'h223' tree to the main tree */
     if (tree) {
-        h223_item = proto_tree_add_item (tree, proto_h223, tvb, 0, -1, FALSE);
+        h223_item = proto_tree_add_item (tree, proto_h223, tvb, 0, -1, ENC_NA);
         h223_tree = proto_item_add_subtree (h223_item, ett_h223);
     }
 
index 649f07d5fee13e69ef6babeecd8684d54b10c82e..dac1262baa57d01cef2baccd76a31c7e6739ba14 100644 (file)
@@ -5400,7 +5400,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 cdceb30e74ab23b72d96bdd99f631bf72e764114..f5b6a9dafb96029fd844655ca249d2b059607b9c 100644 (file)
@@ -70,7 +70,7 @@ dissect_h261( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
        col_set_str(pinfo->cinfo, COL_INFO, "H.261 message");
 
        if ( tree ) {
-               ti = proto_tree_add_item( tree, proto_h261, tvb, offset, -1, FALSE );
+               ti = proto_tree_add_item( tree, proto_h261, tvb, offset, -1, ENC_NA );
                h261_tree = proto_item_add_subtree( ti, ett_h261 );
                /* SBIT 1st octet, 3 bits */
                proto_tree_add_uint( h261_tree, hf_h261_sbit, tvb, offset, 1, tvb_get_guint8( tvb, offset ) >> 5 );
index 68339de63e2ea228e67616df2084b5d84b4facc4..c89c128bba8f83e2afe62730a7d4a8d6c012d6f5 100644 (file)
@@ -190,13 +190,13 @@ dissect_h263_group_of_blocks_layer( tvbuff_t *tvb, proto_tree *tree, gint offset
                proto_tree_add_bits_item(tree, hf_h263_gbsc, tvb, offset_in_bits, 1, ENC_BIG_ENDIAN);
                offset_in_bits++;
        }else{
-               /* Group of Block Start Code (GBSC) (17 bits) 
+               /* Group of Block Start Code (GBSC) (17 bits)
                 * A word of 17 bits. Its value is 0000 0000 0000 0000 1.
                 */
                proto_tree_add_bits_item(tree, hf_h263_gbsc, tvb, offset_in_bits, 17, ENC_BIG_ENDIAN);
                offset_in_bits = offset_in_bits +17;
        }
-       /* 
+       /*
         * Group Number (GN) (5 bits)
         */
        proto_tree_add_bits_item(tree, hf_h263_GN, tvb, offset_in_bits, 5, ENC_BIG_ENDIAN);
@@ -204,7 +204,7 @@ dissect_h263_group_of_blocks_layer( tvbuff_t *tvb, proto_tree *tree, gint offset
        /* 5.2.4 GOB Sub-Bitstream Indicator (GSBI) (2 bits)
         * A fixed length codeword of 2 bits that is only present if CPM is "1" in the picture header.
         */
-       /* 
+       /*
         * 5.2.5 GOB Frame ID (GFID) (2 bits)
         */
        /*
@@ -238,12 +238,12 @@ dissect_h263_picture_layer( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
        guint64 pei;
 
        if(is_rfc4626){
-               /* PC 1000 00xx */ 
+               /* PC 1000 00xx */
                proto_tree_add_bits_item(tree, hf_h263_psc, tvb, offset_in_bits, 6, ENC_BIG_ENDIAN);
                offset_in_bits = offset_in_bits +6;
 
        }else{
-       /* Check for PSC, PSC is a word of 22 bits. 
+       /* Check for PSC, PSC is a word of 22 bits.
         * Its value is 0000 0000 0000 0000' 1000 00xx xxxx xxxx.
         */
                proto_tree_add_bits_item(tree, hf_h263_psc, tvb, offset_in_bits, 22, ENC_BIG_ENDIAN);
@@ -253,7 +253,7 @@ dissect_h263_picture_layer( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
        proto_tree_add_bits_item(tree, hf_h263_TR, tvb, offset_in_bits, 8, ENC_BIG_ENDIAN);
        offset_in_bits = offset_in_bits +8;
        /*
-        * Bit 1: Always "1", in order to avoid start code emulation. 
+        * Bit 1: Always "1", in order to avoid start code emulation.
         * Bit 2: Always "0", for distinction with Recommendation H.261.
         */
        offset_in_bits = offset_in_bits +2;
@@ -290,14 +290,14 @@ dissect_h263_picture_layer( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
                proto_tree_add_bits_ret_val( tree, hf_h263_PB_frames_mode, tvb, offset_in_bits, 1, &PB_frames_mode, ENC_BIG_ENDIAN);
                offset_in_bits++;
        }else{
-               /* Extended PTYPE 
+               /* Extended PTYPE
                 * Update Full Extended PTYPE (UFEP) (3 bits)
                 */
                /* .... ..xx x... .... */
                proto_tree_add_bits_ret_val( tree, hf_h263_UFEP, tvb, offset_in_bits, 3, &ufep, ENC_BIG_ENDIAN);
                offset_in_bits = offset_in_bits +3;
                if(ufep==1){
-                       /* The Optional Part of PLUSPTYPE (OPPTYPE) (18 bits) 
+                       /* The Optional Part of PLUSPTYPE (OPPTYPE) (18 bits)
                         */
                         /*  .xxx xxxx  xxxx xxxx  xxx. .... */
                        opptype_item = proto_tree_add_bits_item( tree, hf_h263_opptype, tvb, offset_in_bits, 18, ENC_BIG_ENDIAN);
@@ -309,7 +309,7 @@ dissect_h263_picture_layer( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
                         */
                        proto_tree_add_bits_item( h263_opptype_tree, hf_h263_ext_source_format, tvb, offset_in_bits, 3, ENC_BIG_ENDIAN);
                        offset_in_bits+=3;
-                       
+
                        /*
                         *  Bit 4 Optional Custom PCF, "0" CIF PCF, "1" custom PCF;
                         */
@@ -373,7 +373,7 @@ dissect_h263_picture_layer( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
                         */
                        offset_in_bits++;
                        proto_tree_add_bits_item( h263_opptype_tree, hf_h263_not_dissected, tvb, saved_bit_offset, offset_in_bits-saved_bit_offset, ENC_NA);
-                       
+
                }
                /*
                 * 5.1.4.3 The mandatory part of PLUSPTYPE when PLUSPTYPE present (MPPTYPE) (9 bits)
@@ -417,7 +417,7 @@ dissect_h263_picture_layer( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
                offset_in_bits++;
                proto_tree_add_bits_item( tree, hf_h263_not_dissected, tvb, saved_bit_offset, offset_in_bits-saved_bit_offset, ENC_NA);
                /* The picture header location of CPM (1 bit) and PSBI (2 bits)
-                * the picture header depends on whether or not PLUSPTYPE is present 
+                * the picture header depends on whether or not PLUSPTYPE is present
                 * (see 5.1.20 and 5.1.21). If PLUSPTYPE is present, then CPM follows
                 * immediately after PLUSPTYPE in the picture header.
                 */
@@ -586,7 +586,7 @@ dissect_h263_picture_layer( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
        offset_in_bits++;
        while(pei==1)
        {
-               /*5.1.25 Supplemental Enhancement Information (PSUPP) (0/8/16 ... bits) 
+               /*5.1.25 Supplemental Enhancement Information (PSUPP) (0/8/16 ... bits)
                 * If PEI is set to "1", then 9 bits follow consisting of 8 bits of data (PSUPP) and then another PEI bit
                 * to indicate if a further 9 bits follow and so on. Encoders shall use PSUPP as specified in Annex L.
                 */
@@ -641,14 +641,14 @@ static void dissect_h263_data( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr
        col_append_str( pinfo->cinfo, COL_INFO, "H263 payload ");
 
        if( tree ) {
-         h263_payload_item = proto_tree_add_item( tree, proto_h263_data, tvb, offset, -1, FALSE );
+         h263_payload_item = proto_tree_add_item( tree, proto_h263_data, tvb, offset, -1, ENC_NA );
          h263_payload_tree = proto_item_add_subtree( h263_payload_item, ett_h263_payload );
        }
 
        /* Check for PSC, PSC is a word of 22 bits. Its value is 0000 0000 0000 0000' 1000 00xx xxxx xxxx. */
        data = tvb_get_ntohl(tvb, offset);
-       
-       if (( data & 0xffff8000) == 0x00008000 ) { 
+
+       if (( data & 0xffff8000) == 0x00008000 ) {
                /* Start Code found
                 *
                 * Startc code holds bit 17 -23 of the codeword
@@ -657,7 +657,7 @@ static void dissect_h263_data( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr
                if (startcode & 0x80){
                        switch(startcode){
                        case 0xf8:
-                               /* End Of Sub-Bitstream code (EOSBS) 
+                               /* End Of Sub-Bitstream code (EOSBS)
                                 * ( 1111 100. )
                                 */
                                break;
index 524f131546b9d3a26331dd4b8449816193a4b372..2ec9400fa6b882833006eb88855da3097a1f31ae 100644 (file)
@@ -88,9 +88,9 @@ dissect_h263P( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "H.263 RFC4629 ");
 
        if ( tree ) {
-         ti = proto_tree_add_item( tree, proto_h263P, tvb, offset, -1, FALSE );
+         ti = proto_tree_add_item( tree, proto_h263P, tvb, offset, -1, ENC_NA );
          h263P_tree = proto_item_add_subtree( ti, ett_h263P );
-          
+
          data16 = tvb_get_ntohs(tvb,offset);
          proto_tree_add_item( h263P_tree, hf_h263P_rr, tvb, offset, 2, ENC_BIG_ENDIAN );
          proto_tree_add_item( h263P_tree, hf_h263P_pbit, tvb, offset, 2, ENC_BIG_ENDIAN );
@@ -108,7 +108,7 @@ dissect_h263P( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
           */
 
          if ((data16&0x0200)==0x0200){
-                 /* V bit = 1 
+                 /* V bit = 1
                   *   The format of the VRC header extension is as follows:
                   *
                   *         0 1 2 3 4 5 6 7
@@ -136,7 +136,7 @@ dissect_h263P( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
                   *
                   *   S: 1 bit
                   *
-                  *   A bit that indicates that the packet content is for a sync frame.  
+                  *   A bit that indicates that the packet content is for a sync frame.
                   *   :
                   */
                  proto_tree_add_item( h263P_tree, hf_h263P_tid, tvb, offset, 1, ENC_BIG_ENDIAN );
@@ -151,7 +151,7 @@ dissect_h263P( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
                  extra_hdr_item = proto_tree_add_item( h263P_tree, hf_h263P_extra_hdr, tvb, offset, plen, ENC_NA );
                  h263P_extr_hdr_tree = proto_item_add_subtree( extra_hdr_item, ett_h263P_extra_hdr );
                  dissect_h263_picture_layer( tvb, pinfo, h263P_extr_hdr_tree, offset, plen, TRUE);
-                 offset += plen;               
+                 offset += plen;
          }
          if ((data16&0x0400)!=0){
                  /* P bit = 1 */
@@ -165,7 +165,7 @@ dissect_h263P( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
                           */
                          switch(startcode){
                          case 0xf8:
-                                 /* End Of Sub-Bitstream code (EOSBS) 
+                                 /* End Of Sub-Bitstream code (EOSBS)
                                   * EOSBS codes shall be byte aligned
                                   * ( 1111 100. )
                                   */
index e8588c6ff4b03c7992427c38415634ddd3a73e80..b325d5490b1074451ee455989464461c64a6dda0 100644 (file)
@@ -4407,7 +4407,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);
@@ -6325,7 +6325,7 @@ void proto_register_h282(void) {
 }
 
 /*--- proto_reg_handoff_h282 -------------------------------------------*/
-void proto_reg_handoff_h282(void) 
+void proto_reg_handoff_h282(void)
 {
 
 }
index c9b0ad1908696051abd2496e96d34c99a4e2b748..9fb10b35add0d2ecd060090ce1d66f6643382eff 100644 (file)
@@ -111,9 +111,9 @@ static gint ett_h283_NonStandardMessage = -1;
 #line 48 "../../asn1/h283/packet-h283-template.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;
 
@@ -578,7 +578,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);
@@ -762,12 +762,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 7ebcc8186291aabe234f3b1856a0ed536a5a6a11..1d0bf06e2f7f40b826ea424a11a2ff7c1aaaddfa 100644 (file)
@@ -2527,7 +2527,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);
@@ -3697,7 +3697,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 5d7b7ebf5096466cfefc9c176e2aca094f1820b5..46d81b37a02c695ab22e491f2836cd9c32be07cb 100644 (file)
@@ -69,7 +69,7 @@ dissect_hci_h1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        type = pinfo->pseudo_header->bthci.channel;
 
        if(tree){
-               ti = proto_tree_add_item(tree, proto_hci_h1, tvb, 0, 0, FALSE);
+               ti = proto_tree_add_item(tree, proto_hci_h1, tvb, 0, 0, ENC_NA);
                hci_h1_tree = proto_item_add_subtree(ti, ett_hci_h1);
 
                if(pinfo->p2p_dir == P2P_DIR_SENT ||
index 4802574422496be79377ec2def79c543c9b2cd7d..490c1a54ae4af0d902eba0ef431f32b516359911 100644 (file)
@@ -92,7 +92,7 @@ dissect_hci_h4(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        type = tvb_get_guint8(tvb, 0);
 
        if(tree){
-               ti = proto_tree_add_item(tree, proto_hci_h4, tvb, 0, 1, FALSE);
+               ti = proto_tree_add_item(tree, proto_hci_h4, tvb, 0, 1, ENC_NA);
                hci_h4_tree = proto_item_add_subtree(ti, ett_hci_h4);
        }
 
index 43a24e756ce6b2679251f369800ade95b011ee00..cc7b8dafbe5c715cec2993380156e61336e697aa 100644 (file)
@@ -537,7 +537,7 @@ dissect_hdfs_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         proto_item *ti = NULL;
         proto_tree *hdfs_tree = NULL;
 
-        ti = proto_tree_add_item(tree, proto_hdfs, tvb, 0, -1, ENC_BIG_ENDIAN);
+        ti = proto_tree_add_item(tree, proto_hdfs, tvb, 0, -1, ENC_NA);
         hdfs_tree = proto_item_add_subtree(ti, ett_hdfs);
 
         /* Response */
index 9debc7ee339c9661539d556799d839d167afe63e..0c576b8d9c4b67fdd4568adbc139ba238de6f521 100644 (file)
@@ -180,7 +180,7 @@ dissect_access_tokens(tvbuff_t *tvb, proto_tree *hdfsdata_tree, int *offset)
   /* token id = amount of bytes in previous */
   proto_tree_add_item(hdfsdata_tree, hf_hdfsdata_tokenid, tvb, *offset, len, ENC_ASCII|ENC_NA);
   *offset += len;
-  
+
   len = tvb_get_guint8(tvb, *offset);
   proto_tree_add_item(hdfsdata_tree, hf_hdfsdata_tokenlen, tvb, *offset, 1, ENC_BIG_ENDIAN);
   *offset += 1;
@@ -198,7 +198,7 @@ dissect_access_tokens(tvbuff_t *tvb, proto_tree *hdfsdata_tree, int *offset)
   *offset += len;
 
   len = tvb_get_guint8(tvb, *offset);
-  proto_tree_add_item(hdfsdata_tree, hf_hdfsdata_tokenlen, tvb, *offset, 1, ENC_BIG_ENDIAN); 
+  proto_tree_add_item(hdfsdata_tree, hf_hdfsdata_tokenlen, tvb, *offset, 1, ENC_BIG_ENDIAN);
   *offset += 1;
 
   /* token service = amount of bytes in previous; */
@@ -269,11 +269,11 @@ dissect_read_request(tvbuff_t *tvb, proto_tree *hdfsdata_tree, int *offset)
 {
 
   /* 8 bytes = start offset */
-  proto_tree_add_item(hdfsdata_tree, hf_hdfsdata_startoffset, tvb, *offset, 8, ENC_BIG_ENDIAN); 
+  proto_tree_add_item(hdfsdata_tree, hf_hdfsdata_startoffset, tvb, *offset, 8, ENC_BIG_ENDIAN);
   *offset += 8;
 
   /* 8 bytes = block length */
-  proto_tree_add_item(hdfsdata_tree, hf_hdfsdata_blocklen, tvb, *offset, 8, ENC_BIG_ENDIAN); 
+  proto_tree_add_item(hdfsdata_tree, hf_hdfsdata_blocklen, tvb, *offset, 8, ENC_BIG_ENDIAN);
   *offset += 8;
 
 }
@@ -342,7 +342,7 @@ dissect_header(tvbuff_t *tvb, proto_tree *hdfsdata_tree, int* offset){
 
 /* decodes the write response messages */
 static void
-dissect_write_response(tvbuff_t *tvb, proto_tree *hdfsdata_tree, int offset) 
+dissect_write_response(tvbuff_t *tvb, proto_tree *hdfsdata_tree, int offset)
 {
   /* 4 bytes = packetsize */
   proto_tree_add_item(hdfsdata_tree, hf_hdfsdata_packetsize, tvb, offset, 4, ENC_BIG_ENDIAN);
@@ -405,7 +405,7 @@ dissect_hdfsdata_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     proto_item *ti = NULL;
     proto_tree *hdfsdata_tree = NULL;
 
-    ti = proto_tree_add_item(tree, proto_hdfsdata, tvb, offset, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_hdfsdata, tvb, offset, -1, ENC_NA);
     hdfsdata_tree = proto_item_add_subtree(ti, ett_hdfsdata);
 
     /* if only 1 bytes packet must just contain just the pipeline status */
@@ -466,7 +466,7 @@ dissect_hdfsdata_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
       /* write responses store the data length in the first 4 bytes. This length does not
          include 21 bits of header */
-      } else if (tvb_reported_length(tvb) >= 4 && tvb_get_ntohl(tvb, 0) == 
+      } else if (tvb_reported_length(tvb) >= 4 && tvb_get_ntohl(tvb, 0) ==
         tvb_reported_length(tvb) - WRITE_RESP_HEAD_LEN) {
 
         dissect_write_response(tvb, hdfsdata_tree, offset);
index 7099a8d8a345c9860d840d9e3028142a8aa6c236..36f82b521b3d87f55f5d72034e34e00e61b42425 100644 (file)
@@ -436,7 +436,7 @@ dissect_hip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
         /* populate a tree in the second pane with the status of the link layer (i.e. none) */
         if(tree) {
-                ti = proto_tree_add_item(tree, proto_hip, tvb, 0, -1, FALSE);
+                ti = proto_tree_add_item(tree, proto_hip, tvb, 0, -1, ENC_NA);
 
                 hip_tree = proto_item_add_subtree(ti, ett_hip);
                 proto_tree_add_item(hip_tree, hf_hip_proto, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -660,7 +660,7 @@ dissect_hip_tlv(tvbuff_t *tvb, int offset, proto_item *ti, int type, int tlv_len
                                         /* Locator */
                                         proto_tree_add_item(ti_loc, hf_hip_tlv_locator_address,
                                                             tvb, newoffset, 16, ENC_NA);
-                                        newoffset += 16;                                       
+                                        newoffset += 16;
                                         tlv_len -= 24;
                                 } else if (locator_type == 1) {
                                         /* Locator types 1 and 0 RFC 5206 section 4.2.*/
@@ -671,7 +671,7 @@ dissect_hip_tlv(tvbuff_t *tvb, int offset, proto_item *ti, int type, int tlv_len
                                         /* Locator */
                                         proto_tree_add_item(ti_loc, hf_hip_tlv_locator_address,
                                                             tvb, newoffset, 16, ENC_NA);
-                                        newoffset += 16;                                       
+                                        newoffset += 16;
                                         tlv_len -= 28;
                                 } else if (locator_type == 2) {
                                         /* Locator type 2 RFC 5770 section 5.7. */
index f1c16669d1ae5e062e5c38a6da6161a5791df3d4..b750f89437becfec9b5399bb47b5747e8dd7a816 100644 (file)
@@ -2038,7 +2038,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 d3dde4090fa9bf67af806a9ef541f78be2281401..d74a2316bb1920512aac8a7e628c08b5359be7ff 100644 (file)
@@ -2840,7 +2840,7 @@ dissect_homeplug_av(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
   col_set_str(pinfo->cinfo, COL_INFO, "MAC Management");
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_homeplug_av, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_homeplug_av, tvb, 0, -1, ENC_NA);
     homeplug_av_tree = proto_item_add_subtree(ti, ett_homeplug_av);
   }
 
index a47e6982b05fc76cb872891d8683f52e08209730..bcc6a642a70322710534bf5fd9715646f29c4869 100644 (file)
@@ -1324,7 +1324,7 @@ dissect_homeplug(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
   homeplug_offset = 0;
 
   if (tree) {
-    it = proto_tree_add_item(tree, proto_homeplug, tvb, homeplug_offset, -1, FALSE);
+    it = proto_tree_add_item(tree, proto_homeplug, tvb, homeplug_offset, -1, ENC_NA);
     homeplug_tree = proto_item_add_subtree(it, ett_homeplug);
     cursor = ptvcursor_new(homeplug_tree, tvb, 0);
   }
index d167d130250466daebcc0a2950aab1b04e1457a5..07fe00c2ea957086a731c72990483771650e55bc 100644 (file)
  *  "Traffic Mirroring" in Appendix B of the HP manual
  *   "Management and Configuration Guide for the ProCurve Series
  *    3500, 3500yl, 5400zl, 6200yl, 6600, and 8200zl Switches (September 2009)"
- * 
+ *
  * Format:
  *  The above manual indicates that the encapsulatedmirrored frame is transmitted
  *  on the network as a [UDP] packet which has 54 bytes preceding the mirrored frame.
- *  Examining a sample capture shows that this means that the data payload 
- *  of the UDP packet consists of a 12 byte "header" followed by the 
+ *  Examining a sample capture shows that this means that the data payload
+ *  of the UDP packet consists of a 12 byte "header" followed by the
  *  byes of the mirrored frame.
- * 
+ *
  */
 
 #ifdef HAVE_CONFIG_H
@@ -70,7 +70,7 @@ dissect_hp_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_hp_erm, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_hp_erm, tvb, 0, -1, ENC_NA);
         hp_erm_tree = proto_item_add_subtree(ti, ett_hp_erm);
         proto_tree_add_item(hp_erm_tree, hf_hp_erm_unknown, tvb, 0, 12, ENC_NA);
     }
index 56731b38b2b5cf76eca2563620fba6fb60e95279..a6edb5cb08565e12f8779814903fba8716aeda6d 100644 (file)
@@ -67,7 +67,7 @@ dissect_hpext(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        sxsap = tvb_get_ntohs(tvb, 5);
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_hpext, tvb, 0, 7, FALSE);
+               ti = proto_tree_add_item(tree, proto_hpext, tvb, 0, 7, ENC_NA);
                hpext_tree = proto_item_add_subtree(ti, ett_hpext);
                proto_tree_add_text(hpext_tree, tvb, 0, 3, "Reserved");
                proto_tree_add_uint(hpext_tree, hf_hpext_dxsap, tvb, 3,
index d8d0468e26c4ac21be52336faeaf35177bd0701a..0943f806076b3703bdea71cd28005cf47d754b8b 100644 (file)
@@ -94,7 +94,7 @@ dissect_hpsw(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if (tree) {
                guint16 offset =0;
 
-               ti = proto_tree_add_item(tree, proto_hpsw, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_hpsw, tvb, 0, -1, ENC_NA);
                hp_tree = proto_item_add_subtree(ti, ett_hpsw);
                proto_tree_add_uint(hp_tree, hf_hpsw_version, tvb, 0, 1, version);
                offset++;
index 597a237e197537efc1308323049de72e0aba6f40..465d9fa9753efc01e1a1b8ce49f1d4eb5ecb17b1 100644 (file)
@@ -65,7 +65,7 @@ dissect_hpteam(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        strPtr = ether_to_str(mac_addr);
        HP_Mac = "03:00:c7:00:00:ee";
        /*
-        * Check to see if SNAP frame is a HP Teaming frame or 
+        * Check to see if SNAP frame is a HP Teaming frame or
         * if it is really just SNAP
         */
        if (memcmp(strPtr, HP_Mac, 17) == 0) {
@@ -77,7 +77,7 @@ dissect_hpteam(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                col_append_fstr(pinfo->cinfo, COL_INFO, "Port MAC = %s ", strPtr);
 
                if (tree) { /* we are being asked for details */
-                       hpteam_item = proto_tree_add_item(tree, proto_hpteam, tvb, 0, -1, FALSE);
+                       hpteam_item = proto_tree_add_item(tree, proto_hpteam, tvb, 0, -1, ENC_NA);
                        hpteam_tree = proto_item_add_subtree(hpteam_item, ett_hpteam);
                        proto_tree_add_item(hpteam_tree, hf_hpteam, tvb, offset, 58, ENC_NA);
                }
@@ -107,7 +107,7 @@ void proto_register_hpteam(void)
 
        proto_hpteam = proto_register_protocol ("HP NIC Teaming Heartbeat", "HPTEAM", "hpteam");
 
-       /*Tied into the LLC dissector so register the OUI with LLC*/    
+       /*Tied into the LLC dissector so register the OUI with LLC*/
        llc_add_oui(OUI_HP_2, "llc.hpteam_pid", "Hewlett Packard OUI PID", &hf_pid);
        proto_register_field_array(proto_hpteam, hf_data, array_length(hf_data));
        proto_register_subtree_array(ett, array_length(ett));
index 66b08755cd1e8b7e1a5c6afcfd251c82adfb75ec..2877ee4aba04d8d374a91c79ea215ae0ab41ad72 100644 (file)
@@ -375,7 +375,7 @@ dissect_hsrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                         gchar auth_buf[8 + 1];
 
                         offset = 0;
-                        ti = proto_tree_add_item(tree, proto_hsrp, tvb, offset, -1, FALSE);
+                        ti = proto_tree_add_item(tree, proto_hsrp, tvb, offset, -1, ENC_NA);
                         hsrp_tree = proto_item_add_subtree(ti, ett_hsrp);
 
                         proto_tree_add_item(hsrp_tree, hf_hsrp_version, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -443,7 +443,7 @@ dissect_hsrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 col_set_str(pinfo->cinfo, COL_PROTOCOL, "HSRPv2");
 
                 if (tree) {
-                        ti = proto_tree_add_item(tree, proto_hsrp, tvb, offset, -1, FALSE);
+                        ti = proto_tree_add_item(tree, proto_hsrp, tvb, offset, -1, ENC_NA);
                         hsrp_tree = proto_item_add_subtree(ti, ett_hsrp);
                }
 
index 2b3d851fc6b411d5512775e7d7126a5a065bbf69..14356617d08a4bb9df163ad7ace0c63f5e56c6d1 100644 (file)
@@ -211,7 +211,7 @@ static gboolean http_decompress_body = FALSE;
 
 /* Simple Service Discovery Protocol
  * SSDP is implemented atop HTTP (yes, it really *does* run over UDP).
- * SSDP is the discovery protocol of Universal Plug and Play 
+ * SSDP is the discovery protocol of Universal Plug and Play
  * UPnP   http://www.upnp.org/specs/arch/UPnP-arch-DeviceArchitecture-v1.1.pdf
  */
 #define TCP_PORT_SSDP                  1900
@@ -688,7 +688,7 @@ dissect_http_message(tvbuff_t *tvb, int offset, packet_info *pinfo,
        orig_offset = offset;
        if (tree) {
                ti = proto_tree_add_item(tree, proto_http, tvb, offset, -1,
-                   FALSE);
+                   ENC_NA);
                http_tree = proto_item_add_subtree(ti, ett_http);
        }
 
@@ -1599,7 +1599,7 @@ http_payload_subdissector(tvbuff_t *tvb, proto_tree *tree,
                 * Create a proxy-connect subtree
                 */
                if(tree) {
-                       item = proto_tree_add_item(tree, proto_http, tvb, 0, -1, FALSE);
+                       item = proto_tree_add_item(tree, proto_http, tvb, 0, -1, ENC_NA);
                        proxy_tree = proto_item_add_subtree(item, ett_http);
 
                        item = proto_tree_add_string(proxy_tree, hf_http_proxy_connect_host,
@@ -2674,7 +2674,7 @@ dissect_message_http(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_append_str(pinfo->cinfo, COL_INFO, " (message/http)");
        if (tree) {
                ti = proto_tree_add_item(tree, proto_message_http,
-                               tvb, 0, -1, FALSE);
+                               tvb, 0, -1, ENC_NA);
                subtree = proto_item_add_subtree(ti, ett_message_http);
                while (tvb_reported_length_remaining(tvb, offset) != 0) {
                        len = tvb_find_line_end(tvb, offset,
index b7f629446544a26e78318f1204969977ae0ed307..c6590b39577d8eea592baa1734ffb751eb4e68eb 100644 (file)
@@ -6,7 +6,7 @@
  * Wireshark - Network traffic analyzer
  * By Gerald Combs <gerald@wireshark.org>
  * Copyright 1998 Gerald Combs
- * Copyright 2002 Richard Sharpe <rsharpe@richardsharpe.com> 
+ * Copyright 2002 Richard Sharpe <rsharpe@richardsharpe.com>
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -40,7 +40,7 @@ static int hf_hs_tagno = -1;
 static int hf_hs_lastfrag = -1;
 static int hf_hs_fragno = -1;
 
-static gint ett_hyperscsi = -1; 
+static gint ett_hyperscsi = -1;
 static gint ett_hs_hdr = -1;
 static gint ett_hs_pdu = -1;
 
@@ -65,7 +65,7 @@ static const true_false_string tfs_lastfrag = {
 #define HSCSI_OPCODE_REMOTE_REPLY             0x35
 
 static const value_string hscsi_opcodes[] = {
-  { HSCSI_OPCODE_REQUEST,         "Command Block Encap Request"}, 
+  { HSCSI_OPCODE_REQUEST,         "Command Block Encap Request"},
   { HSCSI_OPCODE_REPLY,           "Command Block Encap Reply"},
   { HSCSI_OPCODE_DEV_DISCOVERY,   "Device Discovery Reply"},
   { HSCSI_OPCODE_ADN_REQUEST,     "Auth/Device Neg Request"},
@@ -95,9 +95,9 @@ dissect_hyperscsi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_clear(pinfo->cinfo, COL_INFO);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_hyperscsi, tvb, offset, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_hyperscsi, tvb, offset, -1, ENC_NA);
     hs_tree = proto_item_add_subtree(ti, ett_hyperscsi);
-  } 
+  }
 
   hs_hdr1 = tvb_get_guint8(tvb, offset);
   offset++;
@@ -129,8 +129,8 @@ dissect_hyperscsi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   }
 
-  /* 
-   * Now, add the PDU 
+  /*
+   * Now, add the PDU
    */
 
   hs_ver = tvb_get_guint8(tvb, offset++);
@@ -160,8 +160,8 @@ proto_register_hyperscsi(void)
 {
 
   static hf_register_info hf[] = {
-    { &hf_hs_res, 
-      { "Reserved", "hyperscsi.reserved", FT_UINT8, BASE_DEC, NULL, 0x0, 
+    { &hf_hs_res,
+      { "Reserved", "hyperscsi.reserved", FT_UINT8, BASE_DEC, NULL, 0x0,
        NULL, HFILL}},
 
     { &hf_hs_tagno,
@@ -171,16 +171,16 @@ proto_register_hyperscsi(void)
     { &hf_hs_lastfrag,
       { "Last Fragment", "hyperscsi.lastfrag", FT_BOOLEAN, 8, TFS(&tfs_lastfrag), 0x04, NULL, HFILL}},
 
-    { &hf_hs_fragno, 
+    { &hf_hs_fragno,
       { "Fragment No", "hyperscsi.fragno", FT_UINT16, BASE_DEC, NULL, 0x0,
        NULL, HFILL}},
 
     { &hf_hs_ver,
-      { "HyperSCSI Version", "hyperscsi.version", FT_UINT8, BASE_DEC, NULL, 
+      { "HyperSCSI Version", "hyperscsi.version", FT_UINT8, BASE_DEC, NULL,
        0x0, NULL, HFILL}},
 
     { &hf_hs_cmd,
-      { "HyperSCSI Command", "hyperscsi.cmd", FT_UINT8, BASE_DEC, VALS(hscsi_opcodes), 0x0, 
+      { "HyperSCSI Command", "hyperscsi.cmd", FT_UINT8, BASE_DEC, VALS(hscsi_opcodes), 0x0,
        NULL, HFILL}},
   };
 
@@ -189,7 +189,7 @@ proto_register_hyperscsi(void)
     &ett_hs_hdr,
     &ett_hs_pdu,
   };
-  
+
   proto_hyperscsi = proto_register_protocol("HyperSCSI", "HyperSCSI", "hyperscsi");
   proto_register_field_array(proto_hyperscsi, hf, array_length(hf));
   proto_register_subtree_array(ett, array_length(ett));
index 1012393217b10544cbceda3ccf2def447e54fe26..0e61c9137ba6069e6f995cf66218f15cf9878e0c 100644 (file)
@@ -425,7 +425,7 @@ dissect_iapp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree)
        {
-               ti = proto_tree_add_item(tree, proto_iapp, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_iapp, tvb, 0, -1, ENC_NA);
                iapp_tree = proto_item_add_subtree(ti, ett_iapp);
 
                 /* common header for all IAPP frames */
index ca207fe3cbff52d302093e41485566bc13deceb2..d3db34a86277afd8cc27a3e4cb2255b43d0ab460 100644 (file)
@@ -1037,7 +1037,7 @@ dissect_iax2 (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
   /* add the 'iax2' tree to the main tree */
   if (tree)
     {
-      iax2_item = proto_tree_add_item (tree, proto_iax2, tvb, offset, -1, FALSE);
+      iax2_item = proto_tree_add_item (tree, proto_iax2, tvb, offset, -1, ENC_NA);
       iax2_tree = proto_item_add_subtree (iax2_item, ett_iax2);
     }
 
index 884024cc96fc1d9feba81ff85bd34ce78cd64205..6977348e1cb7f4697990aeebdad0d7f8c789c93a 100644 (file)
@@ -98,7 +98,7 @@ dissect_icap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_icap, tvb, offset, -1,
-                   FALSE);
+                   ENC_NA);
                icap_tree = proto_item_add_subtree(ti, ett_icap);
        }
 
index 8b85468651a61f0da8e4d60edf14c6611da7164e..3eced10c77b7dab9d863700b28efa79fcdcdfb74 100644 (file)
@@ -1096,7 +1096,7 @@ static void dissect_icep_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
 
                /* create display subtree for the protocol */
 
-               ti = proto_tree_add_item(tree, proto_icep, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_icep, tvb, 0, -1, ENC_NA);
 
                icep_tree = proto_item_add_subtree(ti, ett_icep);
 
index ba7b2486413b853b1e62b93d941797036410d157..77b3eb3ddd482d1399d43e0eaac2522a4a4fd32c 100644 (file)
@@ -832,7 +832,7 @@ static guint32 get_best_guess_mstimeofday(tvbuff_t *tvb, gint offset, guint32 co
 
     if (be_ts < MSPERDAY && le_ts < MSPERDAY) {
         guint32 saved_be_ts = be_ts;
-        guint32 saved_le_ts = le_ts;        
+        guint32 saved_le_ts = le_ts;
 
         /* Is this a rollover to a new day, clocks not synchronized, different
          * timezones between originate and receive/transmit, .. what??? */
@@ -930,7 +930,7 @@ dissect_icmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   length = tvb_length(tvb);
   reported_length = tvb_reported_length(tvb);
 
-  ti = proto_tree_add_item(tree, proto_icmp, tvb, 0, length, FALSE);
+  ti = proto_tree_add_item(tree, proto_icmp, tvb, 0, length, ENC_NA);
   icmp_tree = proto_item_add_subtree(ti, ett_icmp);
 
   ti = proto_tree_add_item(icmp_tree, hf_icmp_type, tvb, 0, 1, ENC_BIG_ENDIAN);
@@ -1082,7 +1082,7 @@ dissect_icmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
             }
           }
 
-          /* Make sure we have enough bytes in the payload before trying to 
+          /* Make sure we have enough bytes in the payload before trying to
            * see if the data looks like a timestamp; otherwise we'll get
            * malformed packets as we try to access data that isn't there. */
           if (tvb_length_remaining(tvb, 8) < 8) {
@@ -1093,7 +1093,7 @@ dissect_icmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
           /* Interpret the first 8 bytes of the icmp data as a timestamp
            * But only if it does look like it's a timestamp.
-           * 
+           *
            * FIXME:
            *    Timestamps could be in different formats depending on the OS
            */
@@ -1143,9 +1143,9 @@ dissect_icmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
       {
         guint32 frame_ts, orig_ts;
 
-        frame_ts = ((pinfo->fd->abs_ts.secs * 1000) + 
+        frame_ts = ((pinfo->fd->abs_ts.secs * 1000) +
           (pinfo->fd->abs_ts.nsecs / 1000000)) % 86400000;
-       
+
         orig_ts = get_best_guess_mstimeofday(tvb, 8, frame_ts);
         proto_tree_add_text(icmp_tree, tvb, 8, 4,
           "Originate timestamp: %s after midnight UTC",
index 2fb5b04f5fb27bc23938a7f9b34e6e9a11a3f3e9..8d04affca72d1415b083ab7b44e09090db3daf85 100644 (file)
@@ -3099,7 +3099,7 @@ dissect_icmpv6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     offset = 0;
 
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_icmpv6, tvb, offset, -1, ENC_BIG_ENDIAN);
+        ti = proto_tree_add_item(tree, proto_icmpv6, tvb, offset, -1, ENC_NA);
         icmp6_tree = proto_item_add_subtree(ti, ett_icmpv6);
 
         /* Type */
index 8fc3042fd9dc892dd3cdf6e406b5feff386343ac..6aef65489312974cd2e8094143b3a0050c0a3488 100644 (file)
@@ -167,7 +167,7 @@ static void dissect_icp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   if (tree)
   {
 
-        ti = proto_tree_add_item(tree,proto_icp, tvb, 0, message_length, FALSE);
+        ti = proto_tree_add_item(tree,proto_icp, tvb, 0, message_length, ENC_NA);
         icp_tree = proto_item_add_subtree(ti, ett_icp);
 
         proto_tree_add_uint(icp_tree,hf_icp_opcode, tvb, 0, 1, opcode);
index 91bb7bca584c75b743dd2eca210257db328d7ada..2cd00b89262c971735ef6b844256b74a2942c03a 100644 (file)
@@ -654,7 +654,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 759d5dcf9854c424f83c5ee2444085a156ee3a82..355f6d2bed9e82b6c77c18f7041854cc38d189a9 100644 (file)
@@ -90,7 +90,7 @@ dissect_idp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_clear(pinfo->cinfo, COL_INFO);
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_idp, tvb, 0, IDP_HEADER_LEN, FALSE);
+               ti = proto_tree_add_item(tree, proto_idp, tvb, 0, IDP_HEADER_LEN, ENC_NA);
                idp_tree = proto_item_add_subtree(ti, ett_idp);
        }
 
index 76f8e7f1699fbf2deff181ece05eff8ee2381cde..f7466ec73286a6cd7f8ef8f27ff73c101b39d585 100644 (file)
@@ -124,7 +124,7 @@ typedef struct {
        gboolean OFF;
        gboolean ON;
 
-       gboolean UP;  
+       gboolean UP;
        gboolean DOWN;
 
        /* QOC qualifier-bits */
@@ -1118,7 +1118,7 @@ static void dissect_iec104asdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr
 
        /*** *** DISSECT 'Packet Details' *** ***/
 
-       it104 = proto_tree_add_item(tree, proto_iec104asdu, tvb, 0, -1, FALSE);
+       it104 = proto_tree_add_item(tree, proto_iec104asdu, tvb, 0, -1, ENC_NA);
 
        /* 'Packet Details': ROOT ITEM */
        proto_item_append_text(it104, ": %s'%s'", res->str, Len >= ASDU_HEAD_LEN ? val_to_str(asduh->TypeId, asdu_lngtypes, "<Unknown TypeId>") : "");
@@ -1176,7 +1176,7 @@ static void dissect_iec104asdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr
                case C_CS_NA_1:
 
                        /* create subtree for the signal values ... */
-                       itSignal = proto_tree_add_item( trHead, proto_iec104asdu, tvb, offset, -1, FALSE );
+                       itSignal = proto_tree_add_item( trHead, proto_iec104asdu, tvb, offset, -1, ENC_NA );
                        proto_item_append_text(itSignal, ": Value");
 
                        trSignal = proto_item_add_subtree( itSignal, ett_asdu );
@@ -1606,7 +1606,7 @@ static void dissect_iec104apci(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr
 
        /*** *** DISSECT 'Packet Details' *** ***/
 
-       it104 = proto_tree_add_item(tree, proto_iec104apci, tvb, 0, Off+ APCI_LEN, FALSE);
+       it104 = proto_tree_add_item(tree, proto_iec104apci, tvb, 0, Off+ APCI_LEN, ENC_NA);
 
        /* 'Packet Details': ROOT ITEM */
        proto_item_append_text(it104, ": %s", res->str);
index a46fbe0844d5d992a5ec044fa4e026b10f459454..b084ee5f141576ed3c45f72e0b5e680dbccc747d 100644 (file)
@@ -132,11 +132,11 @@ static void dissect_1722(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_set_str(pinfo->cinfo, COL_INFO, "AVB Transportation Protocol");
 
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_1722, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_1722, tvb, 0, -1, ENC_NA);
 
         ieee1722_tree = proto_item_add_subtree(ti, ett_1722);
 
-        /* Add the CD and Subtype fields 
+        /* Add the CD and Subtype fields
          * CD field is 1 bit
          * Subtype field is 7 bits
          */
@@ -156,7 +156,7 @@ static void dissect_1722(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         proto_tree_add_item(ieee1722_tree, hf_1722_tufield, tvb,
                             IEEE_1722_TU_FIELD_OFFSET, 1, ENC_BIG_ENDIAN);
 
-        proto_tree_add_item(ieee1722_tree, hf_1722_stream_id, tvb, 
+        proto_tree_add_item(ieee1722_tree, hf_1722_stream_id, tvb,
                             IEEE_1722_STREAM_ID_OFFSET, 8, ENC_BIG_ENDIAN);
 
         proto_tree_add_item(ieee1722_tree, hf_1722_avbtp_timestamp, tvb,
@@ -170,10 +170,10 @@ static void dissect_1722(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
         proto_tree_add_item(ieee1722_tree, hf_1722_tag, tvb,
                             IEEE_1722_TAG_OFFSET, 1, ENC_BIG_ENDIAN);
-        proto_tree_add_item(ieee1722_tree, hf_1722_channel, tvb, 
+        proto_tree_add_item(ieee1722_tree, hf_1722_channel, tvb,
                             IEEE_1722_TAG_OFFSET, 1, ENC_BIG_ENDIAN);
 
-        proto_tree_add_item(ieee1722_tree, hf_1722_tcode, tvb, 
+        proto_tree_add_item(ieee1722_tree, hf_1722_tcode, tvb,
                             IEEE_1722_TCODE_OFFSET, 1, ENC_BIG_ENDIAN);
         proto_tree_add_item(ieee1722_tree, hf_1722_sy, tvb,
                             IEEE_1722_TCODE_OFFSET, 1, ENC_BIG_ENDIAN);
@@ -203,13 +203,13 @@ static void dissect_1722(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         proto_tree_add_item(ieee1722_tree, hf_1722_syt, tvb,
                             IEEE_1722_SYT_OFFSET, 2, ENC_BIG_ENDIAN);
 
-        /* Calculate the remaining size by subtracting the CIP header size 
+        /* Calculate the remaining size by subtracting the CIP header size
            from the value in the packet data length field */
         datalen = tvb_get_ntohs(tvb, IEEE_1722_PKT_DATA_LENGTH_OFFSET);
         datalen -= IEEE_1722_CIP_HEADER_SIZE;
 
         /* Make the Audio sample tree. */
-        ti = proto_tree_add_item(ieee1722_tree, hf_1722_data, tvb, 
+        ti = proto_tree_add_item(ieee1722_tree, hf_1722_data, tvb,
                                  IEEE_1722_DATA_OFFSET, datalen, ENC_NA);
 
         audio_tree = proto_item_add_subtree(ti, ett_1722_audio);
@@ -240,36 +240,36 @@ static void dissect_1722(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 }
 
 /* Register the protocol with Wireshark */
-void proto_register_1722(void) 
+void proto_register_1722(void)
 {
     static hf_register_info hf[] = {
         { &hf_1722_cdfield,
-            { "Control/Data Indicator", "ieee1722.cdfield", 
-              FT_BOOLEAN, 8, NULL, IEEE_1722_CD_MASK, NULL, HFILL } 
+            { "Control/Data Indicator", "ieee1722.cdfield",
+              FT_BOOLEAN, 8, NULL, IEEE_1722_CD_MASK, NULL, HFILL }
         },
         { &hf_1722_subtype,
             { "AVBTP Subtype", "ieee1722.subtype",
-              FT_UINT8, BASE_HEX, NULL, IEEE_1722_SUBTYPE_MASK, NULL, HFILL } 
+              FT_UINT8, BASE_HEX, NULL, IEEE_1722_SUBTYPE_MASK, NULL, HFILL }
         },
         { &hf_1722_svfield,
             { "AVBTP Stream ID Valid", "ieee1722.svfield",
-              FT_BOOLEAN, 8, NULL, IEEE_1722_SV_MASK, NULL, HFILL } 
+              FT_BOOLEAN, 8, NULL, IEEE_1722_SV_MASK, NULL, HFILL }
         },
         { &hf_1722_verfield,
             { "AVBTP Version", "ieee1722.verfield",
-              FT_UINT8, BASE_HEX, NULL, IEEE_1722_VER_MASK, NULL, HFILL } 
+              FT_UINT8, BASE_HEX, NULL, IEEE_1722_VER_MASK, NULL, HFILL }
         },
         { &hf_1722_mrfield,
             { "AVBTP Media Reset", "ieee1722.mrfield",
-              FT_UINT8, BASE_DEC, NULL, IEEE_1722_MR_MASK, NULL, HFILL } 
+              FT_UINT8, BASE_DEC, NULL, IEEE_1722_MR_MASK, NULL, HFILL }
         },
         { &hf_1722_gvfield,
             { "AVBTP Gateway Info Valid", "ieee1722.gvfield",
-              FT_BOOLEAN, 8, NULL, IEEE_1722_GV_MASK, NULL, HFILL } 
+              FT_BOOLEAN, 8, NULL, IEEE_1722_GV_MASK, NULL, HFILL }
         },
         { &hf_1722_tvfield,
             { "Source Timestamp Valid", "ieee1722.tvfield",
-              FT_BOOLEAN, 8, NULL, IEEE_1722_TV_MASK, NULL, HFILL } 
+              FT_BOOLEAN, 8, NULL, IEEE_1722_TV_MASK, NULL, HFILL }
             },
         { &hf_1722_seqnum,
             { "Sequence Number", "ieee1722.seqnum",
@@ -375,7 +375,7 @@ void proto_register_1722(void)
     proto_register_subtree_array(ett, array_length(ett));
 }
 
-void proto_reg_handoff_1722(void) 
+void proto_reg_handoff_1722(void)
 {
     dissector_handle_t avbtp_handle;
 
index 2b7a682092508c8da68f3864734b1752f8d62f06..810d073e50b1b7a3405919a0c38a294740f7e9dc 100644 (file)
@@ -232,7 +232,7 @@ dissect_prism(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_clear(pinfo->cinfo, COL_INFO);
 
     if(tree) {
-        ti = proto_tree_add_item(tree, proto_prism, tvb, 0, 144, ENC_BIG_ENDIAN);
+        ti = proto_tree_add_item(tree, proto_prism, tvb, 0, 144, ENC_NA);
         prism_tree = proto_item_add_subtree(ti, ett_prism);
     }
 
index a5f47f09b07b0f430e14af1960b9459c1c02c84d..23789070fd98185a4d56ea3807a87df2f8f87306 100644 (file)
@@ -66,7 +66,7 @@ dissect_radio (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
         pinfo->pseudo_header->ieee_802_11.signal_level);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_radio, tvb, 0, 0, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_radio, tvb, 0, 0, ENC_NA);
     radio_tree = proto_item_add_subtree (ti, ett_radio);
 
     proto_tree_add_uint64_format(radio_tree, hf_data_rate, tvb, 0, 0,
index 5765ecd0f8dde99e89cfc2eeb948f01ede4b0e95..9c8e16613cb722c6e5cee03c2d56df3d867b9e37 100644 (file)
@@ -373,7 +373,7 @@ dissect_wlancap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
     /* Dissect the AVS header */
     if (tree) {
-      ti = proto_tree_add_item(tree, proto_wlancap, tvb, 0, length, ENC_BIG_ENDIAN);
+      ti = proto_tree_add_item(tree, proto_wlancap, tvb, 0, length, ENC_NA);
       wlan_tree = proto_item_add_subtree(ti, ett_radio);
       proto_tree_add_item(wlan_tree, hf_wlan_magic, tvb, offset, 4, ENC_BIG_ENDIAN);
       proto_tree_add_item(wlan_tree, hf_wlan_version, tvb, offset, 4, ENC_BIG_ENDIAN);
index 9af5d2b59c9b0c9bafd912507555973df756ed5b..0c80e5bec69d543f851566850dfa3fd99e85a528 100644 (file)
@@ -9653,7 +9653,7 @@ dissect_ieee80211_mgt (guint16 fcf, tvbuff_t * tvb, packet_info * pinfo,
 
   CHECK_DISPLAY_AS_X(data_handle,proto_wlan_mgt, tvb, pinfo, tree);
 
-  ti = proto_tree_add_item (tree, proto_wlan_mgt, tvb, 0, -1, ENC_BIG_ENDIAN);
+  ti = proto_tree_add_item (tree, proto_wlan_mgt, tvb, 0, -1, ENC_NA);
   mgt_tree = proto_item_add_subtree (ti, ett_80211_mgt);
 
   switch (COMPOSE_FRAME_TYPE(fcf))
index d59ac234e78db9c91d1f5e514d4e427c212f1e96..b36d1f38d5b9872418191a614fda2773dd43eb7f 100644 (file)
@@ -95,7 +95,7 @@ dissect_ieee802a(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_clear(pinfo->cinfo, COL_INFO);
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_ieee802a, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_ieee802a, tvb, 0, -1, ENC_NA);
                ieee802a_tree = proto_item_add_subtree(ti, ett_ieee802a);
        } else
                ieee802a_tree = NULL;
index f354420c706f497243f19f227fd8ed603f826e13..3e8abe22c19b1389548ecd280797c2d94133f203 100644 (file)
@@ -143,7 +143,7 @@ dissect_igap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, int off
        return offset + tvb_length_remaining(tvb, offset);
     }
 
-    item = proto_tree_add_item(parent_tree, proto_igap, tvb, offset, -1, FALSE);
+    item = proto_tree_add_item(parent_tree, proto_igap, tvb, offset, -1, ENC_NA);
     tree = proto_item_add_subtree(item, ett_igap);
 
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "IGAP");
index 674159656e7c82a17841eb17f76f3baa518c7f24..4442ed5c0bf3513091cb08afe01a40635b56b706 100644 (file)
@@ -898,7 +898,7 @@ dissect_igmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
        unsigned char type;
        guint32 dst;
 
-       item = proto_tree_add_item(parent_tree, proto_igmp, tvb, offset, -1, ENC_BIG_ENDIAN);
+       item = proto_tree_add_item(parent_tree, proto_igmp, tvb, offset, -1, ENC_NA);
        tree = proto_item_add_subtree(item, ett_igmp);
 
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "IGMP");
index 651e0801234c339a56266a269905e104f8f3e58b..63e39add7f54b4bb8ce2a9b524789e3755385a40 100644 (file)
@@ -177,7 +177,7 @@ dissect_gif(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
         * items to the protocol tree.
         */
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_gif, tvb, 0, -1, TRUE);
+               ti = proto_tree_add_item(tree, proto_gif, tvb, 0, -1, ENC_NA);
                proto_item_append_text(ti, ", Version: %s", str);
                gif_tree = proto_item_add_subtree(ti, ett_gif);
                /* GIF signature */
index 1e18bce6afcec8aa7ab9e3ac61c104d465e38ecb..529908bf729170a1d69ebd90dcc244ae75ff2633 100644 (file)
@@ -779,7 +779,7 @@ dissect_jfif(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_jfif,
-                               tvb, 0, -1, FALSE);
+                               tvb, 0, -1, ENC_NA);
                subtree = proto_item_add_subtree(ti, ett_jfif);
                proto_tree_add_item(subtree, hf_marker, tvb, 0, 2, ENC_BIG_ENDIAN);
        }
index 781b86dc80a114e4c058a01ef5e498672d53fc9c..6678aac1eb064f355e3a034b5bac6f0311769e23 100644 (file)
@@ -236,7 +236,7 @@ dissect_png(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
        col_append_str(pinfo->cinfo, COL_INFO, " (PNG)");
 
        if(parent_tree){
-               ti=proto_tree_add_item(parent_tree, proto_png, tvb, offset, -1, FALSE);
+               ti=proto_tree_add_item(parent_tree, proto_png, tvb, offset, -1, ENC_NA);
                tree=proto_item_add_subtree(ti, ett_png);
        }
 
index 6f0f94d51738e7d3b843fba3890c6e7da50d51c5..31701d21b91581ce77d953f648d700a07ba03e5b 100644 (file)
@@ -80,7 +80,7 @@ dissect_imap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_imap, tvb, offset, -1,
-                                        FALSE);
+                                        ENC_NA);
                imap_tree = proto_item_add_subtree(ti, ett_imap);
 
                if (is_request) {
index 7753ea1b498cf2361eb9997748fd97ead114bee9..82a3f85f9e0109ff5e62b2a2336c6660b7d29b22 100644 (file)
@@ -680,7 +680,7 @@ dissect_imf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_clear(pinfo->cinfo, COL_INFO);
 
   if(tree){
-    item = proto_tree_add_item(tree, proto_imf, tvb, 0, -1, FALSE);
+    item = proto_tree_add_item(tree, proto_imf, tvb, 0, -1, ENC_NA);
     tree = proto_item_add_subtree(item, ett_imf);
   }
 
index b29b1df734a6f416b0661c478f2e463af0bdfba1..89759fbbbbe4995f606a07dfff0b38c6fa0b841b 100644 (file)
@@ -9363,7 +9363,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 db95005ac26ad68a23748cfbaf079cb4be21e5c5..bc449df147b5ded87e33f9553328369d8804a73b 100644 (file)
@@ -1668,7 +1668,7 @@ dissect_infiniband_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, g
     }
 
     /* Top Level Packet */
-    infiniband_packet = proto_tree_add_item(tree, proto_infiniband, tvb, offset, -1, FALSE);
+    infiniband_packet = proto_tree_add_item(tree, proto_infiniband, tvb, offset, -1, ENC_NA);
 
     /* Headers Level Tree */
     all_headers_tree = proto_item_add_subtree(infiniband_packet, ett_all_headers);
@@ -2096,7 +2096,7 @@ dissect_infiniband_link(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     }
 
     /* Top Level Packet */
-    infiniband_link_packet = proto_tree_add_item(tree, proto_infiniband_link, tvb, offset, -1, FALSE);
+    infiniband_link_packet = proto_tree_add_item(tree, proto_infiniband_link, tvb, offset, -1, ENC_NA);
 
     /* Headers Level Tree */
     link_tree = proto_item_add_subtree(infiniband_link_packet, ett_link);
index bb1e4a87617fde36033050409fb51851d2f140e2..5437379d8090f545d1f818cec0b48f87569d6de0 100644 (file)
@@ -86,7 +86,7 @@ dissect_interlink(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if (tree) {
                proto_item      *il_item;
                il_item = proto_tree_add_item(tree, proto_interlink,
-                                                               tvb, 0, 16, FALSE);
+                                                               tvb, 0, 16, ENC_NA);
                if (il_item)
                        il_tree = proto_item_add_subtree(il_item, ett_interlink);
        }
index 8c8bc650725b0dfb29610aac49df4fb677cc05b6..d2e82505aeb7e08cb79ff9ff51917145342eadce 100644 (file)
@@ -1371,7 +1371,7 @@ dissect_ip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
   hlen = lo_nibble(iph->ip_v_hl) * 4;  /* IP header length, in bytes */
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_ip, tvb, offset, hlen, FALSE);
+    ti = proto_tree_add_item(tree, proto_ip, tvb, offset, hlen, ENC_NA);
     ip_tree = proto_item_add_subtree(ti, ett_ip);
 
     proto_tree_add_uint(ip_tree, hf_ip_version, tvb, offset, 1,
index 9a2b29a719b53a8740219f425cbd7a915cdfa4e8..448b9766b6feec5417b4b32e98bc51d042abf0a5 100644 (file)
@@ -761,7 +761,7 @@ dissect_ipdc_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                if (!tree)
                        return;
 
-               ti = proto_tree_add_item(tree, proto_ipdc, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_ipdc, tvb, 0, -1, ENC_NA);
                ipdc_tree = proto_item_add_subtree(ti, ett_ipdc);
                proto_tree_add_item(ipdc_tree, hf_ipdc_nr, tvb, 0, 1, ENC_BIG_ENDIAN);
                proto_tree_add_item(ipdc_tree, hf_ipdc_ns, tvb, 1, 1, ENC_BIG_ENDIAN);
@@ -786,7 +786,7 @@ dissect_ipdc_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                                           TEXT_UNDEFINED));
 
 
-       ti = proto_tree_add_item(tree, proto_ipdc, tvb, 0, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_ipdc, tvb, 0, -1, ENC_NA);
        ipdc_tree = proto_item_add_subtree(ti, ett_ipdc);
 
        proto_tree_add_item(ipdc_tree, hf_ipdc_nr, tvb, 0, 1, ENC_BIG_ENDIAN);
index 6cb6fc23322b75008e3de3a8a2b99e2e91e49715..f2ceb7f0dc91a2199102c78d5218decc20e1bc02 100644 (file)
@@ -1353,7 +1353,7 @@ dissect_ipmi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        current_pinfo = pinfo;
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_ipmi, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_ipmi, tvb, 0, -1, ENC_NA);
                ipmi_tree = proto_item_add_subtree(ti, ett_ipmi);
        }
 
index 21b374fbbc540c1f928383182ec2849a2db4a113..385187dacbe93228d87ad83b93f8d3245d0e44d6 100644 (file)
@@ -74,7 +74,7 @@ dissect_ipnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   /* populate a tree in the second pane with the IPNET header data */
   if(tree) {
-    ti = proto_tree_add_item (tree, proto_ipnet, tvb, 0, 24, FALSE);
+    ti = proto_tree_add_item (tree, proto_ipnet, tvb, 0, 24, ENC_NA);
     fh_tree = proto_item_add_subtree(ti, ett_raw);
 
     proto_tree_add_item(fh_tree, hf_version, tvb, 0, 1, ENC_BIG_ENDIAN);
index 48b44dc1704ef3327c0cf120a57ab809efc9cf00..c649e96e512057938e19d0ffc007fa1aa304ca29 100644 (file)
@@ -200,7 +200,7 @@ dissect_ipp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_ipp, tvb, offset, -1,
-                   FALSE);
+                   ENC_NA);
                ipp_tree = proto_item_add_subtree(ti, ett_ipp);
 
                proto_tree_add_text(ipp_tree, tvb, offset, 2, "Version: %u.%u",
@@ -583,7 +583,7 @@ add_integer_value(const gchar *tag_desc, proto_tree *tree, tvbuff_t *tvb,
                                ns.secs=tvb_get_ntohl(tvb, offset);
                                ns.nsecs=0;
                                proto_tree_add_time(tree, hf_ipp_timestamp, tvb, offset, 4, &ns);
-                       } 
+                       }
             else if((name_length > 5) && name_val && !strcmp(name_val, "printer-state")){
                 guint32 printer_state_reason;
 
index f561e5465e93fb6fa9d20ce4e5bdf19ffe221e90..b6dc2861b8608cbee3079477c81a3eaa122a2744 100644 (file)
@@ -103,7 +103,7 @@ packet_is_tcpencap(tvbuff_t *tvb, packet_info *pinfo, guint32 offset)
 }
 
 /*
- * TCP Encapsulation of IPsec Packets  
+ * TCP Encapsulation of IPsec Packets
  * as supported by the cisco vpn3000 concentrator series
  */
 static int
@@ -130,7 +130,7 @@ dissect_tcpencap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        /* If the first 4 bytes are 0x01f401f4 (udp src and dst port = 500)
           we most likely have UDP (isakmp) traffic */
-       
+
        if (tvb_get_ntohl(tvb, 0) == 0x01f401f4) { /* UDP means ISAKMP */
                protocol = TCP_ENCAP_P_UDP;
        } else { /* Hopefully ESP */
@@ -138,7 +138,7 @@ dissect_tcpencap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        if (tree) {
-               tree_item = proto_tree_add_item(tree, proto_tcpencap, tvb, 0, -1, ENC_BIG_ENDIAN);
+               tree_item = proto_tree_add_item(tree, proto_tcpencap, tvb, 0, -1, ENC_NA);
                tcpencap_tree = proto_item_add_subtree(tree_item, ett_tcpencap);
 
                /* Dissect the trailer following the encapsulated IPSEC/ISAKMP packet */
index 9e4140e1a05d47cd183124b18e725597b4dfde84..a5fba11583cbded9ddbf93876c47029da7ee5ff0 100644 (file)
@@ -600,7 +600,7 @@ filter_address_match(gchar *addr, gchar *filter, gint typ)
   guint addr_len = (guint)strlen(addr);
   guint filter_len = (guint)strlen(filter);
 
-  if(addr_len != filter_len) 
+  if(addr_len != filter_len)
      return FALSE;
 
   /* No length specified */
@@ -609,7 +609,7 @@ filter_address_match(gchar *addr, gchar *filter, gint typ)
    {
       for(i = 0; i < addr_len; i++)
       {
-         if((filter[i] != IPSEC_SA_WILDCARDS_ANY) && (filter[i] != addr[i])) 
+         if((filter[i] != IPSEC_SA_WILDCARDS_ANY) && (filter[i] != addr[i]))
             return FALSE;
       }
       return TRUE;
@@ -618,11 +618,11 @@ filter_address_match(gchar *addr, gchar *filter, gint typ)
    {
       for(i = 0; i < (filter_len/4); i++)
       {
-         if((filter[i] != IPSEC_SA_WILDCARDS_ANY) && (filter[i] != addr[i])) 
+         if((filter[i] != IPSEC_SA_WILDCARDS_ANY) && (filter[i] != addr[i]))
             return FALSE;
       }
 
-      if(filter[i] == IPSEC_SA_WILDCARDS_ANY) 
+      if(filter[i] == IPSEC_SA_WILDCARDS_ANY)
          return TRUE;
       else if (filter_len  % 4 != 0)
       {
@@ -667,7 +667,7 @@ filter_spi_match(gchar *spi, gchar *filter)
       return FALSE;
 
    for(i = 0; filter[i]; i++)
-      if((filter[i] != IPSEC_SA_WILDCARDS_ANY) && (filter[i] != spi[i])) 
+      if((filter[i] != IPSEC_SA_WILDCARDS_ANY) && (filter[i] != spi[i]))
          return FALSE;
 
    return TRUE;
@@ -894,7 +894,7 @@ dissect_ah_header(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
 
   if (tree) {
     /* !!! specify length */
-    ti = proto_tree_add_item(tree, proto_ah, tvb, 0, advance, FALSE);
+    ti = proto_tree_add_item(tree, proto_ah, tvb, 0, advance, ENC_NA);
     ah_tree = proto_item_add_subtree(ti, ett_ah);
 
     proto_tree_add_text(ah_tree, tvb,
@@ -1086,7 +1086,7 @@ dissect_esp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     decrypt_dissect_ok = FALSE;
     i = 0;
 
-    ti = proto_tree_add_item(tree, proto_esp, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_esp, tvb, 0, -1, ENC_NA);
     esp_tree = proto_item_add_subtree(ti, ett_esp);
     proto_tree_add_uint(esp_tree, hf_esp_spi, tvb,
                        offsetof(struct newesp, esp_spi), 4,
@@ -1911,9 +1911,9 @@ dissect_esp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
              g_free(ip_src);
              g_free(ip_dst);
-             if(esp_auth_key_len != 0) 
+             if(esp_auth_key_len != 0)
             g_free(esp_auth_key);
-             if(esp_crypt_key_len != 0) 
+             if(esp_crypt_key_len != 0)
             g_free(esp_crypt_key);
       }
      }
@@ -2031,7 +2031,7 @@ dissect_ipcomp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   if (tree) {
     tvbuff_t *data, *decomp;
 
-    ti = proto_tree_add_item(tree, proto_ipcomp, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_ipcomp, tvb, 0, -1, ENC_NA);
     ipcomp_tree = proto_item_add_subtree(ti, ett_ipcomp);
 
     proto_tree_add_text(ipcomp_tree, tvb,
@@ -2146,13 +2146,13 @@ proto_register_ipsec(void)
   };
 
   static uat_field_t esp_uat_flds[] = {
-      UAT_FLD_VS(uat_esp_sa_records, protocol, "Protocol", esp_proto_type_vals, "Protocol used"), 
+      UAT_FLD_VS(uat_esp_sa_records, protocol, "Protocol", esp_proto_type_vals, "Protocol used"),
       UAT_FLD_CSTRING(uat_esp_sa_records, srcIP, "Src IP", "Source Address"),
       UAT_FLD_CSTRING(uat_esp_sa_records, dstIP, "Dest IP", "Destination Address"),
       UAT_FLD_CSTRING(uat_esp_sa_records, spi, "SPI", "SPI"),
-      UAT_FLD_VS(uat_esp_sa_records, encryption_algo, "Encryption", esp_encryption_type_vals, "Encryption algorithm"), 
+      UAT_FLD_VS(uat_esp_sa_records, encryption_algo, "Encryption", esp_encryption_type_vals, "Encryption algorithm"),
       UAT_FLD_CSTRING(uat_esp_sa_records, encryption_key, "Encryption Key", "Encryption Key"),
-      UAT_FLD_VS(uat_esp_sa_records, authentication_algo, "Authentication", esp_authentication_type_vals, "Authentication algorithm"), 
+      UAT_FLD_VS(uat_esp_sa_records, authentication_algo, "Authentication", esp_authentication_type_vals, "Authentication algorithm"),
       UAT_FLD_CSTRING(uat_esp_sa_records, authentication_key, "Authentication Key", "Authentication Key"),
       UAT_END_FIELDS
     };
@@ -2215,7 +2215,7 @@ proto_register_ipsec(void)
             NULL,                       /* post update callback */
             esp_uat_flds);             /* UAT field definitions */
 
-    prefs_register_uat_preference(esp_module, 
+    prefs_register_uat_preference(esp_module,
                                    "sa_table",
                                    "ESP SAs",
                                    "Preconfigured ESP Security Associations",
index 5e0e3269b0132d5a71689a84bf2c81355e37a323..d6c7afb74ca6a31f2fa9e7c794ca8e833df20cc4 100644 (file)
@@ -73,7 +73,7 @@ static void dissect_ipsictl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   if (tree) {
 
-      ti = proto_tree_add_item(tree, proto_ipsictl, tvb, offset, remaining_length, FALSE);
+      ti = proto_tree_add_item(tree, proto_ipsictl, tvb, offset, remaining_length, ENC_NA);
       ipsictl_tree = proto_item_add_subtree(ti, ett_ipsictl);
 
   }
index 32a533a222025f4e0a9232b1b8fa8dcd1c83a00f..084fdab5ea4ea4adda19be0a1f332a205b075f85 100644 (file)
@@ -1650,7 +1650,7 @@ dissect_ipv6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     proto_item *ipv6_tc;
     const char *name;
 
-    ipv6_item = proto_tree_add_item(tree, proto_ipv6, tvb, offset, -1, FALSE);
+    ipv6_item = proto_tree_add_item(tree, proto_ipv6, tvb, offset, -1, ENC_NA);
     ipv6_tree = proto_item_add_subtree(ipv6_item, ett_ipv6);
 
     /* !!! warning: (4-bit) version, (6-bit) DSCP, (1-bit) ECN-ECT, (1-bit) ECN-CE and (20-bit) Flow */
index be0a114120c1a436bfb4edd387be668e77202274..9466b0d7f3df311250d4ce1253441231d4f69af8 100644 (file)
@@ -101,7 +101,7 @@ dissect_ipvs_syncd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
        guint8 cnt = 0;
        int conn = 0;
 
-       item = proto_tree_add_item(parent_tree, proto_ipvs_syncd, tvb, offset, -1, FALSE);
+       item = proto_tree_add_item(parent_tree, proto_ipvs_syncd, tvb, offset, -1, ENC_NA);
        tree = proto_item_add_subtree(item, ett_ipvs_syncd);
 
 
index d0b45287c59d7aefb6c15afa85b9bad7d4f608eb..d1fb91e263af8e6bd329f23936713b854d0f62c2 100644 (file)
@@ -290,7 +290,7 @@ dissect_ipx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
 
-               ti = proto_tree_add_item(tree, proto_ipx, tvb, 0, IPX_HEADER_LEN, FALSE);
+               ti = proto_tree_add_item(tree, proto_ipx, tvb, 0, IPX_HEADER_LEN, ENC_NA);
                ipx_tree = proto_item_add_subtree(ti, ett_ipx);
        }
 
@@ -588,7 +588,7 @@ dissect_spx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_INFO, "SPX");
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_spx, tvb, 0, SPX_HEADER_LEN, FALSE);
+               ti = proto_tree_add_item(tree, proto_spx, tvb, 0, SPX_HEADER_LEN, ENC_NA);
                spx_tree = proto_item_add_subtree(ti, ett_spx);
        }
 
@@ -846,7 +846,7 @@ dissect_ipxmsg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_ipxmsg, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_ipxmsg, tvb, 0, -1, ENC_NA);
                msg_tree = proto_item_add_subtree(ti, ett_ipxmsg);
 
                proto_tree_add_uint(msg_tree, hf_msg_conn, tvb, 0, 1, conn_number);
@@ -881,7 +881,7 @@ dissect_ipxrip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_ipxrip, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_ipxrip, tvb, 0, -1, ENC_NA);
                rip_tree = proto_item_add_subtree(ti, ett_ipxrip);
 
                if (operation < 2) {
@@ -943,7 +943,7 @@ dissect_serialization(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_serialization, tvb, 0, -1,
-                   FALSE);
+                   ENC_NA);
                ser_tree = proto_item_add_subtree(ti, ett_serialization);
        }
 
@@ -1227,7 +1227,7 @@ dissect_ipxsap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_sap, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_sap, tvb, 0, -1, ENC_NA);
                sap_tree = proto_item_add_subtree(ti, ett_ipxsap);
 
                if (query.query_type >= 1 && query.query_type <= 4) {
index de1c31e2f7658bfa7d746d948baba02c516dd133..87ef5c0d6426c7cc4c48d87706ec3e5173773539 100644 (file)
@@ -138,7 +138,7 @@ dissect_ipxwan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_ipxwan, tvb, 0, -1,
-                   FALSE);
+                   ENC_NA);
                ipxwan_tree = proto_item_add_subtree(ti, ett_ipxwan);
        }
 
index 30185a451d0e81a7a1d1d79fa3c4fe0c30c61511..7b96e589ad45c3d5fe7912392c4cef6c8d47bab3 100644 (file)
@@ -87,7 +87,7 @@ dissect_irc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree)
        {
-               ti = proto_tree_add_item(tree, proto_irc, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_irc, tvb, 0, -1, ENC_NA);
                irc_tree = proto_item_add_subtree(ti, ett_irc);
 
                /*
index 989c3400b30442b2aac0ac1e2382a44fc982bd55..fa2294559d1df64a92e804a0bd1c4f7baff94a3b 100644 (file)
@@ -2654,7 +2654,7 @@ dissect_isakmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_clear(pinfo->cinfo, COL_INFO);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_isakmp, tvb, offset, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_isakmp, tvb, offset, -1, ENC_NA);
     isakmp_tree = proto_item_add_subtree(ti, ett_isakmp);
   }
 
index cb44c3bce84f5d94d04d47a4bf104312d1c00f07..7bf56cdc121e936832f70d277d5f7a9c5df15b3f 100644 (file)
@@ -98,7 +98,7 @@ dissect_isdn(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        pinfo->circuit_id = pinfo->pseudo_header->isdn.channel;
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_isdn, tvb, 0, 0, FALSE);
+               ti = proto_tree_add_item(tree, proto_isdn, tvb, 0, 0, ENC_NA);
                isdn_tree = proto_item_add_subtree(ti, ett_isdn);
 
                proto_tree_add_uint(isdn_tree, hf_isdn_channel, tvb, 0, 0,
index 40759333f90edf541b12a59151c4a394d27d12f8..fb345a45ff6045b89743c6752e02a8dd1ae0f4c1 100644 (file)
@@ -138,7 +138,7 @@ dissect_isis(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_isis, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_isis, tvb, 0, -1, ENC_NA);
                isis_tree = proto_item_add_subtree(ti, ett_isis);
        }
 
index f63191466b67ebc1ca82aa2ce467ee35b0bee21d..e1800ff684ee4afde5b877a2a125f0bd31685bb7 100644 (file)
@@ -343,7 +343,7 @@ static void dissect_ismacryp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tre
                s_offset.offset_bits = 0;      /* initialise bit offset */
                poffset = &s_offset;
 
-               ismacryp_item = proto_tree_add_item(tree, proto_ismacryp, tvb, 0, -1, FALSE);
+               ismacryp_item = proto_tree_add_item(tree, proto_ismacryp, tvb, 0, -1, ENC_NA);
                ismacryp_tree = proto_item_add_subtree(ismacryp_item, ett_ismacryp);
                proto_item_append_text(tree, ", %s", "ismacryp packet"); /* add text to tree */
 
index 8b1a2169b68bf8a107b1931dc17ced05efb8c19f..a073a53487a5a654e1cf6fee96106788af9c3df3 100644 (file)
@@ -508,7 +508,7 @@ dissect_ismp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                offset += 3;    /* skip the weird stuff, for now */
        if (tree) {
                /* create display subtree for ismp */
-               ti = proto_tree_add_item(tree, proto_ismp, tvb, offset, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_ismp, tvb, offset, -1, ENC_NA);
 
                ismp_tree = proto_item_add_subtree(ti, ett_ismp);
 
index 38d1511546911ff88f0e1117a8517430104b2b10..724be7974ea695257ad8cac20b9527d029cce4f5 100644 (file)
@@ -582,7 +582,7 @@ dissect_isns_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        proto_item *tpayload;
 
        /* create display subtree for the protocol */
-       ti = proto_tree_add_item(tree, proto_isns, tvb, 0, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_isns, tvb, 0, -1, ENC_NA);
        isns_tree = proto_item_add_subtree(ti, ett_isns);
 
        /* OK... Sort out the header */
index c40a11c56b2af04766c10cf94ee3f98125e7871a..96d5f80e2b5033e487ce025d2671489cc4454fbf 100644 (file)
@@ -7510,7 +7510,7 @@ dissect_isup(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
    * necessary to generate protocol tree items.
    */
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_isup, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_isup, tvb, 0, -1, ENC_NA);
     isup_tree = proto_item_add_subtree(ti, ett_isup);
 
 
@@ -7564,7 +7564,7 @@ dissect_bicc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
    * necessary to generate protocol tree items.
    */
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_bicc, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_bicc, tvb, 0, -1, ENC_NA);
     bicc_tree = proto_item_add_subtree(ti, ett_bicc);
 
 
@@ -7598,7 +7598,7 @@ dissect_application_isup(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_isup, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_isup, tvb, 0, -1, ENC_NA);
     isup_tree = proto_item_add_subtree(ti, ett_isup);
   }
 
index a74d1a1b8415bdd9b771b677a0f9d199d430eedb..fd2f9c0bcdae8b6fc862137ecf5713e8483496b1 100644 (file)
@@ -221,7 +221,7 @@ dissect_itdm_125usec(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   if (tree)
   {
-       itdm_item = proto_tree_add_item(tree, proto_itdm, tvb, 0, -1, FALSE);
+       itdm_item = proto_tree_add_item(tree, proto_itdm, tvb, 0, -1, ENC_NA);
        itdm_tree = proto_item_add_subtree(itdm_item, ett_itdm);
 
        proto_tree_add_item(itdm_tree, hf_itdm_timestamp, tvb, offset, 2, ENC_BIG_ENDIAN);
@@ -316,7 +316,7 @@ dissect_itdm_control(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   if (tree)
   {
-       itdm_ctl_item = proto_tree_add_item(tree, proto_itdm, tvb, 0, -1, FALSE);
+       itdm_ctl_item = proto_tree_add_item(tree, proto_itdm, tvb, 0, -1, ENC_NA);
        itdm_ctl_tree = proto_item_add_subtree(itdm_ctl_item, ett_itdm_ctl);
 
        /* These eventually should go into a SFP.0 dissector... */
@@ -369,7 +369,7 @@ dissect_itdm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 {
   guint32 flowid;
 
-       /* ZZZ for now, 125 usec mode and I-TDM control protocol 
+       /* ZZZ for now, 125 usec mode and I-TDM control protocol
         * need to add 1ms mode */
        if (tvb_length(tvb) < 18)
                return;
index 95539da87224a9253ebe1a6c04b29c989c7c1533..b7955d525681ee0b74abb562994e86e8b5995f7b 100644 (file)
@@ -503,7 +503,7 @@ dissect_iwarp_ddp_rdmap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
                /* DDP/RDMA protocol tree */
                ddp_rdma_item = proto_tree_add_item(tree, proto_iwarp_ddp_rdmap,
-                               tvb, offset, header_end, FALSE);
+                               tvb, offset, header_end, ENC_NA);
                ddp_rdma_tree = proto_item_add_subtree(ddp_rdma_item,
                                ett_iwarp_ddp_rdmap);
 
index 2a87e7871e4e4064d758748f404addfa23dbaf57..aae4c593193d027eecd893480e3c8c2cbd08db3c 100644 (file)
@@ -481,7 +481,7 @@ dissect_mpa_req_rep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
 
        if (tree) {
                mpa_item = proto_tree_add_item(tree, proto_iwarp_mpa, tvb, 0,
-                               -1, FALSE);
+                               -1, ENC_NA);
                mpa_tree = proto_item_add_subtree(mpa_item, ett_mpa);
 
                if (message_type == MPA_REQUEST_FRAME) {
@@ -735,7 +735,7 @@ dissect_mpa_fpdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
                }
 
                mpa_item = proto_tree_add_item(tree, proto_iwarp_mpa, tvb, 0,
-                               -1, FALSE);
+                               -1, ENC_NA);
                mpa_tree = proto_item_add_subtree(mpa_item, ett_mpa);
 
                mpa_header_item = proto_tree_add_item(mpa_tree, hf_mpa_fpdu,
index 904a00207285389f5134335bb3295accf97b68c2..6577c9f34d95af5c3f760f1e7ac52b20aa571250 100644 (file)
@@ -88,7 +88,7 @@ dissect_jpeg( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
        col_set_str(pinfo->cinfo, COL_INFO, "JPEG message");
 
        if ( tree ) {
-               ti = proto_tree_add_item( tree, proto_jpeg, tvb, offset, -1, FALSE );
+               ti = proto_tree_add_item( tree, proto_jpeg, tvb, offset, -1, ENC_NA );
                jpeg_tree = proto_item_add_subtree( ti, ett_jpeg );
 
                ti = proto_tree_add_item(jpeg_tree, hf_rtp_jpeg_main_hdr, tvb, offset, 8, ENC_NA);
index 3a9bea071e457ddfc1bbb77ddfc4aa6167a2b3b0..c750e667cf5e20a372183633999ca127e9635cfb 100644 (file)
@@ -106,7 +106,7 @@ dissect_json(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_json, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_json, tvb, 0, -1, ENC_NA);
                json_tree = proto_item_add_subtree(ti, ett_json);
 
                if (data_name)
index 1d743dfb7d23521980b61dcd8975f2a1d5f33324..4ea9a57ea5b958d9ce8311ee1e05dd1d2ecfd922 100644 (file)
@@ -100,7 +100,7 @@ static void dissect_kdp(tvbuff_t *tvb,
     kdp_tree = NULL;
     flags_tree = NULL;
 
-    ti = proto_tree_add_item(tree, proto_kdp, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_kdp, tvb, 0, -1, ENC_NA);
     kdp_tree = proto_item_add_subtree(ti, ett_kdp);
 
     version = tvb_get_guint8(tvb, 0);
index fb4b520ca95864ab642142e02173b2880871d431..0bb15fd0c85752c1fe58fbbd5cf18628c85d08c3 100644 (file)
@@ -4728,7 +4728,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_krb_kerberos);
         }
         show_krb_recordmark(kerberos_tree, tvb, offset, krb_rm);
@@ -4779,7 +4779,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_krb_kerberos);
         }
     }
index 5811d1d16a7247ca31a6609b7ac9df04dbecfe89..90153f717a0f3dcc5586cc03f3f927995fcf2774 100644 (file)
@@ -314,7 +314,7 @@ dissect_krb4(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
        }
 
        /* create a tree for krb4 */
-       item = proto_tree_add_item(parent_tree, proto_krb4, tvb, offset, -1, FALSE);
+       item = proto_tree_add_item(parent_tree, proto_krb4, tvb, offset, -1, ENC_NA);
        tree = proto_item_add_subtree(item, ett_krb4);
 
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "KRB4");
index 70eb0e7458223a22079d94edaedf3c0c3bd870aa..63925630a7af5dde44832ed880ac10c937e5320d 100644 (file)
@@ -203,7 +203,7 @@ dissect_kink(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree){
   }
   /* Make the kink tree */
   if(tree){
-    ti = proto_tree_add_item(tree, proto_kink, tvb, offset, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_kink, tvb, offset, -1, ENC_NA);
     kink_tree = proto_item_add_subtree(ti, ett_kink);
   }
 
index 2d8d02f7087ca21545218cb15dec11071e5fa67d..b8779bac1fc4dae61c1a5769ddb6222e4565d34c 100644 (file)
@@ -130,7 +130,7 @@ dissect_kismet(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
        }
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_kismet, tvb, offset, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_kismet, tvb, offset, -1, ENC_NA);
                kismet_tree = proto_item_add_subtree(ti, ett_kismet);
        }
 
@@ -262,7 +262,7 @@ dissect_kismet(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                }
                offset = next_offset;
        }
-  
+
        return TRUE;
 }
 
@@ -283,11 +283,11 @@ proto_register_kismet(void)
 {
        static hf_register_info hf[] = {
                {&hf_kismet_response,
-               {"Response", "kismet.response", FT_BOOLEAN, BASE_NONE, 
+               {"Response", "kismet.response", FT_BOOLEAN, BASE_NONE,
                NULL, 0x0, "TRUE if kismet response", HFILL}},
 
                {&hf_kismet_request,
-               {"Request", "kismet.request", FT_BOOLEAN, BASE_NONE, 
+               {"Request", "kismet.request", FT_BOOLEAN, BASE_NONE,
                NULL, 0x0, "TRUE if kismet request", HFILL}}
        };
 
index f81145c10bb5b3015e60dd97205cf42cfa25671e..9260d646141a626d668332fefc8bb504b0296964 100644 (file)
@@ -2,7 +2,7 @@
  * Routines for kpasswd packet dissection
  *    Ronnie Sahlberg 2003
  *
- * See RFC 3244 
+ * See RFC 3244
  *
  * $Id$
  *
@@ -92,9 +92,9 @@ static int dissect_kpasswd_newpassword(proto_tree *tree, tvbuff_t *tvb, int offs
 static ber_old_sequence_t ChangePasswdData_sequence[] = {
        { BER_CLASS_CON, 0, 0,
                dissect_kpasswd_newpassword },
-       { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, 
+       { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL,
                dissect_krb5_cname },
-       { BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, 
+       { BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL,
                dissect_krb5_realm },
        { 0, 0, 0, NULL }
 };
@@ -147,13 +147,13 @@ dissect_kpasswd_user_data_reply(packet_info *pinfo, tvbuff_t *tvb, proto_tree *t
     proto_tree_add_uint(tree, hf_kpasswd_result, tvb, offset, 2, result);
     offset+=2;
     if (check_col(pinfo->cinfo, COL_INFO))
-        col_add_str(pinfo->cinfo, COL_INFO, 
+        col_add_str(pinfo->cinfo, COL_INFO,
                    val_to_str(result, kpasswd_result_types, "Result: %u"));
 
-   
+
     /* optional result string */
     if(tvb_length_remaining(tvb, offset)){
-        proto_tree_add_item(tree, hf_kpasswd_result_string, tvb, offset, tvb_length_remaining(tvb, offset), ENC_ASCII|ENC_NA); 
+        proto_tree_add_item(tree, hf_kpasswd_result_string, tvb, offset, tvb_length_remaining(tvb, offset), ENC_ASCII|ENC_NA);
        offset+=tvb_length_remaining(tvb, offset);
     }
 
@@ -231,7 +231,7 @@ dissect_kpasswd_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboo
        version=tvb_get_ntohs(tvb, offset+2);
        ap_req_len=tvb_get_ntohs(tvb, offset+4);
        if(tree){
-               kpasswd_item=proto_tree_add_item(tree, proto_kpasswd, tvb, offset-krb_rm_size, message_len+krb_rm_size, FALSE);
+               kpasswd_item=proto_tree_add_item(tree, proto_kpasswd, tvb, offset-krb_rm_size, message_len+krb_rm_size, ENC_NA);
                kpasswd_tree=proto_item_add_subtree(kpasswd_item, ett_kpasswd);
                 if (have_rm) {
                     show_krb_recordmark(kpasswd_tree, tvb, offset-krb_rm_size, krb_rm);
index e44868ea33be801c3c526bd13d8971538aaebfc9..43e3d16fec157b17a1a62b789cebecdad5ac78a6 100644 (file)
@@ -75,19 +75,19 @@ dissect_l1_events(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "Layer1");
        if (check_col(pinfo->cinfo, COL_DEF_SRC))
-               col_set_str(pinfo->cinfo, COL_DEF_SRC, 
+               col_set_str(pinfo->cinfo, COL_DEF_SRC,
                            pinfo->pseudo_header->l1event.uton? "TE" : "NT");
        if (check_col(pinfo->cinfo, COL_INFO)) {
                len = tvb_find_line_end(tvb, 0,
                                        tvb_ensure_length_remaining(tvb, 0),
                                        &next_offset, FALSE);
-               if(len>0) 
-                       col_add_str(pinfo->cinfo, COL_INFO, 
+               if(len>0)
+                       col_add_str(pinfo->cinfo, COL_INFO,
                                    tvb_format_text(tvb, 0, len));
        }
        if (tree) {
                ti = proto_tree_add_item(tree, proto_l1_events,
-                               tvb, 0, -1, FALSE);
+                               tvb, 0, -1, ENC_NA);
                if (data_name)
                        proto_item_append_text(ti, ": %s", data_name);
                subtree = proto_item_add_subtree(ti, ett_l1_events);
index cf184ad7f12e8a0a93421c41059791c4b6ba2dda..1a64e6e42b1c353f3cac3190d4d865f449956a1f 100644 (file)
@@ -1521,7 +1521,7 @@ process_l2tpv3_data_udp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        sid = tvb_get_ntohl(tvb, idx);
 
        if (tree) {
-               l2tp_item = proto_tree_add_item(tree, proto_l2tp, tvb, 0, -1, FALSE);
+               l2tp_item = proto_tree_add_item(tree, proto_l2tp, tvb, 0, -1, ENC_NA);
                l2tp_tree = proto_item_add_subtree(l2tp_item, ett_l2tp);
                proto_item_append_text(l2tp_item, " version 3");
 
@@ -1558,7 +1558,7 @@ process_l2tpv3_data_ip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        sid = tvb_get_ntohl(tvb, idx);
 
        if (tree) {
-               l2tp_item = proto_tree_add_item(tree, proto_l2tp, tvb, 0, -1, FALSE);
+               l2tp_item = proto_tree_add_item(tree, proto_l2tp, tvb, 0, -1, ENC_NA);
                l2tp_tree = proto_item_add_subtree(l2tp_item, ett_l2tp);
                proto_item_append_text(l2tp_item, " version 3");
 
@@ -1653,7 +1653,7 @@ process_l2tpv3_control(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int
        }
 
        if (tree) {
-               l2tp_item = proto_tree_add_item(tree, proto_l2tp, tvb, 0, -1, FALSE);
+               l2tp_item = proto_tree_add_item(tree, proto_l2tp, tvb, 0, -1, ENC_NA);
                l2tp_tree = proto_item_add_subtree(l2tp_item, ett_l2tp);
                proto_item_append_text(l2tp_item, " version 3");
 
@@ -1840,7 +1840,7 @@ dissect_l2tp_udp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        if (tree) {
-               l2tp_item = proto_tree_add_item(tree,proto_l2tp, tvb, 0, -1, FALSE);
+               l2tp_item = proto_tree_add_item(tree,proto_l2tp, tvb, 0, -1, ENC_NA);
                l2tp_tree = proto_item_add_subtree(l2tp_item, ett_l2tp);
 
                ti = proto_tree_add_text(l2tp_tree, tvb, 0, 2,
index af0068a00f97fe5defbd676fa1fd3c0d4aae2547..8a03a13babeccaeb32f9d167b04d98eae437dd11 100644 (file)
@@ -99,7 +99,7 @@ static gboolean dissect_lanforge(tvbuff_t *tvb, packet_info *pinfo, proto_tree *
 
         /* create display subtree for the protocol */
 
-        ti = proto_tree_add_item(tree, proto_lanforge, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_lanforge, tvb, 0, -1, ENC_NA);
 
         lanforge_tree = proto_item_add_subtree(ti, ett_lanforge);
 
index dc970d8b72e7a90f5ea0102eb0d034e1263d8537..84efd9bd7253800cc54ab9d1178096253023d696 100644 (file)
@@ -460,7 +460,7 @@ dissect_lapd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                proto_item *direction_ti;
 
                lapd_ti = proto_tree_add_item(tree, proto_lapd, tvb, 0, -1,
-                   FALSE);
+                   ENC_NA);
                lapd_tree = proto_item_add_subtree(lapd_ti, ett_lapd);
 
                /*
index b770e22e8f12d5a0a35e0f024dac58501e4e24d3..29cad2948049e28c1b1af2182833261d6ebe3bdd 100644 (file)
@@ -240,7 +240,7 @@ dissect_lapdm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     }
 
     if (tree) {
-        lapdm_ti = proto_tree_add_item(tree, proto_lapdm, tvb, 0, LAPDM_HEADER_LEN, FALSE);
+        lapdm_ti = proto_tree_add_item(tree, proto_lapdm, tvb, 0, LAPDM_HEADER_LEN, ENC_NA);
         lapdm_tree = proto_item_add_subtree(lapdm_ti, ett_lapdm);
 
         addr_ti = proto_tree_add_uint(lapdm_tree, hf_lapdm_address, tvb, 0, 1, addr);
index ecd1afc93133ea8090cea39eda1b09e45c7c2aaf..6978f2c7416ad67205af0ae90f08a6bdf40c74d9 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.
@@ -99,9 +99,9 @@ dissect_laplink_udp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (check_col(pinfo->cinfo, COL_INFO))
                col_add_str(pinfo->cinfo, COL_INFO, udp_ident_string);
-    
+
        if (tree){
-               ti = proto_tree_add_item(tree, proto_laplink, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_laplink, tvb, 0, -1, ENC_NA);
                laplink_tree = proto_item_add_subtree(ti, ett_laplink);
 
                proto_tree_add_uint(laplink_tree, hf_laplink_udp_ident, tvb, offset, 4, udp_ident);
@@ -130,9 +130,9 @@ dissect_laplink_tcp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                col_add_str(pinfo->cinfo, COL_INFO,
                            val_to_str(tcp_ident, laplink_tcp_magic, "TCP TBA (%u)"));
        }
-    
+
        if (tree){
-               ti = proto_tree_add_item(tree, proto_laplink, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_laplink, tvb, 0, -1, ENC_NA);
 
 
                laplink_tree = proto_item_add_subtree(ti, ett_laplink);
@@ -168,7 +168,7 @@ static void
 dissect_laplink_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 {
        tcp_dissect_pdus(tvb, pinfo, tree, laplink_desegment,
-                        6, get_laplink_pdu_len, 
+                        6, get_laplink_pdu_len,
                         dissect_laplink_tcp_pdu);
 }
 
@@ -177,33 +177,33 @@ dissect_laplink_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
 void
 proto_register_laplink(void)
-{                 
+{
 
 /* Setup list of header fields  See Section 1.6.1 for details*/
        static hf_register_info hf[] = {
                { &hf_laplink_udp_ident,
                        { "UDP Ident", "laplink.udp_ident",
-                       FT_UINT32, BASE_HEX, VALS(laplink_udp_magic), 0x0,          
+                       FT_UINT32, BASE_HEX, VALS(laplink_udp_magic), 0x0,
                        "Unknown magic", HFILL }
                },
                { &hf_laplink_udp_name,
                        { "UDP Name", "laplink.udp_name",
-                       FT_STRINGZ, BASE_NONE, NULL, 0x0,          
+                       FT_STRINGZ, BASE_NONE, NULL, 0x0,
                        "Machine name", HFILL }
                },
                { &hf_laplink_tcp_ident,
                        { "TCP Ident", "laplink.tcp_ident",
-                       FT_UINT32, BASE_HEX, VALS(laplink_tcp_magic), 0x0,          
+                       FT_UINT32, BASE_HEX, VALS(laplink_tcp_magic), 0x0,
                        "Unknown magic", HFILL }
                },
                { &hf_laplink_tcp_length,
                        { "TCP Data payload length", "laplink.tcp_length",
-                       FT_UINT16, BASE_DEC, NULL, 0x0,          
+                       FT_UINT16, BASE_DEC, NULL, 0x0,
                        "Length of remaining payload", HFILL }
                },
                { &hf_laplink_tcp_data,
                        { "Unknown TCP data", "laplink.tcp_data",
-                       FT_BYTES, BASE_NONE, NULL, 0x0,          
+                       FT_BYTES, BASE_NONE, NULL, 0x0,
                        "TCP data", HFILL }
                },
        };
index 51bc82e298e4bef9ed94aa585d9c84842718ea80..dd3554ff05d667a00dd4af1fa6c8be81c66e0c2c 100644 (file)
@@ -33,7 +33,7 @@
  * References:
  * ETSI TS 129 171 V9.2.0 (2010-10)
  */
+
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
@@ -2050,9 +2050,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);
 }
 
@@ -2066,7 +2066,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;
@@ -2625,13 +2625,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 466149591d69e0f7df54e7e999027252539bf60b..1eac1b6017733cbefe8056ebe6d116f79c71027c 100644 (file)
@@ -2620,7 +2620,7 @@ dissect_ldp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_clear(pinfo->cinfo, COL_INFO);
 
     if (tree) {
-        ti=proto_tree_add_item(tree, proto_ldp, tvb, 0, -1, FALSE);
+        ti=proto_tree_add_item(tree, proto_ldp, tvb, 0, -1, ENC_NA);
         pdu_tree = proto_item_add_subtree(ti, ett_ldp);
 
         proto_tree_add_item(pdu_tree, hf_ldp_version, tvb, offset, 2, ENC_BIG_ENDIAN);
index d1aaf1bfb6fc2c434b049f99a45cfbc63cb4158c..3ba601688e0fcf8d1a24af71188a9a870ae24929 100644 (file)
@@ -336,7 +336,7 @@ dissect_ldss_broadcast(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         * instead of just filling out the columns), then give more detail. */
        if (tree) {
                ti = proto_tree_add_item(tree, proto_ldss,
-                                        tvb, 0, (tvb_length(tvb) > 72) ? tvb_length(tvb) : 72, FALSE);
+                                        tvb, 0, (tvb_length(tvb) > 72) ? tvb_length(tvb) : 72, ENC_NA);
                ldss_tree = proto_item_add_subtree(ti, ett_ldss_broadcast);
 
                proto_tree_add_item(ldss_tree, hf_ldss_message_id,
@@ -504,7 +504,7 @@ dissect_ldss_transfer (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
                if (tree) {
                        ti = proto_tree_add_item(tree, proto_ldss,
-                                                tvb, 0, tvb_reported_length(tvb), FALSE);
+                                                tvb, 0, tvb_reported_length(tvb), ENC_NA);
                        ldss_tree = proto_item_add_subtree(ti, ett_ldss_transfer);
                }
 
@@ -691,7 +691,7 @@ dissect_ldss_transfer (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
                if (tree) {
                        ti = proto_tree_add_item(tree, proto_ldss,
-                                                tvb, 0, tvb_reported_length(tvb), FALSE);
+                                                tvb, 0, tvb_reported_length(tvb), ENC_NA);
                        ldss_tree = proto_item_add_subtree(ti, ett_ldss_transfer);
                        proto_tree_add_bytes_format(ldss_tree, hf_ldss_file_data,
                                                    tvb, 0, tvb_length(tvb), NULL,
index b218cfc712144c6eb3e645ea5296e7f5dce0b853..6b70b4df03a7fb0c1856c03d281dfc388353248b 100644 (file)
@@ -80,7 +80,7 @@ dissect_lge_monitor(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 /* Make entries in Protocol column and Info column on summary display */
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "LGE Monitor");
 
-       ti = proto_tree_add_item(tree, proto_lge_monitor, tvb, 0, LGEMON_PROTO_HEADER_LENGTH, FALSE);
+       ti = proto_tree_add_item(tree, proto_lge_monitor, tvb, 0, LGEMON_PROTO_HEADER_LENGTH, ENC_NA);
        lge_monitor_tree = proto_item_add_subtree(ti, ett_lge_monitor);
 
        proto_tree_add_text(lge_monitor_tree, tvb, offset, LGEMON_PROTO_HEADER_LENGTH, "LGE Monitor PDU");
index 8d829f200908acb9c00bd56d87781e1c77f5a375..bc4a52d5152b381f33afc00ecc85ed69be130de7 100644 (file)
@@ -304,7 +304,7 @@ dissect_linx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                proto_item *ti        = NULL;
                proto_tree *linx_tree = NULL;
 
-               ti = proto_tree_add_item(tree, proto_linx, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_linx, tvb, 0, -1, ENC_NA);
                linx_tree = proto_item_add_subtree(ti, ett_linx);
 
                dword   = tvb_get_ntohl(tvb, offset);
@@ -873,7 +873,7 @@ dissect_linx_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        tvb_set_reported_length(tvb, size);
        linx_tcp_tvb = tvb_new_subset(tvb, 0, size, size);
 
-       ti = proto_tree_add_item(tree, proto_linx_tcp, linx_tcp_tvb, 0, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_linx_tcp, linx_tcp_tvb, 0, -1, ENC_NA);
        linx_tcp_tree = proto_item_add_subtree(ti, ett_linx_tcp);
 
        if (version != 3) {
index d1eff75bee97ba35f945e7e74cf35141cbc1c50b..959b6cc65798b40c3d3d559d443cb8a95ae9f06b 100644 (file)
@@ -104,7 +104,7 @@ dissect_lisp_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
         /* create display subtree for the protocol */
         ti = proto_tree_add_item(tree, proto_lisp_data, tvb, 0,
-                LISP_DATA_HEADER_LEN, FALSE);
+                LISP_DATA_HEADER_LEN, ENC_NA);
 
         lisp_data_tree = proto_item_add_subtree(ti, ett_lisp_data);
 
index 29ada9a4804b99ad7e8071fd86f2056b2491995a..c9718f0c32d3057877ee08bc3f81557d4c21e899 100644 (file)
@@ -848,7 +848,7 @@ dissect_lisp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
         /* create display subtree for the protocol */
         ti = proto_tree_add_item(tree, proto_lisp, tvb, 0,
-                (type == LISP_ECM) ? LISP_ECM_HEADER_LEN : -1, FALSE);
+                (type == LISP_ECM) ? LISP_ECM_HEADER_LEN : -1, ENC_NA);
 
         lisp_tree = proto_item_add_subtree(ti, ett_lisp);
 
index cc21be10506c07da368935426e12a05fa3445950..dd46d61be307d6a502a368bb717af4d473c89327 100644 (file)
@@ -426,7 +426,7 @@ dissect_basicxid(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        format = tvb_get_guint8(tvb, 0);
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_basicxid, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_basicxid, tvb, 0, -1, ENC_NA);
                xid_tree = proto_item_add_subtree(ti, ett_llc_basicxid);
                proto_tree_add_uint(xid_tree, hf_llc_xid_format, tvb, 0,
                        1, format);
@@ -472,7 +472,7 @@ dissect_llc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        dsap = tvb_get_guint8(tvb, 0);
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_llc, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_llc, tvb, 0, -1, ENC_NA);
                llc_tree = proto_item_add_subtree(ti, ett_llc);
                proto_tree_add_uint(llc_tree, hf_llc_dsap, tvb, 0,
                        1, dsap & SAP_MASK);
index e202ef987b2f2148352e9ca8389e80f1eedd37e9..0782861affe7a4b4da0678128c966662f0b7cd80 100644 (file)
@@ -2745,7 +2745,7 @@ dissect_lldp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree)
        {
-               ti = proto_tree_add_item(tree, proto_lldp, tvb, offset, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_lldp, tvb, offset, -1, ENC_NA);
                lldp_tree = proto_item_add_subtree(ti, ett_lldp);
        }
 
index dbf43c3b2a208e406a659997237f7913eba06a75..463dd26532ad3cac3d1ad87cbe06172e6e50156b 100644 (file)
@@ -77,7 +77,7 @@ dissect_llt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_llt, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_llt, tvb, 0, -1, ENC_NA);
                llt_tree = proto_item_add_subtree(ti, ett_llt);
        }
 
index b088693db8bf25668059144ed7469faa00326d47..099cfa4cf151868df01e7dcc0ae54f81e1faa37a 100644 (file)
@@ -147,7 +147,7 @@ dissect_lmi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_clear(pinfo->cinfo, COL_INFO);
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_lmi, tvb, 0, 3, FALSE);
+               ti = proto_tree_add_item(tree, proto_lmi, tvb, 0, 3, ENC_NA);
                lmi_tree = proto_item_add_subtree(ti, ett_lmi_ele);
 
                proto_tree_add_item(lmi_tree, hf_lmi_call_ref, tvb, 0, 1, ENC_BIG_ENDIAN);
index 89afdb96f308a317af3f21e89c038547f28a3072..ad2aadd47a70e76664575366d0c01b32667e09eb 100644 (file)
@@ -695,7 +695,7 @@ dissect_lmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     if (tree) {
        msg_length = tvb_get_ntohs(tvb, offset+4);
        ti = proto_tree_add_item(tree, proto_lmp, tvb, offset, msg_length,
-           FALSE);
+           ENC_NA);
        lmp_tree = proto_item_add_subtree(ti, lmp_subtree[LMP_TREE_MAIN]);
        ti = proto_tree_add_text(lmp_tree, tvb, offset, 12, "LMP Header. %s",
                                 val_to_str(message_type, message_type_vals,
index de5256a4a62cdb3922fc459966deff59c9e551e9..555acf6d91664619ed12d3f47f0910c731e4f165 100644 (file)
@@ -69,7 +69,7 @@ dissect_loop(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_clear(pinfo->cinfo, COL_INFO);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_loop, tvb, offset, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_loop, tvb, offset, -1, ENC_NA);
     loop_tree = proto_item_add_subtree(ti, ett_loop);
 
     proto_tree_add_item(loop_tree, hf_loop_skipcount, tvb, offset, 2, ENC_LITTLE_ENDIAN);
index 95de0190077c18a1a1fb34e108d7db9d054a4de8..8f6e0800f025db94c0e48d687b1bc30c522b9429 100644 (file)
@@ -103,7 +103,7 @@ dissect_lpd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_lpd, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_lpd, tvb, 0, -1, ENC_NA);
                lpd_tree = proto_item_add_subtree(ti, ett_lpd);
 
                if (lpr_packet_type == response) {
index d725dd981ab63b17d51d46c125459cf139bc2c2b..3d7c89c12528baee379813d3bb04e3b89768a950 100644 (file)
@@ -213,7 +213,7 @@ dissect_lsc_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   if (tree) {
     /* Create display subtree for the protocol */
-    ti = proto_tree_add_item(tree, proto_lsc, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_lsc, tvb, 0, -1, ENC_NA);
     lsc_tree = proto_item_add_subtree(ti, ett_lsc);
 
     /* Add already fetched items to the tree */
index b203a7358ac69881374853f5eccd0a986712677a..ee30f06c90ef1a56d466f4d4b6ff19c4ad5cbc7b 100644 (file)
@@ -19719,7 +19719,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);
        }
@@ -19735,7 +19735,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);
        }
@@ -19752,7 +19752,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);
        }
@@ -19768,7 +19768,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);
        }
@@ -19784,12 +19784,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)
 {
@@ -19800,7 +19800,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 744c673d7f406037c4b577bac29203f691256781..489cd89c8885e2c7742d5b478a0d80103997df89 100644 (file)
@@ -666,7 +666,7 @@ dissect_ltp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                return 0;
        }
 
-       ti = proto_tree_add_item(tree, proto_ltp, tvb, 0, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_ltp, tvb, 0, -1, ENC_NA);
        ltp_tree = proto_item_add_subtree(ti, ett_ltp);
 
        /* Adding Header Subtree */
index 818718373124d032fa1d9d392aebb8d3393e2f18..37b35e902a8b7ca5b5a485481139ea632ff2b2f3 100644 (file)
@@ -292,7 +292,7 @@ static void dissect_control(tvbuff_t *tvb, packet_info *pinfo,
     if (tree) {
        /* create display subtree for the protocol */
        ti = proto_tree_add_item(tree, proto_lwapp_control, tvb, offset,
-                                -1, FALSE);
+                                -1, ENC_NA);
        control_tree = proto_item_add_subtree(ti, ett_lwapp_control);
 
        proto_tree_add_uint(control_tree, hf_lwapp_control_type,
@@ -335,7 +335,7 @@ static void dissect_lwapp_l3(tvbuff_t *tvb, packet_info *pinfo,
     if (tree) {
        /* create display subtree for the protocol */
        ti = proto_tree_add_item(tree, proto_lwapp_l3, tvb, offset,
-                                -1, FALSE);
+                                -1, ENC_NA);
        lwapp_tree = proto_item_add_subtree(ti, ett_lwapp_l3);
     } else {
         lwapp_tree = NULL;
@@ -411,7 +411,7 @@ static void dissect_lwapp(tvbuff_t *tvb, packet_info *pinfo,
     if (tree) {
 
        /* create display subtree for the protocol */
-       ti = proto_tree_add_item(tree, proto_lwapp, tvb, offset, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_lwapp, tvb, offset, -1, ENC_NA);
        lwapp_tree = proto_item_add_subtree(ti, ett_lwapp);
 
         if (have_destmac) {
index 6dc68b176b771911a562b1ed6fd84c92565faabc..60c9e8692faa1b4c6ecfdf3ff03437c4b1bc9bec 100644 (file)
@@ -935,7 +935,7 @@ dissect_lwres(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
     if(tree)
     {
-        lwres_item = proto_tree_add_item(tree,proto_lwres, tvb,0, -1, FALSE);
+        lwres_item = proto_tree_add_item(tree,proto_lwres, tvb,0, -1, ENC_NA);
         lwres_tree = proto_item_add_subtree(lwres_item, ett_lwres);
     }
     else return;
index b09432f1ede8238de765ec7bd3309ed8f18662d1..04c82295c7af382aec9a34c3a2d7aa343e96cb04 100644 (file)
@@ -539,7 +539,7 @@ dissect_m2tp(tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *tree)
      necessary to generate protocol tree items. */
   if (tree) {
     /* create the m2tp protocol tree */
-    m2tp_item = proto_tree_add_item(tree, proto_m2tp, message_tvb, 0, -1, FALSE);
+    m2tp_item = proto_tree_add_item(tree, proto_m2tp, message_tvb, 0, -1, ENC_NA);
     m2tp_tree = proto_item_add_subtree(m2tp_item, ett_m2tp);
   } else {
     m2tp_item = NULL;
index fc40fa85c36732c4eb42bc385a728e5d5bd86db9..e585fc20e011fd2b669b472c43ea4ec87d89c415 100644 (file)
@@ -2597,7 +2597,7 @@ static void dissect_ulsch_or_dlsch(tvbuff_t *tvb, packet_info *pinfo, proto_tree
             default:
                 proto_item_append_text(pdu_subheader_ti, ", length=%u)",
                                        pdu_lengths[number_of_headers]);
-                proto_item_append_text(pdu_header_ti, " (%s:%u)", 
+                proto_item_append_text(pdu_header_ti, " (%s:%u)",
                                        val_to_str_const(lcids[number_of_headers],
                                                         (direction == DIRECTION_UPLINK) ? ulsch_lcid_vals : dlsch_lcid_vals,
                                                         "Unknown"),
@@ -3195,7 +3195,7 @@ void dissect_mac_lte(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "MAC-LTE");
 
     /* Create protocol tree. */
-    pdu_ti = proto_tree_add_item(tree, proto_mac_lte, tvb, offset, -1, FALSE);
+    pdu_ti = proto_tree_add_item(tree, proto_mac_lte, tvb, offset, -1, ENC_NA);
     proto_item_append_text(pdu_ti, " ");
     mac_lte_tree = proto_item_add_subtree(pdu_ti, ett_mac_lte);
 
@@ -3276,7 +3276,7 @@ void dissect_mac_lte(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 for (n=0; n < p_mac_lte_info->number_of_srs; n++) {
                     proto_item *sr_ti;
                     proto_tree *sr_tree;
-                                                     
+
                     /* SR event is subtree */
                     sr_ti = proto_tree_add_item(mac_lte_tree, hf_mac_lte_oob_send_sr,
                                                 tvb, 0, 0, ENC_NA);
index 8066d3681f9e1a87250a5373af064f1f947afcb5..d4e9137d9a0ec4ae2868b6948a5e0e6063c5dad7 100644 (file)
@@ -109,7 +109,7 @@ dissect_macctrl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   opcode = tvb_get_ntohs(tvb, 0);
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_macctrl, tvb, 0, 46, FALSE);
+    ti = proto_tree_add_item(tree, proto_macctrl, tvb, 0, 46, ENC_NA);
     macctrl_tree = proto_item_add_subtree(ti, ett_macctrl);
 
     proto_tree_add_uint(macctrl_tree, hf_macctrl_opcode, tvb, 0, 2, opcode);
index 9d7745628bd2f23203c944a86eaeb593a18aa95c..934edfa95f9e4b252632d2a049267925465d7faa 100644 (file)
@@ -62,7 +62,7 @@ dissect_manolito(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        /* Make entries in Protocol column and Info column on summary display */
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "MANOLITO");
 
-       ti = proto_tree_add_item(tree, proto_manolito, tvb, 0, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_manolito, tvb, 0, -1, ENC_NA);
 
        manolito_tree = proto_item_add_subtree(ti, ett_manolito);
 
index 1e776a90af51fa4901f9ee082f3b65e4e0ab5c73..797d34b8217ed9bc58e1d2df77c58684d33abde7 100644 (file)
@@ -61,7 +61,7 @@ dissect_media(tvbuff_t *tvb, packet_info *pinfo , proto_tree *tree)
     if (tree) {
         if ( (bytes = tvb_length(tvb)) > 0 )
         {
-            ti = proto_tree_add_item(tree, proto_media, tvb, 0, -1, FALSE);
+            ti = proto_tree_add_item(tree, proto_media, tvb, 0, -1, ENC_NA);
             media_tree = proto_item_add_subtree(ti, ett_media);
 
             if (pinfo->private_data) {
index d1703743347c2fa5b1a795894a8f74da377935cc..0b5f386f7a987a359489dd89d8f5ef886195dcee 100644 (file)
@@ -409,7 +409,7 @@ dissect_megaco_text(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
     /* Build the info tree if we've been given a root */
     /* Create megaco subtree */
-    ti = proto_tree_add_item(tree,proto_megaco,tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree,proto_megaco,tvb, 0, -1, ENC_NA);
     megaco_tree = proto_item_add_subtree(ti, ett_megaco);
 
     /*  Format of 'message' is = MegacopToken SLASH Version SEP mId SEP messageBody */
@@ -682,7 +682,7 @@ dissect_megaco_text(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
             break;
         default :
-            ti = proto_tree_add_item(tree,proto_megaco,tvb, 0, -1, FALSE);
+            ti = proto_tree_add_item(tree,proto_megaco,tvb, 0, -1, ENC_NA);
             megaco_tree = proto_item_add_subtree(ti, ett_megaco);
             proto_tree_add_text(megaco_tree, tvb, 0, -1,
             "Sorry, can't understand errorDescriptor / transactionList = %s, can't parse it pos %u",
index 15208e8894c90e86f7463c6b80dd1e6f75895409..a9fdf4ef47a11b576aa88ae9b582e3ce792388cb 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., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
@@ -49,24 +49,24 @@ dissect_mesh(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   /* Set up structures needed to add the protocol subtree and manage it */
   proto_item *ti;
   proto_tree *mesh_tree;
-  guint8 mesh_ttl; 
-  guint16 mesh_e2eseq; 
-  
+  guint8 mesh_ttl;
+  guint16 mesh_e2eseq;
+
   /* Make entries in Protocol column and Info column on summary display */
   col_set_str(pinfo->cinfo, COL_PROTOCOL, "Mesh");
-  
+
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_mesh, tvb, 0, 5, FALSE);
+    ti = proto_tree_add_item(tree, proto_mesh, tvb, 0, 5, ENC_NA);
     mesh_tree = proto_item_add_subtree(ti, ett_mesh);
 
     /* add an item to the subtree, see section 1.6 for more information */
     mesh_ttl = tvb_get_guint8(tvb, 2);
     proto_tree_add_uint(mesh_tree, hf_mesh_ttl, tvb, 2, 1, mesh_ttl);
-  
+
     mesh_e2eseq = tvb_get_ntohs(tvb, 3);
     proto_tree_add_uint(mesh_tree, hf_mesh_e2eseq, tvb, 3, 2, mesh_e2eseq);
   }
-  
+
   /* Return the amount of data this dissector was able to dissect */
   return 5;
 }
@@ -80,7 +80,7 @@ dissect_mesh(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
 void
 proto_register_mesh(void)
-{                 
+{
   /* Setup list of header fields  See Section 1.6.1 for details*/
   static hf_register_info hf[] = {
     { &hf_mesh_ttl,
index 30c4f7f727188b387e33f5365fb23c011730b835..27517ec58f0d977e12abb21297d3cc2e9f2a475d 100644 (file)
@@ -444,7 +444,7 @@ dissect_meta(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     reserved = tvb_get_letohs(tvb, 6);
 
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_meta, tvb, 0, hdrlen + 4, FALSE);
+        ti = proto_tree_add_item(tree, proto_meta, tvb, 0, hdrlen + 4, ENC_NA);
         meta_tree = proto_item_add_subtree(ti, ett_meta);
         proto_tree_add_uint(meta_tree, hf_meta_schema, tvb, 0, 2, schema);
         proto_tree_add_uint(meta_tree, hf_meta_hdrlen, tvb, 2, 2, hdrlen);
index 23b1d2d1b8abce3af2609ab73463d00191465fc9..7a55da8bb057c47ed441a5840a6fd87931561ecc 100644 (file)
@@ -369,7 +369,7 @@ static int dissect_mgcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                        if (tree)
                        {
                                /* Create our mgcp subtree */
-                               ti = proto_tree_add_item(tree,proto_mgcp,tvb,0,0, FALSE);
+                               ti = proto_tree_add_item(tree,proto_mgcp,tvb,0,0, ENC_NA);
                                mgcp_tree = proto_item_add_subtree(ti, ett_mgcp);
                        }
 
index 3ec4fb06bc5e18d96abb8f8a500bbba3db3db9f5..369c91df44578df5ecab431d437fcd317fde0c97 100644 (file)
@@ -1247,7 +1247,7 @@ dissect_mikey(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        payload = -1;
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_mikey, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_mikey, tvb, 0, -1, ENC_NA);
                mikey_tree = proto_item_add_subtree(ti, ett_mikey);
        }
 
index e4733f3443b042884ef96ce97cc1fcd22f9bf2e1..0c8a477aaac176d43a1e6c29ea233f99a6381373 100644 (file)
@@ -255,7 +255,7 @@ dissect_fp( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
                                             dswid, dsswid, dlid);
       }
     } else {
-      ti = proto_tree_add_item( tree, proto_fp, tvb, 0, -1, FALSE ) ;
+      ti = proto_tree_add_item( tree, proto_fp, tvb, 0, -1, ENC_NA ) ;
     }
     fp_tree = proto_item_add_subtree( ti, ett_mim ) ;
 
index f573f2c0317416ce3ab96cfd734c9f8dafb7f91e..2142b965e605f1ee12901258742d45fbb5b44ebf 100644 (file)
@@ -60,7 +60,7 @@ dissect_mime_encap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        /* XXX, COL_INFO */
 
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "MIME_FILE");
-       item = proto_tree_add_item(tree, proto_mime_encap, tvb, 0, -1, FALSE);
+       item = proto_tree_add_item(tree, proto_mime_encap, tvb, 0, -1, ENC_NA);
 
        /* frames with nsec >= 1000000000 means errors :) */
        if (pinfo->fd->abs_ts.nsecs >= 1000000000) {
index 8ad4186527cc1759ff455855021f67f6b66c7741..abf342a430c80abad5197f5c72c77d396b90537d 100644 (file)
@@ -154,7 +154,7 @@ static void dissect_miop (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree
                     version_major, version_minor);
       if (tree)
         {
-          ti = proto_tree_add_item (tree, proto_miop, tvb, 0, -1, FALSE);
+          ti = proto_tree_add_item (tree, proto_miop, tvb, 0, -1, ENC_NA);
           miop_tree = proto_item_add_subtree (ti, ett_miop);
           proto_tree_add_text (miop_tree, tvb, 0, -1,
                                "Version %u.%u",
@@ -190,7 +190,7 @@ static void dissect_miop (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree
   if (tree)
     {
 
-      ti = proto_tree_add_item (tree, proto_miop, tvb, 0, -1, FALSE);
+      ti = proto_tree_add_item (tree, proto_miop, tvb, 0, -1, ENC_NA);
       miop_tree = proto_item_add_subtree (ti, ett_miop);
 
       /* XXX - Should we bail out if we don't have the right magic number? */
index 25f4f2f73c663b9cea59f6a73e9ff54dcb649e0a..081dd85a65a435d09d9567ee70c0b74576218c4b 100644 (file)
@@ -676,7 +676,7 @@ dissect_mip( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                tvb_ip_to_str(tvb, 12));
 
     if (tree) {
-      ti = proto_tree_add_item(tree, proto_mip, tvb, offset, -1, FALSE);
+      ti = proto_tree_add_item(tree, proto_mip, tvb, offset, -1, ENC_NA);
       mip_tree = proto_item_add_subtree(ti, ett_mip);
 
       /* type */
@@ -728,7 +728,7 @@ dissect_mip( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
     if (tree) {
       /* Add Subtree */
-      ti = proto_tree_add_item(tree, proto_mip, tvb, offset, -1, FALSE);
+      ti = proto_tree_add_item(tree, proto_mip, tvb, offset, -1, ENC_NA);
       mip_tree = proto_item_add_subtree(ti, ett_mip);
 
       /* Type */
@@ -762,7 +762,7 @@ dissect_mip( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
     if (tree) {
       /* Add Subtree */
-      ti = proto_tree_add_item(tree, proto_mip, tvb, offset, -1, FALSE);
+      ti = proto_tree_add_item(tree, proto_mip, tvb, offset, -1, ENC_NA);
       mip_tree = proto_item_add_subtree(ti, ett_mip);
 
       /* Type */
@@ -793,7 +793,7 @@ dissect_mip( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                tvb_ip_to_str(tvb, 12));
 
     if (tree) {
-      ti = proto_tree_add_item(tree, proto_mip, tvb, offset, -1, FALSE);
+      ti = proto_tree_add_item(tree, proto_mip, tvb, offset, -1, ENC_NA);
       mip_tree = proto_item_add_subtree(ti, ett_mip);
 
       /* type */
@@ -837,7 +837,7 @@ dissect_mip( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                tvb_ip_to_str(tvb, 4));
 
     if (tree) {
-      ti = proto_tree_add_item(tree, proto_mip, tvb, offset, -1, FALSE);
+      ti = proto_tree_add_item(tree, proto_mip, tvb, offset, -1, ENC_NA);
       mip_tree = proto_item_add_subtree(ti, ett_mip);
 
       /* type */
index af54fecd9b5220d92980f393592b32589431b6df..3f4d3f3b5529d46456258ae9aa7305410e17f1c4 100644 (file)
@@ -2019,7 +2019,7 @@ dissect_mip6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     len = (tvb_get_guint8(tvb, MIP6_HLEN_OFF) + 1) * 8;
     pproto = tvb_get_guint8(tvb, MIP6_PROTO_OFF);
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_mip6, tvb, 0, len, FALSE);
+        ti = proto_tree_add_item(tree, proto_mip6, tvb, 0, len, ENC_NA);
         mip6_tree = proto_item_add_subtree(ti, ett_mip6);
 
         /* Process header fields */
index 0366fbaf5b76013e64ae7f59576721db5fe3fcbe..c26b993cd48c04c059d95b4647578a36de7dc210 100644 (file)
@@ -7070,7 +7070,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");
@@ -7090,7 +7090,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[] =
   {
@@ -9998,7 +9998,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 ;
@@ -10008,40 +10008,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 99687c85176e07b84466d7c7c79b4dc9590403a5..ea65607f12896b02dc1fddf5498dd669731697e5 100644 (file)
@@ -728,7 +728,7 @@ dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut,
     if (tree) {
        DebugLog(("tree != NULL\n"));
 
-       ti = proto_tree_add_item(tree, proto_mmse, tvb, 0, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_mmse, tvb, 0, -1, ENC_NA);
        proto_item_append_text(ti, ", Type: %s", message_type);
        /* create display subtree for the protocol */
        mmse_tree = proto_item_add_subtree(ti, ett_mmse);
index eb8e795bec8607314fc9f69adef2896fda798ba5..9e2c1b7c2ad20656afa8e5980ea1001e156c5508 100644 (file)
@@ -232,7 +232,7 @@ dissect_mndp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if (tree) {
                /* Header dissection */
                ti = proto_tree_add_item(tree, proto_mndp, tvb, offset, -1,
-                   ENC_BIG_ENDIAN);
+                   ENC_NA);
                mndp_tree = proto_item_add_subtree(ti, ett_mndp);
 
                proto_tree_add_item(mndp_tree, hf_mndp_header_unknown, tvb, offset, 2,
index 055bff7e2e8aaf8d7bbe9432b16a1be5a08de12e..85a45d94606edf37f160111224998ac0c9a7796e 100644 (file)
@@ -776,7 +776,7 @@ dissect_tsp(tvbuff_t *tvb, volatile gint offset, packet_info *pinfo,
        proto_tree *mp2t_af_tree = NULL;
        proto_tree *mp2t_analysis_tree = NULL;
 
-       ti = proto_tree_add_item( tree, proto_mp2t, tvb, offset, MP2T_PACKET_SIZE, FALSE );
+       ti = proto_tree_add_item( tree, proto_mp2t, tvb, offset, MP2T_PACKET_SIZE, ENC_NA );
        mp2t_tree = proto_item_add_subtree( ti, ett_mp2t );
 
        header = tvb_get_ntohl(tvb, offset);
index f8c19ebc46a42ec39f1f59d63105be5cdb8ddb28..9ec83a392f5e4aedb86eea48a3b6c9d773fccd39 100644 (file)
@@ -690,7 +690,7 @@ dissect_mp4ves(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        /* Make entries in Protocol column and Info column on summary display */
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "MP4V-ES");
        if (tree) {
-               item = proto_tree_add_item(tree, proto_mp4ves, tvb, 0, -1, FALSE);
+               item = proto_tree_add_item(tree, proto_mp4ves, tvb, 0, -1, ENC_NA);
                mp4ves_tree = proto_item_add_subtree(item, ett_mp4ves);
        /*
            +------+------+------+------+
index 8f3065e3fbe4b36e9d2c060f534b7eaba76cded5..8c10ab130c94dcfefb8fc00c984652b4e279ec39 100644 (file)
@@ -999,7 +999,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 fa56a361814e9087838b7da85f7a219e4fa6e06c..2d92f50ad84ac208a2ddddfe2b797cf62f8871a5 100644 (file)
@@ -152,7 +152,7 @@ dissect_mpeg1( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
 
        if ( tree )
          {
-           ti = proto_tree_add_item( tree, proto_mpg, tvb, offset, -1, FALSE );
+           ti = proto_tree_add_item( tree, proto_mpg, tvb, offset, -1, ENC_NA );
            mpg_tree = proto_item_add_subtree( ti, ett_mpg );
 
            proto_tree_add_uint( mpg_tree, hf_rtp_mpg_mbz, tvb, offset, 1, mpg_mbz );
index 701002e14b4bc11e36ee09beb1411cfbcc0d4ebb..b3d93a4456d4d67696832014c71c6a03d8dcc107 100644 (file)
@@ -994,7 +994,7 @@ dissect_mpls_echo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                ((MSGTYPE_MPLS_ECHO(msgtype)) && (rem < 32)) ) {
                 col_set_str(pinfo->cinfo, COL_INFO, "Malformed Message");
                 if(tree) {
-                       ti = proto_tree_add_item(tree, proto_mpls_echo, tvb, 0, -1, FALSE);
+                       ti = proto_tree_add_item(tree, proto_mpls_echo, tvb, 0, -1, ENC_NA);
                        mpls_echo_tree = proto_item_add_subtree(ti, ett_mpls_echo);
                         proto_tree_add_text(mpls_echo_tree, tvb, offset, rem,
                             "Error processing Message: length is %d, should be >= %u",
@@ -1011,7 +1011,7 @@ dissect_mpls_echo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         if (tree) {
 
                 /* Add subtree and dissect the fixed part of the message */
-                ti = proto_tree_add_item(tree, proto_mpls_echo, tvb, 0, -1, FALSE);
+                ti = proto_tree_add_item(tree, proto_mpls_echo, tvb, 0, -1, ENC_NA);
                 mpls_echo_tree = proto_item_add_subtree(ti, ett_mpls_echo);
 
                 proto_tree_add_item(mpls_echo_tree,
index 594f2ab9997bfed92fb596cb917520980816fe59..e78e244df8d6c43abf150d231e2caa9cf06aa0bd 100644 (file)
@@ -366,7 +366,7 @@ dissect_pw_ach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     res = tvb_get_guint8(tvb, 1);
     channel_type = tvb_get_ntohs(tvb, 2);
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_pw_ach, tvb, 0, 4, FALSE);
+        ti = proto_tree_add_item(tree, proto_pw_ach, tvb, 0, 4, ENC_NA);
         mpls_pw_ach_tree = proto_item_add_subtree(ti, ett_mpls_pw_ach);
         if (mpls_pw_ach_tree == NULL)
             return;
@@ -471,7 +471,7 @@ dissect_pw_mcw(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     length = tvb_get_guint8(tvb, 1) & 0x3F;
     sequence_number = tvb_get_ntohs(tvb, 2);
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_pw_mcw, tvb, 0, 4, FALSE);
+        ti = proto_tree_add_item(tree, proto_pw_mcw, tvb, 0, 4, ENC_NA);
         mpls_pw_mcw_tree = proto_item_add_subtree(ti, ett_mpls_pw_mcw);
         if (mpls_pw_mcw_tree == NULL)
             return;
@@ -719,7 +719,7 @@ dissect_mpls(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
         if (tree) {
 
-            ti = proto_tree_add_item(tree, proto_mpls, tvb, offset, 4, FALSE);
+            ti = proto_tree_add_item(tree, proto_mpls, tvb, offset, 4, ENC_NA);
             mpls_tree = proto_item_add_subtree(ti, ett_mpls);
 
             proto_item_append_text(ti, ", Label: %u", label);
index 7fadb12fa07e69907d6965f60bfc44ab242f953a..91ab75814410d8afbecefe3cc8dd5fa038da0011 100644 (file)
@@ -230,7 +230,7 @@ dissect_mqpcf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
                if (tree)
                {
-                       ti = proto_tree_add_item(tree, proto_mqpcf, tvb, offset, -1, FALSE);
+                       ti = proto_tree_add_item(tree, proto_mqpcf, tvb, offset, -1, ENC_NA);
                        proto_item_append_text(ti, " (%s)", val_to_str(iCommand, mqpcf_opcode_vals, "Unknown (0x%02x)"));
                        mqroot_tree = proto_item_add_subtree(ti, ett_mqpcf);
 
index 4aec2b79fc9bc6c975e201137e6158ff75a91bcf..7d40fc44a0e369ad8c64fc1176c3d2e3a708b5b6 100644 (file)
@@ -197,7 +197,7 @@ dissect_mrdisc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, int o
                return offset+tvb_length_remaining(tvb, offset);
        }
 
-       item = proto_tree_add_item(parent_tree, proto_mrdisc, tvb, offset, 0, FALSE);
+       item = proto_tree_add_item(parent_tree, proto_mrdisc, tvb, offset, 0, ENC_NA);
        tree = proto_item_add_subtree(item, ett_mrdisc);
 
 
index c32bbb597cdf2baf449fcf7a6b633f4f8588c4f4..8dc83c8e099893329b1b973822f33765728a4221 100644 (file)
@@ -471,7 +471,7 @@ dissect_msrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         int msg_offset;  /* Use when handling multiple messages.  This points to current msg being decoded. */
         int vect_offset; /* Use when handling multiple vector attributes.  This points to the current vector attribute being decoded. */
 
-        ti = proto_tree_add_item(tree, proto_msrp, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_msrp, tvb, 0, -1, ENC_NA);
         msrp_tree = proto_item_add_subtree(ti, ett_msrp);
 
         proto_tree_add_item(msrp_tree, hf_msrp_proto_id, tvb, MSRP_PROTOCOL_VERSION_OFFSET, 1, ENC_BIG_ENDIAN);
index 86bb7172845282206db9f78181e2f0f9e96d0339..8bc2f9445dbda40a0d222359c3e864fad8c219ae 100644 (file)
@@ -400,7 +400,7 @@ static gint dissect_msmms_command(tvbuff_t *tvb, packet_info *pinfo, proto_tree
     /* Create MSMMS control protocol tree */
     if (tree)
     {
-        ti = proto_tree_add_item(tree, proto_msmms, tvb, offset, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_msmms, tvb, offset, -1, ENC_NA);
         msmms_tree = proto_item_add_subtree(ti, ett_msmms_command);
     }
 
@@ -582,7 +582,7 @@ static gint dissect_msmms_data_udp_command(tvbuff_t *tvb, packet_info *pinfo, pr
     /* Create MSMMS data protocol tree */
     if (tree)
     {
-        ti = proto_tree_add_item(tree, proto_msmms, tvb, offset, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_msmms, tvb, offset, -1, ENC_NA);
         msmms_tree = proto_item_add_subtree(ti, ett_msmms_data);
     }
 
@@ -669,7 +669,7 @@ static gint dissect_msmms_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr
     /* Create MSMMS data protocol tree */
     if (tree)
     {
-        ti = proto_tree_add_item(tree, proto_msmms, tvb, offset, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_msmms, tvb, offset, -1, ENC_NA);
         msmms_tree = proto_item_add_subtree(ti, ett_msmms_data);
     }
 
index 5e4ed2ede50675a48e6a948b4c77decb3e71bc50..050c7343ad4dd5f67195b7e5ac6182704a72d7a5 100644 (file)
@@ -191,7 +191,7 @@ dissect_msdp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 guint8 type;
                 guint16 length;
 
-                ti = proto_tree_add_item(tree, proto_msdp, tvb, 0, -1, FALSE);
+                ti = proto_tree_add_item(tree, proto_msdp, tvb, 0, -1, ENC_NA);
                 msdp_tree = proto_item_add_subtree(ti, ett_msdp);
 
                 offset = 0;
index deb603b48445b79718dcdc6b6313d82cb2706471..c207c37871649c21ec38b6b589e42728b93c0427 100644 (file)
@@ -90,13 +90,13 @@ dissect_msnms(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                /*
                 * Put the first line from the buffer into the summary.
                 */
-               col_add_str(pinfo->cinfo, COL_INFO, 
+               col_add_str(pinfo->cinfo, COL_INFO,
                            format_text(line, linelen));
        }
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_msnms, tvb, offset, -1,
-                   FALSE);
+                   ENC_NA);
                msnms_tree = proto_item_add_subtree(ti, ett_msnms);
 
                /*
index 63ed2bb5a8b13449a28a09bf62b7e9e99af388c8..de95cf5bf2eeb938ccdb320f785fb9296379d256 100644 (file)
@@ -227,7 +227,7 @@ dissect_msnip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, int of
                return offset+tvb_length_remaining(tvb, offset);
        }
 
-       item = proto_tree_add_item(parent_tree, proto_msnip, tvb, offset, -1, FALSE);
+       item = proto_tree_add_item(parent_tree, proto_msnip, tvb, offset, -1, ENC_NA);
        tree = proto_item_add_subtree(item, ett_msnip);
 
 
index 85e3e9a028647b9ac673005a888c13a411557ca8..af3f4ed9fedd290722f414ebfaded6577a729c8b 100644 (file)
@@ -59,7 +59,7 @@ dissect_msnlb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_set_str(pinfo->cinfo, COL_INFO, "MS NLB heartbeat");
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_msnlb, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_msnlb, tvb, 0, -1, ENC_NA);
     msnlb_tree = proto_item_add_subtree(ti, ett_msnlb);
 
     type = tvb_get_guint8(tvb, offset);
index 7eddd243353f548ec6eefe4b1c6bf36fe5315742..f9c9593168c763d2298cc5e695d13ef6c2331cdf 100644 (file)
@@ -210,7 +210,7 @@ static void msproxy_sub_dissector( tvbuff_t *tvb, packet_info *pinfo,
 
        if ( tree) {
                ti = proto_tree_add_item( tree, proto_msproxy, tvb, 0, 0,
-                       FALSE );
+                       ENC_NA );
 
                msp_tree = proto_item_add_subtree(ti, ett_msproxy);
 
@@ -1110,7 +1110,7 @@ static void dissect_msproxy(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {                             /* if proto tree, decode data */
                ti = proto_tree_add_item( tree, proto_msproxy, tvb, 0, -1,
-                               FALSE );
+                               ENC_NA );
 
                msproxy_tree = proto_item_add_subtree(ti, ett_msproxy);
        }
index 94f89727a2337df1ec6d5e38b7c391134da41fae..79fcc0264ef0d3420ce101e889d6e2e74dd4619d 100644 (file)
@@ -563,7 +563,7 @@ dissect_msrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
 
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_msrp, tvb, 0, message_end_offset, ENC_BIG_ENDIAN);
+        ti = proto_tree_add_item(tree, proto_msrp, tvb, 0, message_end_offset, ENC_NA);
         msrp_tree = proto_item_add_subtree(ti, ett_msrp);
 
         if (is_msrp_response){
index eac9947512bb411d66f1831217824a7c8680edb6..ca96929539480c5a8f15eb18f1287efd33b495a2 100644 (file)
@@ -337,7 +337,7 @@ dissect_mstp_wtap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                mstp_frame_source, mstp_frame_destination,
                mstp_frame_type_text(mstp_frame_type));
 #else
-       ti = proto_tree_add_item(tree, proto_mstp, tvb, offset, 8, FALSE);
+       ti = proto_tree_add_item(tree, proto_mstp, tvb, offset, 8, ENC_NA);
 #endif
        subtree = proto_item_add_subtree(ti, ett_bacnet_mstp);
        proto_tree_add_item(subtree, hf_mstp_preamble_55, tvb,
index 2283418ba3f24b0fdf14e462306cefa7ef20c11d..23a3cd64b21becf110086f2b5ec9f76b26b49e6f 100644 (file)
@@ -833,7 +833,7 @@ static void dissect_multipart(tvbuff_t *tvb, packet_info *pinfo,
        if (tree) {
                proto_item *type_ti;
                ti = proto_tree_add_item(tree, proto_multipart,
-                               tvb, 0, -1, ENC_BIG_ENDIAN);
+                               tvb, 0, -1, ENC_NA);
                subtree = proto_item_add_subtree(ti, ett_multipart);
                proto_item_append_text(ti, ", Type: %s, Boundary: \"%s\"",
                                m_info->type, m_info->boundary);
index e1ee41d28ddb063d184eef393b30c487a41b6fb9..d364ea469050fbc60d6ede81bb33ac7ff475f538 100644 (file)
@@ -870,7 +870,7 @@ dissect_mux27010(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     /*@param proto_mux27010: Protocol name*/
     /*@param tvb: Buffer to dissect (data for protocol)*/
     /*@param "0" and "-1": All data is for the protocol*/
-    ti = proto_tree_add_item(tree, proto_mux27010, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_mux27010, tvb, 0, -1, ENC_NA);
 
     /*Add a subtree to the protocol tree (child node)*/
     mux27010_tree = proto_item_add_subtree(ti, ett_mux27010);
index 0201379b8283a85446a9c5aaebf298891df851b4..f91b1896892a94c6b6b3ebb0d1fe730ee5f44159 100644 (file)
@@ -4514,7 +4514,7 @@ dissect_nas_eps(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     /* make entry in the Protocol column on summary display */
     col_append_str(pinfo->cinfo, COL_PROTOCOL, "/NAS-EPS");
 
-    item = proto_tree_add_item(tree, proto_nas_eps, tvb, 0, -1, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, proto_nas_eps, tvb, 0, -1, ENC_NA);
     nas_eps_tree = proto_item_add_subtree(item, ett_nas_eps);
 
     /* Security header type Security header type 9.3.1 M V 1/2 */
@@ -4554,10 +4554,10 @@ dissect_nas_eps(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 /* Integrity protected and ciphered = 2, Integrity protected and ciphered with new EPS security context = 4 */
                 pd = tvb_get_guint8(tvb,offset)&0x0f;
 #if 0
-                               /* Does not work see Bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6348 
+                               /* Does not work see Bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6348
                                 * 9.2 Protocol discriminator
                                 * :
-                                * The protocol discriminator in the header (see 3GPP TS 24.007 [12]) of a 
+                                * The protocol discriminator in the header (see 3GPP TS 24.007 [12]) of a
                                 * security protected NAS message is encoded as "EPS mobility management messages".
                                 * XXX Should we check for PD == 7?
                                 */
@@ -4628,7 +4628,7 @@ dissect_nas_eps_plain(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     /* make entry in the Protocol column on summary display */
     col_append_str(pinfo->cinfo, COL_PROTOCOL, "/NAS-EPS");
 
-    item = proto_tree_add_item(tree, proto_nas_eps, tvb, 0, -1, ENC_BIG_ENDIAN);
+    item = proto_tree_add_item(tree, proto_nas_eps, tvb, 0, -1, ENC_NA);
     nas_eps_tree = proto_item_add_subtree(item, ett_nas_eps);
 
     pd = tvb_get_guint8(tvb,offset)&0x0f;
index 01310580ba1afa307f6e9b86fc347f75b37ca511..43170e9cc3a8c68138cd8da8f6ac2b2478fed48f 100644 (file)
@@ -69,15 +69,15 @@ static range_t *nasdaq_soup_tcp_range = NULL;
 /* Initialize the subtree pointers */
 static gint ett_nasdaq_soup = -1;
 
-static int hf_nasdaq_soup_packet_type = -1; 
-static int hf_nasdaq_soup_message = -1; 
-static int hf_nasdaq_soup_text = -1; 
-static int hf_nasdaq_soup_packet_eol = -1; 
-static int hf_nasdaq_soup_username = -1; 
-static int hf_nasdaq_soup_password = -1; 
-static int hf_nasdaq_soup_session = -1; 
-static int hf_nasdaq_soup_seq_number = -1; 
-static int hf_nasdaq_soup_reject_code = -1; 
+static int hf_nasdaq_soup_packet_type = -1;
+static int hf_nasdaq_soup_message = -1;
+static int hf_nasdaq_soup_text = -1;
+static int hf_nasdaq_soup_packet_eol = -1;
+static int hf_nasdaq_soup_username = -1;
+static int hf_nasdaq_soup_password = -1;
+static int hf_nasdaq_soup_session = -1;
+static int hf_nasdaq_soup_seq_number = -1;
+static int hf_nasdaq_soup_reject_code = -1;
 
 static void
 dissect_nasdaq_soup_packet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, proto_tree *tree, int offset, int linelen)
@@ -194,7 +194,7 @@ dissect_nasdaq_soup(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
       }
       counter++;
       if (tree) {
-          ti = proto_tree_add_item(tree, proto_nasdaq_soup, tvb, offset, linelen +1, FALSE);
+          ti = proto_tree_add_item(tree, proto_nasdaq_soup, tvb, offset, linelen +1, ENC_NA);
           nasdaq_soup_tree = proto_item_add_subtree(ti, ett_nasdaq_soup);
       }
       dissect_nasdaq_soup_packet(tvb, pinfo, tree, nasdaq_soup_tree, offset, linelen);
@@ -211,7 +211,7 @@ static void range_add_nasdaq_soup_tcp_callback(guint32 port) {
     dissector_add_uint("tcp.port", port, nasdaq_soup_handle);
 }
 
-static void nasdaq_soup_prefs(void) 
+static void nasdaq_soup_prefs(void)
 {
     range_foreach(nasdaq_soup_tcp_range, range_delete_nasdaq_soup_tcp_callback);
     g_free(nasdaq_soup_tcp_range);
@@ -226,7 +226,7 @@ proto_register_nasdaq_soup(void)
 /* Setup list of header fields  See Section 1.6.1 for details*/
     static hf_register_info hf[] = {
 
-    { &hf_nasdaq_soup_packet_type, 
+    { &hf_nasdaq_soup_packet_type,
       { "Packet Type",       "nasdaq-soup.packet_type",
         FT_UINT8, BASE_DEC, VALS(message_types_val), 0x0,
         NULL, HFILL }},
index 959c371c3425edafd22bc700473916faf60d865b..8805180f61f278b332f43188afff11f5a81d9742 100644 (file)
@@ -105,7 +105,7 @@ dissect_nb_rtpmux(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
         length = tvb_get_guint8(tvb, offset+2);
         ti = proto_tree_add_item(tree, proto_nb_rtpmux, tvb, offset,
-            length+5, FALSE);
+            length+5, ENC_NA);
         nb_rtpmux_tree = proto_item_add_subtree(ti, ett_nb_rtpmux);
 
         /* XXX - what if the T bit is set? */
@@ -118,7 +118,7 @@ dissect_nb_rtpmux(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                        proto_tree_add_uint(nb_rtpmux_tree, hf_nb_rtpmux_dstport, tvb, offset, 2, dstport );
                        proto_tree_add_item(nb_rtpmux_tree,
                                hf_nb_rtpmux_length, tvb, offset+2, 1, ENC_BIG_ENDIAN);
-            proto_tree_add_item(nb_rtpmux_tree, hf_nb_r_bit, tvb, offset, 1, ENC_BIG_ENDIAN);                  
+            proto_tree_add_item(nb_rtpmux_tree, hf_nb_r_bit, tvb, offset, 1, ENC_BIG_ENDIAN);
                        srcport = (tvb_get_ntohs(tvb, offset+3) & 0x7fff) << 1;
                        proto_tree_add_uint(nb_rtpmux_tree, hf_nb_rtpmux_srcport, tvb, offset+3, 2, srcport );
                        cmp_rtp_item = proto_tree_add_text( nb_rtpmux_tree, tvb, offset+5, 3, "Compressed RTP header" );
@@ -136,7 +136,7 @@ dissect_nb_rtpmux(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                        proto_tree_add_uint(nb_rtpmux_tree, hf_nb_rtpmux_dstport, tvb, offset, 2, dstport );
                        proto_tree_add_item(nb_rtpmux_tree,
                                hf_nb_rtpmux_length, tvb, offset+2, 1, ENC_BIG_ENDIAN);
-            proto_tree_add_item(nb_rtpmux_tree, hf_nb_r_bit, tvb, offset, 1, ENC_BIG_ENDIAN);                  
+            proto_tree_add_item(nb_rtpmux_tree, hf_nb_r_bit, tvb, offset, 1, ENC_BIG_ENDIAN);
                        srcport = (tvb_get_ntohs(tvb, offset+3) & 0x7fff) << 1;
                        proto_tree_add_uint(nb_rtpmux_tree, hf_nb_rtpmux_srcport, tvb, offset+3, 2, srcport );
 
@@ -212,11 +212,11 @@ proto_register_nb_rtpmux(void)
             { "Sequence Number", "nb_rtpmux.cmp_rtp.sequence_no",
              FT_UINT16, BASE_DEC, NULL, 0x00,
             NULL, HFILL }
-       }, 
+       },
        { &hf_nb_rtpmux_cmp_rtp_timestamp,
             { "Timestamp", "nb_rtpmux.cmp_rtp.timestamp",
              FT_UINT16, BASE_DEC, NULL, 0x00,
-            NULL, HFILL } 
+            NULL, HFILL }
        },
        { &hf_nb_rtpmux_cmp_rtp_data,
             { "RTP Data", "nb_rtpmux.cmp_rtp.data",
index 49595bc31eb1c4fd5a515d5c7bdaa70a28a774ba..c8b5c8d777ec2e11af410cd6472a82618cea922d 100644 (file)
@@ -52895,9 +52895,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);
 }
 
@@ -67696,7 +67696,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 4bd3096630412f232d4c51d31dd1e895f6f39d38..e373b98d8ac33da1883ed8add9fa0ffc25fd84c5 100644 (file)
@@ -193,7 +193,7 @@ dissect_nbd_tcp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
 
        col_clear(pinfo->cinfo, COL_INFO);
 
-       item = proto_tree_add_item(parent_tree, proto_nbd, tvb, 0, -1, FALSE);
+       item = proto_tree_add_item(parent_tree, proto_nbd, tvb, 0, -1, ENC_NA);
        tree = proto_item_add_subtree(item, ett_nbd);
 
 
index 953f02bc7e89d471d8ba1424ce1007bcf1698050..6d57e0f971836e8fe1f80bcfcecda93e3a893b34 100644 (file)
@@ -260,7 +260,7 @@ dissect_nbipx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_nbipx, tvb, 0,
-                   -1, FALSE);
+                   -1, ENC_NA);
                nbipx_tree = proto_item_add_subtree(ti, ett_nbipx);
        }
 
@@ -404,7 +404,7 @@ dissect_nbipx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        case NBIPX_DIRECTED_DATAGRAM:
                if (check_col(pinfo->cinfo, COL_INFO)) {
-                       col_add_str(pinfo->cinfo, COL_INFO, 
+                       col_add_str(pinfo->cinfo, COL_INFO,
                                val_to_str(packet_type, nbipx_data_stream_type_vals, "Unknown"));
                }
                dissect_conn_control(tvb, offset, nbipx_tree);
@@ -431,7 +431,7 @@ dissect_nbipx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        default:
                if (check_col(pinfo->cinfo, COL_INFO)) {
-                       col_add_str(pinfo->cinfo, COL_INFO, 
+                       col_add_str(pinfo->cinfo, COL_INFO,
                                val_to_str(packet_type, nbipx_data_stream_type_vals, "Unknown"));
                }
 
@@ -676,7 +676,7 @@ dissect_nmpi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_nmpi, tvb, offset, 68,
-                   FALSE);
+                   ENC_NA);
                nmpi_tree = proto_item_add_subtree(ti, ett_nmpi);
 
                add_routers(nmpi_tree, tvb, offset);
index 942626ea76bc44172c59c1c35c7191ba4d8fa622..0321e6283e5bf1673a583fabbe65e79f49830dc5 100644 (file)
@@ -1066,7 +1066,7 @@ dissect_nbns(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_nbns, tvb, offset, -1,
-                   FALSE);
+                   ENC_NA);
                nbns_tree = proto_item_add_subtree(ti, ett_nbns);
 
                proto_tree_add_uint(nbns_tree, hf_nbns_transaction_id, tvb,
@@ -1251,7 +1251,7 @@ dissect_nbdgm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_nbdgm, tvb, offset, -1,
-                   FALSE);
+                   ENC_NA);
                nbdgm_tree = proto_item_add_subtree(ti, ett_nbdgm);
 
                proto_tree_add_uint(nbdgm_tree, hf_nbdgm_type, tvb,
@@ -1489,7 +1489,7 @@ dissect_nbss_packet(tvbuff_t *tvb, int offset, packet_info *pinfo,
        msg_type = tvb_get_guint8(tvb, offset);
 
        if (tree) {
-         ti = proto_tree_add_item(tree, proto_nbss, tvb, offset, length + 4, FALSE);
+         ti = proto_tree_add_item(tree, proto_nbss, tvb, offset, length + 4, ENC_NA);
          nbss_tree = proto_item_add_subtree(ti, ett_nbss);
 
          proto_tree_add_item(nbss_tree, hf_nbss_type, tvb, offset, 1, ENC_NA);
@@ -1831,7 +1831,7 @@ continuation:
        col_set_str(pinfo->cinfo, COL_INFO, "NBSS Continuation Message");
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_nbss, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_nbss, tvb, 0, -1, ENC_NA);
                nbss_tree = proto_item_add_subtree(ti, ett_nbss);
                proto_tree_add_text(nbss_tree, tvb, 0, -1, "Continuation data");
        }
index f82be08fe8cfbe7423f6b44f23c14879424ba3b4..b65658dbcaaafdba6acd832cc9ac93fb74389179 100644 (file)
@@ -340,7 +340,7 @@ dissect_ncp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
 
     ncp_hdr = &header;
 
-    ti = proto_tree_add_item(tree, proto_ncp, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_ncp, tvb, 0, -1, ENC_NA);
     ncp_tree = proto_item_add_subtree(ti, ett_ncp);
     if (is_tcp) {
         if (tvb_get_ntohl(tvb, hdr_offset) != NCPIP_RQST && tvb_get_ntohl(tvb, hdr_offset) != NCPIP_RPLY)
index 1f190ebb4b7be3b49fa25bc15617e00c62f3572b..557baaa9fba25db50878eb3fee3df4b5dccda0d9 100644 (file)
@@ -23,8 +23,8 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
+
+
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
@@ -44,9 +44,9 @@ dissect_ncs(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 {
     proto_tree     *ncs_tree = NULL;
     proto_item     *ti;
-    
+
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_ncs, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_ncs, tvb, 0, -1, ENC_NA);
         ncs_tree = proto_item_add_subtree(ti, ett_ncs);
     }
 
index 9af4a0fa05f73742dd76b422ba2169969f037541..52df55cb137eccd7e486ec2ed2c0bc902cab1b5e 100644 (file)
@@ -3279,7 +3279,7 @@ dissect_ndmp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                         * Add the record marker information to the tree
                         */
                        if (tree) {
-                               ndmp_item = proto_tree_add_item(tree, proto_ndmp, tvb, 0, -1, FALSE);
+                               ndmp_item = proto_tree_add_item(tree, proto_ndmp, tvb, 0, -1, ENC_NA);
                                ndmp_tree = proto_item_add_subtree(ndmp_item, ett_ndmp);
                        }
                        hdr_item = proto_tree_add_text(ndmp_tree, tvb, 0, 4,
@@ -3341,7 +3341,7 @@ dissect_ndmp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "NDMP");
        col_clear(pinfo->cinfo, COL_INFO);
        if (tree) {
-               ndmp_item = proto_tree_add_item(tree, proto_ndmp, tvb, 0, -1, FALSE);
+               ndmp_item = proto_tree_add_item(tree, proto_ndmp, tvb, 0, -1, ENC_NA);
                ndmp_tree = proto_item_add_subtree(ndmp_item, ett_ndmp);
        }
 
index f2d741369523b037c4f185e48a854d482e11083e..ef85dc70d5cd0cb8f77cf4fc910296ac82d59a7c 100644 (file)
@@ -4303,7 +4303,7 @@ dissect_ndps_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_clear(pinfo->cinfo, COL_INFO);
 
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_ndps, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_ndps, tvb, 0, -1, ENC_NA);
         ndps_tree = proto_item_add_subtree(ti, ett_ndps);
     }
     dissect_ndps(tvb, pinfo, ndps_tree);
@@ -4494,7 +4494,7 @@ dissect_ndps_ipx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_clear(pinfo->cinfo, COL_INFO);
 
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_ndps, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_ndps, tvb, 0, -1, ENC_NA);
         ndps_tree = proto_item_add_subtree(ti, ett_ndps);
     }
     ndps_defrag(tvb, pinfo, ndps_tree);
index 4f6e66401f09d21d1eb24f4a5eb69e7074c3e472..8b2a2e5366e9c75efad1ef998ba78d80fb1e6948 100644 (file)
@@ -1150,7 +1150,7 @@ dissect_netbios(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        if ( tree) {
-               ti = proto_tree_add_item(tree, proto_netbios, tvb, 0, hdr_len, FALSE);
+               ti = proto_tree_add_item(tree, proto_netbios, tvb, 0, hdr_len, ENC_NA);
                netb_tree = proto_item_add_subtree(ti, ett_netb);
 
                proto_tree_add_uint_format(netb_tree, hf_netb_hdr_len, tvb, offset, 2, hdr_len,
index ddef3c2ab878b21ef6de8974c43905a9bb9d9d5a..ab70ea2af6a7d20ea5be904247f9dac32ed22360 100644 (file)
@@ -1,6 +1,6 @@
 /* packet-netdump.c
  * Routines for Netdump dissection
- * Copyright 2009, Neil Horman <nhorman@tuxdriver.com> 
+ * Copyright 2009, Neil Horman <nhorman@tuxdriver.com>
  *
  * $Id$
  *
@@ -104,7 +104,7 @@ dissect_netdump(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if (tree) { /* we are being asked for details */
                proto_item *ti = NULL;
                proto_tree *netdump_tree = NULL;
-               ti = proto_tree_add_item(tree, proto_netdump, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_netdump, tvb, 0, -1, ENC_NA);
                netdump_tree = proto_item_add_subtree(ti, ett_netdump);
                if (tvb_reported_length(tvb) == 24) {
                        /* Its a request format packet */
index 8a00c2617efb2c9f1eafec5f4a544f3e58c85dd4..a30c5ef026c98a6de0002dbf701cd76ff0944dc0 100644 (file)
@@ -402,7 +402,7 @@ dissect_npmp(tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *tree)
      necessary to generate protocol tree items. */
   if (tree) {
     /* create the npmp protocol tree */
-    npmp_item = proto_tree_add_item(tree, proto_npmp, message_tvb, 0, -1, FALSE);
+    npmp_item = proto_tree_add_item(tree, proto_npmp, message_tvb, 0, -1, ENC_NA);
     npmp_tree = proto_item_add_subtree(npmp_item, ett_npmp);
   } else {
     npmp_tree = NULL;
index ea3c1ef26641af696401fa56ff30fb96b8f37186..5eb92df4a997b015172555415161c907ec59183a 100644 (file)
@@ -471,7 +471,7 @@ dissect_netsync_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                return;
 
        while (tvb_reported_length_remaining(tvb, offset)  > 0) {
-               ti = proto_tree_add_item(tree, proto_netsync, tvb, offset, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_netsync, tvb, offset, -1, ENC_NA);
                netsync_tree = proto_item_add_subtree(ti, ett_netsync);
 
                version = tvb_get_guint8(tvb, offset);
index afbab6213da869ecdbfb597a8ca6de24f98515e5..9e795b694e1db64fbbb6940cd3d8936ceb3ea8ff 100644 (file)
  * don't bother with the "Copied from" - you don't even need to put
  * in a "Copied from" if you copied an existing dissector, especially
  * if the bulk of the code in the new dissector is your code)
- * 
+ *
  * 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.
@@ -67,7 +67,7 @@ dissect_newmail(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_INFO, "Microsoft Exchange new mail notification");
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_newmail, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_newmail, tvb, 0, -1, ENC_NA);
 
                newmail_tree = proto_item_add_subtree(ti, ett_newmail);
 
@@ -79,13 +79,13 @@ dissect_newmail(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 /* Register the protocol with Wireshark */
 void
 proto_register_newmail(void)
-{                 
+{
 
        /* Setup list of header fields  See Section 1.6.1 for details*/
        static hf_register_info hf[] = {
                { &hf_newmail_payload,
                  { "Notification payload", "newmail.notification_payload",
-                   FT_BYTES, BASE_NONE, NULL, 0x0,          
+                   FT_BYTES, BASE_NONE, NULL, 0x0,
                    "Payload requested by client in the MAPI register push notification packet", HFILL }
                },
        };
@@ -107,7 +107,7 @@ proto_register_newmail(void)
 
        /* Register the dissector without a port yet */
        register_dissector("newmail", dissect_newmail, proto_newmail);
-        
+
        /* Register preferences module */
        newmail_module = prefs_register_protocol(proto_newmail,
                                                 proto_reg_handoff_newmail);
@@ -117,7 +117,7 @@ proto_register_newmail(void)
                                       "Default UDP port (optional)",
                                       "Always dissect this port's traffic as newmail notifications.  Additional ports will be dynamically registered as they are seen in MAPI register push notification packets.",
                                       10, &preference_default_port);
-       
+
 }
 
 void
@@ -135,9 +135,9 @@ proto_reg_handoff_newmail(void)
                 if (preference_default_port_last != 0) {
                         dissector_delete_uint("udp.port", preference_default_port_last, newmail_handle);
                 }
-        }      
+        }
 
-       if(preference_default_port != 0) {      
+       if(preference_default_port != 0) {
                dissector_add_uint("udp.port", preference_default_port, newmail_handle);
        }
         preference_default_port_last = preference_default_port;
index e76bff4279e5bb5b3386faac3f855dc96c3d3a0f..1adc90469b73ec7322dba618d45c0e482d683bc4 100644 (file)
@@ -1449,7 +1449,7 @@ dissect_nlsp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_nlsp, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_nlsp, tvb, 0, -1, ENC_NA);
                nlsp_tree = proto_item_add_subtree(ti, ett_nlsp);
        }
 
index 941d7def411d9a7e624cd2228df27d32eb575ab7..6885a2f2b593017e003680a43015ab9294c0d24e 100644 (file)
@@ -73,7 +73,7 @@ dissect_nntp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_nntp, tvb, offset, -1,
-                   FALSE);
+                   ENC_NA);
                nntp_tree = proto_item_add_subtree(ti, ett_nntp);
 
                if (pinfo->match_uint == pinfo->destport) {
index c7f2793d68c5a5f3283bb9fb1eef231c4cebe368..4e212d0956830401ce166a7052d8d214ad0fd4c1 100644 (file)
@@ -1006,7 +1006,7 @@ dissect_nsip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
 
   if (tree) {
     bi.ti = proto_tree_add_item(tree, proto_nsip, tvb, 0, -1,
-                             FALSE);
+                             ENC_NA);
     nsip_tree = proto_item_add_subtree(bi.ti, ett_nsip);
     proto_tree_add_uint_format(nsip_tree, hf_nsip_pdu_type, tvb, 0, 1,
                                pdu_type,
index 416df33ea365d6810443ab30f033ab5d893a026c..ae3798f7f4c644c40406b82e3c2da480d4dcd0a5 100644 (file)
@@ -161,7 +161,7 @@ dissect_nsrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_set_str(pinfo->cinfo, COL_INFO, "NSRP Protocol");
 
     if (tree) {
-                       ti = proto_tree_add_item(tree, proto_nsrp, tvb, 0, -1, FALSE);
+                       ti = proto_tree_add_item(tree, proto_nsrp, tvb, 0, -1, ENC_NA);
                        nsrp_tree = proto_item_add_subtree(ti, ett_nsrp);
 
 
index 782931f5b3cd147802c1883cbcf338d75749a3ad..abba774efb95028cd32db55c16d00a488200ad77 100644 (file)
@@ -2133,7 +2133,7 @@ dissect_ntlmssp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   if (tree) {
     tf = proto_tree_add_item (tree,
                               proto_ntlmssp,
-                              tvb, offset, -1, FALSE);
+                              tvb, offset, -1, ENC_NA);
 
     ntlmssp_tree = proto_item_add_subtree (tf,
                                            ett_ntlmssp);
@@ -2213,7 +2213,7 @@ dissect_ntlmssp_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
     dissect_ntlmssp(tvb, pinfo, parent_tree);
     return TRUE;
   }
-  
+
   return FALSE;
 }
 
index d8a67f5945d12f3b580aa6bf112001a085719816..51e88fce0ac57f9eae69bf02bf270a7bd315695d 100644 (file)
@@ -656,7 +656,7 @@ dissect_ntp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        /* Adding NTP item and subtree */
-       ti = proto_tree_add_item(tree, proto_ntp, tvb, 0, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_ntp, tvb, 0, -1, ENC_NA);
        ntp_tree = proto_item_add_subtree(ti, ett_ntp);
 
        /* Show version and mode in info column and NTP root */
index fc169ab7702f3d8e95c671c77c4775a7cb0dc515..b69672172c1888655275d30072767ebf971ef361 100644 (file)
@@ -256,7 +256,7 @@ capture_null( const guchar *pd, int len, packet_counts *ld )
    *
    * If it's an IRIX or UNICOS/mp DLT_NULL header, the upper 4 hex
    * digits would be zero and the next 2 hex digits would not be zero.
-   * Furthermore, the third hex digit from the bottom would be < 
+   * Furthermore, the third hex digit from the bottom would be <
    */
   if (!BYTES_ARE_IN_FRAME(0, len, 2)) {
     ld->other++;
@@ -423,7 +423,7 @@ dissect_null(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
      */
     if (null_header > IEEE_802_3_MAX_LEN) {
       if (tree) {
-        ti = proto_tree_add_item(tree, proto_null, tvb, 0, 4, FALSE);
+        ti = proto_tree_add_item(tree, proto_null, tvb, 0, 4, ENC_NA);
         fh_tree = proto_item_add_subtree(ti, ett_null);
         proto_tree_add_uint(fh_tree, hf_null_etype, tvb, 0, 4,
           (guint16) null_header);
@@ -437,7 +437,7 @@ dissect_null(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
       /* populate a tree in the second pane with the status of the link
          layer (ie none) */
       if (tree) {
-        ti = proto_tree_add_item(tree, proto_null, tvb, 0, 4, FALSE);
+        ti = proto_tree_add_item(tree, proto_null, tvb, 0, 4, ENC_NA);
         fh_tree = proto_item_add_subtree(ti, ett_null);
         proto_tree_add_uint(fh_tree, hf_null_family, tvb, 0, 4, null_header);
       }
index 8ad46de24af7eb9b5c5446d8712640b58ea849cc..447d961eda1c9a1647858e62f68ffb28bba66a82 100644 (file)
@@ -665,7 +665,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);
        }
 
@@ -687,7 +687,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 9ed13eb34a33179a0ec8c6a2e111e4298318d018..8af49d28b663d79a7da768bbe20ecef6e39cd824 100644 (file)
@@ -6,10 +6,10 @@
  *
  * OICQ is an IM software,which is popular in China. And,
  * OICQ has more than 10 millions users at present.
- * The Protocol showed in this file, is found by investigating OICQ's 
+ * The Protocol showed in this file, is found by investigating OICQ's
  * Packets  as a black box.
  *
- * The OICQ client software is always changing,and the protocol of 
+ * The OICQ client software is always changing,and the protocol of
  * communication is also.
  *
  * Wireshark - Network traffic analyzer
@@ -46,7 +46,7 @@
         Sequence Number:   16bit unsigned
         OICQ  Number:      32bit unsigned
         Data:              Variable Length data
-        
+
  *
  */
 
@@ -134,12 +134,12 @@ dissect_oicq(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_oicq, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_oicq, tvb, 0, -1, ENC_NA);
                oicq_tree = proto_item_add_subtree(ti, ett_oicq);
 
                proto_tree_add_item(oicq_tree, hf_oicq_flag, tvb, offset, 1, ENC_BIG_ENDIAN);
                offset += 1;
-               
+
                proto_tree_add_item(oicq_tree, hf_oicq_version, tvb, offset, 2, ENC_BIG_ENDIAN);
                offset += 2;
 
@@ -152,12 +152,12 @@ dissect_oicq(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
                proto_tree_add_item(oicq_tree, hf_oicq_qqid, tvb, offset, 4, ENC_BIG_ENDIAN);
                offset += 4;
-               
+
                proto_tree_add_item(oicq_tree, hf_oicq_data, tvb, offset, -1, ENC_ASCII|ENC_NA);
-               
-               
+
+
        }
-       
+
        return tvb_length(tvb);
 }
 
index 5aec072119221811efa26d90b386cb3860b1c312..ba6ddebdb81f5568deca53200f0ffd1b660cedfb 100644 (file)
@@ -573,7 +573,7 @@ static int dissect_olsr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
 
   /*-----------------Fetching Info from IP Packet and Adding to Tree------------------------*/
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_olsr, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_olsr, tvb, 0, -1, ENC_NA);
     olsr_tree = proto_item_add_subtree(ti, ett_olsr);
 
     proto_tree_add_item(olsr_tree, hf_olsr_packet_len, tvb, 0, 2, ENC_BIG_ENDIAN);
index 5af8ba3f04699279a48fb1133fdf9c0c7b7aaf28..4bcd91ab53e60dab045705b99cc9748d0baf853c 100644 (file)
@@ -112,7 +112,7 @@ dissect_omapi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   col_clear(pinfo->cinfo, COL_INFO);
 
-  ti = proto_tree_add_item(tree, proto_omapi, tvb, 0, -1, FALSE);
+  ti = proto_tree_add_item(tree, proto_omapi, tvb, 0, -1, ENC_NA);
   omapi_tree = proto_item_add_subtree(ti, ett_omapi);
   cursor = ptvcursor_new(omapi_tree, tvb, 0);
 
@@ -128,7 +128,7 @@ dissect_omapi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     ptvcursor_add(cursor, hf_omapi_hlength, 4, FALSE);
 
     col_set_str(pinfo->cinfo, COL_INFO, "Status message");
-    proto_item_append_text(ti, ", Status message"); 
+    proto_item_append_text(ti, ", Status message");
 
     return;
   }
@@ -142,19 +142,19 @@ dissect_omapi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     {
       col_append_str(pinfo->cinfo, COL_INFO, "Status message");
     }
-    proto_item_append_text(ti, ", Status message"); 
+    proto_item_append_text(ti, ", Status message");
   }
 
   ptvcursor_add(cursor, hf_omapi_auth_id, 4, FALSE);
   authlength = tvb_get_ntohl(tvb, ptvcursor_current_offset(cursor));
   ptvcursor_add(cursor, hf_omapi_auth_len, 4, FALSE);
 
-  if (check_col(pinfo->cinfo, COL_INFO)) 
+  if (check_col(pinfo->cinfo, COL_INFO))
   {
     col_append_sep_str(pinfo->cinfo, COL_INFO, NULL,
       val_to_str(tvb_get_ntohl(tvb, ptvcursor_current_offset(cursor)), omapi_opcode_vals, "Unknown opcode (0x%04x)"));
   }
-  proto_item_append_text(ti, ", Opcode: %s", 
+  proto_item_append_text(ti, ", Opcode: %s",
     val_to_str(tvb_get_ntohl(tvb, ptvcursor_current_offset(cursor)), omapi_opcode_vals, "Unknown opcode (0x%04x)"));
 
   ptvcursor_add(cursor, hf_omapi_opcode, 4, FALSE);
@@ -177,7 +177,7 @@ dissect_omapi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     else if (msglength == (guint32)~0)
     {
       proto_tree_add_text(omapi_tree, tvb, 0, 0, "No value");
-    }        
+    }
     else
     {
       ptvcursor_add(cursor, hf_omapi_msg_value, msglength, FALSE);
@@ -204,7 +204,7 @@ dissect_omapi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     else if (objlength == (guint32)~0)
     {
       proto_tree_add_text(omapi_tree, tvb, 0, 0, "No value");
-    }        
+    }
     else
     {
       ptvcursor_add(cursor, hf_omapi_obj_value, objlength, FALSE);
index f853d207c9824ba2f203f19272b5b40320d09479..ea28137996ecf51c2ef50d0e607509633b6caf41 100644 (file)
@@ -1140,7 +1140,7 @@ dissect_omron_fins(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     }
 
     if (tree) { /* we are being asked for details */
-        ti = proto_tree_add_item(tree, proto_omron_fins, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_omron_fins, tvb, 0, -1, ENC_NA);
         omron_tree = proto_item_add_subtree(ti, ett_omron);
 
         ti = proto_tree_add_text(omron_tree, tvb, 0, 12, "Omron Header");
index 4516137b50e0968fadbd8a8cd9372cb80ff24c1e..aaf3d3bd8df412eb1ee091a1efffeae7fa4d1db8 100644 (file)
@@ -1385,7 +1385,7 @@ opensafety_package_dissector(const gchar * protocolName, const gchar * sub_diss_
             if ( tree )
             {
                 /* create the opensafety protocol tree */
-                opensafety_item = proto_tree_add_item(tree, proto_opensafety, message_tvb, frameOffset, frameLength, ENC_BIG_ENDIAN);
+                opensafety_item = proto_tree_add_item(tree, proto_opensafety, message_tvb, frameOffset, frameLength, ENC_NA);
                 opensafety_tree = proto_item_add_subtree(opensafety_item, ett_opensafety);
 
                 if ( dissect_opensafety_message(frameStart1, frameStart2, type, next_tvb, pinfo, opensafety_tree, found) == TRUE )
index f9027ffc777577936785c3aee1ed2a6687d64680..d02347fec5d0ec0a8cb6b99d25909c12cda5e4b2 100644 (file)
@@ -582,7 +582,7 @@ dissect_opsi_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_opsi, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_opsi, tvb, 0, -1, ENC_NA);
                opsi_tree = proto_item_add_subtree(ti, ett_opsi);
                if (tvb_length(tvb) < 8 ) {
                        proto_tree_add_text(opsi_tree, tvb, 0, -1, "Too short OPSI packet!");
index d758144902b850f6b53fd2ee096694ede97dbef5..ba20e1d3ff58f75dc2c00320493239d6905d62d3 100644 (file)
@@ -288,7 +288,7 @@ const enum_val_t tsap_display_options[] = {
 static void cotp_frame_end(void)
 {
   if (!cotp_last_fragment) {
-    /* Last COTP in frame is not fragmented.  
+    /* Last COTP in frame is not fragmented.
      * No need for incrementing the dst_ref, so we decrement it here.
      */
     cotp_dst_ref--;
@@ -743,7 +743,7 @@ static int ositp_decode_DR(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
                 src_ref, dst_ref);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_NA);
     cotp_tree = proto_item_add_subtree(ti, ett_cotp);
     proto_tree_add_uint(cotp_tree, hf_cotp_li, tvb, offset, 1,li);
     proto_tree_add_uint(cotp_tree, hf_cotp_type, tvb, offset +  1, 1, tpdu);
@@ -838,7 +838,7 @@ static int ositp_decode_DT(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
         p_add_proto_data (pinfo->fd, proto_clnp, prev_dst_ref);
       } else if (cotp_frame_reset) {
         cotp_dst_ref = *prev_dst_ref;
-      } 
+      }
       cotp_frame_reset = FALSE;
       cotp_last_fragment = fragment;
       dst_ref = cotp_dst_ref;
@@ -872,7 +872,7 @@ static int ositp_decode_DT(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
   }
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_NA);
     cotp_tree = proto_item_add_subtree(ti, ett_cotp);
     proto_tree_add_uint(cotp_tree, hf_cotp_li, tvb, offset, 1,li);
   }
@@ -921,7 +921,7 @@ static int ositp_decode_DT(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
   fragment_length = tvb_length(next_tvb);
   if (check_col(pinfo->cinfo, COL_INFO)) {
       if(fragment) {
-        col_append_fstr(pinfo->cinfo, COL_INFO, " [COTP fragment, %u byte%s]", 
+        col_append_fstr(pinfo->cinfo, COL_INFO, " [COTP fragment, %u byte%s]",
             fragment_length, plurality(fragment_length, "", "s"));
       } else {
         col_append_fstr(pinfo->cinfo, COL_INFO, " EOT");
@@ -1058,7 +1058,7 @@ static int ositp_decode_ED(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
                 tpdu_nr, dst_ref);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_NA);
     cotp_tree = proto_item_add_subtree(ti, ett_cotp);
     proto_tree_add_uint(cotp_tree, hf_cotp_li, tvb, offset, 1,li);
   }
@@ -1135,7 +1135,7 @@ static int ositp_decode_RJ(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
                 tpdu_nr, dst_ref);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_NA);
     cotp_tree = proto_item_add_subtree(ti, ett_cotp);
     proto_tree_add_uint(cotp_tree, hf_cotp_li, tvb, offset, 1,li);
     item = proto_tree_add_uint(cotp_tree, hf_cotp_type, tvb, offset +  1, 1, tpdu);
@@ -1196,7 +1196,7 @@ static int ositp_decode_CC(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
                 dst_ref);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_NA);
     cotp_tree = proto_item_add_subtree(ti, ett_cotp);
     proto_tree_add_uint(cotp_tree, hf_cotp_li, tvb, offset, 1,li);
   }
@@ -1279,7 +1279,7 @@ static int ositp_decode_DC(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
                 dst_ref);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_NA);
     cotp_tree = proto_item_add_subtree(ti, ett_cotp);
     proto_tree_add_uint(cotp_tree, hf_cotp_li, tvb, offset, 1,li);
   }
@@ -1335,7 +1335,7 @@ static int ositp_decode_AK(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
                   tpdu_nr, dst_ref);
 
     if (tree) {
-      ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_BIG_ENDIAN);
+      ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_NA);
       cotp_tree = proto_item_add_subtree(ti, ett_cotp);
       proto_tree_add_uint(cotp_tree, hf_cotp_li, tvb, offset, 1,li);
     }
@@ -1377,7 +1377,7 @@ static int ositp_decode_AK(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
                   tpdu_nr, dst_ref, cdt_in_ak);
 
     if (tree) {
-      ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_BIG_ENDIAN);
+      ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_NA);
       cotp_tree = proto_item_add_subtree(ti, ett_cotp);
       proto_tree_add_uint(cotp_tree, hf_cotp_li, tvb, offset, 1,li);
     }
@@ -1469,7 +1469,7 @@ static int ositp_decode_EA(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
                 "EA TPDU (%u) dst-ref: 0x%04x", tpdu_nr, dst_ref);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_NA);
     cotp_tree = proto_item_add_subtree(ti, ett_cotp);
     proto_tree_add_uint(cotp_tree, hf_cotp_li, tvb, offset, 1,li);
   }
@@ -1545,7 +1545,7 @@ static int ositp_decode_ER(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
     col_append_fstr(pinfo->cinfo, COL_INFO, "ER TPDU dst-ref: 0x%04x", dst_ref);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_cotp, tvb, offset, li + 1, ENC_NA);
     cotp_tree = proto_item_add_subtree(ti, ett_cotp);
     proto_tree_add_uint(cotp_tree, hf_cotp_li, tvb, offset, 1,li);
     proto_tree_add_uint(cotp_tree, hf_cotp_type, tvb, offset +  1, 1, tpdu);
@@ -1571,7 +1571,7 @@ static int ositp_decode_UD(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
   col_append_str(pinfo->cinfo, COL_INFO, "UD TPDU");
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_cltp, tvb, offset, li + 1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_cltp, tvb, offset, li + 1, ENC_NA);
     cltp_tree = proto_item_add_subtree(ti, ett_cltp);
     proto_tree_add_uint(cltp_tree, hf_cltp_li, tvb, offset, 1,li);
   }
index ec9835fda4b739dc9e9e9a7038866e73cbfca29a..cc0489f64b7918aaa06d95fd80c959ac482878d3 100644 (file)
@@ -978,7 +978,7 @@ dissect_ospf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     if (tree) {
         ospflen = tvb_get_ntohs(tvb, 2);
 
-        ti = proto_tree_add_item(tree, proto_ospf, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_ospf, tvb, 0, -1, ENC_NA);
         ospf_tree = proto_item_add_subtree(ti, ett_ospf);
 
         ti = proto_tree_add_text(ospf_tree, tvb, 0, ospf_header_length,
index 051d50c39272411bb0bca00309339962eba0ad6f..69964ae59d4768766fd87c986cd9de5ec3ab93b5 100644 (file)
@@ -826,7 +826,7 @@ static void dissect_p_mul (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   /* First fetch PDU Type */
   pdu_type = tvb_get_guint8 (tvb, offset + 3) & 0x3F;
 
-  ti = proto_tree_add_item (tree, proto_p_mul, tvb, offset, -1, ENC_BIG_ENDIAN);
+  ti = proto_tree_add_item (tree, proto_p_mul, tvb, offset, -1, ENC_NA);
   proto_item_append_text (ti, ", %s", get_type (pdu_type));
   p_mul_tree = proto_item_add_subtree (ti, ett_p_mul);
 
index c64ff3a9c4d607224c9bf8552b1a4a9f5241e512..a60ce8c3738cda1ef1a45688777b1ad4174afc96 100644 (file)
@@ -697,7 +697,7 @@ static void dissect_packetbb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
     proto_tree *packetbb_tree = NULL;
     guint offset;
 
-    ti = proto_tree_add_item(tree, proto_packetbb, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_packetbb, tvb, 0, -1, ENC_NA);
     packetbb_tree = proto_item_add_subtree(ti, ett_packetbb);
 
     offset = dissect_pbb_header(tvb, packetbb_tree);
index 9b3c8a7cbd0e8782a2d6a9cfebb44f3a05482c29..ea5ee9c46c37d2916555f165b72deb4e6e0da0a7 100644 (file)
@@ -63,18 +63,18 @@ dissect_paltalk(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        /* Detect if this TCP session is a Paltalk one */
        /* TODO: Optimize detection logic if possible */
 
-       if ((pinfo->net_src.type != AT_IPv4) 
+       if ((pinfo->net_src.type != AT_IPv4)
            || (pinfo->net_dst.type != AT_IPv4)
            || (pinfo->net_src.len != 4)
            || (pinfo->net_dst.len != 4)
-           || !pinfo->net_src.data 
+           || !pinfo->net_src.data
            || !pinfo->net_dst.data)
                return FALSE;
 
        memcpy((guint8 *)&src32, pinfo->net_src.data, 4); /* *Network* order */
        memcpy((guint8 *)&dst32, pinfo->net_dst.data, 4); /* *Network* order */
 
-       if ( ((src32 & PALTALK_SERVERS_NETMASK) != PALTALK_SERVERS_ADDRESS) 
+       if ( ((src32 & PALTALK_SERVERS_NETMASK) != PALTALK_SERVERS_ADDRESS)
             &&
             ((dst32 & PALTALK_SERVERS_NETMASK) != PALTALK_SERVERS_ADDRESS))
                return FALSE;
@@ -102,7 +102,7 @@ dissect_paltalk_desegmented(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree)               /* we are being asked for details */
        {
-               ti = proto_tree_add_item(tree, proto_paltalk, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_paltalk, tvb, 0, -1, ENC_NA);
                pt_tree = proto_item_add_subtree(ti, ett_paltalk);
                proto_tree_add_item(pt_tree, hf_paltalk_pdu_type, tvb, 0, 2, ENC_BIG_ENDIAN);
                proto_tree_add_item(pt_tree, hf_paltalk_version, tvb, 2, 2, ENC_BIG_ENDIAN);
@@ -115,7 +115,7 @@ void
 proto_register_paltalk(void)
 {
        static hf_register_info hf[] = {
-               { &hf_paltalk_pdu_type, { "Packet Type", "paltalk.type", 
+               { &hf_paltalk_pdu_type, { "Packet Type", "paltalk.type",
                                          FT_UINT16, BASE_HEX, NULL, 0x00, NULL, HFILL }},
                { &hf_paltalk_version,  { "Protocol Version", "paltalk.version",
                                          FT_INT16, BASE_DEC, NULL, 0x00, NULL, HFILL }},
index 0f66921828f220f8aa6d40235196b507fcac556c..f896486818dc6e9655b971205a84d3b505305934 100644 (file)
@@ -13214,9 +13214,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);
 }
 
@@ -18255,7 +18255,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 57ebbbf7931f6b9bb63d444de2ab321328e1a976..3a5a3cffcfd3d338aee37d623f680005b94cbe64 100644 (file)
@@ -2312,7 +2312,7 @@ dissect_pcep_msg_tree(tvbuff_t *tvb, proto_tree *tree, guint tree_mode, packet_i
         col_append_fstr(pinfo->cinfo, COL_INFO, "%s", val_to_str(message_type, message_type_vals, "Unknown Message (%u). "));
     }
 
-    ti = proto_tree_add_item(tree, proto_pcep, tvb, offset, msg_length, FALSE);
+    ti = proto_tree_add_item(tree, proto_pcep, tvb, offset, msg_length, ENC_NA);
     pcep_tree = proto_item_add_subtree(ti, tree_mode);
 
     ti = proto_tree_add_text(pcep_tree, tvb, offset, 4, "%s Header", val_to_str(message_type, message_type_vals, "Unknown Message (%u). "));
index 51b4f34ec459f3ea3dba979c28cc273fb1682e0e..d193367465a8ab03403524b86ae383daf4c6fbd5 100644 (file)
@@ -61,7 +61,7 @@ static int hf_pcli_cccid = -1;
 
 static int ett_pcli = -1;
 
-/* 
+/*
  * Here are the global variables associated with the preferences
  * for pcli
  */
@@ -71,9 +71,9 @@ static guint global_udp_port_pcli = UDP_PORT_PCLI;
 /* A static handle for the ip dissector */
 static dissector_handle_t ip_handle;
 
-static void 
+static void
 dissect_pcli(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
-  
+
   guint32 cccid;
   proto_tree *ti,*pcli_tree;
   tvbuff_t * next_tvb;
@@ -89,13 +89,13 @@ dissect_pcli(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
     col_add_fstr(pinfo->cinfo, COL_INFO, "CCCID: %u",cccid);
   }
 
-  /* 
+  /*
    *If we have a non-null tree (ie we are building the proto_tree
    * instead of just filling out the columns ), then add a PLCI
    * tree node and put a CCCID header element under it.
    */
   if(tree) {
-    ti = proto_tree_add_item(tree,proto_pcli,tvb,0,0,FALSE);
+    ti = proto_tree_add_item(tree,proto_pcli,tvb,0,0,ENC_NA);
     pcli_tree = proto_item_add_subtree(ti,ett_pcli);
     proto_tree_add_uint(pcli_tree,hf_pcli_cccid,tvb,
                        0,4,cccid);
@@ -108,7 +108,7 @@ dissect_pcli(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
   call_dissector(ip_handle,next_tvb,pinfo,tree);
 }
 
-void 
+void
 proto_register_pcli(void) {
   static hf_register_info hf[] = {
     { &hf_pcli_cccid,
@@ -155,6 +155,6 @@ proto_reg_handoff_pcli(void) {
   }
 
   udp_port_pcli = global_udp_port_pcli;
-  
+
   dissector_add_uint("udp.port",global_udp_port_pcli,pcli_handle);
 }
index f2700c6b56bc6b8782d77c37c9cf0c3aa94adf06..13ccebd8756ae35f2a1fba05400dbfe9281d8ed6 100644 (file)
@@ -1914,7 +1914,7 @@ static void dissect_pdcp_lte(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
 
     /* Create pdcp tree. */
     if (tree) {
-        root_ti = proto_tree_add_item(tree, proto_pdcp_lte, tvb, offset, -1, FALSE);
+        root_ti = proto_tree_add_item(tree, proto_pdcp_lte, tvb, offset, -1, ENC_NA);
         pdcp_tree = proto_item_add_subtree(root_ti, ett_pdcp);
     }
 
index 81daaeef23bf071c5e2bd4b4de8fe6b2816916f8..7eab6c5ee9b5ec61eb49d7392884e5418276678c 100644 (file)
@@ -169,7 +169,7 @@ dissect_pflog(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_set_str(pinfo->cinfo, COL_PROTOCOL, "PFLOG");
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_pflog, tvb, offset, 0, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_pflog, tvb, offset, 0, ENC_NA);
 
     pflog_tree = proto_item_add_subtree(ti, ett_pflog);
   }
@@ -416,7 +416,7 @@ dissect_old_pflog(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_set_str(pinfo->cinfo, COL_PROTOCOL, "PFLOG-OLD");
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_old_pflog, tvb, 0, 0, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_old_pflog, tvb, 0, 0, ENC_NA);
 
     pflog_tree = proto_item_add_subtree(ti, ett_pflog);
 
index cb8605a3d3256a34bb71f182a3e7428f207e86e2..f63c48ac404844cc2ffce52844cefa3d376113d6 100644 (file)
@@ -150,7 +150,7 @@ dissect_pimv1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "PIMv1");
     col_clear(pinfo->cinfo, COL_INFO);
 
-    ti = proto_tree_add_item(tree, proto_pim, tvb, offset, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_pim, tvb, offset, -1, ENC_NA);
     pim_tree = proto_item_add_subtree(ti, ett_pim);
 
     /* Put IGMP type, 0x14, into the tree */
@@ -654,7 +654,7 @@ dissect_pim(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
     if (check_col(pinfo->cinfo, COL_INFO))
         col_add_str(pinfo->cinfo, COL_INFO, typestr);
 
-    ti = proto_tree_add_item(tree, proto_pim, tvb, offset, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_pim, tvb, offset, -1, ENC_NA);
     pim_tree = proto_item_add_subtree(ti, ett_pim);
 
     proto_tree_add_item(pim_tree, hf_pim_version, tvb, offset, 1, ENC_BIG_ENDIAN);
index 8cc8e1cdfaff9d1dc3ca422c8f263fe151aed243..8623f2289bf9f195d1345b7b5ca0a0441aafccaf 100644 (file)
@@ -157,7 +157,7 @@ dissect_pingpongprotocol(tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *
      necessary to generate protocol tree items. */
   if (tree) {
     /* create the pingpongprotocol protocol tree */
-    pingpongprotocol_item = proto_tree_add_item(tree, proto_pingpongprotocol, message_tvb, 0, -1, FALSE);
+    pingpongprotocol_item = proto_tree_add_item(tree, proto_pingpongprotocol, message_tvb, 0, -1, ENC_NA);
     pingpongprotocol_tree = proto_item_add_subtree(pingpongprotocol_item, ett_pingpongprotocol);
   } else {
     pingpongprotocol_tree = NULL;
index 36a29a1f7e72b9ada3029e401828982987b67211..7bef3a117e7e3932d5c7ee7cce9aba25543d927c 100644 (file)
@@ -378,7 +378,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);
        }
 
@@ -399,7 +399,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 7367fd78cb44093e975a984d2c1f82fa0df42b72..33b5875a462f3055555566add78da0d8297ecfbe 100644 (file)
@@ -554,7 +554,7 @@ dissect_pktc_mtafqdn(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "PKTC");
 
     if (tree) {
-        item = proto_tree_add_item(tree, proto_pktc, tvb, 0, 0, FALSE);
+        item = proto_tree_add_item(tree, proto_pktc, tvb, 0, 0, ENC_NA);
         pktc_mtafqdn_tree = proto_item_add_subtree(item, ett_pktc_mtafqdn);
     }
 
@@ -587,7 +587,7 @@ dissect_pktc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "PKTC");
 
     if (tree) {
-        item = proto_tree_add_item(tree, proto_pktc, tvb, 0, 3, FALSE);
+        item = proto_tree_add_item(tree, proto_pktc, tvb, 0, 3, ENC_NA);
         pktc_tree = proto_item_add_subtree(item, ett_pktc);
     }
 
index e90f2fe878b557c700de281f31dad995861e7638..6f6587404631b115a63735dc5a3279fd1739eda8 100644 (file)
@@ -91,7 +91,7 @@ static gboolean dissect_pktgen(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr
 
        /* create display subtree for the protocol */
 
-       ti = proto_tree_add_item(tree, proto_pktgen, tvb, 0, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_pktgen, tvb, 0, -1, ENC_NA);
 
        pktgen_tree = proto_item_add_subtree(ti, ett_pktgen);
 
index 97e56c1cfcb852c80c31e54b530ce27e07d8878e..63e7518e8f769fcb7c7739d003700d19188ddc75 100644 (file)
@@ -405,7 +405,7 @@ static int dissect_pnrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
 
         /* Lets add a subtree to our dissection to display the info */
-        ti = proto_tree_add_item(tree, proto_pnrp, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_pnrp, tvb, 0, -1, ENC_NA);
         proto_item_append_text(ti, ", Message Type %s",
                                val_to_str(message_type, messageType, "Unknown (0x%02x)"));
         /* Get a main tree for the whole protocol */
index a4b795b8c9ccee1cadb0349321e62f737ef171cd..1e5c5e7cf5830cda1ce35f4785c7737263f4f5da 100644 (file)
@@ -194,7 +194,7 @@ dissect_pop(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                    format_text(line, linelen));
   }
 
-  ti = proto_tree_add_item(tree, proto_pop, tvb, offset, -1, FALSE);
+  ti = proto_tree_add_item(tree, proto_pop, tvb, offset, -1, ENC_NA);
   pop_tree = proto_item_add_subtree(ti, ett_pop);
 
   if (is_continuation) {
index 79e1e88b2c71aeb022bb35201569b69c921410b2..3415c6a0d9491029de09f6fa195ae90560ca4e12 100644 (file)
@@ -3313,7 +3313,7 @@ dissect_vsncp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   if(tree)
   {
-    ti = proto_tree_add_item(tree, proto_vsncp, tvb, 0, length, FALSE);
+    ti = proto_tree_add_item(tree, proto_vsncp, tvb, 0, length, ENC_NA);
     fh_tree = proto_item_add_subtree(ti, ett_vsncp);
     proto_tree_add_text(fh_tree, tvb, 0, 1, "Code: %s (0x%02x)", val_to_str_const(code, cp_vals, "Unknown"), code);
     proto_tree_add_text(fh_tree, tvb, 1, 1, "Identifier: 0x%02x", id);
@@ -3363,7 +3363,7 @@ dissect_vsnp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   if (tree) /* we are being asked for details */
   {
-    vsnp_item = proto_tree_add_item(tree, proto_vsnp, tvb, 0, -1, FALSE);
+    vsnp_item = proto_tree_add_item(tree, proto_vsnp, tvb, 0, -1, ENC_NA);
     vsnp_tree = proto_item_add_subtree(vsnp_item, ett_vsnp);
 
     proto_tree_add_item(vsnp_tree, hf_vsnp_pdnid, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -3432,7 +3432,7 @@ dissect_bcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_clear(pinfo->cinfo, COL_INFO);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_bcp, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_bcp, tvb, 0, -1, ENC_NA);
     bcp_tree = proto_item_add_subtree(ti, ett_bcp);
   }
 
@@ -3573,7 +3573,7 @@ dissect_bap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 val_to_str_const(type, bap_vals, "Unknown"));
 
   if(tree) {
-    ti = proto_tree_add_item(tree, proto_bap, tvb, 0, length, FALSE);
+    ti = proto_tree_add_item(tree, proto_bap, tvb, 0, length, ENC_NA);
     fh_tree = proto_item_add_subtree(ti, ett_bap_options);
     proto_tree_add_text(fh_tree, tvb, 0, 1, "Type: %s (0x%02x)",
                         val_to_str_const(type, bap_vals, "Unknown"), type);
@@ -3617,7 +3617,7 @@ dissect_comp_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_set_str(pinfo->cinfo, COL_INFO, "Compressed data");
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_comp_data, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_comp_data, tvb, 0, -1, ENC_NA);
     comp_data_tree = proto_item_add_subtree(ti, ett_comp_data);
   }
 }
@@ -3630,7 +3630,7 @@ dissect_comp_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_set_str(pinfo->cinfo, COL_INFO, "Compressed data");
 
   if (tree) {
-    proto_tree_add_item(tree, proto_comp_data, tvb, 0, -1, FALSE);
+    proto_tree_add_item(tree, proto_comp_data, tvb, 0, -1, ENC_NA);
   }
 }
 #endif
@@ -3669,7 +3669,7 @@ dissect_pppmux(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   length_remaining = tvb_reported_length(tvb);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_pppmux, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_pppmux, tvb, 0, -1, ENC_NA);
     mux_tree = proto_item_add_subtree(ti,ett_pppmux);
 
     while (length_remaining > 0) {
@@ -4058,7 +4058,7 @@ dissect_mp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_set_str(pinfo->cinfo, COL_INFO, "PPP Multilink");
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_mp, tvb, 0, mp_short_seqno ? 2 : 4, FALSE);
+    ti = proto_tree_add_item(tree, proto_mp, tvb, 0, mp_short_seqno ? 2 : 4, ENC_NA);
     mp_tree = proto_item_add_subtree(ti, ett_mp);
   }
 
@@ -4113,7 +4113,7 @@ dissect_ppp( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) {
   proto_tree *fh_tree = NULL;
 
   if(tree) {
-    ti = proto_tree_add_item(tree, proto_ppp, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_ppp, tvb, 0, -1, ENC_NA);
     fh_tree = proto_item_add_subtree(ti, ett_ppp);
   }
 
@@ -4142,7 +4142,7 @@ dissect_ppp_hdlc_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   /* load the top pane info. This should be overwritten by
      the next protocol in the stack */
   if(tree) {
-    ti = proto_tree_add_item(tree, proto_ppp, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_ppp, tvb, 0, -1, ENC_NA);
     fh_tree = proto_item_add_subtree(ti, ett_ppp);
     if (byte0 == 0xff) {
       proto_tree_add_item(fh_tree, hf_ppp_address, tvb, 0, 1, ENC_BIG_ENDIAN);
@@ -4257,7 +4257,7 @@ dissect_ppp_raw_hdlc( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
   col_set_str(pinfo->cinfo, COL_PROTOCOL, "PPP");
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_ppp_hdlc, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_ppp_hdlc, tvb, 0, -1, ENC_NA);
     bs_tree = proto_item_add_subtree(ti, ett_ppp_hdlc_data);
   }
 
@@ -4470,7 +4470,7 @@ dissect_pap( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) {
     col_add_str(pinfo->cinfo, COL_INFO, val_to_str_const(code, pap_vals, "Unknown"));
 
   if(tree) {
-    ti = proto_tree_add_item(tree, proto_pap, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_pap, tvb, 0, -1, ENC_NA);
     fh_tree = proto_item_add_subtree(ti, ett_pap);
     /* Code */
     proto_tree_add_item(fh_tree, hf_pap_code, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -4552,7 +4552,7 @@ dissect_chap( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) {
 
   if(tree) {
     /* Create CHAP protocol tree */
-    ti = proto_tree_add_item(tree, proto_chap, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_chap, tvb, 0, -1, ENC_NA);
     fh_tree = proto_item_add_subtree(ti, ett_chap);
 
     /* Code */
index d6a593607086ea536948a785bc35c5cc99904169..22edaa90b033a5459dfee3583ec4d06bc347c943 100644 (file)
@@ -708,7 +708,7 @@ static void dissect_pppoed(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree)
        {
-               ti = proto_tree_add_item(tree, proto_pppoed, tvb, 0, reported_payload_length+6, FALSE);
+               ti = proto_tree_add_item(tree, proto_pppoed, tvb, 0, reported_payload_length+6, ENC_NA);
                pppoe_tree = proto_item_add_subtree(ti, ett_pppoed);
 
                /* Dissect fixed fields */
@@ -1072,7 +1072,7 @@ static void dissect_pppoes(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree)
        {
-               ti = proto_tree_add_item(tree, proto_pppoes, tvb, 0, 6, FALSE);
+               ti = proto_tree_add_item(tree, proto_pppoes, tvb, 0, 6, ENC_NA);
                pppoe_tree = proto_item_add_subtree(ti, ett_pppoe);
 
                proto_tree_add_item(pppoe_tree, hf_pppoe_version, tvb, 0, 1, ENC_BIG_ENDIAN);
index c77e00b0303e53b13bc8466dac15ddf32a61509f..49cd3f8fd778b006ccfcefffaafc4a121f2a1351 100644 (file)
@@ -583,7 +583,7 @@ dissect_pptp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     proto_item *ti, *item;
     proto_tree *pptp_tree;
 
-    ti = proto_tree_add_item(tree, proto_pptp, tvb, offset, len, FALSE);
+    ti = proto_tree_add_item(tree, proto_pptp, tvb, offset, len, ENC_NA);
     pptp_tree = proto_item_add_subtree(ti, ett_pptp);
 
     proto_tree_add_item(pptp_tree, hf_pptp_length, tvb, offset, 2, ENC_BIG_ENDIAN);
index 89f7c22aca5bd3a5a1769e2b4657f24a7cb264ed..bf24f5a125f82f72a43c11a6efab459ef7a16254 100644 (file)
@@ -141,7 +141,7 @@ dissect_prp_supervision_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tre
 
     /* create display subtree for the protocol */
     ti = proto_tree_add_item(tree, proto_prp, tvb, 0, PRP_TOTAL_LENGTH,
-                 FALSE);
+                 ENC_NA);
 
     prp_tree = proto_item_add_subtree(ti, ett_prp_supervision_frame);
 
@@ -246,7 +246,7 @@ dissect_prp_redundancy_control_trailer(tvbuff_t *tvb, packet_info *pinfo _U_, pr
     {
         /* create display subtree for the protocol */
         ti = proto_tree_add_item(tree, proto_prp, tvb, trailer_offset - 4,
-                     trailer_offset, FALSE);
+                     trailer_offset, ENC_NA);
 
         prp_tree = proto_item_add_subtree(ti, ett_prp_redundancy_control_trailer);
 
index 8811502edd12c42a0f28d26e85f333fcfa08d406..63e17d8158d0d80033b561da56c9fb55e29a81ae 100644 (file)
@@ -1602,7 +1602,7 @@ dissect_ptp_v1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     if (tree) {
 
         /* create display subtree for the protocol */
-        ti = proto_tree_add_item(tree, proto_ptp, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_ptp, tvb, 0, -1, ENC_NA);
 
         ptp_tree = proto_item_add_subtree(ti, ett_ptp);
 
@@ -2327,7 +2327,7 @@ dissect_ptp_v2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
    if (tree) {
 
-        ti = proto_tree_add_item(tree, proto_ptp, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_ptp, tvb, 0, -1, ENC_NA);
 
         ptp_tree = proto_item_add_subtree(ti, ett_ptp_v2);
 
index ff04b5e5fae08239e921b41bdf122afd88e967d5..9642c92749823a2310ec7295445ac6759b904505 100644 (file)
@@ -888,7 +888,7 @@ dissect_pvfs_opaque_data(tvbuff_t *tvb, int offset,
                        }
                } else {
                        if (string_data) {
-                               string_buffer_print = 
+                               string_buffer_print =
                                    ep_strdup(format_text((guint8 *) string_buffer,
                                                                 (int)strlen(string_buffer)));
                        } else {
@@ -3117,7 +3117,7 @@ dissect_pvfs_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree,
 
        if (parent_tree)
        {
-               item = proto_tree_add_item(parent_tree, proto_pvfs, tvb, 0, -1, FALSE);
+               item = proto_tree_add_item(parent_tree, proto_pvfs, tvb, 0, -1, ENC_NA);
 
                if (item)
                        pvfs_tree = proto_item_add_subtree(item, ett_pvfs);
index 7268e36e0b4f62b07d70f82c40d5bcc9a1500909..7fa572cce77085ee1f6d224a5bfaa8c0051306f2 100644 (file)
@@ -617,7 +617,7 @@ void dissect_11_or_aal5_pdu(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tr
        if (tree)
        {
                proto_item* item;
-               item = proto_tree_add_item(tree, proto_11_or_aal5_pdu, tvb, 0, -1, FALSE);
+               item = proto_tree_add_item(tree, proto_11_or_aal5_pdu, tvb, 0, -1, ENC_NA);
                /*overwrite heading line*/
                proto_item_set_text(item, proto_name_tree, 0/*-warn gcc 3.4.4*/);
                pwc_item_append_text_n_items(item,cells,"good ATM cell");
@@ -855,7 +855,7 @@ void dissect_aal5_sdu(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
        if (tree)
        {
                proto_item* item;
-               item = proto_tree_add_item(tree, proto_aal5_sdu, tvb, 0, -1, FALSE);
+               item = proto_tree_add_item(tree, proto_aal5_sdu, tvb, 0, -1, ENC_NA);
                {
                        proto_tree* tree2;
                        tree2 = proto_item_add_subtree(item, ett_encaps);
@@ -1030,7 +1030,7 @@ void dissect_n1_cw(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
        if (tree)
        {
                proto_item* item;
-               item = proto_tree_add_item(tree, proto_n1_cw, tvb, 0, -1, FALSE);
+               item = proto_tree_add_item(tree, proto_n1_cw, tvb, 0, -1, ENC_NA);
                pwc_item_append_text_n_items(item,cells,"good ATM cell");
                {
                        proto_tree* tree2;
@@ -1110,7 +1110,7 @@ void dissect_n1_nocw(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
        if (tree)
        {
                proto_item* item;
-               item = proto_tree_add_item(tree, proto_n1_nocw, tvb, 0, -1, FALSE);
+               item = proto_tree_add_item(tree, proto_n1_nocw, tvb, 0, -1, ENC_NA);
                pwc_item_append_text_n_items(item,cells,"ATM cell");
                {
                        proto_tree* tree2;
@@ -1194,7 +1194,7 @@ void dissect_control_word(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree
                        if (tree)
                        {
                                proto_item  *item;
-                               item = proto_tree_add_item(tree, proto_control_word, tvb, 0, -1, FALSE);
+                               item = proto_tree_add_item(tree, proto_control_word, tvb, 0, -1, ENC_NA);
                                expert_add_info_format(pinfo, item, PI_MALFORMED, PI_ERROR,
                                        "Packet (size: %d) is too small to carry MPLS PW Control Word"
                                        ,(int)size);
@@ -1206,7 +1206,7 @@ void dissect_control_word(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree
        if (tree)
        {
                proto_item* item_top;
-               item_top = proto_tree_add_item(tree, proto_control_word, tvb, 0, -1, FALSE);
+               item_top = proto_tree_add_item(tree, proto_control_word, tvb, 0, -1, ENC_NA);
                pwc_item_append_cw(item_top,tvb_get_ntohl(tvb, 0),FALSE);
 
                {
@@ -1490,7 +1490,7 @@ int dissect_cell_header(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                item = proto_tree_add_item(tree, proto_cell_header, tvb
                        ,0
                        ,dissect_size
-                       ,FALSE);
+                       ,ENC_NA);
                if (PWATM_MODE_AAL5_PDU == pd->mode)
                {
                        proto_item_set_text(item, "Third byte of Control Word"); /*overwrite heading line*/
@@ -1653,7 +1653,7 @@ int dissect_cell(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
        if (tree)
        {
                proto_item* item;
-               item = proto_tree_add_item(tree, proto_cell, tvb, 0, dissect_size, FALSE);
+               item = proto_tree_add_item(tree, proto_cell, tvb, 0, dissect_size, ENC_NA);
                {
                        pwatm_private_data_t * pd;
                        pd = pinfo->private_data;
index 4e3eabef259d35fe4c86823ad7c356c336627980..85a2c2da07eed1a17d8f18e8bfb56cb98e305c36 100644 (file)
@@ -102,7 +102,7 @@ void dissect_pw_cesopsn( tvbuff_t * tvb_original
                if (tree)
                {
                        proto_item  *item;
-                       item = proto_tree_add_item(tree, proto, tvb_original, 0, -1, FALSE);
+                       item = proto_tree_add_item(tree, proto, tvb_original, 0, -1, ENC_NA);
                        expert_add_info_format(pinfo, item, PI_MALFORMED, PI_ERROR,
                                "PW packet size (%d) is too small to carry sensible information"
                                ,(int)packet_size);
@@ -259,7 +259,7 @@ void dissect_pw_cesopsn( tvbuff_t * tvb_original
 
        {
                proto_item* item;
-               item = proto_tree_add_item(tree, proto, tvb_original, 0, -1, FALSE);
+               item = proto_tree_add_item(tree, proto, tvb_original, 0, -1, ENC_NA);
                pwc_item_append_cw(item,tvb_get_ntohl(tvb_original, 0),TRUE);
                pwc_item_append_text_n_items(item,(int)payload_size,"octet");
                {
index 6144947e13b868b5e16d8555b31c8691220f706c..1c33f99c3b00928a17b068921ab5e5c13b230638 100644 (file)
@@ -38,7 +38,7 @@ pwc_vals_cw_l_bit[] = {
        { 0x1,  "Attachment Circuit Fault" },
        { 0,    NULL }
 };
-       
+
 
 const value_string
 pwc_vals_cw_r_bit[] = {
@@ -98,7 +98,7 @@ void dissect_pw_padding(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                gint size;
                proto_item* item;
                size = tvb_reported_length_remaining(tvb, 0);
-               item = proto_tree_add_item(tree, proto_pw_padding, tvb, 0, -1, FALSE);
+               item = proto_tree_add_item(tree, proto_pw_padding, tvb, 0, -1, ENC_NA);
                pwc_item_append_text_n_items(item,size,"byte");
                {
                        proto_tree* tree_p;
index 266fa9c97387db5bf20ba5282ebad15cc33b0595..2c821d40caa44e2c10fb7790254753f461c941f1 100644 (file)
@@ -75,7 +75,7 @@ dissect_pw_eth_cw(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                                             tvb, 0, 0, TRUE);
                 PROTO_ITEM_SET_HIDDEN(ti);
                 ti = proto_tree_add_item(tree, proto_pw_eth_cw,
-                                         tvb, 0, 4, FALSE);
+                                         tvb, 0, 4, ENC_NA);
                 pw_eth_tree = proto_item_add_subtree(ti, ett_pw_eth);
                 if (pw_eth_tree == NULL)
                         return;
index 58265ca81333edf81b0e8549cc5c7fde358650e1..dec015da60d0ff1970292e5e815a444f83c86da3 100644 (file)
@@ -88,7 +88,7 @@ dissect_pw_fr( tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree )
                if (tree)
                {
                        proto_item  *item;
-                       item = proto_tree_add_item(tree, proto_encaps, tvb, 0, -1, FALSE);
+                       item = proto_tree_add_item(tree, proto_encaps, tvb, 0, -1, ENC_NA);
                        expert_add_info_format(pinfo, item, PI_MALFORMED, PI_ERROR,
                                "PW packet (%d) is smaller than PW encapsulation header (%d)"
                                ,(int)packet_size,(int)encaps_size);
@@ -186,7 +186,7 @@ dissect_pw_fr( tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree )
                proto_item* item_headline;
                proto_item* item;
 
-               item_headline = proto_tree_add_item(tree, proto_encaps, tvb, 0, 4, FALSE);
+               item_headline = proto_tree_add_item(tree, proto_encaps, tvb, 0, 4, ENC_NA);
                proto_item_append_text(item_headline, ": 0x%.8" G_GINT32_MODIFIER "x", tvb_get_ntohl(tvb, 0));
                subtree = proto_item_add_subtree(item_headline, ett_encaps);
 
index 38f543f597e0b2b857d269affc244e6df1ebe274..10fd560d59d85c73c23a742bb913edd38d964d26 100644 (file)
@@ -26,7 +26,7 @@
  * ---------------------------------
  * 02.03.2009 Initial implementation, supports:
  * - HDLC mode (rfc4618 5.1), no CW, payload is PPP (PPP in HDLC-like Framing (rfc1662)).
- * - FR port mode (rfc4618 5.2), no CW.       
+ * - FR port mode (rfc4618 5.2), no CW.
  *
  * [informative: Not supported yet:
  * - All kinds of HDLC PW with CW.
@@ -88,7 +88,7 @@ static void dissect_pw_hdlc_nocw_hdlc_ppp( tvbuff_t * tvb, packet_info * pinfo,
                addr    = tvb_get_guint8(tvb, 0);
                control = tvb_get_guint8(tvb, 1);
 
-               item = proto_tree_add_item( tree, proto_pw_hdlc_nocw_hdlc_ppp, tvb, 0, 2, FALSE );
+               item = proto_tree_add_item( tree, proto_pw_hdlc_nocw_hdlc_ppp, tvb, 0, 2, ENC_NA );
 
                tr = proto_item_add_subtree( item, ett_pw_hdlc );
 
index 455129f7671575ab2cd64af487fddf5200330be1..bcff66f71b4c1b429d567c8e09b4d71fd80e3c29 100644 (file)
@@ -96,7 +96,7 @@ void dissect_pw_satop(tvbuff_t * tvb_original
                if (tree)
                {
                        proto_item  *item;
-                       item = proto_tree_add_item(tree, proto, tvb_original, 0, -1, FALSE);
+                       item = proto_tree_add_item(tree, proto, tvb_original, 0, -1, ENC_NA);
                        expert_add_info_format(pinfo, item, PI_MALFORMED, PI_ERROR,
                                "PW packet size (%d) is too small to carry sensible information"
                                ,(int)packet_size);
@@ -256,7 +256,7 @@ void dissect_pw_satop(tvbuff_t * tvb_original
        if (tree)
        {
                proto_item* item;
-               item = proto_tree_add_item(tree, proto, tvb_original, 0, -1, FALSE);
+               item = proto_tree_add_item(tree, proto, tvb_original, 0, -1, ENC_NA);
                pwc_item_append_cw(item,tvb_get_ntohl(tvb_original, 0),TRUE);
                pwc_item_append_text_n_items(item,(int)payload_size,"octet");
                {
index 76876dbf20837789bc77ac567ffbd1300fb41130..814e1d20a7334a9e18a817e48fd83ca0a75e8782 100644 (file)
@@ -2044,7 +2044,7 @@ dissect_q2931(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_q2931, tvb, offset, -1,
-                   FALSE);
+                   ENC_NA);
                q2931_tree = proto_item_add_subtree(ti, ett_q2931);
 
                proto_tree_add_uint(q2931_tree, hf_q2931_discriminator, tvb, offset, 1, tvb_get_guint8(tvb, offset));
index 6f54fd23139a90d3a2b7a23b9bee4ef092c9292b..c5ae68d8a3f9b0dd5c719f9c1456b61af339a18d 100644 (file)
@@ -2593,7 +2593,7 @@ dissect_q931_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
        prot_discr = tvb_get_guint8(tvb, offset);
        if (tree) {
                ti = proto_tree_add_item(tree, proto_q931, tvb, offset, -1,
-                   FALSE);
+                   ENC_NA);
                q931_tree = proto_item_add_subtree(ti, ett_q931);
 
                dissect_q931_protocol_discriminator(tvb, offset, q931_tree);
index ee73a85e49b42760e578b4c71991e3828e94b1ba..396766299c08ee7299e85ec1ec512a3724fe086c 100644 (file)
@@ -1906,7 +1906,7 @@ dissect_q933(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_q933, tvb, offset, -1,
-                   FALSE);
+                   ENC_NA);
                q933_tree = proto_item_add_subtree(ti, ett_q933);
 
                dissect_q933_protocol_discriminator(tvb, offset, q933_tree);
index a1c49700352d5f6aa1b279811130cd5113864172..8539ac003b67f0307ed9877e7183fdbaa46197ab 100644 (file)
@@ -95,7 +95,7 @@ dissect_qllc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_clear(pinfo->cinfo, COL_INFO);
 
     if (tree) {
-       qllc_ti = proto_tree_add_item(tree, proto_qllc, tvb, 0, -1, FALSE);
+       qllc_ti = proto_tree_add_item(tree, proto_qllc, tvb, 0, -1, ENC_NA);
        qllc_tree = proto_item_add_subtree(qllc_ti, ett_qllc);
     }
 
index b298b4d335a0898845d1f1705f5a360a3b0a1b28..59d71a40db6d35dedd632ac50d5252a082246b18 100644 (file)
@@ -12406,7 +12406,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);
@@ -12457,7 +12457,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);
@@ -12507,7 +12507,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);
@@ -12555,7 +12555,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 dc924352614fe6b8563eb5135848e3669bb94dfa..b6c6a912e11a1628c26c2dc77ea916815a3d5e1f 100644 (file)
@@ -446,7 +446,7 @@ dissect_quake(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if (tree) {
                proto_item *quake_item;
                quake_item = proto_tree_add_item(tree, proto_quake,
-                               tvb, 0, -1, FALSE);
+                               tvb, 0, -1, ENC_NA);
                quake_tree = proto_item_add_subtree(quake_item, ett_quake);
        }
 
index 843e42dcc445444abf0288dfcd5097ba2f61904c..13cf0b1780b79b625cd5865abe14001c6c3a1fa8 100644 (file)
@@ -694,7 +694,7 @@ dissect_quake2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if (tree) {
                proto_item *quake2_item;
                quake2_item = proto_tree_add_item(tree, proto_quake2,
-                                                 tvb, 0, -1, FALSE);
+                                                 tvb, 0, -1, ENC_NA);
                quake2_tree = proto_item_add_subtree(quake2_item, ett_quake2);
                proto_tree_add_uint_format(quake2_tree,
                                           direction == DIR_S2C ?
index eab35c85c46efc122740f8a2a7316886264336ff..cb0505441f1712a5f403235d0e43b6db43bc88bf 100644 (file)
@@ -466,7 +466,7 @@ dissect_quake3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if (tree) {
                proto_item *quake3_item;
                quake3_item = proto_tree_add_item(tree, proto_quake3,
-                               tvb, 0, -1, FALSE);
+                               tvb, 0, -1, ENC_NA);
                quake3_tree = proto_item_add_subtree(quake3_item, ett_quake3);
 
                dir_item = proto_tree_add_none_format(
index b25aa8933034728095e5558ef9ce44a3b26287e2..be66eec096ed80b0cf8470cccef555a319ba4017 100644 (file)
@@ -690,7 +690,7 @@ dissect_quakeworld(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if (tree) {
                proto_item      *quakeworld_item;
                quakeworld_item = proto_tree_add_item(tree, proto_quakeworld,
-                               tvb, 0, -1, FALSE);
+                               tvb, 0, -1, ENC_NA);
                quakeworld_tree = proto_item_add_subtree(quakeworld_item, ett_quakeworld);
                proto_tree_add_uint_format(quakeworld_tree,
                                           direction == DIR_S2C ?
index 86bfe446cdb77c9ac9305467dae9a19a80850a55..4ab236a5b5eb5e0e94a363b73fbc34dc41f13710 100644 (file)
@@ -1351,7 +1351,7 @@ dissect_radius(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                /* Forces load of header fields, if not already done so */
                DISSECTOR_ASSERT(proto_registrar_get_byname("radius.code"));
 
-               ti = proto_tree_add_item(tree,proto_radius, tvb, 0, rh.rh_pktlength, FALSE);
+               ti = proto_tree_add_item(tree,proto_radius, tvb, 0, rh.rh_pktlength, ENC_NA);
                radius_tree = proto_item_add_subtree(ti, ett_radius);
                proto_tree_add_uint(radius_tree,hf_radius_code, tvb, 0, 1, rh.rh_code);
                proto_tree_add_uint_format(radius_tree,hf_radius_id, tvb, 1, 1, rh.rh_ident,
index 61d775284bc6473395f053c8c9d83c518d38384b..94250785068bca21ac23b131b49c1f004419f63a 100644 (file)
@@ -13120,7 +13120,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 9eca3cd9c7b30b0839c640f0966847ec372d75c3..3095c76f7d36f513b4931889ce5d0a55a3c83766 100644 (file)
@@ -114,7 +114,7 @@ dissect_raw(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   /* populate a tree in the second pane with the status of the link
      layer (ie none) */
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_raw, tvb, 0, 0, FALSE);
+    ti = proto_tree_add_item(tree, proto_raw, tvb, 0, 0, ENC_NA);
     fh_tree = proto_item_add_subtree(ti, ett_raw);
     proto_tree_add_text(fh_tree, tvb, 0, 0, "No link information available");
   }
index bbac672b2ec3da4c1d763cfe7f1b88ff84e01e24..6d698d2da5b8f454709fecbede2eac32b9f81b11 100644 (file)
  * 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., 51 Franklin Street, Fifth Floor
  * Boston, MA  02110-1301, USA.
  */
-/* 
+/*
  * ANSI E1.20-2006, Entertainment Technology
  * Remote Device Management over USITT DMX512, describes a method of
  * bi-directional communications over a USITT DMX512/1990 data link
@@ -92,7 +92,7 @@ dissect_rdm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                proto_item *item;
 
                proto_tree *ti = proto_tree_add_item(tree, proto_rdm, tvb,
-                               offset, -1, FALSE);
+                               offset, -1, ENC_NA);
                proto_tree *rdm_tree = proto_item_add_subtree(ti, ett_rdm);
 
                proto_tree_add_item(rdm_tree, hf_rdm_start_code, tvb,
index 5bb066dd1da98a48580727f02378e0701f3227ea..9cdece362e356e7818056dbc5a8e26fd8ca78319 100644 (file)
@@ -1292,7 +1292,7 @@ dissect_rdp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
   col_set_str(pinfo->cinfo, COL_PROTOCOL, "RDP");
   col_clear(pinfo->cinfo, COL_INFO);
 
-  item = proto_tree_add_item(parent_tree, proto_rdp, tvb, 0, tvb_length(tvb), FALSE);
+  item = proto_tree_add_item(parent_tree, proto_rdp, tvb, 0, tvb_length(tvb), ENC_NA);
   tree = proto_item_add_subtree(item, ett_rdp);
 
   return tree;
index bd2bd10e34d27f67a2daf67b0f43dee3f307e106..e6c46790e0648e0ec769c5e81eeca686473b63fd 100644 (file)
@@ -306,7 +306,7 @@ static void dissect_rdt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     /* Create RDT protocol tree */
     if (tree)
     {
-        ti = proto_tree_add_item(tree, proto_rdt, tvb, offset, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_rdt, tvb, offset, -1, ENC_NA);
         rdt_tree = proto_item_add_subtree(ti, ett_rdt);
     }
 
@@ -560,7 +560,7 @@ guint dissect_rdt_asm_action_packet(tvbuff_t *tvb, packet_info *pinfo, proto_tre
     /* Create subtree for flags fields */
     if (tree)
     {
-        proto_tree_add_item(tree, proto_rdt, tvb, offset, -1, FALSE);
+        proto_tree_add_item(tree, proto_rdt, tvb, offset, -1, ENC_NA);
         ti =  proto_tree_add_string_format(tree, hf_rdt_aact_flags, tvb, offset, 1,
                                            "",
                                            "Length-included=%u, stream_id=%u",
index 5b1c106447538d80d788b5d898878b30d65506f3..acb87ec9bc7a792898521bd24fb3f651c7a163a2 100644 (file)
@@ -69,7 +69,7 @@ dissect_redback(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        l3off = tvb_get_ntohs(tvb, 22);
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_redback, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_redback, tvb, 0, -1, ENC_NA);
                rbtree = proto_item_add_subtree(ti, ett_redback);
 
                proto_tree_add_item(rbtree, hf_redback_context, tvb, 0, 4, ENC_BIG_ENDIAN);
@@ -105,7 +105,7 @@ dissect_redback(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                case 0x02:
                        /*
                         * This is ISIS - Either incoming with ethernet FCS
-                        * and CLNP - passed to the eth dissector or in case 
+                        * and CLNP - passed to the eth dissector or in case
                         * of outgoing its pure ISIS and the linecard attaches
                         * the ethernet and CLNP headers ...
                         *
index 72fd7ded12a2f8697c99475517e0e244a4675ad1..1433da6414be2006950e9697cf268bb2590bc1d3 100644 (file)
@@ -91,10 +91,10 @@ redbackli_dissect_avp(guint8 avptype, guint8 avplen, tvbuff_t *tvb, gint offset,
 
         /* XXX: ToDo: Validate the length (avplen) of the fixed length fields
                 before calling proto_tree_add_item().
-                Note that the field lengths have been validated when 
+                Note that the field lengths have been validated when
                 dissect_avp() is called from redbackli_dissect_heur().
          */
-                 
+
        switch(avptype) {
                case(RB_AVP_SEQNO):
                        proto_tree_add_item(st, hf_redbackli_seqno, tvb,
@@ -146,7 +146,7 @@ redbackli_dissect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_redbackli,
-                                        tvb, 0, -1, FALSE);
+                                        tvb, 0, -1, ENC_NA);
                redbackli_tree = proto_item_add_subtree(ti, ett_redbackli);
        }
 
@@ -249,7 +249,7 @@ void proto_register_redbackli(void) {
                        "Session Identifier", HFILL }},
                { &hf_redbackli_dir,
 #if 0 /* XXX: If one goes by the heuristic then this field can be variable length ??
-         In the absence of any documentation We'll assume that's the case 
+         In the absence of any documentation We'll assume that's the case
          (even though 'direction' sounds like a fixed length field */
                        { "Direction", "redbackli.dir", FT_UINT8, BASE_DEC, NULL, 0x0,
 #endif
index 9bf54a573f04bbdce6c98efba2d4a16d8d35dffa..5608b1944c40826b2efb5a4e5b35a48784a655ae 100644 (file)
@@ -247,7 +247,7 @@ dissect_reload_framing_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr
     reload_frame->req_time = pinfo->fd->abs_ts;
   }
 
-  ti = proto_tree_add_item(tree, proto_reload_framing, tvb, 0, -1, FALSE);
+  ti = proto_tree_add_item(tree, proto_reload_framing, tvb, 0, -1, ENC_NA);
 
   reload_framing_tree = proto_item_add_subtree(ti, ett_reload_framing);
 
index 238efa2d5d09a6c47be0812dbc83670341120c9b..9a0ad4bbd89b3a76cd25fadb428ea110a4838e92 100644 (file)
@@ -3956,7 +3956,7 @@ dissect_reload_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     conversation_add_proto_data(conversation, proto_reload, reload_info);
   }
 
-  ti = proto_tree_add_item(tree, proto_reload, tvb, 0, -1, FALSE);
+  ti = proto_tree_add_item(tree, proto_reload, tvb, 0, -1, ENC_NA);
 
   reload_tree = proto_item_add_subtree(ti, ett_reload);
 
index d42418d0325277c56be4d2cb4acdd1e33c39e466..2aebcf5f6429ecfc9db9ac5d2bf1123fc24a7673 100644 (file)
@@ -72,7 +72,7 @@ dissect_retix_bpdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   retix_bpdu_tree = NULL;
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_retix_bpdu, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_retix_bpdu, tvb, 0, -1, ENC_NA);
     retix_bpdu_tree = proto_item_add_subtree(ti, ett_retix_bpdu);
   }
 
index ed65c7c9d9ab7949c1921344265b577daf215c2b..df4b60691aa69e1f7c01bc05a495070cd82dd22e 100644 (file)
@@ -55,7 +55,7 @@ static int hf_rfc2190_pbframes = -1;
 static int hf_rfc2190_sbit = -1;
 static int hf_rfc2190_ebit = -1;
 static int hf_rfc2190_srcformat = -1;
-static int hf_rfc2190_picture_coding_type = -1;        
+static int hf_rfc2190_picture_coding_type = -1;
 static int hf_rfc2190_unrestricted_motion_vector = -1;
 static int hf_rfc2190_syntax_based_arithmetic = -1;
 static int hf_rfc2190_advanced_prediction = -1;
@@ -101,9 +101,9 @@ dissect_rfc2190( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
     }
 
     if ( tree ) {
-        ti = proto_tree_add_item( tree, proto_rfc2190, tvb, offset, -1, FALSE );
+        ti = proto_tree_add_item( tree, proto_rfc2190, tvb, offset, -1, ENC_NA );
         rfc2190_tree = proto_item_add_subtree( ti, ett_rfc2190 );
-    
+
         /* FBIT 1st octet, 1 bit */
         proto_tree_add_boolean( rfc2190_tree, hf_rfc2190_ftype, tvb, offset, 1, tvb_get_guint8( tvb, offset ) & 0x80 );
         /* PBIT 1st octet, 1 bit */
@@ -127,7 +127,7 @@ dissect_rfc2190( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
             proto_tree_add_boolean( rfc2190_tree, hf_rfc2190_syntax_based_arithmetic, tvb, offset, 1, tvb_get_guint8( tvb, offset ) & 0x04 );
             /* A flag, 1 bit */
             proto_tree_add_boolean( rfc2190_tree, hf_rfc2190_advanced_prediction, tvb, offset, 1, tvb_get_guint8( tvb, offset ) & 0x02 );
-            
+
             /* Reserved 2nd octect, 1 bit + 3rd octect 3 bits */
             proto_tree_add_uint( rfc2190_tree, hf_rfc2190_r, tvb, offset, 2, ( ( tvb_get_guint8( tvb, offset ) & 0x1 ) << 3 ) + ( ( tvb_get_guint8( tvb, offset + 1 ) & 0xe0 ) >> 5 ) );
 
@@ -137,12 +137,12 @@ dissect_rfc2190( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
             proto_tree_add_uint( rfc2190_tree, hf_rfc2190_dbq, tvb, offset, 1, ( tvb_get_guint8( tvb, offset ) & 0x18 ) >> 3 );
             /* TRB 3 octect, 3 bits */
             proto_tree_add_uint( rfc2190_tree, hf_rfc2190_trb, tvb, offset, 1, ( tvb_get_guint8( tvb, offset ) & 0x07 ) );
-        
+
             offset++;
-           
+
             /* TR 4 octect, 8 bits */
             proto_tree_add_uint( rfc2190_tree, hf_rfc2190_tr, tvb, offset, 1, tvb_get_guint8( tvb, offset ) );
-           
+
             offset++;
 
         } else { /* MODE B or MODE C */
@@ -155,7 +155,7 @@ dissect_rfc2190( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
             proto_tree_add_uint( rfc2190_tree, hf_rfc2190_gobn, tvb, offset, 1, ( tvb_get_guint8( tvb, offset ) & 0xf8 ) >> 3);
             /* MBA 3 octect, 3 bits + 4 octect 6 bits */
             proto_tree_add_uint( rfc2190_tree, hf_rfc2190_mba, tvb, offset, 2, ( ( tvb_get_guint8( tvb, offset ) & 0x7 ) << 6 ) + ( ( tvb_get_guint8( tvb, offset + 1 ) & 0xfc ) >> 2 ) );
-           
+
             offset++;
 
             /* Reserved 4th octect, 2 bits */
@@ -171,43 +171,43 @@ dissect_rfc2190( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
             proto_tree_add_boolean( rfc2190_tree, hf_rfc2190_syntax_based_arithmetic, tvb, offset, 1, tvb_get_guint8( tvb, offset ) & 0x20 );
             /* A flag, 1 bit */
             proto_tree_add_boolean( rfc2190_tree, hf_rfc2190_advanced_prediction, tvb, offset, 1, tvb_get_guint8( tvb, offset ) & 0x10 );
-        
+
             /* HMV1 5th octect, 4 bits + 6th octect 3 bits*/
             proto_tree_add_uint( rfc2190_tree, hf_rfc2190_hmv1, tvb, offset, 2,( ( tvb_get_guint8( tvb, offset ) & 0xf ) << 3 ) + ( ( tvb_get_guint8( tvb, offset+1 ) & 0xe0 ) >> 5) );
-        
+
             offset++;
-           
+
             /* VMV1 6th octect, 5 bits + 7th octect 2 bits*/
             proto_tree_add_uint( rfc2190_tree, hf_rfc2190_vmv1, tvb, offset, 2,( ( tvb_get_guint8( tvb, offset ) & 0x1f ) << 2 ) + ( ( tvb_get_guint8( tvb, offset+1 ) & 0xc0 ) >> 6) );
-           
+
             offset++;
 
             /* HMV2 7th octect, 6 bits + 8th octect 1 bit*/
             proto_tree_add_uint( rfc2190_tree, hf_rfc2190_hmv2, tvb, offset, 2,( ( tvb_get_guint8( tvb, offset ) & 0x3f ) << 1 ) + ( ( tvb_get_guint8( tvb, offset+1 ) & 0xf0 ) >> 7) );
-       
+
             offset++;
 
             /* VMV2 8th octect, 7 bits*/
             proto_tree_add_uint( rfc2190_tree, hf_rfc2190_vmv2, tvb, offset, 1, tvb_get_guint8( tvb, offset ) & 0x7f );
-                 
+
             offset++;
 
             if(rfc2190_version == 0x03) { /* MODE C */
                 /* Reserved 9th to 11th octect, 8 + 8 + 3 bits */
                 proto_tree_add_uint( rfc2190_tree, hf_rfc2190_rr, tvb, offset, 3, ( tvb_get_guint8( tvb, offset ) << 11 ) + ( tvb_get_guint8( tvb, offset + 1 ) << 3 ) + ( ( tvb_get_guint8( tvb, offset + 2 ) & 0xe0 ) >> 5 ) );
-            
+
                 offset+=2;
 
                 /* DBQ 11th octect, 2 bits */
                 proto_tree_add_uint( rfc2190_tree, hf_rfc2190_dbq, tvb, offset, 1, ( tvb_get_guint8( tvb, offset ) & 0x18 ) >>3 );
                 /* TRB 11th octect, 3 bits */
                 proto_tree_add_uint( rfc2190_tree, hf_rfc2190_trb, tvb, offset, 1, tvb_get_guint8( tvb, offset ) & 0x07 );
-             
+
                 offset++;
-                
+
                 /* TR 12th octect, 8 bits */
                 proto_tree_add_uint( rfc2190_tree, hf_rfc2190_tr, tvb, offset, 1, tvb_get_guint8( tvb, offset ) );
-           
+
                 offset++;
             } /* end mode c */
         } /* end not mode a */
@@ -224,8 +224,8 @@ dissect_rfc2190( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
                 break;
         }
     }
-    
-            
+
+
     /* The rest of the packet is the H.263 stream */
     next_tvb = tvb_new_subset( tvb, offset, tvb_length(tvb) - offset, tvb_reported_length(tvb) - offset);
     call_dissector(h263_handle,next_tvb,pinfo,tree);
index 5fad192a4cce23c3611ef7f46c2152ab95c1e16f..38c723e4a6e37a36d2f217b3977a58521132865e 100644 (file)
@@ -23,8 +23,8 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
-/* 
- Based on RFC3488 
+/*
+ Based on RFC3488
 
  This is a setup for RGMP dissection, a simple protocol bolted on IGMP.
  The trick is to have IGMP dissector call this function (which by itself is not
@@ -74,7 +74,7 @@ dissect_rgmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, int off
        return offset + tvb_length_remaining(tvb, offset);
     }
 
-    item = proto_tree_add_item(parent_tree, proto_rgmp, tvb, offset, -1, FALSE);
+    item = proto_tree_add_item(parent_tree, proto_rgmp, tvb, offset, -1, ENC_NA);
     tree = proto_item_add_subtree(item, ett_rgmp);
 
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "RGMP");
@@ -82,7 +82,7 @@ dissect_rgmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, int off
 
     type = tvb_get_guint8(tvb, offset);
     if (check_col(pinfo->cinfo, COL_INFO)) {
-       col_add_str(pinfo->cinfo, COL_INFO, 
+       col_add_str(pinfo->cinfo, COL_INFO,
                     val_to_str(type, rgmp_types, "Unknown Type: 0x%02x"));
     }
     proto_tree_add_uint(tree, hf_type, tvb, offset, 1, type);
index 50fdcd9c4c62f2d382308696f969d5284439fec3..e9b5bb5ad425cad36f4659af1c2026068eb6546b 100644 (file)
@@ -132,7 +132,7 @@ dissect_rip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                    val_to_str(command, command_vals, "Unknown command (%u)"));
 
     if (tree) {
-       ti = proto_tree_add_item(tree, proto_rip, tvb, 0, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_rip, tvb, 0, -1, ENC_NA);
        rip_tree = proto_item_add_subtree(ti, ett_rip);
 
        proto_tree_add_uint(rip_tree, hf_rip_command, tvb, 0, 1, command);
index a7cca25d39ce055359920264b6ec55c5da337f71..9c77aef6bf848ca079f5e527059eadc2c928acd4 100644 (file)
@@ -74,7 +74,7 @@ dissect_ripng(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
     }
 
     if (tree) {
-       ti = proto_tree_add_item(tree, proto_ripng, tvb, offset, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_ripng, tvb, offset, -1, ENC_NA);
        ripng_tree = proto_item_add_subtree(ti, ett_ripng);
 
        /* Command */
index 0c500934d5a90bee70a5d0d9db365c07ad45ae48..f606d1c87727a1638976e1e07de4cdf5d621fdc1 100644 (file)
@@ -1393,7 +1393,7 @@ static void checkChannelSequenceInfo(packet_info *pinfo, tvbuff_t *tvb,
                     if (!createdChannel) {
                         /* Ahead of expected SN. Assume frames have been missed */
                         p_report_in_frame->state = SN_Missing;
-    
+
                         p_report_in_frame->firstSN = expectedSequenceNumber;
                         p_report_in_frame->lastSN = (1024 + sequenceNumber-1) % 1024;
                     }
@@ -2416,7 +2416,7 @@ static void dissect_rlc_lte(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "RLC-LTE");
 
     /* Create protocol tree. */
-    top_ti = proto_tree_add_item(tree, proto_rlc_lte, tvb, offset, -1, FALSE);
+    top_ti = proto_tree_add_item(tree, proto_rlc_lte, tvb, offset, -1, ENC_NA);
     rlc_lte_tree = proto_item_add_subtree(top_ti, ett_rlc_lte);
 
 
index c6f21a980b6a784326b9b92d766d05e21ff711b0..ca8135f7209ca16aa2baf67b1b041e6f625e5bc9 100644 (file)
@@ -1599,7 +1599,7 @@ dissect_rlc_pcch(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        /* PCCH is always RLC TM */
        if (tree) {
                proto_item *ti;
-               ti = proto_tree_add_item(tree, proto_rlc, tvb, 0, -1, ENC_BIG_ENDIAN);
+               ti = proto_tree_add_item(tree, proto_rlc, tvb, 0, -1, ENC_NA);
                subtree = proto_item_add_subtree(ti, ett_rlc);
                proto_item_append_text(ti, " TM (PCCH)");
        }
@@ -1620,7 +1620,7 @@ dissect_rlc_ccch(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if (!fpi) return; /* dissection failure */
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_rlc, tvb, 0, -1, ENC_BIG_ENDIAN);
+               ti = proto_tree_add_item(tree, proto_rlc, tvb, 0, -1, ENC_NA);
                subtree = proto_item_add_subtree(ti, ett_rlc);
        }
 
@@ -1650,7 +1650,7 @@ dissect_rlc_ctch(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     if (!fpi) return; /* dissection failure */
 
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_rlc, tvb, 0, -1, ENC_BIG_ENDIAN);
+        ti = proto_tree_add_item(tree, proto_rlc, tvb, 0, -1, ENC_NA);
         subtree = proto_item_add_subtree(ti, ett_rlc);
     }
 
@@ -1682,7 +1682,7 @@ dissect_rlc_dcch(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_rlc, tvb, 0, -1, ENC_BIG_ENDIAN);
+               ti = proto_tree_add_item(tree, proto_rlc, tvb, 0, -1, ENC_NA);
                subtree = proto_item_add_subtree(ti, ett_rlc);
        }
 
@@ -1717,7 +1717,7 @@ dissect_rlc_ps_dtch(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if (!fpi || !rlci) return;
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_rlc, tvb, 0, -1, ENC_BIG_ENDIAN);
+               ti = proto_tree_add_item(tree, proto_rlc, tvb, 0, -1, ENC_NA);
                subtree = proto_item_add_subtree(ti, ett_rlc);
        }
 
@@ -1860,7 +1860,7 @@ dissect_rlc_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                        col_clear(pinfo->cinfo, COL_INFO);
 
                        if (tree) {
-                               ti = proto_tree_add_item(tree, proto_rlc, rlc_tvb, 0, -1, ENC_BIG_ENDIAN);
+                               ti = proto_tree_add_item(tree, proto_rlc, rlc_tvb, 0, -1, ENC_NA);
                                subtree = proto_item_add_subtree(ti, ett_rlc);
                        }
 
index 3641208f43c16433d24e61ab8533ff76a5fde92b..d1d7f17a8aaacb53521903164bac2bb4df53f54e 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.
  */
+
 /*
  * RLM is a proprietary Cisco protocol used for centralling managing
  * many redundant NASes.  I don't know much about the format, but you
  * can read about the feature here:
- * 
+ *
  * http://www.cisco.com/en/US/docs/ios/12_0t/12_0t3/feature/guide/rlm_123.html
  *
  * RLM runs on a UDP port (default 3000) between the MGC and the NAS.
  * On port N+1 (default 3001), a Q.931/LAPD/UDP connection is maintained.
  * Both sides use the same local port number for the connection, so source
  * and dest port are always the same.
- * 
+ *
  * In large networks, the links are typically split onto higher ports,
  * so anything up to 3015 (or higher) could either be RLM or Q.931 traffic,
  * although always the RLM has the one lower port number for that RLM group.
  *
  * Multiple RLM groups are possible on a single NAS.
- * 
+ *
  * I haven't been able to find the protocol documented, so I've
  * guessed some of the fields based on the output of debug commands on
  * cisco NASes.
- * 
+ *
  */
 
 #ifdef HAVE_CONFIG_H
@@ -81,7 +81,7 @@ static gint ett_rlm = -1;
 /* #define ??? ?? */
 
 
-/* 
+/*
   Maybe this isn't the best place for it, but RLM goes hand in hand
   with Q.931 traffic on a higher port.
 */
@@ -164,7 +164,7 @@ dissect_rlm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if (tree) {
                /* proto_tree_add_protocol_format(tree, proto_rlm, tvb, 0,
                        16, "Cisco Session Management"); */
-               ti = proto_tree_add_item(tree, proto_rlm, tvb, 0, 8, FALSE);
+               ti = proto_tree_add_item(tree, proto_rlm, tvb, 0, 8, ENC_NA);
                rlm_tree = proto_item_add_subtree(ti, ett_rlm);
                proto_tree_add_item(rlm_tree, hf_rlm_version, tvb, 0, 1, ENC_BIG_ENDIAN);
                proto_tree_add_uint_format(rlm_tree, hf_rlm_type, tvb, 1, 1, rlm_type, "Type: %u (%s)", rlm_type, type_str);
@@ -203,27 +203,27 @@ proto_register_rlm(void)
        static hf_register_info hf[] = {
                { &hf_rlm_version,
                        { "Version",           "rlm.version",
-                       FT_UINT8, BASE_DEC, NULL, 0x0,          
+                       FT_UINT8, BASE_DEC, NULL, 0x0,
                        NULL, HFILL }
                },
                { &hf_rlm_type,
                        { "Type",           "rlm.type",
-                       FT_UINT8, BASE_DEC, NULL, 0x0,          
+                       FT_UINT8, BASE_DEC, NULL, 0x0,
                        NULL, HFILL }
                },
                { &hf_rlm_unknown,
                        { "Unknown",           "rlm.unknown",
-                       FT_UINT16, BASE_HEX, NULL, 0x0,          
+                       FT_UINT16, BASE_HEX, NULL, 0x0,
                        NULL, HFILL }
                },
                { &hf_rlm_tid,
                        { "Transaction ID",           "rlm.tid",
-                       FT_UINT16, BASE_DEC, NULL, 0x0,          
+                       FT_UINT16, BASE_DEC, NULL, 0x0,
                        NULL, HFILL }
                },
                { &hf_rlm_unknown2,
                        { "Unknown",           "rlm.unknown2",
-                       FT_UINT16, BASE_HEX, NULL, 0x0,          
+                       FT_UINT16, BASE_HEX, NULL, 0x0,
                        NULL, HFILL }
                },
        };
index 928c91fcc1fac0ee03ec129a668e91c50fe267bf..af3f4a83cbe71a419b5e4ba7838644d1058ee2fe 100644 (file)
@@ -194,7 +194,7 @@ static void rlogin_display(rlogin_hash_entry_t *hash_info,
        proto_item      *user_info_item, *window_info_item;
 
        /* Create rlogin subtree */
-       ti = proto_tree_add_item(tree, proto_rlogin, tvb, 0, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_rlogin, tvb, 0, -1, ENC_NA);
        rlogin_tree = proto_item_add_subtree(ti, ett_rlogin);
 
        /* Return if data empty */
index af87f046fe645334c000ee1f121ecf62f470b580..5840c39f7c860c944e3422230ed98d3a0f1408a6 100644 (file)
@@ -176,7 +176,7 @@ dissect_rmi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     }
 
     if (tree) {
-       ti = proto_tree_add_item(tree, proto_rmi, tvb, 0, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_rmi, tvb, 0, -1, ENC_NA);
        rmi_tree = proto_item_add_subtree(ti, ett_rmi);
        switch(rmitype) {
        case RMI_OUTPUTSTREAM:
@@ -255,7 +255,7 @@ dissect_ser(tvbuff_t *tvb, proto_tree *tree)
     offset = 0;
 
     if(tree) {
-       ti = proto_tree_add_item(tree, proto_ser, tvb, 0, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_ser, tvb, 0, -1, ENC_NA);
        ser_tree = proto_item_add_subtree(ti, ett_ser);
        proto_tree_add_item(ser_tree, hf_ser_magic,
                            tvb, offset,     2, ENC_BIG_ENDIAN);
index 760608b429bbbbb2c3b793448181a09f72ddbcfd..8cf52f4419034aecbe5403422d911f90d5cbe65b 100644 (file)
@@ -118,7 +118,7 @@ dissect_rmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_rmp, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_rmp, tvb, 0, -1, ENC_NA);
                rmp_tree = proto_item_add_subtree(ti, ett_rmp);
                proto_tree_add_uint(rmp_tree, hf_rmp_type, tvb, 0, 1, type);
 
index 3bc4ba3d9f5ec7d695624f5bfbcc806011de46cc..dea922909d1560da86347eaea971a1fffa5bc1d7 100644 (file)
@@ -140,7 +140,7 @@ static void dissect_alc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if (tree)
        {
                /* Create subtree for the ALC protocol */
-               ti = proto_tree_add_item(tree, proto, tvb, offset, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto, tvb, offset, -1, ENC_NA);
                alc_tree = proto_item_add_subtree(ti, ett.main);
 
                /* Fill the ALC subtree */
index 064582984667103f1faa63cd4dc64de6f7565650..bbd212d71c2c2811cdb13fcbc26901268e384f20 100644 (file)
@@ -568,7 +568,7 @@ static void dissect_norm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if (tree)
        {
                /* Create subtree for the NORM protocol */
-               ti = proto_tree_add_item(tree, proto, tvb, offset, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto, tvb, offset, -1, ENC_NA);
                norm_tree = proto_item_add_subtree(ti, ett.main);
 
                /* Fill the NORM subtree */
index d41cfd18aa4aec4239e3658f4962ebc0f0131682..ad9fba8240429349a5b0099021c1cc4ab94a239d 100644 (file)
@@ -609,7 +609,7 @@ dissect_rohc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                col_append_str(pinfo->cinfo, COL_INFO, " ");
        }
        /*if (tree) {*/
-               ti = proto_tree_add_item(tree, proto_rohc, tvb, 0, -1, ENC_BIG_ENDIAN);
+               ti = proto_tree_add_item(tree, proto_rohc, tvb, 0, -1, ENC_NA);
                rohc_tree = proto_item_add_subtree(ti, ett_rohc);
                /*    1) If the first octet is a Padding Octet (11100000),
                 *       strip away all initial Padding Octets and goto next step.
index ecc4d09ac6d2fe9e0b33b7334d616b2fd321bc8c..4cb9306c6632dc610ee0a6ba09df2f6b4b0aca7c 100644 (file)
@@ -217,7 +217,7 @@ static void dissect_roofnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   }
 
   if (tree) {
-    it = proto_tree_add_item(tree, proto_roofnet, tvb, offset, -1, FALSE);
+    it = proto_tree_add_item(tree, proto_roofnet, tvb, offset, -1, ENC_NA);
     roofnet_tree = proto_item_add_subtree(it, ett_roofnet);
   }
 
index 3895923263375f5b37935ecaf2a8bb66559a0a75..c34791173411f85380e00638e57c4c5249e5dea2 100644 (file)
@@ -1631,7 +1631,7 @@ dissect_rpc_continuation(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                rpc_item = proto_tree_add_item(tree, proto_rpc, tvb, 0, -1,
-                               FALSE);
+                               ENC_NA);
                rpc_tree = proto_item_add_subtree(rpc_item, ett_rpc);
                proto_tree_add_text(rpc_tree, tvb, 0, -1, "Continuation data");
        }
@@ -1924,7 +1924,7 @@ dissect_rpc_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
 
        if (tree) {
                rpc_item = proto_tree_add_item(tree, proto_rpc, tvb, 0, -1,
-                   FALSE);
+                   ENC_NA);
                rpc_tree = proto_item_add_subtree(rpc_item, ett_rpc);
 
                if (is_tcp) {
index 2eb81764f93b42383f9da9e81cb86cb939dbc122..4168e75db864020aec0e2256385b6ce17d934203 100644 (file)
@@ -281,7 +281,7 @@ dissect_rpl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
        if (tree) {
                ti = proto_tree_add_item(tree, proto_rpl, tvb, 0,
-                       rpl_len, FALSE);
+                       rpl_len, ENC_NA);
                rpl_tree = proto_item_add_subtree(ti, ett_rpl);
                hidden_item = proto_tree_add_uint(rpl_tree, hf_rpl_type, tvb, 2, 2,
                        rpl_type);
index 7c14e43d73315c1c12b83bdfe87bd0d854bbb730..fbc67e3df661f07a70735a4446587fb7a5a03b07 100644 (file)
@@ -122715,7 +122715,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 22a3d7712b3b345e494e28ddb14a432d0712e386..6e64524e11d6aeede2fff84a95f2dff80cfaf078 100644 (file)
@@ -67,7 +67,7 @@ dissect_rsh(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
        if (tree) {
                ti = proto_tree_add_item(tree, proto_rsh, tvb, offset, -1,
-                   FALSE);
+                   ENC_NA);
                rsh_tree = proto_item_add_subtree(ti, ett_rsh);
 
                /*
index 4cf0701f174c8967028f26e065e117ab62aaf061..a0a79c04df7695772b4719de4451b2a716455a63 100644 (file)
@@ -997,7 +997,7 @@ dissect_rsip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                "Unknown Message Type (0x%0x)"));
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_rsip, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_rsip, tvb, 0, -1, ENC_NA);
 
                rsip_tree = proto_item_add_subtree(ti, ett_rsip);
 
index 85185e1e7cb366d613f295db3e3fbfe730deda14..17cd0d07f80d9bdc6ac8142b585971a5b0cda143 100644 (file)
@@ -785,8 +785,8 @@ dissect_rsl_ie_ch_id(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, in
 
     ie_offset = offset;
 
-    /* 3GPP TS 44.018 "Channel Description" 
-        * the whole of the 3GPP TS 44.018 element including the element identifier and 
+    /* 3GPP TS 44.018 "Channel Description"
+        * the whole of the 3GPP TS 44.018 element including the element identifier and
         * length should be included.
         * XXX Hmm a type 3 IE (TV).
         */
@@ -3517,7 +3517,7 @@ dissect_rsl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
     top_tree = tree;
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_rsl, tvb, 0, -1, ENC_BIG_ENDIAN);
+        ti = proto_tree_add_item(tree, proto_rsl, tvb, 0, -1, ENC_NA);
         rsl_tree = proto_item_add_subtree(ti, ett_rsl);
 
         /* 9.1 Message discriminator */
index cfc4f49519d72f1839ebddf11e3bf2ff25921cf9..8e785d5bbf60143b304facc047b85bb12b88a0e8 100644 (file)
@@ -6272,7 +6272,7 @@ dissect_rsvp_msg_tree(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
     message_type = tvb_get_guint8(tvb, 1);
 
     ti = proto_tree_add_item(tree, proto_rsvp, tvb, offset, msg_length,
-                            FALSE);
+                            ENC_NA);
     rsvp_tree = proto_item_add_subtree(ti, tree_mode);
     if (pinfo->ipproto == IP_PROTO_RSVPE2EI)
        proto_item_append_text(rsvp_tree, " (E2E-IGNORE)");
index b8e8a2aedc57942ad2b12e260fbfcc4dabe221b8..7e44e0cee61e2f10c7f228645fc03e6b5c9c579e 100644 (file)
@@ -116,7 +116,7 @@ dissect_rsync_encap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
 
     conversation_set_dissector(conversation, rsync_handle);
 
-    ti = proto_tree_add_item(tree, proto_rsync, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_rsync, tvb, 0, -1, ENC_NA);
 
     rsync_tree = proto_item_add_subtree(ti, ett_rsync);
 
index 99c441aaae893aa39234067130e86f5ea27d2699..a197f7058df1da3ae0ec7930350e6023e6725177 100644 (file)
  */
 
 /*
- * The part of this dissector for IDMS XR blocks was written by 
+ * The part of this dissector for IDMS XR blocks was written by
  * Torsten Loebner (loebnert@googlemail.com) in the context of a graduation
  * project with the research organization TNO in Delft, Netherland.
- * The extension is based on the RTCP XR block specified in 
+ * The extension is based on the RTCP XR block specified in
  * ETSI TS 182 063 v3.5.2 Annex W (http://www.etsi.org/deliver/etsi_ts/183000_183099/183063/),
- * which was registered by IANA as RTCP XR Block Type 12 
+ * which was registered by IANA as RTCP XR Block Type 12
  * (http://www.iana.org/assignments/rtcp-xr-block-types/rtcp-xr-block-types.xml).
  */
 
@@ -1806,13 +1806,13 @@ static gboolean validate_xr_block_length(tvbuff_t *tvb, packet_info *pinfo, int
                        expert_add_info_format(pinfo, ti, PI_PROTOCOL, PI_WARN,
                                              "Invalid block length, should be 8");
         return FALSE;
-       
+
     case RTCP_XR_IDMS:
         if (block_len != 7)
                        expert_add_info_format(pinfo, ti, PI_PROTOCOL, PI_WARN,
                                              "Invalid block length, should be 7");
         return FALSE;
-    
+
     default:
         break;
     }
@@ -2191,32 +2191,32 @@ dissect_rtcp_xr(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *tree,
         }
         case RTCP_XR_IDMS:
            offset -= 3;
-           proto_tree_add_item(content_tree, hf_rtcp_xr_idms_spst, tvb, offset, 1, ENC_BIG_ENDIAN); 
+           proto_tree_add_item(content_tree, hf_rtcp_xr_idms_spst, tvb, offset, 1, ENC_BIG_ENDIAN);
                offset+=3;
-           proto_tree_add_item(content_tree, hf_rtcp_xr_idms_pt, tvb, offset, 1, ENC_BIG_ENDIAN); 
+           proto_tree_add_item(content_tree, hf_rtcp_xr_idms_pt, tvb, offset, 1, ENC_BIG_ENDIAN);
                offset+=4;
-           proto_tree_add_item(content_tree, hf_rtcp_xr_idms_msci, tvb, offset, 4, ENC_BIG_ENDIAN); 
+           proto_tree_add_item(content_tree, hf_rtcp_xr_idms_msci, tvb, offset, 4, ENC_BIG_ENDIAN);
                offset+=4;
-           proto_tree_add_item(content_tree, hf_rtcp_xr_idms_source_ssrc, tvb, offset, 4, ENC_BIG_ENDIAN); 
+           proto_tree_add_item(content_tree, hf_rtcp_xr_idms_source_ssrc, tvb, offset, 4, ENC_BIG_ENDIAN);
                offset+=4;
-           proto_tree_add_item(content_tree, hf_rtcp_xr_idms_ntp_rcv_ts_msw, tvb, offset, 4, ENC_BIG_ENDIAN); 
+           proto_tree_add_item(content_tree, hf_rtcp_xr_idms_ntp_rcv_ts_msw, tvb, offset, 4, ENC_BIG_ENDIAN);
                offset+=4;
-           proto_tree_add_item(content_tree, hf_rtcp_xr_idms_ntp_rcv_ts_lsw, tvb, offset, 4, ENC_BIG_ENDIAN); 
+           proto_tree_add_item(content_tree, hf_rtcp_xr_idms_ntp_rcv_ts_lsw, tvb, offset, 4, ENC_BIG_ENDIAN);
                offset+=4;
            item = proto_tree_add_item(content_tree, hf_rtcp_ntp, tvb, offset-8, 8, ENC_TIME_NTP|ENC_BIG_ENDIAN);
            PROTO_ITEM_SET_GENERATED(item);
 
-           proto_tree_add_item(content_tree, hf_rtcp_xr_idms_rtp_ts, tvb, offset, 4, ENC_BIG_ENDIAN); 
+           proto_tree_add_item(content_tree, hf_rtcp_xr_idms_rtp_ts, tvb, offset, 4, ENC_BIG_ENDIAN);
                offset+=4;
-           proto_tree_add_item(content_tree, hf_rtcp_xr_idms_ntp_pres_ts, tvb, offset, 4, ENC_BIG_ENDIAN); 
+           proto_tree_add_item(content_tree, hf_rtcp_xr_idms_ntp_pres_ts, tvb, offset, 4, ENC_BIG_ENDIAN);
                offset+=4;
-           
+
            tmp_ts = tvb_get_ntohl(tvb,offset-4);
            hour        = ( (int) ( tmp_ts >> 16 ) ) / 3600;
-           min         = (( (int) ( tmp_ts >> 16 ) ) - hour * 3600) / 60; 
+           min         = (( (int) ( tmp_ts >> 16 ) ) - hour * 3600) / 60;
            sec         = (( (int) ( tmp_ts >> 16 ) ) - hour * 3600 - min * 60);
            msec        = ( (int) ( tmp_ts & 0x0000FFFF ) ) / 66;
-           
+
            item = proto_tree_add_text( content_tree, tvb, offset-4, 4, "short NTP timestamp of presentation: %d:%02d:%02d:%03d [h:m:s:ms] ", hour,min,sec,msec);
            PROTO_ITEM_SET_GENERATED(item);
        break;
@@ -2787,7 +2787,7 @@ dissect_rtcp( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
         packet_length = ( tvb_get_ntohs( tvb, offset + 2 ) + 1 ) * 4;
         total_packet_length += packet_length;
 
-        ti = proto_tree_add_item(tree, proto_rtcp, tvb, offset, packet_length, FALSE );
+        ti = proto_tree_add_item(tree, proto_rtcp, tvb, offset, packet_length, ENC_NA );
         proto_item_append_text(ti, " (%s)",
                                val_to_str(packet_type,
                                           rtcp_packet_type_vals,
index 060231cade260fd6c0adf97fe08f14dfce287ea5..f9eb5cb4ec9ca078bb529cc8e47ae243b357cb98 100644 (file)
@@ -1163,7 +1163,7 @@ dissect_rtmpt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, rtmpt_conv_t
 
         if (tree)
         {
-                ti = proto_tree_add_item(tree, proto_rtmpt, tvb, offset, -1, FALSE);
+                ti = proto_tree_add_item(tree, proto_rtmpt, tvb, offset, -1, ENC_NA);
 
                 if (tp->id>RTMPT_ID_MAX) {
                         /* Dissect handshake */
index 5975c65734381609e54aecd6acaed1f24722b73c..fa95294e25a51066cdd895935e59043b0566acca 100644 (file)
@@ -409,7 +409,7 @@ dissect_rtnet_tdma_v1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *root) {
   }
 
   if (root) {
-    ti = proto_tree_add_item(root, proto_tdma, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(root, proto_tdma, tvb, 0, -1, ENC_NA);
     tree = proto_item_add_subtree(ti, ett_tdma);
 
     proto_item_append_text(ti, ", Version 1, %s",
@@ -526,7 +526,7 @@ dissect_rtnet_tdma(tvbuff_t *tvb, packet_info *pinfo, proto_tree *root) {
   }
 
   if (root) {
-    ti = proto_tree_add_item(root, proto_tdma, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(root, proto_tdma, tvb, 0, -1, ENC_NA);
     tree = proto_item_add_subtree(ti, ett_tdma);
 
     proto_item_append_text(ti, ", %s", val_to_str(msg, tdma_msg_vals, "Unknown (0x%04x)"));
@@ -586,7 +586,7 @@ dissect_rtmac(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
     dissector = data_handle;
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_rtmac, tvb, offset, 4, FALSE);
+    ti = proto_tree_add_item(tree, proto_rtmac, tvb, offset, 4, ENC_NA);
     rtmac_tree = proto_item_add_subtree(ti, ett_rtmac);
     proto_item_append_text(ti, ", Version %d", ver);
   }
@@ -681,7 +681,7 @@ dissect_rtcfg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
   col_clear(pinfo->cinfo, COL_INFO);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_rtcfg, tvb, offset, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_rtcfg, tvb, offset, -1, ENC_NA);
     rtcfg_tree = proto_item_add_subtree(ti, ett_rtcfg);
   }
 
index 6584c0cefd65cae1a72783c836e30a5c7dc568dd..03d5df60b57f08528410f956b35b73578b0bd3d7 100644 (file)
@@ -115,7 +115,7 @@ dissect_rtp_events( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
                    val_to_str( rtp_evt, rtp_event_type_values, "Unknown (%u)" ));
        }
 
-       ti = proto_tree_add_item( tree, proto_rtp_events, tvb, offset, -1, FALSE );
+       ti = proto_tree_add_item( tree, proto_rtp_events, tvb, offset, -1, ENC_NA );
        rtp_events_tree = proto_item_add_subtree( ti, ett_rtp_events );
 
        proto_tree_add_uint ( rtp_events_tree, hf_rtp_events_event, tvb, offset, 1, rtp_evt);
@@ -129,7 +129,7 @@ dissect_rtp_events( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
        /* The duration field indicates the duration of the event or segment
         * being reported, in timestamp units.
         */
-       rtp_event_info.info_duration = tvb_get_ntohs(tvb, offset); 
+       rtp_event_info.info_duration = tvb_get_ntohs(tvb, offset);
        proto_tree_add_item ( rtp_events_tree, hf_rtp_events_duration, tvb, offset, 2, ENC_BIG_ENDIAN);
 
        /* set the end info for the tap */
index 8803984722a9f6b8f2292d275224936dcd4a055e..a8f9fdf21b765e59dbbc9dcb62dfa626a85ce70b 100644 (file)
@@ -1212,7 +1212,7 @@ dissect_rtp( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
                    "Unknown RTP version %u", version);
 
                if ( tree ) {
-                       ti = proto_tree_add_item( tree, proto_rtp, tvb, offset, -1, FALSE );
+                       ti = proto_tree_add_item( tree, proto_rtp, tvb, offset, -1, ENC_NA );
                        rtp_tree = proto_item_add_subtree( ti, ett_rtp );
 
                        proto_tree_add_uint( rtp_tree, hf_rtp_version, tvb,
@@ -1330,7 +1330,7 @@ dissect_rtp( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
        if ( tree ) {
                proto_tree *item;
                /* Create RTP protocol tree */
-               ti = proto_tree_add_item(tree, proto_rtp, tvb, offset, -1, FALSE );
+               ti = proto_tree_add_item(tree, proto_rtp, tvb, offset, -1, ENC_NA );
                rtp_tree = proto_item_add_subtree(ti, ett_rtp );
 
                /* Conversation setup info */
@@ -1621,7 +1621,7 @@ dissect_pkt_ccc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        proto_tree *pkt_ccc_tree      = NULL;
 
        if ( tree ) {
-               ti = proto_tree_add_item(tree, proto_pkt_ccc, tvb, 0, 12, FALSE);
+               ti = proto_tree_add_item(tree, proto_pkt_ccc, tvb, 0, 12, ENC_NA);
                pkt_ccc_tree = proto_item_add_subtree(ti, ett_pkt_ccc);
 
                proto_tree_add_item(pkt_ccc_tree, hf_pkt_ccc_id, tvb, 0, 4, ENC_BIG_ENDIAN);
index 0dd688951d2b2b5898f66ce7362f2a7465bd85ae..7f888ebc7daaf8b060b4e3dadaf6416211a508aa 100644 (file)
@@ -5587,7 +5587,7 @@ static gboolean dissect_rtps(tvbuff_t *tvb,
   if (tree) {
     guint8 nddsPing[8];
     /* create display subtree for the protocol */
-    ti = proto_tree_add_item(tree, proto_rtps, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_rtps, tvb, 0, -1, ENC_NA);
     rtps_tree = proto_item_add_subtree(ti, ett_rtps);
 
     /*  Protocol Version */
index b650cbfc15cf801390fc7967bcaa3e4ff53fc64f..9047afe091508f61e73102baf0b40c7a6f636f70 100644 (file)
@@ -8517,7 +8517,7 @@ static gboolean dissect_rtps(tvbuff_t *tvb,
 
   if (tree) {
     /* create display subtree for the protocol */
-    ti = proto_tree_add_item(tree, proto_rtps, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_rtps, tvb, 0, -1, ENC_NA);
     rtps_tree = proto_item_add_subtree(ti, ett_rtps);
 
     /*  Protocol Version */
index 6229d1394510fbdcdc9fd0dc58a9703013eee2d5..7b7c2a4c403a97bfc297596075ec8a9799079ed5 100644 (file)
@@ -829,7 +829,7 @@ dissect_rtspmessage(tvbuff_t *tvb, int offset, packet_info *pinfo,
        orig_offset = offset;
        if (tree) {
                ti = proto_tree_add_item(tree, proto_rtsp, tvb, offset, -1,
-                   ENC_BIG_ENDIAN);
+                   ENC_NA);
                rtsp_tree = proto_item_add_subtree(ti, ett_rtsp);
        }
 
@@ -1515,7 +1515,7 @@ proto_reg_handoff_rtsp(void)
 
        saved_rtsp_tcp_port = global_rtsp_tcp_port;
        saved_rtsp_tcp_alternate_port = global_rtsp_tcp_alternate_port;
-       
+
        stats_tree_register("rtsp","rtsp","RTSP/Packet Counter", 0, rtsp_stats_tree_packet, rtsp_stats_tree_init, NULL );
 
 }
index 4c718baa15494b7216f8dfacd88c47f45dda2cee..db60389eb81ea42c0706acd541e5842205f5df25 100644 (file)
@@ -1396,9 +1396,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);
 }
 
@@ -1739,7 +1739,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);
 
@@ -1749,7 +1749,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 e4144a27b21536ce42f11d63f2c2f6ad20417a03..87ff25575168622677a9f9089c7b313ac1da57f1 100644 (file)
@@ -35,7 +35,7 @@
  * dissector from here.
  *
  * Here are some links:
- * 
+ *
  * http://www.watersprings.org/pub/id/draft-ietf-sigtran-reliable-udp-00.txt
  * http://www.javvin.com/protocolRUDP.html
  * http://www.cisco.com/univercd/cc/td/doc/product/access/sc/rel7/omts/omts_apb.htm#30052
@@ -52,7 +52,7 @@
 
 /* Disable rudp by default. The previously hardcoded value of
  * 7000 (used by Cisco) collides with afs and as the draft states:
- * "RUDP doesn't place any restrictions on which UDP port numbers are used.  
+ * "RUDP doesn't place any restrictions on which UDP port numbers are used.
  *  Valid port numbers are ports not defined in RFC 1700."
  */
 /* FIXME: The proper solution would be to convert this dissector into
@@ -110,7 +110,7 @@ dissect_rudp(tvbuff_t *tvb, packet_info *pinfo _U_ , proto_tree *tree)
        col_clear(pinfo->cinfo, COL_INFO);
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_rudp, tvb, 0, hlen, FALSE);
+               ti = proto_tree_add_item(tree, proto_rudp, tvb, 0, hlen, ENC_NA);
                rudp_tree = proto_item_add_subtree(ti, ett_rudp);
 
                ti = proto_tree_add_item(rudp_tree, hf_rudp_flags, tvb, 0, 1, ENC_BIG_ENDIAN);
index 460dc923def58a5314ce954ec8d59872c707cfa3..f37c2ff3ff0336030ca8105c5becb537332f620d 100644 (file)
@@ -8403,9 +8403,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);
 }
 
@@ -10634,7 +10634,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);
 
@@ -10646,7 +10646,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 23bc5123570f29f6c2f579b3022d11435deacf74..f62032c1f657ccd420fed109425657f7b7b5c296 100644 (file)
@@ -1311,7 +1311,7 @@ dissect_s5066_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
                pdu_size = tvb_get_ntohs(tvb, s5066_size_offset) + s5066_header_size;
 
-               ti_s5066 = proto_tree_add_item(tree, proto_s5066, tvb, 0, -1, FALSE);
+               ti_s5066 = proto_tree_add_item(tree, proto_s5066, tvb, 0, -1, ENC_NA);
                proto_item_append_text(ti_s5066, ", PDU type %s", val_to_str(pdu_type, s5066_pdu_type, "Unknown (0x%02x)"));
                s5066_tree = proto_item_add_subtree(ti_s5066, ett_s5066);
                proto_tree_add_item(s5066_tree, hf_s5066_sync_word, tvb, offset, 2, ENC_BIG_ENDIAN); offset +=2;
index 24a4a99fb5ef3cf6335d63c83fceb0986415dfc8..3bba145e570a2e2a1c6fdfd632633a9459ea0b29 100644 (file)
@@ -1747,7 +1747,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 06a8a10220767cf491954ae6a6d4c1d5c9f722fb..eee6c403a1945edfba4064feac8bcc66a29c3888 100644 (file)
@@ -145,7 +145,7 @@ dissect_sap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         }
 
        if (tree) {
-         si = proto_tree_add_item(tree, proto_sap, tvb, offset, -1, FALSE);
+         si = proto_tree_add_item(tree, proto_sap, tvb, offset, -1, ENC_NA);
          sap_tree = proto_item_add_subtree(si, ett_sap);
 
          sif = proto_tree_add_uint(sap_tree, hf_sap_flags, tvb, offset, 1, vers_flags);
index 23331b164ebb55b6244db0d6b87f8b49c985a030..8707f624134ffd607ce404d3e5cfd23f7d7edd12 100644 (file)
@@ -381,7 +381,7 @@ dissect_sasp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "SASP");
        col_clear(pinfo->cinfo, COL_INFO);
 
-       ti = proto_tree_add_item(tree,proto_sasp,tvb,offset,-1,FALSE);
+       ti = proto_tree_add_item(tree,proto_sasp,tvb,offset,-1,ENC_NA);
        sasp_tree = proto_item_add_subtree(ti,ett_sasp_header);
 
        hdr_type = tvb_get_ntohs(tvb, offset);
index fb01ba36e82257c7424903833a7ef45b41c6d411..36e565bf6c9965f0e288f1f87424d0ac41c828bf 100644 (file)
@@ -884,7 +884,7 @@ dissect_sbus(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 /* create display subtree for the protocol */
        if (tree) {
 
-              ti = proto_tree_add_item(tree, proto_sbus, tvb, offset, -1, FALSE);
+              ti = proto_tree_add_item(tree, proto_sbus, tvb, offset, -1, ENC_NA);
               sbus_tree = proto_item_add_subtree(ti, ett_sbus);
 
 /*Add subtree for Ether-S-Bus header*/
index 373ec0afd043a25b13dd11f8070d22880c183746..09dfec9ad7e4a0e57d30447bd0eee7e1985918e2 100644 (file)
@@ -2885,7 +2885,7 @@ dissect_sccp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
      necessary to generate protocol tree items. */
   if (tree) {
     /* create the sccp protocol tree */
-    sccp_item = proto_tree_add_item(tree, proto_sccp, tvb, 0, -1, ENC_BIG_ENDIAN);
+    sccp_item = proto_tree_add_item(tree, proto_sccp, tvb, 0, -1, ENC_NA);
     sccp_tree = proto_item_add_subtree(sccp_item, ett_sccp);
   }
 
index a95b15b29f865dd3bc299b9897d628df8b9d3e37..049205a92bc17c59a5cf0ad750cf0526f2fecd60 100644 (file)
@@ -281,7 +281,7 @@ dissect_sccpmg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if (tree) {
                /* create the sccpmg protocol tree */
                sccpmg_item = proto_tree_add_item(tree, proto_sccpmg, tvb, 0,
-                                                 -1, FALSE);
+                                                 -1, ENC_NA);
                sccpmg_tree = proto_item_add_subtree(sccpmg_item, ett_sccpmg);
        }
 
index e8a9f18447f9d1ca60113eca481fccb56b9a7093..8d72f901f32f9d14aef398ce738c540a574b0bd9 100644 (file)
@@ -190,7 +190,7 @@ dissect_ssprotocol(tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *tree)
      necessary to generate protocol tree items. */
   if (tree) {
     /* create the ssprotocol protocol tree */
-    ssprotocol_item = proto_tree_add_item(tree, proto_ssprotocol, message_tvb, 0, -1, FALSE);
+    ssprotocol_item = proto_tree_add_item(tree, proto_ssprotocol, message_tvb, 0, -1, ENC_NA);
     ssprotocol_tree = proto_item_add_subtree(ssprotocol_item, ett_ssprotocol);
   } else {
     ssprotocol_tree = NULL;
index aab902093d144d76b92eb3738e2053f36461a133..fabd7ec70c5ff1a2910f2e3402d1ae59a140778d 100644 (file)
@@ -103,7 +103,7 @@ dissect_sdlc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                sdlc_ti = proto_tree_add_item(tree, proto_sdlc, tvb, 0, -1,
-                   FALSE);
+                   ENC_NA);
                sdlc_tree = proto_item_add_subtree(sdlc_ti, ett_sdlc);
 
                proto_tree_add_uint(sdlc_tree, hf_sdlc_address, tvb, 0, 1,
index 32bb6fbebeef3900e082d9d76aea12eb99bd23ff..4568248225fd8b21b9b438789642eaf682859c65 100644 (file)
@@ -337,7 +337,7 @@ dissect_sdp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   /* XXX: Needs description. */
   col_append_str(pinfo->cinfo, COL_INFO, ", with session description");
 
-  ti = proto_tree_add_item(tree, proto_sdp, tvb, offset, -1, FALSE);
+  ti = proto_tree_add_item(tree, proto_sdp, tvb, offset, -1, ENC_NA);
   sdp_tree = proto_item_add_subtree(ti, ett_sdp);
 
   /*
index 8d31389f43a13aa6e63cdfc8d8033fe18a335bd8..413e88a3bb95e561fccc858df66b4ee07f983b06 100644 (file)
@@ -162,7 +162,7 @@ dissect_sebek(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                /* Adding Sebek item and subtree */
-               ti = proto_tree_add_item(tree, proto_sebek, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_sebek, tvb, 0, -1, ENC_NA);
                sebek_tree = proto_item_add_subtree(ti, ett_sebek);
 
                /* check for minimum length before deciding where to go*/
index 9f400f8633847674ee8ea5e2f95d1809a40b37d5..97fdf9b59df06c91d880da68e12dad9bd046e81f 100644 (file)
@@ -11,7 +11,7 @@
  *   Michael Mann * Copyright 2011
  *
  * $Id$
- * 
+ *
  * Wireshark - Network traffic analyzer
  * By Gerald Combs <gerald@wireshark.org>
  * Copyright 1998 Gerald Combs
@@ -920,7 +920,7 @@ static void dissect_siii_mdt_cp3_4(tvbuff_t *tvb, packet_info *pinfo, proto_tree
    * this data could be extracted from svc communication during CP2
    */
   proto_tree_add_text(tree, tvb, 0, 0, "Service Channels");
-  
+
   proto_tree_add_text(tree, tvb, 0, 0, "Device Controls");
 }
 
@@ -1111,7 +1111,7 @@ static void dissect_siii_at_cp3_4(tvbuff_t *tvb, packet_info *pinfo, proto_tree
   /* offsets of service channel, device status and connections are unknown
    * this data could be extracted from svc communication during CP2
    */
-  proto_tree_add_text(tree, tvb, 0, 0, "Service Channels");  
+  proto_tree_add_text(tree, tvb, 0, 0, "Service Channels");
   proto_tree_add_text(tree, tvb, 0, 0, "Device Status");
 }
 
@@ -1210,7 +1210,7 @@ dissect_siii(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   col_append_fstr(pinfo->cinfo, COL_INFO, "%s%u Channel=%s", tel_type, tel_no, tel_ch);
 
-  ti = proto_tree_add_item(tree, proto_siii, tvb, 0, -1, FALSE);
+  ti = proto_tree_add_item(tree, proto_siii, tvb, 0, -1, ENC_NA);
 
   siii_tree = proto_item_add_subtree(ti, ett_siii);
 
index 47d0c3590e3c640cd8dbd83086a0c4104909f9f4..6176fc0e02c2dc45fb98089d1c2d840fab4e64f6 100644 (file)
@@ -1048,7 +1048,7 @@ dissect_spdu(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree,
                            val_to_str(type, ses_vals, "Unknown SPDU type (0x%02x)"));
                if (tree) {
                        ti = proto_tree_add_item(tree, proto_clses, tvb, offset,
-                               -1, FALSE);
+                               -1, ENC_NA);
                        ses_tree = proto_item_add_subtree(ti, ett_ses);
                        proto_tree_add_uint(ses_tree, hf_ses_type, tvb,
                                offset, 1, type);
@@ -1060,7 +1060,7 @@ dissect_spdu(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree,
                            val_to_str(type, ses_category0_vals, "Unknown SPDU type (0x%02x)"));
                if (tree) {
                        ti = proto_tree_add_item(tree, proto_ses, tvb, offset,
-                           -1, FALSE);
+                           -1, ENC_NA);
                        ses_tree = proto_item_add_subtree(ti, ett_ses);
                        proto_tree_add_uint(ses_tree, hf_ses_type_0, tvb,
                            offset, 1, type);
@@ -1070,7 +1070,7 @@ dissect_spdu(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree,
                            val_to_str(type, ses_vals, "Unknown SPDU type (0x%02x)"));
                if (tree) {
                        ti = proto_tree_add_item(tree, proto_ses, tvb, offset,
-                               -1, FALSE);
+                               -1, ENC_NA);
                        ses_tree = proto_item_add_subtree(ti, ett_ses);
                        proto_tree_add_uint(ses_tree, hf_ses_type, tvb,
                                offset, 1, type);
index 09a17e79bdee4d9623479e5de8326a2f18699801..17797969af63ff204633c427dc3995ffd725ec80 100644 (file)
@@ -884,7 +884,7 @@ dissect_sflow_245_address_type(tvbuff_t *tvb, proto_tree *tree, gint offset,
         break;
     default:
         /* acferen:  November 10, 2010
-         * 
+         *
          * We should never get here, but if we do we don't know
          * the length for this address type.  Not knowing the
          * length this default case is doomed to failure.  Might
@@ -2672,7 +2672,7 @@ dissect_sflow_245(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
 
 
     /* create display subtree for the protocol */
-    ti = proto_tree_add_item(tree, proto_sflow, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_sflow, tvb, 0, -1, ENC_NA);
 
     sflow_245_tree = proto_item_add_subtree(ti, ett_sflow_245);
 
index baa91f41770de9de592f3ae4192c49d639399fba..1c3e981340b90934cb87d825e611f00de3739182 100644 (file)
@@ -1397,7 +1397,7 @@ dissect_sgsap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        /* Make entry in the Protocol column on summary display */
        col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME);
 
-       item = proto_tree_add_item(tree, proto_sgsap, tvb, 0, -1, FALSE);
+       item = proto_tree_add_item(tree, proto_sgsap, tvb, 0, -1, ENC_NA);
        sgsap_tree = proto_item_add_subtree(item, ett_sgsap);
 
        /* Messge type IE*/
index a60bf31f52d46e4c10dba17b098e49a78d94ac25..6356be2c5aeca7d7953a3a61ec6314c5e7263cdb 100644 (file)
@@ -415,7 +415,7 @@ dissect_sigcomp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
 try_again:
     /* create display subtree for the protocol */
-    ti = proto_tree_add_item(tree, proto_sigcomp, tvb, 0, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_sigcomp, tvb, 0, -1, ENC_NA);
     sigcomp_tree = proto_item_add_subtree(ti, ett_sigcomp);
     i=0;
     end_off_message = FALSE;
@@ -531,7 +531,7 @@ dissect_sigcomp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     top_tree = tree;
 
     /* create display subtree for the protocol */
-    ti = proto_tree_add_item(tree, proto_sigcomp, tvb, 0, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_sigcomp, tvb, 0, -1, ENC_NA);
     sigcomp_tree = proto_item_add_subtree(ti, ett_sigcomp);
 
     return dissect_sigcomp_common(tvb, pinfo, sigcomp_tree);
@@ -2228,7 +2228,7 @@ tvb_raw_text_add(tvbuff_t *tvb, proto_tree *tree)
     int offset, next_offset, linelen;
 
     if(tree) {
-        ti = proto_tree_add_item(tree, proto_raw_sigcomp, tvb, 0, -1, ENC_BIG_ENDIAN);
+        ti = proto_tree_add_item(tree, proto_raw_sigcomp, tvb, 0, -1, ENC_NA);
         raw_tree = proto_item_add_subtree(ti, ett_raw_text);
     }
 
index 85f0b2254d93c8539609f78387f0399aefe466af..3b6bec72786429b5a99bbbba4995095331c064df 100644 (file)
@@ -1223,7 +1223,7 @@ dissect_simulcrypt_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                guint32 offset = 0;
                guint32 msg_length;
 
-               simulcrypt_item = proto_tree_add_item(tree, proto_simulcrypt, tvb, 0, -1, FALSE);
+               simulcrypt_item = proto_tree_add_item(tree, proto_simulcrypt, tvb, 0, -1, ENC_NA);
                simulcrypt_tree = proto_item_add_subtree(simulcrypt_item, ett_simulcrypt);
 
                proto_item_append_text(simulcrypt_item, ", Interface: %s", val_to_str(iftype, interfacenames, "Unknown (0x%02x)"));
index 16d80058cfda7fb752c75455d8ba43a6370a5e02..e37380ba316fd4210082acfe4e965ebd5f31e7fa 100644 (file)
@@ -1879,7 +1879,7 @@ dissect_sip_common(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tr
        }
 
        if (tree) {
-               ts = proto_tree_add_item(tree, proto_sip, tvb, offset, -1, FALSE);
+               ts = proto_tree_add_item(tree, proto_sip, tvb, offset, -1, ENC_NA);
                sip_tree = proto_item_add_subtree(ts, ett_sip);
        }
 
@@ -3103,7 +3103,7 @@ tvb_raw_text_add(tvbuff_t *tvb, int offset, int length, proto_tree *tree)
        char *str;
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_raw_sip, tvb, offset, length, FALSE);
+               ti = proto_tree_add_item(tree, proto_raw_sip, tvb, offset, length, ENC_NA);
                raw_tree = proto_item_add_subtree(ti, ett_raw_text);
        }
 
index 2df8d37939d9ac55d8334e2cae4f6d45f9d5a498..a6452c2d31a6ceefb039a25a8befb60883a80b9d 100644 (file)
@@ -64,7 +64,7 @@ static void dissect_sipfrag(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_append_str(pinfo->cinfo, COL_INFO, ", with Sipfrag");
 
     /* Create sipfrag tree. */
-    ti = proto_tree_add_item(tree, proto_sipfrag, tvb, offset, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_sipfrag, tvb, offset, -1, ENC_NA);
     sipfrag_tree = proto_item_add_subtree(ti, ett_sipfrag);
 
     /* Show the sipfrag message a line at a time. */
index 6d1846cb12ed86780970b014eaed5a5734407e7d..d16b362d1cb49d245d6bc6062bee9c06015a90eb 100644 (file)
@@ -1324,7 +1324,7 @@ dissect_skinny_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_skinny, tvb, offset, hdr_data_length+8, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_skinny, tvb, offset, hdr_data_length+8, ENC_NA);
     skinny_tree = proto_item_add_subtree(ti, ett_skinny);
     proto_tree_add_uint(skinny_tree, hf_skinny_data_length, tvb, offset, 4, hdr_data_length);
     proto_tree_add_uint(skinny_tree, hf_skinny_hdr_version, tvb, offset+4, 4, hdr_version);
index 9d2c4d023ce82ced3cfc7e28952e5c43ff6bcbb0..41052074641e5f4a6bbb39afe86729bbae39d98f 100644 (file)
@@ -260,7 +260,7 @@ dissect_slimp3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
     if (tree) {
 
-       ti = proto_tree_add_item(tree, proto_slimp3, tvb, offset, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_slimp3, tvb, offset, -1, ENC_NA);
        slimp3_tree = proto_item_add_subtree(ti, ett_slimp3);
 
        proto_tree_add_uint(slimp3_tree, hf_slimp3_opcode, tvb,
index 9ced942d5c0eecc1c2e7122987a3021865ae9b0d..014390c50fff20553ecc90fd6c3f46168bf7b1b2 100644 (file)
@@ -1076,7 +1076,7 @@ dissect_slow_protocols(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
             if (tree)
             {
                 pdu_item = proto_tree_add_item(tree, proto_slow, tvb,
-                        0, -1, FALSE);
+                        0, -1, ENC_NA);
                 pdu_tree = proto_item_add_subtree(pdu_item, ett_pdu);
 
                 /* Subtype */
index 89e19cdc7e11a3abd8091cab4c018f5576cb64d1..17591844eac1aed17221f27f4a00c9542ddc520c 100644 (file)
@@ -341,7 +341,7 @@ static void dissect_slsk_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
   if (tree) {
 
 /* create display subtree for the protocol */
-    ti = proto_tree_add_item(tree, proto_slsk, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_slsk, tvb, 0, -1, ENC_NA);
     slsk_tree = proto_item_add_subtree(ti, ett_slsk);
 
 /* Continue adding tree items to process the packet here */
index 1a002224fa13632ba64e7a66df695a6a8e170c2d..cfff9bb59ec138f63593c87705d67b20fd9278aa 100644 (file)
@@ -603,7 +603,7 @@ dissect_mailslot_browse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tr
 
 
        if (parent_tree) {
-               item = proto_tree_add_item(parent_tree, proto_smb_browse, tvb, offset, -1, TRUE);
+               item = proto_tree_add_item(parent_tree, proto_smb_browse, tvb, offset, -1, ENC_NA);
 
                tree = proto_item_add_subtree(item, ett_browse);
        }
@@ -861,7 +861,7 @@ dissect_mailslot_lanman(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tr
 
 
        if (parent_tree) {
-               item = proto_tree_add_item(parent_tree, proto_smb_browse, tvb, offset, -1, TRUE);
+               item = proto_tree_add_item(parent_tree, proto_smb_browse, tvb, offset, -1, ENC_NA);
 
                tree = proto_item_add_subtree(item, ett_browse);
        }
index 0c0e479b7f3c8531703478e41e9c21ce6e24be2b..e2ea25a55e0364f803a57ee71124bfed101e3ef8 100644 (file)
@@ -933,7 +933,7 @@ dissect_smb_logon(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                item = proto_tree_add_item(tree, proto_smb_logon, tvb,
-                       offset, -1, FALSE);
+                       offset, -1, ENC_NA);
 
                smb_logon_tree = proto_item_add_subtree(item, ett_smb_logon);
        }
index 5ba6fc5607cdd2b1873b87fa9bf80c74af8f8745..018194a7e52f5ea97f2cd0718affb894aba683a2 100644 (file)
@@ -147,7 +147,7 @@ dissect_mailslot_smb(tvbuff_t *mshdr_tvb, tvbuff_t *setup_tvb,
        if(mshdr_tvb && setup_tvb){
                if (parent_tree) {
                        item = proto_tree_add_item(parent_tree, proto_smb_msp,
-                                                  mshdr_tvb, 0, -1, FALSE);
+                                                  mshdr_tvb, 0, -1, ENC_NA);
                        tree = proto_item_add_subtree(item, ett_smb_msp);
                }
 
index 59818e69ccf65c52ee2b57ceab36d21139aa2a36..e7f69aa8ac79cb97177c4a950af36b78ac31685f 100644 (file)
@@ -2659,7 +2659,7 @@ dissect_pipe_lanman(tvbuff_t *pd_tvb, tvbuff_t *p_tvb, tvbuff_t *d_tvb,
 
        if (parent_tree) {
                item = proto_tree_add_item(parent_tree, proto_smb_lanman,
-                       pd_tvb, 0, -1, FALSE);
+                       pd_tvb, 0, -1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_lanman);
        }
 
@@ -3559,7 +3559,7 @@ dissect_pipe_smb(tvbuff_t *sp_tvb, tvbuff_t *s_tvb, tvbuff_t *pd_tvb,
                sp_len = 0;
        if (tree) {
                pipe_item = proto_tree_add_item(tree, proto_smb_pipe,
-                   sp_tvb, 0, sp_len, FALSE);
+                   sp_tvb, 0, sp_len, ENC_NA);
                pipe_tree = proto_item_add_subtree(pipe_item, ett_smb_pipe);
        }
        offset = 0;
index 3c62b11a2fc392e4c4ae905941a3bf68420ce133..5f9ab1d83c10737ca8f7deb72bdc159dd5d1fe08 100644 (file)
@@ -17366,7 +17366,7 @@ dissect_smb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
 
        if (parent_tree) {
                item = proto_tree_add_item(parent_tree, proto_smb, tvb, offset,
-                       -1, FALSE);
+                       -1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_smb);
 
                hitem = proto_tree_add_text(tree, tvb, offset, 32,
index 49b457b63a34b7a5a1a10850d81f885b13bf67ca..f71d0f070e7deb049508be6835ad391e455233fb 100644 (file)
@@ -4216,7 +4216,7 @@ dissect_smb2_FSCTL_SET_COMPRESSION(tvbuff_t *tvb, packet_info *pinfo _U_, proto_
        return offset;
 }
 
-static int 
+static int
 dissect_smb2_FSCTL_SET_OBJECT_ID(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset, gboolean data_in)
 {
 
@@ -6263,7 +6263,7 @@ dissect_smb2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolea
 
        if (parent_tree) {
                item = proto_tree_add_item(parent_tree, proto_smb2, tvb, offset,
-                       -1, FALSE);
+                       -1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_smb2);
        }
 
index c22ca7396231bb1d2d76e7bcbdf7ceff9b969445..2790fe4ab5c7d145df967a7c7c8087130921b174 100644 (file)
@@ -2443,7 +2443,7 @@ dissect_smpp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
      * Create display subtree for the protocol
      */
     if (tree) {
-        ti = proto_tree_add_item (tree, proto_smpp, tvb, 0, tvb_length(tvb), FALSE);
+        ti = proto_tree_add_item (tree, proto_smpp, tvb, 0, tvb_length(tvb), ENC_NA);
         smpp_tree = proto_item_add_subtree (ti, ett_smpp);
     }
 
index 0cbc56e903048981d982ccaec7c45e7ce1ad2163..afddef5666eab1d1692bf366f8cbf6ce12992ff5 100644 (file)
@@ -519,7 +519,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 0c021be3afd2a34b8faee99b4efe517342251650..83c37df7434ff53ad45ddb5411452565e4358af9 100644 (file)
@@ -631,7 +631,7 @@ dissect_smtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   }
 
   if (tree) { /* Build the tree info ... */
-    ti = proto_tree_add_item(tree, proto_smtp, tvb, offset, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_smtp, tvb, offset, -1, ENC_NA);
     smtp_tree = proto_item_add_subtree(ti, ett_smtp);
   }
 
index ae1592e6af7b518dd24fd54e43af473f09b3d7a9..5fadf18df0c8a324af3ed1a5a911ac023338d135 100644 (file)
@@ -2572,7 +2572,7 @@ dissect_sna(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                /* Don't bother setting length. We'll set it later after we find
                 * the lengths of TH/RH/RU */
                sna_ti = proto_tree_add_item(tree, proto_sna, tvb, 0, -1,
-                   FALSE);
+                   ENC_NA);
                sna_tree = proto_item_add_subtree(sna_ti, ett_sna);
        }
 
@@ -2607,7 +2607,7 @@ dissect_sna_xid(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                /* Don't bother setting length. We'll set it later after we find
                 * the lengths of XID */
                sna_ti = proto_tree_add_item(tree, proto_sna_xid, tvb, 0, -1,
-                   FALSE);
+                   ENC_NA);
                sna_tree = proto_item_add_subtree(sna_ti, ett_sna);
        }
        dissect_xid(tvb, pinfo, sna_tree, tree);
index 1cea8ba5e6c1d785fc492749cb7c62c8f90b09e1..cf41329c04732fd2f37ffb7174c2ec130b62ed90 100644 (file)
@@ -59,7 +59,7 @@ dissect_snaeth(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                snaeth_ti = proto_tree_add_item(tree, proto_snaeth, tvb, 0, 3,
-                   FALSE);
+                   ENC_NA);
                snaeth_tree = proto_item_add_subtree(snaeth_ti, ett_snaeth);
                proto_tree_add_uint(snaeth_tree, hf_snaeth_len, tvb, 0, 2, len);
                proto_tree_add_text(snaeth_tree, tvb, 2, 1, "Padding");
index ffa16104155abc4e1e5fa1c2fb3de0177b804086..2f1f37c1b833484114279e6a11974ff04f6193a0 100644 (file)
@@ -485,7 +485,7 @@ dissect_sndcp_xid(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
 
        /* create display subtree for the protocol
        */
-       ti = proto_tree_add_item(tree, proto_sndcp_xid, tvb, 0, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_sndcp_xid, tvb, 0, -1, ENC_NA);
        sndcp_tree = proto_item_add_subtree(ti, ett_sndcp_xid);
        l3_param_len = tvb_reported_length(tvb);
 
index b9ce3d25bc9ad5956a3f3b56553c24cc6cac5780..9685407568a74f7a095e106b166e281405a4ff6a 100644 (file)
@@ -214,7 +214,7 @@ dissect_sndcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   /* create display subtree for the protocol
    */
   if (tree) {
-    ti         = proto_tree_add_item(tree, proto_sndcp, tvb, 0, -1, FALSE);
+    ti         = proto_tree_add_item(tree, proto_sndcp, tvb, 0, -1, ENC_NA);
     sndcp_tree = proto_item_add_subtree(ti, ett_sndcp);
   }
 
index bdb22f0a0c00fcd31b9c4a9f227ca4ccda5de297..e437bb1c3d6e7a084fa09031aae363784196700b 100644 (file)
@@ -3005,7 +3005,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 71ffe9d1e828a459ed68ec48cdf10935c64d5c57..070dd842d8ebe99c69218935fdbad00590c2b023 100644 (file)
@@ -103,7 +103,7 @@ dissect_socketcan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if (tree)
        {
                proto_tree *can_tree = NULL;
-               proto_item *ti = proto_tree_add_item(tree, proto_can, tvb, 0, 1 , FALSE );
+               proto_item *ti = proto_tree_add_item(tree, proto_can, tvb, 0, 1 , ENC_NA );
                can_tree = proto_item_add_subtree(ti, ett_can);
 
                proto_tree_add_item(can_tree, hf_can_ident, tvb, 0, 4, ENC_BIG_ENDIAN );
index c943dbbc7e6d2786762562051f1c73eb7f3d256f..9fafd4481bd894d145774f97a884e7f1e1558176 100644 (file)
@@ -1105,7 +1105,7 @@ dissect_socks(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
 
        if (tree) {
                ti = proto_tree_add_item( tree, proto_socks, tvb, offset, -1,
-                       FALSE );
+                       ENC_NA );
 
                socks_tree = proto_item_add_subtree(ti, ett_socks);
 
index e84e10c7c6906c3b11750630ea0b3130d10f6395..3763cd1b73d702b2eefe60c6df3afb98da45ab2b 100644 (file)
@@ -1726,7 +1726,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);
        /*
@@ -1779,7 +1779,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 05c9bafafe8e3a57d663c632b41fc5724a6805d5..fbb77d22f9892f57529d930083f558082f30da40 100644 (file)
@@ -122,7 +122,7 @@ dissect_spp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_INFO, "SPP");
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_spp, tvb, 0, SPP_HEADER_LEN, FALSE);
+               ti = proto_tree_add_item(tree, proto_spp, tvb, 0, SPP_HEADER_LEN, ENC_NA);
                spp_tree = proto_item_add_subtree(ti, ett_spp);
        }
 
index 4b16d804f8f09a1c6864a2b1b10dd2220c916efb..9bc6b754049e9ddf5127e1c11f3634e55cc02d38 100644 (file)
@@ -574,7 +574,7 @@ dissect_sqloracle(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
     if ( tree )
     {
-        ti = proto_tree_add_item(tree, proto_sqloracle, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_sqloracle, tvb, 0, -1, ENC_NA);
         sqloracle_tree = proto_item_add_subtree(ti, ett_sqloracle);
         proto_tree_add_uint(sqloracle_tree, hf_sqloracle_operation, tvb, offset, 1,header_operation);
         if (func_type && header_operation !=NET8_TYPE_ROWTRANSFER)
index 9abc066f3ec5318aca2a379099d3a0421f39e8bc..f1545005fa7e5bba35101c99c4d4580a77bae43e 100644 (file)
@@ -84,13 +84,13 @@ static void dissect_ccsrl(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree
 
     /* add the 'ccsrl' tree to the main tree */
     if (tree) {
-       ccsrl_item = proto_tree_add_item (tree, proto_ccsrl, tvb, 0, -1, FALSE);
+       ccsrl_item = proto_tree_add_item (tree, proto_ccsrl, tvb, 0, -1, ENC_NA);
        ccsrl_tree = proto_item_add_subtree (ccsrl_item, ett_ccsrl);
        proto_tree_add_uint(ccsrl_tree,hf_ccsrl_ls,tvb,0,1,lastseg);
     }
 
     /* XXX add support for reassembly of fragments */
-    
+
     /* XXX currently, we always dissect as H245. It's not necessarily
         that though.
     */
@@ -122,10 +122,10 @@ static void dissect_srp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
     proto_item *hidden_item;
 
     guint8 header = tvb_get_guint8(tvb,0);
-    
+
     /* add the 'srp' tree to the main tree */
     if (tree) {
-       srp_item = proto_tree_add_item (tree, proto_srp, tvb, 0, -1, FALSE);
+       srp_item = proto_tree_add_item (tree, proto_srp, tvb, 0, -1, ENC_NA);
        srp_tree = proto_item_add_subtree (srp_item, ett_srp);
        proto_tree_add_uint(srp_tree,hf_srp_header,tvb,0,1,header);
     }
@@ -154,7 +154,7 @@ static void dissect_srp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
 
        /* crc includes the header */
        calc_crc = crc16_ccitt_tvb(tvb,crc_offset);
-       
+
        if( crc == calc_crc ) {
            proto_tree_add_uint_format(srp_tree, hf_srp_crc, tvb,
                                       crc_offset, 2, crc,
index 569516497c96c281b33be639b1a2403b47ea2981..5af397d1cf13956359e8a4314e7eff007a98f10d 100644 (file)
@@ -833,7 +833,7 @@ dissect_srvloc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         col_add_str(pinfo->cinfo, COL_INFO,
             val_to_str(function, srvloc_functions, "Unknown Function (%u)"));
 
-    ti = proto_tree_add_item(tree, proto_srvloc, tvb, offset, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_srvloc, tvb, offset, -1, ENC_NA);
     srvloc_tree = proto_item_add_subtree(ti, ett_srvloc);
 
     proto_tree_add_uint(srvloc_tree, hf_srvloc_version, tvb, offset, 1,
@@ -1422,7 +1422,7 @@ dissect_srvloc_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_clear(pinfo->cinfo, COL_INFO);
 
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_srvloc, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_srvloc, tvb, 0, -1, ENC_NA);
         srvloc_tree = proto_item_add_subtree(ti, ett_srvloc);
     }
     dissect_srvloc(tvb, pinfo, srvloc_tree);
index 8b84301d3f8d1141c9dfc19f1a770aa8baf7c1ed..97e72ae40ed89d2f7f865029d30104e492c6bf45 100644 (file)
@@ -81,7 +81,7 @@ dissect_sscf_nni(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   reported_length = tvb_reported_length(tvb);  /* frame length */
 
   if (tree) {
-    sscf_item = proto_tree_add_item(tree, proto_sscf, tvb, 0, -1, FALSE);
+    sscf_item = proto_tree_add_item(tree, proto_sscf, tvb, 0, -1, ENC_NA);
     sscf_tree = proto_item_add_subtree(sscf_item, ett_sscf);
   }
 
index e3a96ecc67c6e199790f3928bc2e726ffecf48c6..2c42827dfa928f742fdae8c339699d2396da4bc6 100644 (file)
@@ -334,7 +334,7 @@ dissect_ssh(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                }
        }
        if(tree) {
-                 ti = proto_tree_add_item(tree, proto_ssh, tvb, offset, -1, FALSE);
+                 ti = proto_tree_add_item(tree, proto_ssh, tvb, offset, -1, ENC_NA);
                  ssh_tree = proto_item_add_subtree(ti, ett_ssh);
        }
        number = 0;
index 1165becb477127126ec0eb0ab9c947e2a115ad95..d95f62d9c58502fe11d1e31efd6d2f78dbf1c08d 100644 (file)
@@ -648,7 +648,7 @@ dissect_ssl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     /* Create display subtree for SSL as a whole */
     if (tree)
     {
-        ti = proto_tree_add_item(tree, proto_ssl, tvb, 0, -1, ENC_BIG_ENDIAN);
+        ti = proto_tree_add_item(tree, proto_ssl, tvb, 0, -1, ENC_NA);
         ssl_tree = proto_item_add_subtree(ti, ett_ssl);
     }
     /* iterate through the records in this tvbuff */
index 3324f2a51c51ea2f1328e37a60fb933fb1f9678b..6e6e8b548a1ff01564d8f5c96ee9463a15ec1fd9 100644 (file)
@@ -527,7 +527,7 @@ dissect_starteam(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
       proto_tree *starteamroot_tree;
       proto_item *ti;
 
-      ti = proto_tree_add_item(tree, proto_starteam, tvb, offset, -1, FALSE);
+      ti = proto_tree_add_item(tree, proto_starteam, tvb, offset, -1, ENC_NA);
       if (bRequest) proto_item_append_text(ti, " (%s)",
                                            val_to_str_ext(iCommand, &starteam_opcode_vals_ext, "Unknown (0x%02x)"));
       starteamroot_tree = proto_item_add_subtree(ti, ett_starteam);
index f74878024f7d0f3f6a2bfa25f1f4a3dd2004a4f9..7d4d0cf866eab2fd3cd6a757bc954c389a25272c 100644 (file)
@@ -360,7 +360,7 @@ dissect_stun_message_channel_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree
                ti = proto_tree_add_item(
                        tree, proto_stun, tvb, 0,
                        CHANNEL_DATA_HDR_LEN,
-                       ENC_BIG_ENDIAN);
+                       ENC_NA);
                proto_item_append_text(ti, ", TURN ChannelData Message");
                stun_tree = proto_item_add_subtree(ti, ett_stun);
                proto_tree_add_item(stun_tree, hf_stun_channel, tvb, 0, 2, ENC_BIG_ENDIAN);
@@ -511,7 +511,7 @@ dissect_stun_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_add_fstr(pinfo->cinfo, COL_INFO, "%s %s",
                     msg_method_str, msg_class_str);
 
-       ti = proto_tree_add_item(tree, proto_stun, tvb, 0, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_stun, tvb, 0, -1, ENC_NA);
 
        stun_tree = proto_item_add_subtree(ti, ett_stun);
 
index 5111b2f6482dd9f182626aeb8571a0aac0c1dcdc..8bb49ffc08ad8004b7c721b9c0f9d7f13648b817 100644 (file)
@@ -378,7 +378,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 1fec09f260d80943db43c57282c10ba044e9fcaf..c6686960965f3b77393375331e5191e59f610b6b 100644 (file)
@@ -569,7 +569,7 @@ static void dissect_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                guint16  framesize;
                tvbuff_t *sub_tvb;
 
-               temp_item = proto_tree_add_item(tree, proto_synphasor, tvb, 0, -1, FALSE);
+               temp_item = proto_tree_add_item(tree, proto_synphasor, tvb, 0, -1, ENC_NA);
                proto_item_append_text(temp_item, ", %s", val_to_str(frame_type, typenames,
                                                                     ", invalid packet type"));
 
index 462045ddba1e68a74f0d0869551a88428d824fc7..e15ebc239cacff892a41326786a677473350f727 100644 (file)
@@ -5760,7 +5760,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.
   */
 
@@ -5803,7 +5803,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);
@@ -5829,7 +5829,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);
@@ -7967,7 +7967,7 @@ void proto_register_t124(void) {
   /* suppress some warnings */
   warning_suppressor = dissect_t124_GCCPDU;
   warning_suppressor = dissect_t124_ConnectMCSPDU;
-  
+
 }
 
 void
index b6ba5d11c8f511ba42e991f294b737dfaf3a3d25..9becf81effbf3cc99e81c0ba106d939bd866dfda 100644 (file)
@@ -2178,7 +2178,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);
@@ -2209,7 +2209,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 8fc5115230561fdd505aaa96e3bc3e0e25560e29..a5e6cb2a186440342c817540bf7e2ed7baf8c570 100644 (file)
@@ -95,18 +95,18 @@ dissect_tali_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   char opcode[TALI_OPCODE_LENGTH+1]; /* TALI opcode */
   guint16 length; /* TALI length */
   tvbuff_t *payload_tvb = NULL;
-  
+
   /* Set up structures needed to add the protocol subtree and manage it */
   proto_item *tali_item = NULL;
   proto_tree *tali_tree = NULL;
-  
+
   tvb_memcpy(tvb, (guint8*)opcode, TALI_SYNC_LENGTH, TALI_OPCODE_LENGTH);
   opcode[TALI_OPCODE_LENGTH] = '\0';
   length = tvb_get_letohs(tvb, TALI_SYNC_LENGTH + TALI_OPCODE_LENGTH);
 
   /* Make entries in Protocol column on summary display */
   col_set_str(pinfo->cinfo, COL_PROTOCOL, "TALI");
-  
+
   if (check_col(pinfo->cinfo, COL_INFO)) {
     col_set_str(pinfo->cinfo, COL_INFO, "");
     col_append_fstr(pinfo->cinfo, COL_INFO, "[%s] packet, [%u] bytes in payload", opcode, length);
@@ -114,7 +114,7 @@ dissect_tali_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   if (tree) {
     /* create display subtree for the protocol */
-    tali_item = proto_tree_add_item(tree, proto_tali, tvb, 0, TALI_HEADER_LENGTH, TRUE);
+    tali_item = proto_tree_add_item(tree, proto_tali, tvb, 0, TALI_HEADER_LENGTH, ENC_NA);
     tali_tree = proto_item_add_subtree(tali_item, ett_tali);
     proto_tree_add_string(tali_tree, hf_tali_sync_indicator,   tvb, 0, TALI_SYNC_LENGTH, TALI_SYNC);
     proto_tree_add_string(tali_tree, hf_tali_opcode_indicator, tvb, TALI_SYNC_LENGTH, TALI_OPCODE_LENGTH, opcode);
@@ -196,7 +196,7 @@ proto_register_tali(void)
   proto_tali = proto_register_protocol("Transport Adapter Layer Interface v1.0, RFC 3094", "TALI", "tali");
   register_dissector("tali", dissect_tali, proto_tali);
   tali_handle = create_dissector_handle(dissect_tali, proto_tali);
-  
+
   /* Required function calls to register the header fields and subtrees used */
   proto_register_field_array(proto_tali, hf, array_length(hf));
   proto_register_subtree_array(ett, array_length(ett));
index 64da9673743ebce06e32c47404f9493a7f7c3a6b..874d94a300dc2b60a81d61c34a2b1300f4dd2989 100644 (file)
@@ -305,7 +305,7 @@ dissect_tapa_discover(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_tapa, tvb, offset, -1,
-                       ENC_BIG_ENDIAN);
+                       ENC_NA);
                tapa_discover_tree = proto_item_add_subtree(ti, ett_tapa_discover);
 
                proto_tree_add_item(tapa_discover_tree, hf_tapa_discover_type, tvb, offset, 1,
@@ -364,7 +364,7 @@ dissect_tapa_tunnel(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_tapa, tvb, offset, -1,
-                       ENC_BIG_ENDIAN);
+                       ENC_NA);
                tapa_tunnel_tree = proto_item_add_subtree(ti, ett_tapa_tunnel);
 
                proto_tree_add_item(tapa_tunnel_tree, hf_tapa_tunnel_version, tvb, offset, 1,
index 6231f052d13654d0b46a13700f852aa4db40bc46..c91fd9ecdabe3b4d9858820333d6f7b2ad853cc4 100644 (file)
@@ -3761,7 +3761,7 @@ dissect_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                                                 get_tcp_port(tcph->th_dport), tcph->th_dport);
         }
         else {
-            ti = proto_tree_add_item(tree, proto_tcp, tvb, 0, -1, FALSE);
+            ti = proto_tree_add_item(tree, proto_tcp, tvb, 0, -1, ENC_NA);
         }
         tcp_tree = proto_item_add_subtree(ti, ett_tcp);
         pinfo->tcp_tree=tcp_tree;
@@ -3982,7 +3982,7 @@ dissect_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
             }
         }
     }
-    
+
     if (tcph->th_flags & TH_ACK) {
         if (tree) {
             if (tcp_relative_seq){
index bab7776618626040a6c8e18583f0c1dbfcd3bee5..5e98cf01f3bea90441a9c7a74fe7bbe2ff1edab8 100644 (file)
@@ -2286,7 +2286,7 @@ dissect_netlib_buffer(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     packet_number = tvb_get_guint8(tvb, offset + 6);
 
     /* create display subtree for the protocol */
-    tds_item = proto_tree_add_item(tree, proto_tds, tvb, offset, -1, FALSE);
+    tds_item = proto_tree_add_item(tree, proto_tds, tvb, offset, -1, ENC_NA);
     tds_tree = proto_item_add_subtree(tds_item, ett_tds);
     proto_tree_add_item(tds_tree, hf_tds_type, tvb, offset, 1, ENC_LITTLE_ENDIAN);
     tds_item = proto_tree_add_item(tds_tree, hf_tds_status, tvb, offset + 1, 1, ENC_LITTLE_ENDIAN);
@@ -2436,7 +2436,7 @@ dissect_tds_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
             if (tree) {
                 /* create display subtree for the protocol */
                 tds_item = proto_tree_add_item(tree, proto_tds,
-                                               tvb, offset, -1, FALSE);
+                                               tvb, offset, -1, ENC_NA);
 
                 tds_tree = proto_item_add_subtree(tds_item,
                                                   ett_tds);
index 2e5fd3d20ad1d8deb96bc5896b86e7e0818e7de7..bedb57ee4d0e651a4f8627522f1296c6e6889748 100644 (file)
@@ -757,7 +757,7 @@ static void dissect_ts2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                proto_item *ti = NULL;
                proto_tree *ts2_tree = NULL;
 
-               ti = proto_tree_add_item(tree, proto_ts2, tvb, 0, -1, TRUE);
+               ti = proto_tree_add_item(tree, proto_ts2, tvb, 0, -1, ENC_NA);
                ts2_tree = proto_item_add_subtree(ti, ett_ts2);
 
                proto_tree_add_item(ts2_tree, hf_ts2_class, tvb, 0, 2, ENC_LITTLE_ENDIAN);
index ed93ad4919fdcd56747e28d841a3d1943af49b00..64a4790e897dfcfde338f73741476f20d1f424a1 100644 (file)
@@ -73,14 +73,14 @@ dissect_teimanagement(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     proto_tree *tei_tree = NULL;
     proto_item *tei_ti;
     guint8 message;
-    
+
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "TEI");
     col_clear(pinfo->cinfo, COL_INFO);
-    
+
     if (tree) {
-       tei_ti = proto_tree_add_item(tree, proto_tei, tvb, 0, 5, FALSE);
+       tei_ti = proto_tree_add_item(tree, proto_tei, tvb, 0, 5, ENC_NA);
        tei_tree = proto_item_add_subtree(tei_ti, lm_subtree);
-       
+
        proto_tree_add_item(tei_tree, lm_entity_id, tvb, 0, 1, ENC_BIG_ENDIAN);
        proto_tree_add_item(tei_tree, lm_reference,  tvb, 1, 2, ENC_BIG_ENDIAN);
     }
@@ -102,7 +102,7 @@ proto_register_teimanagement(void)
     static gint *subtree[]={
        &lm_subtree
     };
-    
+
     static hf_register_info hf[] = {
        { &lm_entity_id,
          { "Entity", "tei.entity", FT_UINT8, BASE_HEX, NULL, 0x0,
index 4845d681f9da9927b3f99b725a5c9a667a9586e0..24b27bf69dcb71c2fb50c7f4531e6de3bd560df5 100644 (file)
@@ -74,7 +74,7 @@ dissect_telkonet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        telkonet_tree = NULL;
 
-       ti = proto_tree_add_item(tree, proto_telkonet, tvb, 0, 8, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_telkonet, tvb, 0, 8, ENC_NA);
        telkonet_tree = proto_item_add_subtree(ti, ett_telkonet);
 
        proto_tree_add_item(telkonet_tree, hf_telkonet_type, tvb, 0, 8, ENC_NA);
index df9201b6e8db55ed8dc2cc5f3f167046f6391079..c07e14a41fe8f5a56a29bbba1f1e63110a556b1e 100644 (file)
@@ -1879,7 +1879,7 @@ dissect_telnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        is_tn3270 = find_tn3270_conversation(pinfo);
        is_tn5250 = find_tn5250_conversation(pinfo);
 
-       ti = proto_tree_add_item(tree, proto_telnet, tvb, offset, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_telnet, tvb, offset, -1, ENC_NA);
        telnet_tree = proto_item_add_subtree(ti, ett_telnet);
 
        /*
index 50d5881016fc55f8c42f5bff2860591d8a6410a5..690cdb06ac937d9e1544b8f8c3fe7ca0275059f5 100644 (file)
@@ -67,9 +67,9 @@ typedef struct {
        guint8 th_cidlen;
        guint8 th_authdlen;
        guint8 th_nonce[8];
-       guint8 th_conf; 
+       guint8 th_conf;
 
-       guint8 th_ip_v_hl;  
+       guint8 th_ip_v_hl;
        guint16 th_header;
        guint16 th_orgport;
        guint32 th_iporgaddr;
@@ -109,7 +109,7 @@ parse_teredo_auth(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
                ti = proto_tree_add_item(tree, hf_teredo_auth, tvb, offset-4,
                                                13 + idlen + aulen, ENC_NA);
                tree = proto_item_add_subtree(ti, ett_teredo_auth);
-       
+
                proto_tree_add_item(tree, hf_teredo_auth_idlen, tvb,
                                        offset - 2, 1, ENC_BIG_ENDIAN);
                proto_tree_add_item(tree, hf_teredo_auth_aulen, tvb,
@@ -210,7 +210,7 @@ decode_teredo_ports(tvbuff_t *tvb, int offset, packet_info *pinfo,proto_tree *tr
        if (dissector_try_uint(teredo_dissector_table, th_header, next_tvb, pinfo, tree))
                return;
 
-       call_dissector(data_handle,next_tvb, pinfo, tree);  
+       call_dissector(data_handle,next_tvb, pinfo, tree);
 }
 
 static void
@@ -232,7 +232,7 @@ dissect_teredo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_clear(pinfo->cinfo, COL_INFO);
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_teredo, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_teredo, tvb, 0, -1, ENC_NA);
                teredo_tree = proto_item_add_subtree(ti, ett_teredo);
        }
        else
@@ -256,7 +256,7 @@ dissect_teredo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        teredoh->th_ip_v_hl = tvb_get_guint8(tvb, offset);
 
        decode_teredo_ports(tvb, offset, pinfo, tree, teredoh->th_header /* , teredoh->th_orgport*/);
-       tap_queue_packet(teredo_tap, pinfo, teredoh);    
+       tap_queue_packet(teredo_tap, pinfo, teredoh);
 }
 
 
@@ -304,7 +304,7 @@ dissect_teredo_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                val = tvb_get_ntohs(tvb, offset);
        }
 
-       /* 
+       /*
         * We have to check upper-layer packet a little bit otherwise we will
         * match -almost- *ANY* packet.
         * These checks are in the Teredo specification by the way.
@@ -340,7 +340,7 @@ proto_register_teredo(void)
                { "Teredo Authentication header", "teredo.auth",
                  FT_NONE, BASE_NONE, NULL, 0x0,
                  NULL, HFILL }},
-  
+
                { &hf_teredo_auth_idlen,
                { "Client identifier length", "teredo.auth.idlen",
                  FT_UINT8, BASE_DEC, NULL, 0x0,
index a72e366cbc16bbb5146817c4ab8dbfad5a268099..b8d600777d9658d3bd8145cc11e862b52268a762 100644 (file)
@@ -69,7 +69,7 @@ dissect_text_lines(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        guint8          word[6];
        int length = tvb_length(tvb);
 
-       /* Check if this is actually xml 
+       /* Check if this is actually xml
         * If there is less than 38 characters this is not XML
         * <?xml version="1.0" encoding="UTF-8"?>
         */
@@ -101,7 +101,7 @@ dissect_text_lines(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_text_lines,
-                               tvb, 0, -1, FALSE);
+                               tvb, 0, -1, ENC_NA);
                if (data_name)
                        proto_item_append_text(ti, ": %s", data_name);
                subtree = proto_item_add_subtree(ti, ett_text_lines);
index d5af2a572d62f8226094d6909bade6a4e125daf1..6ab3aa8c04df6fd3c5d9f8f618b6abf1e620e013 100644 (file)
@@ -182,7 +182,7 @@ static void dissect_tftp_message(tftp_conv_info_t *tftp_info,
                    val_to_str(opcode, tftp_opcode_vals, "Unknown (0x%04x)"));
 
        if (tree) {
-         ti = proto_tree_add_item(tree, proto_tftp, tvb, offset, -1, ENC_BIG_ENDIAN);
+         ti = proto_tree_add_item(tree, proto_tftp, tvb, offset, -1, ENC_NA);
          tftp_tree = proto_item_add_subtree(ti, ett_tftp);
 
          if (tftp_info->source_file) {
index 4b37164f151088667b42803c2c26c4971a951956..f9a35daf58aabf857695e829f78b6eeee6e71be4 100644 (file)
@@ -64,7 +64,7 @@ dissect_time(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   if (tree) {
 
-    ti = proto_tree_add_item(tree, proto_time, tvb, 0, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_time, tvb, 0, -1, ENC_NA);
     time_tree = proto_item_add_subtree(ti, ett_time);
 
     proto_tree_add_text(time_tree, tvb, 0, 0,
index d1cbe94037d153209531874c7ca9d20cd95eeb84..312a038fda94ae2aae162b88774734e621b05f2d 100644 (file)
@@ -2127,7 +2127,7 @@ dissect_tipc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                        break;
        }
 
-       ti = proto_tree_add_item(tree, proto_tipc, tipc_tvb, offset, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_tipc, tipc_tvb, offset, -1, ENC_NA);
        tipc_tree = proto_item_add_subtree(ti, ett_tipc);
        if (version == TIPCv2) {
                dissect_tipc_v2(tipc_tvb, tipc_tree, pinfo, offset, user, msg_size, hdr_size, datatype_hdr);
index a7a5e42851aae380e98aeb7c0e66d7ad6ce9df24..12f1e8f76c4cf11f6f58cb63b38a57300aa222a5 100644 (file)
  * Copyright 1998 Gerald Combs
  *
  * Copied from README.developer
- * 
+ *
  * 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.
@@ -87,7 +87,7 @@ dissect_tivoconnect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
     /* Make entries in Protocol column and Info column on summary display */
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "TiVoConnect");
-    
+
     /* make a distinction between UDP and TCP packets */
     proto_name = pinfo->ipproto == IP_PROTO_TCP ?
                     "Discovery Connection" :
@@ -105,7 +105,7 @@ dissect_tivoconnect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         gchar * field = NULL;
 
         /* create display subtree for the protocol */
-        ti = proto_tree_add_item(tree, proto_tivoconnect, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_tivoconnect, tvb, 0, -1, ENC_NA);
 
         tivoconnect_tree = proto_item_add_subtree(ti, ett_tivoconnect);
 
@@ -170,7 +170,7 @@ dissect_tivoconnect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         /* Adjust "Info" column and top of tree into more useful info */
         if (packet_machine) {
             proto_item_append_text(ti, ", %s", packet_machine);
-            if (check_col(pinfo->cinfo, COL_INFO)) 
+            if (check_col(pinfo->cinfo, COL_INFO))
                 col_add_fstr(pinfo->cinfo, COL_INFO, "%s %s",
                                             proto_name, packet_machine);
         }
@@ -179,12 +179,12 @@ dissect_tivoconnect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                         packet_machine ? " (%s)" : ", ID:%s",
                         packet_identity);
             if (packet_machine) {
-                if (check_col(pinfo->cinfo, COL_INFO)) 
+                if (check_col(pinfo->cinfo, COL_INFO))
                     col_add_fstr(pinfo->cinfo, COL_INFO, "%s %s (%s)",
                                  proto_name, packet_machine, packet_identity);
             }
             else {
-                if (check_col(pinfo->cinfo, COL_INFO)) 
+                if (check_col(pinfo->cinfo, COL_INFO))
                     col_add_fstr(pinfo->cinfo, COL_INFO, "%s ID:%s",
                                  proto_name, packet_identity);
             }
@@ -206,36 +206,36 @@ dissect_tivoconnect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
 void
 proto_register_tivoconnect(void)
-{                 
+{
     /* Setup list of header fields  See Section 1.6.1 for details*/
     static hf_register_info hf[] = {
         { &hf_tivoconnect_flavor,
             { "Flavor",           "tivoconnect.flavor",
-            FT_STRINGZ, BASE_NONE, NULL, 0,          
+            FT_STRINGZ, BASE_NONE, NULL, 0,
             "Protocol Flavor supported by the originator", HFILL }},
         { &hf_tivoconnect_method,
             { "Method",           "tivoconnect.method",
-            FT_STRINGZ, BASE_NONE, NULL, 0,          
+            FT_STRINGZ, BASE_NONE, NULL, 0,
             "Packet was delivered via UDP(broadcast) or TCP(connected)", HFILL }},
         { &hf_tivoconnect_platform,
             { "Platform",           "tivoconnect.platform",
-            FT_STRINGZ, BASE_NONE, NULL, 0,          
+            FT_STRINGZ, BASE_NONE, NULL, 0,
             "System platform, either tcd(TiVo) or pc(Computer)", HFILL }},
         { &hf_tivoconnect_machine,
             { "Machine",           "tivoconnect.machine",
-            FT_STRINGZ, BASE_NONE, NULL, 0,          
+            FT_STRINGZ, BASE_NONE, NULL, 0,
             "Human-readable system name", HFILL }},
         { &hf_tivoconnect_identity,
             { "Identity",           "tivoconnect.identity",
-            FT_STRINGZ, BASE_NONE, NULL, 0,          
+            FT_STRINGZ, BASE_NONE, NULL, 0,
             "Unique serial number for the system", HFILL }},
         { &hf_tivoconnect_services,
             { "Services",           "tivoconnect.services",
-            FT_STRINGZ, BASE_NONE, NULL, 0,          
+            FT_STRINGZ, BASE_NONE, NULL, 0,
             "List of available services on the system", HFILL }},
         { &hf_tivoconnect_version,
             { "Version",           "tivoconnect.version",
-            FT_STRINGZ, BASE_NONE, NULL, 0,          
+            FT_STRINGZ, BASE_NONE, NULL, 0,
             "System software version", HFILL }},
     };
 
index 4317af4064f525aa2fae82fb128e5cfa49c86c83..2c95104316fb93251427087819861dafdec6dc14 100644 (file)
@@ -511,7 +511,7 @@ static void dissect_tnef(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   tvbuff_t    *next_tvb;
 
   if(tree){
-    item = proto_tree_add_item(tree, proto_tnef, tvb, 0, -1, FALSE);
+    item = proto_tree_add_item(tree, proto_tnef, tvb, 0, -1, ENC_NA);
     tree = proto_item_add_subtree(item, ett_tnef);
   }
 
index dd96940307205ff58f8d0543040a7fc088eb8850..b7f336112b952d3ac0263d80db17604ac60acee9 100644 (file)
@@ -894,7 +894,7 @@ dissect_tns_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree)
        {
-               ti = proto_tree_add_item(tree, proto_tns, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_tns, tvb, 0, -1, ENC_NA);
                tns_tree = proto_item_add_subtree(ti, ett_tns);
 
                if (pinfo->match_uint == pinfo->destport)
index 6f97872aa7b1d87b406718881876789252db5fff..451341894aa1693b11a30ac1a2681f7ba476cb8c 100644 (file)
@@ -248,7 +248,7 @@ dissect_asciitpkt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
             col_set_str(pinfo->cinfo, COL_INFO, "Continuation");
             if (tree) {
                 ti = proto_tree_add_item(tree, proto_tpkt, tvb,
-                    offset, -1, FALSE);
+                    offset, -1, ENC_NA);
                 tpkt_tree = proto_item_add_subtree(ti, ett_tpkt);
                 proto_item_set_text(ti, "TPKT");
 
@@ -296,7 +296,7 @@ dissect_asciitpkt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
 
         if (tree) {
             ti = proto_tree_add_item(tree, proto_tpkt, tvb,
-                offset, 8, FALSE);
+                offset, 8, ENC_NA);
             tpkt_tree = proto_item_add_subtree(ti, ett_tpkt);
             proto_item_set_text(ti, "TPKT");
 
@@ -406,7 +406,7 @@ dissect_tpkt_encap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
                        col_set_str(pinfo->cinfo, COL_INFO, "Continuation");
                        if (tree) {
                                ti = proto_tree_add_item(tree, proto_tpkt, tvb,
-                                   offset, -1, FALSE);
+                                   offset, -1, ENC_NA);
                                tpkt_tree = proto_item_add_subtree(ti, ett_tpkt);
                                proto_item_set_text(ti, "TPKT");
 
@@ -492,7 +492,7 @@ dissect_tpkt_encap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
 
                if (tree) {
                        ti = proto_tree_add_item(tree, proto_tpkt, tvb,
-                           offset, 4, FALSE);
+                           offset, 4, ENC_NA);
                        tpkt_tree = proto_item_add_subtree(ti, ett_tpkt);
                        proto_item_set_text(ti, "TPKT");
 
index 50f88573cb43f701b28f6409927f226faddcbe7f..f3d88fa72a328efdb4e74f8498c741df86e07dea 100644 (file)
@@ -284,7 +284,7 @@ static void dissect_tpncp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
     }
 
     if (tree) {
-        item = proto_tree_add_item(tree, proto_tpncp, tvb, 0, -1, FALSE);
+        item = proto_tree_add_item(tree, proto_tpncp, tvb, 0, -1, ENC_NA);
         tpncp_tree = proto_item_add_subtree(item, ett_tpncp);
 
         proto_tree_add_uint(tpncp_tree, hf_tpncp_version, tvb, 0, 2, ver);
index 3648e7df02246ab744d6447f9d5e1bcb03e97e97..04a29bfebed4f2ae440c8dc620b92a7f4f60e7d9 100644 (file)
@@ -495,7 +495,7 @@ dissect_tr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        /* protocol analysis tree */
        if (tree) {
                /* Create Token-Ring Tree */
-               ti = proto_tree_add_item(tree, proto_tr, tr_tvb, 0, TR_MIN_HEADER_LEN + actual_rif_bytes, FALSE);
+               ti = proto_tree_add_item(tree, proto_tr, tr_tvb, 0, TR_MIN_HEADER_LEN + actual_rif_bytes, ENC_NA);
                tr_tree = proto_item_add_subtree(ti, ett_token_ring);
 
                /* Create the Access Control bitfield tree */
index cfa247a498fa112a37b02e521fc5d51f39b8d386..0ea57a88fb93c7cc5c564095404543cd215e1682 100644 (file)
@@ -48,7 +48,7 @@ static int hf_trill_ingress_nick = -1 ;
 /* TODO For now we will just add all the options into a byte field.
    Later this should be parsed out into a sub-tree with all the option
    details. */
-static int hf_trill_options= -1 ; 
+static int hf_trill_options= -1 ;
 
 static dissector_handle_t eth_dissector ;
 
@@ -106,7 +106,7 @@ dissect_trill( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
 
   op_len = tvb_get_bits( tvb, 5, 5, FALSE ) * TRILL_OP_LENGTH_BYTE_UNITS ;
   if (tree) {
-    ti = proto_tree_add_item( tree, proto_trill, tvb, 0, -1, FALSE ) ;
+    ti = proto_tree_add_item( tree, proto_trill, tvb, 0, -1, ENC_NA ) ;
     trill_tree = proto_item_add_subtree( ti, ett_trill ) ;
 
     /* Parse the bit fields, i.e. V, R, M, Op-Length, Hop Count. */
@@ -117,7 +117,7 @@ dissect_trill( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
     proto_tree_add_item( trill_tree, hf_trill_multi_dst, tvb, offset,
       TRILL_BIT_FIELDS_LEN, ENC_BIG_ENDIAN ) ;
     proto_tree_add_item( trill_tree, hf_trill_op_len, tvb, offset,
-      TRILL_BIT_FIELDS_LEN, ENC_BIG_ENDIAN ) ;  
+      TRILL_BIT_FIELDS_LEN, ENC_BIG_ENDIAN ) ;
     proto_tree_add_item( trill_tree, hf_trill_hop_cnt, tvb, offset,
       TRILL_BIT_FIELDS_LEN, ENC_BIG_ENDIAN ) ;
 
@@ -133,7 +133,7 @@ dissect_trill( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
 
     /* Parse the options field. */
     offset += TRILL_NICKNAME_LEN  ;
-    if( op_len != 0 ) {    
+    if( op_len != 0 ) {
       proto_tree_add_item( trill_tree, hf_trill_options, tvb,
         offset, op_len, ENC_NA ) ;
     }
@@ -149,7 +149,7 @@ dissect_trill( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
 /* Register the protocol with Wireshark */
 void
 proto_register_trill(void)
-{  
+{
   static hf_register_info hf[] = {
     { &hf_trill_version,
       { "Version", "trill.version",
index 698b20f63731bdc44ef0509e305cc1bfd9e81686..e73a15e78e2fc653753653ce7af307a25c924eed 100644 (file)
@@ -299,7 +299,7 @@ dissect_trmac(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                mv_length = tvb_get_ntohs(tvb, 0);
-               ti = proto_tree_add_item(tree, proto_trmac, tvb, 0, mv_length, FALSE);
+               ti = proto_tree_add_item(tree, proto_trmac, tvb, 0, mv_length, ENC_NA);
                mac_tree = proto_item_add_subtree(ti, ett_tr_mac);
 
                proto_tree_add_uint(mac_tree, hf_trmac_mv, tvb, 3, 1, mv_val);
index 628ca31f4b64667dc1f6721dadd638c623c373b6..2c51d909fce5ee7f0d7e7c19d5e536b965a3eac7 100644 (file)
@@ -126,7 +126,7 @@ dissect_tsp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                tsp_item = proto_tree_add_item(tree, proto_tsp,
-                               tvb, 0, -1, FALSE);
+                               tvb, 0, -1, ENC_NA);
                if (tsp_item)
                        tsp_tree = proto_item_add_subtree(tsp_item, ett_tsp);
        }
index fb44e6a72bcb867c833829ba8f9123bae78d4e70..9a15357630d5de005427b9407729bf4a3db13882 100644 (file)
@@ -57,7 +57,7 @@ static int hf_tte_pcf_tc = -1;
 /* Initialize the subtree pointers */
 static gint ett_tte_pcf = -1;
 
-static const value_string pcf_type_str_vals[] = 
+static const value_string pcf_type_str_vals[] =
     { {2, "integration frame"}
     , {4, "coldstart frame"}
     , {8, "coldstart ack frame"}
@@ -100,7 +100,7 @@ dissect_tte_pcf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
         /* create display subtree for the protocol */
         tte_pcf_root_item = proto_tree_add_item(tree, proto_tte_pcf, tvb, 0,
-            TTE_PCF_LENGTH, FALSE);
+            TTE_PCF_LENGTH, ENC_NA);
 
         tte_pcf_tree = proto_item_add_subtree(tte_pcf_root_item, ett_tte_pcf);
 
index 2bec53e7568523717bc157cf32bc8e1dd29d8ee3..17075e9f9458d208674d8d3a2d410bfd6cd3d789 100644 (file)
@@ -93,7 +93,7 @@ dissect_tte(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
         /* create display subtree for the protocol */
         tte_root_item = proto_tree_add_item(tree, proto_tte, tvb, 0,
-            TTE_HEADER_LENGTH, FALSE);
+            TTE_HEADER_LENGTH, ENC_NA);
 
         tte_tree = proto_item_add_subtree(tte_root_item, ett_tte);
 
index 38ffd9de57cdf11e1b05efada36f1b3d8e1b9e36..ffc7c73b9fd4bf6ba4d12d86a929b165a9adb519 100644 (file)
@@ -145,7 +145,7 @@ static void dissect_turbocell(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tre
     }
 
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_turbocell, tvb, 0, 20, FALSE);
+        ti = proto_tree_add_item(tree, proto_turbocell, tvb, 0, 20, ENC_NA);
 
         turbocell_tree = proto_item_add_subtree(ti, ett_turbocell);
 
index d49f5442360993ab33f15665edefc72aab66c24e..3e4f8709cf6ce42061b79e66ea156e6762e3cbd3 100644 (file)
@@ -54,14 +54,14 @@ static int proto_turnchannel = -1;
 static int hf_turnchannel_id = -1;
 static int hf_turnchannel_len = -1;
 
-#define TURNCHANNEL_HDR_LEN    ((guint)4)      
+#define TURNCHANNEL_HDR_LEN    ((guint)4)
 
 
 /* Initialize the subtree pointers */
 static gint ett_turnchannel = -1;
 
 static int
-dissect_turnchannel_message(tvbuff_t *tvb, packet_info *pinfo, 
+dissect_turnchannel_message(tvbuff_t *tvb, packet_info *pinfo,
                            proto_tree *tree)
 {
        guint   len;
@@ -93,29 +93,29 @@ dissect_turnchannel_message(tvbuff_t *tvb, packet_info *pinfo,
        if (check_col(pinfo->cinfo, COL_INFO))
          col_add_fstr(pinfo->cinfo, COL_INFO, "Channel Id 0x%x", channel_id);
 
-       ti = proto_tree_add_item(tree, proto_turnchannel, tvb, 0, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_turnchannel, tvb, 0, -1, ENC_NA);
 
        turnchannel_tree = proto_item_add_subtree(ti, ett_turnchannel);
 
        proto_tree_add_uint(turnchannel_tree, hf_turnchannel_id, tvb, 0, 2, channel_id);
        proto_tree_add_uint(turnchannel_tree, hf_turnchannel_len, tvb, 2, 2, data_len);
 
-       
+
        if (len > TURNCHANNEL_HDR_LEN) {
          tvbuff_t *next_tvb;
          guint reported_len, new_len;
 
          new_len = tvb_length_remaining(tvb, TURNCHANNEL_HDR_LEN);
-         reported_len = tvb_reported_length_remaining(tvb, 
+         reported_len = tvb_reported_length_remaining(tvb,
                                                       TURNCHANNEL_HDR_LEN);
          if (data_len < reported_len) {
            reported_len = data_len;
          }
-         next_tvb = tvb_new_subset(tvb, TURNCHANNEL_HDR_LEN, new_len, 
+         next_tvb = tvb_new_subset(tvb, TURNCHANNEL_HDR_LEN, new_len,
                                    reported_len);
 
 
-         if (!dissector_try_heuristic(heur_subdissector_list, 
+         if (!dissector_try_heuristic(heur_subdissector_list,
                                       next_tvb, pinfo, tree)) {
            call_dissector(data_handle,next_tvb, pinfo, tree);
          }
index 4bcd15d6fc4a52f6c016e40d874246eaf901261d..fe989919c333c5ecff958ac3efe7144c7f47c7ba 100644 (file)
@@ -124,7 +124,7 @@ dissect_tuxedo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
                        if (tree)
                        {
-                               ti = proto_tree_add_item(tree, proto_tuxedo, tvb, 0, -1, FALSE);
+                               ti = proto_tree_add_item(tree, proto_tuxedo, tvb, 0, -1, ENC_NA);
                                tuxedoroot_tree = proto_item_add_subtree(ti, ett_tuxedo);
 
                                proto_tree_add_item(tuxedoroot_tree, hf_tuxedo_magic, tvb, 0, 4, ENC_BIG_ENDIAN);
@@ -137,7 +137,7 @@ dissect_tuxedo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                        col_set_str(pinfo->cinfo, COL_INFO, "Continuation");
                        if (tree)
                        {
-                               proto_tree_add_item(tree, proto_tuxedo, tvb, 0, -1, FALSE);
+                               proto_tree_add_item(tree, proto_tuxedo, tvb, 0, -1, ENC_NA);
                        }
                }
        }
index 910aa07035028e994b8baacd9301a94249bcbfd1..f50c2cde2715e7757b774a25df5b864a599a4092 100644 (file)
@@ -286,7 +286,7 @@ static int DissectUA(tvbuff_t *pTvb, packet_info *pInfo, proto_tree *pTree)
     if(pTree)
     {
         /* root element "UA Protocol, ..." */
-        pRootUA = proto_tree_add_item(pTree, proto_ua, pTvb, 0, -1, FALSE);
+        pRootUA = proto_tree_add_item(pTree, proto_ua, pTvb, 0, -1, ENC_NA);
         pSubTreeUA = proto_item_add_subtree(pRootUA, ett_ua);
 
         /* NOE items */
index cf12257189df76792ac5b4bd982b278b6985ede8..dd5356f7eb3b2007ee6999ff994e118dba65a86a 100644 (file)
@@ -97,7 +97,7 @@ static int dissect_uaudp(tvbuff_t *pTvb, packet_info *pInfo, proto_tree *pTree)
     col_set_str(pInfo->cinfo, COL_INFO, val_to_str_const(u8Opcode, szUaOpcode, "Unknown"));
 
     /* opcode "UA/UDP Protocol, ..." */
-    pUAUDP = proto_tree_add_item(pTree, proto_uaudp, pTvb, 0, -1, ENC_BIG_ENDIAN);
+    pUAUDP = proto_tree_add_item(pTree, proto_uaudp, pTvb, 0, -1, ENC_NA);
     proto_item_append_text(pUAUDP, ", %s (%d)", val_to_str_const(u8Opcode, szUaOpcode, "Unknown"), u8Opcode);
 
     pHeaderSubTree = proto_item_add_subtree(pUAUDP, ett_uaudp_header);
index a16a16a6d7a2a3a7e85384402ca63c961ea7b301..739c8c1966942866e73c9a4989b496ff4cb4e053 100644 (file)
@@ -1826,7 +1826,7 @@ dissect_ucp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     if (tree) {
 
         /* create display subtree for the protocol */
-        ti = proto_tree_add_item(tree, proto_ucp, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_ucp, tvb, 0, -1, ENC_NA);
 
         ucp_tree = proto_item_add_subtree(ti, ett_ucp);
         /*
index 68bedc501d15845cbfc57b4d0cb688de8def068a..bb08f43c3def8e67b8d8fba6f2aef26642e4c7a0 100644 (file)
@@ -116,7 +116,7 @@ dissect_udld(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        proto_item *flags_ti;
        proto_tree *flags_tree;
 
-        ti = proto_tree_add_item(tree, proto_udld, tvb, offset, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_udld, tvb, offset, -1, ENC_NA);
        udld_tree = proto_item_add_subtree(ti, ett_udld);
 
        /* UDLD header */
@@ -196,7 +196,7 @@ dissect_udld(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                                    "Port ID: %s  ",
                                    tvb_format_stringzpad(tvb, offset + 4, length - 4));
 
-               if (tree) { 
+               if (tree) {
                    tlvi = proto_tree_add_text(udld_tree, tvb, offset,
                            real_length, "Port ID: %s",
                            tvb_format_text(tvb, offset + 4, real_length - 4));
index db965192ab2346d25bf94aebfc047f5ea43a1799..6f4495b31ad311749178bedf24098af7d2a78cd2 100644 (file)
@@ -1694,7 +1694,7 @@ dissect_uma(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "UMA");
        col_clear(pinfo->cinfo, COL_INFO);
 
-       ti = proto_tree_add_item(tree, proto_uma, tvb, 0, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_uma, tvb, 0, -1, ENC_NA);
        uma_tree = proto_item_add_subtree(ti, ett_uma);
 
 /* add an item to the subtree, see section 1.6 for more information */
@@ -1772,7 +1772,7 @@ dissect_uma_urlc_udp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "UMA");
        col_clear(pinfo->cinfo, COL_INFO);
 
-       ti = proto_tree_add_item(tree, proto_uma, tvb, 0, -1, FALSE);
+       ti = proto_tree_add_item(tree, proto_uma, tvb, 0, -1, ENC_NA);
        uma_tree = proto_item_add_subtree(ti, ett_uma);
 
        octet = tvb_get_guint8(tvb,offset);
index d6a412c6e44e2adf66faa98835e36841a19d6201..230ed444e0c4c83f817802970a91769ca8ddbbd7 100644 (file)
@@ -386,7 +386,7 @@ static const value_string dch_control_frame_type_vals[] = {
 #define COMMON_TIMING_ADJUSTMENT                       2
 #define COMMON_DL_SYNCHRONISATION                      3
 #define COMMON_UL_SYNCHRONISATION                      4
-                                                       
+
 #define COMMON_DL_NODE_SYNCHRONISATION                 6
 #define COMMON_UL_NODE_SYNCHRONISATION                 7
 #define COMMON_DYNAMIC_PUSCH_ASSIGNMENT                8
@@ -1394,7 +1394,7 @@ static void dissect_rach_channel_info(tvbuff_t *tvb, packet_info *pinfo, proto_t
                                     ext_rx_sync_ul_timing_deviation_present = TRUE;
                                     proto_tree_add_item(new_ie_flags_tree, hf_fp_rach_ext_rx_sync_ul_timing_deviation_present,
                                                         tvb, offset, 1, ENC_BIG_ENDIAN);
-        
+
                                     break;
                                 default:
                                     /* Not defined */
@@ -1466,7 +1466,7 @@ static void dissect_rach_channel_info(tvbuff_t *tvb, packet_info *pinfo, proto_t
                     case Division_TDD_768:
                         bits_to_extend = 2;
                         break;
-    
+
                     default:
                         /* TODO: report unexpected division type */
                         bits_to_extend = 1;
@@ -2569,7 +2569,7 @@ static void dissect_e_dch_channel_info(tvbuff_t *tvb, packet_info *pinfo, proto_
                     maces_tree = proto_item_add_subtree(ti, ett_fp_edch_maces);
                 }
                 for (macd_idx = 0; macd_idx < subframes[n].number_of_mac_d_pdus[i]; macd_idx++) {
+
                     if (preferences_call_mac_dissectors) {
                         tvbuff_t *next_tvb;
                         pinfo->fd->subnum = macd_idx; /* set subframe number to current TB */
@@ -2802,7 +2802,7 @@ static void dissect_e_dch_t2_or_common_channel_info(tvbuff_t *tvb, packet_info *
 
             proto_item *macis_pdu_ti;
             proto_tree *macis_pdu_tree;
-    
+
             /* Add subframe header subtree */
             macis_pdu_ti = proto_tree_add_string_format(tree, hf_fp_edch_subframe_header, tvb, offset, 0,
                                                         "", "MAC-is PDU (SFN=%u PDU %u)",
@@ -3199,7 +3199,7 @@ static gboolean heur_dissect_fp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t
     if (!p_fp_info->srcport || !p_fp_info->destport) {
         p_fp_info->srcport = pinfo->srcport;
         p_fp_info->destport = pinfo->destport;
-    }    
+    }
 
     /* discriminate 'lower' UDP layer from 'user data' UDP layer
      * (i.e. if an FP over UDP packet contains a user UDP packet */
@@ -3226,7 +3226,7 @@ void dissect_fp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "FP");
 
     /* Create fp tree. */
-    ti = proto_tree_add_item(tree, proto_fp, tvb, offset, -1, ENC_BIG_ENDIAN);
+    ti = proto_tree_add_item(tree, proto_fp, tvb, offset, -1, ENC_NA);
     fp_tree = proto_item_add_subtree(ti, ett_fp);
 
     top_level_tree = tree;
index 5c719f78ba15aa78ea8565c13fe06c1706d78444..1c350dd72759f17314d3ffa693c976b919ec6aef 100644 (file)
@@ -166,10 +166,10 @@ static void dissect_mac_fdd_pch(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t
        proto_item *channel_type;
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "MAC");
        col_set_str(pinfo->cinfo, COL_INFO, "PCCH");
-               
+
        if (tree) {
                proto_item *ti;
-               ti = proto_tree_add_item(tree, proto_umts_mac, tvb, 0, -1, ENC_BIG_ENDIAN);
+               ti = proto_tree_add_item(tree, proto_umts_mac, tvb, 0, -1, ENC_NA);
                pch_tree = proto_item_add_subtree(ti, ett_mac_pch);
                proto_item_append_text(ti, " (PCCH)");
                channel_type = proto_tree_add_uint(pch_tree, hf_mac_channel, tvb, 0, 0, MAC_PCCH);
@@ -199,7 +199,7 @@ static void dissect_mac_fdd_rach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *
        col_add_str(pinfo->cinfo, COL_INFO,
                val_to_str(tctf, rach_fdd_tctf_vals, "Unknown TCTF"));
 
-       ti = proto_tree_add_item(tree, proto_umts_mac, tvb, 0, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_umts_mac, tvb, 0, -1, ENC_NA);
        rach_tree = proto_item_add_subtree(ti, ett_mac_rach);
 
        macinf = p_get_proto_data(pinfo->fd, proto_umts_mac);
@@ -280,7 +280,7 @@ static void dissect_mac_fdd_fach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *
        col_add_str(pinfo->cinfo, COL_INFO,
                val_to_str(tctf, fach_fdd_tctf_vals, "Unknown TCTF"));
 
-       ti = proto_tree_add_item(tree, proto_umts_mac, tvb, 0, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_umts_mac, tvb, 0, -1, ENC_NA);
        fach_tree = proto_item_add_subtree(ti, ett_mac_fach);
 
        macinf = p_get_proto_data(pinfo->fd, proto_umts_mac);
@@ -360,7 +360,7 @@ static void dissect_mac_fdd_dch(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t
 
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "MAC");
 
-       ti = proto_tree_add_item(tree, proto_umts_mac, tvb, 0, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_umts_mac, tvb, 0, -1, ENC_NA);
        dch_tree = proto_item_add_subtree(ti, ett_mac_dch);
 
        macinf = p_get_proto_data(pinfo->fd, proto_umts_mac);
@@ -415,10 +415,10 @@ static void dissect_mac_fdd_edch(tvbuff_t *tvb, packet_info *pinfo, proto_tree *
 
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "MAC");
 
-       ti = proto_tree_add_item(tree, proto_umts_mac, tvb, 0, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_umts_mac, tvb, 0, -1, ENC_NA);
        edch_tree = proto_item_add_subtree(ti, ett_mac_edch);
 
-       fpinf = p_get_proto_data(pinfo->fd, proto_fp); 
+       fpinf = p_get_proto_data(pinfo->fd, proto_fp);
        macinf = p_get_proto_data(pinfo->fd, proto_umts_mac);
        pos = fpinf->cur_tb;
        if (!macinf) {
@@ -468,7 +468,7 @@ static void dissect_mac_fdd_hsdsch(tvbuff_t *tvb, packet_info *pinfo, proto_tree
 
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "MAC");
 
-       ti = proto_tree_add_item(tree, proto_umts_mac, tvb, 0, -1, ENC_BIG_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_umts_mac, tvb, 0, -1, ENC_NA);
        hsdsch_tree = proto_item_add_subtree(ti, ett_mac_hsdsch);
 
        fpinf = p_get_proto_data(pinfo->fd, proto_fp);
index 8d73bf3d570287939627d0b1dcde63a3ba999ef1..3f4316aa8b78b77f40e894ad08bb7bf7a2db2d13 100644 (file)
@@ -92,7 +92,7 @@ static void dissect_user(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree) {
         }
     }
 
-    item = proto_tree_add_item(tree,proto_user_encap,tvb,0,-1,FALSE);
+    item = proto_tree_add_item(tree,proto_user_encap,tvb,0,-1,ENC_NA);
     if (!encap) {
         char* msg = ep_strdup_printf("User encapsulation not handled: DLT=%d, "
                                      "check your Preferences->Protocols->DLT_USER",
index 2fbf95ffe5d359c4ce1655f529d29d36565b5e16..1fb1f03679a573613b3c0991b8e8cbefd563b4b3 100644 (file)
@@ -2136,7 +2136,7 @@ dissect_v52_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "V52");
 
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_v52, tvb, offset, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_v52, tvb, offset, -1, ENC_NA);
         v52_tree = proto_item_add_subtree(ti, ett_v52);
 
         dissect_v52_protocol_discriminator(tvb, offset, v52_tree);
index ecfc89f37943bc2a9539ed6a22976024269f2a3d..9c0423fdf3393339c1e514905f962f6dd8cc6d8b 100644 (file)
@@ -1421,7 +1421,7 @@ dissect_v5ua(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_clear(pinfo->cinfo, COL_INFO);
        if (tree) {
 /* create display subtree for the protocol */
-               ti = proto_tree_add_item(tree, proto_v5ua, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_v5ua, tvb, 0, -1, ENC_NA);
                v5ua_tree = proto_item_add_subtree(ti, ett_v5ua);
        }
        else {
index c0e7d11bb375d9e40b27255ba140a3b3085f0112..674c497c85ded67071931dca2ee6742a3bbf71e6 100644 (file)
@@ -62,7 +62,7 @@ static void dissect_vicp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
    col_clear(pinfo->cinfo, COL_INFO);
 
-   ti = proto_tree_add_item(tree, proto_vicp, tvb, 0, -1, FALSE);
+   ti = proto_tree_add_item(tree, proto_vicp, tvb, 0, -1, ENC_NA);
    vicp_tree = proto_item_add_subtree(ti, ett_vicp);
    cursor = ptvcursor_new(vicp_tree, tvb, 0);
 
index e889f03e8a6deb26e424f941afc6d1fa32024375..529af356e1d316f23d8233fe3a09383f606bd6f5 100644 (file)
@@ -213,7 +213,7 @@ dissect_vines_frp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_vines_frp, tvb, 0, 2,
-                   ENC_BIG_ENDIAN);
+                   ENC_NA);
                vines_frp_tree = proto_item_add_subtree(ti, ett_vines_frp);
 
                vines_frp_ctrl = tvb_get_guint8(tvb, 0);
@@ -315,7 +315,7 @@ dissect_vines_llc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                      "Unknown protocol 0x%02x"));
        if (tree) {
                ti = proto_tree_add_item(tree, proto_vines_llc, tvb, 0, 1,
-                   ENC_BIG_ENDIAN);
+                   ENC_NA);
                vines_llc_tree = proto_item_add_subtree(ti, ett_vines_llc);
 
                proto_tree_add_text(vines_llc_tree, tvb, 0, 1,
@@ -429,7 +429,7 @@ dissect_vines_ip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if (tree) {
                ti = proto_tree_add_item(tree, proto_vines_ip, tvb,
                                         offset, viph.vip_pktlen,
-                                        ENC_BIG_ENDIAN);
+                                        ENC_NA);
                vip_tree = proto_item_add_subtree(ti, ett_vines_ip);
                proto_tree_add_text(vip_tree, tvb, offset,      2,
                                    "Packet checksum: 0x%04x",
@@ -539,7 +539,7 @@ dissect_vines_echo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_vines_echo, tvb, 0, -1,
-                   ENC_BIG_ENDIAN);
+                   ENC_NA);
                vines_echo_tree = proto_item_add_subtree(ti, ett_vines_echo);
                proto_tree_add_text(vines_echo_tree, tvb, 0, -1, "Data");
        }
@@ -665,7 +665,7 @@ dissect_vines_ipc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_vines_ipc, tvb, offset,
-                   sizeof(viph), ENC_BIG_ENDIAN);
+                   sizeof(viph), ENC_NA);
                vipc_tree = proto_item_add_subtree(ti, ett_vines_ipc);
                proto_tree_add_text(vipc_tree, tvb, offset,      2,
                                    "Source port: 0x%04x", viph.vipc_sport);
@@ -836,7 +836,7 @@ dissect_vines_spp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_vines_spp, tvb, offset,
-                   sizeof(viph), ENC_BIG_ENDIAN);
+                   sizeof(viph), ENC_NA);
                vspp_tree = proto_item_add_subtree(ti, ett_vines_spp);
                proto_tree_add_text(vspp_tree, tvb, offset,      2,
                                    "Source port: 0x%04x", viph.vspp_sport);
@@ -960,7 +960,7 @@ dissect_vines_arp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_vines_arp, tvb, 0, -1,
-                   ENC_BIG_ENDIAN);
+                   ENC_NA);
                vines_arp_tree = proto_item_add_subtree(ti, ett_vines_arp);
        }
 
@@ -1138,7 +1138,7 @@ dissect_vines_rtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_vines_rtp, tvb, 0, -1,
-                   ENC_BIG_ENDIAN);
+                   ENC_NA);
                vines_rtp_tree = proto_item_add_subtree(ti, ett_vines_rtp);
        }
 
@@ -1643,7 +1643,7 @@ dissect_vines_icp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_vines_icp, tvb, 0, -1,
-                   ENC_BIG_ENDIAN);
+                   ENC_NA);
                vines_icp_tree = proto_item_add_subtree(ti, ett_vines_icp);
        }
 
index 1b2d7f6ba6df337b9dcc61082b3a5d660a3805a0..7ffb38cc50d1fa748f5eb0b8faf125ff6409fe04 100644 (file)
@@ -111,7 +111,7 @@ dissect_vlan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   vlan_tree = NULL;
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_vlan, tvb, 0, 4, FALSE);
+    ti = proto_tree_add_item(tree, proto_vlan, tvb, 0, 4, ENC_NA);
 
     if (vlan_summary_in_tree) {
         proto_item_append_text(ti, ", PRI: %u, CFI: %u, ID: %u",
index 017b62f69c85de43b2fa11a59dfabd20f5463839..14fdb9aa9ee8affb5fd2ed82b822f38034bdbdeb 100644 (file)
@@ -90,7 +90,7 @@ dissect_vmlab(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "VMLAB");
     col_clear(pinfo->cinfo, COL_INFO);
 
-    ti = proto_tree_add_item(tree, proto_vmlab, tvb, 0, 24, FALSE);
+    ti = proto_tree_add_item(tree, proto_vmlab, tvb, 0, 24, ENC_NA);
     vmlab_tree = proto_item_add_subtree(ti, ett_vmlab);
 
     /* Flags*/
index 2fdb10a34deb1f010b8e17216929d9044a7cf4ef..f2a0da8c04e1258f510b179f9b68675a498310bf 100644 (file)
@@ -654,7 +654,7 @@ dissect_vnc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        /* create display subtree for the protocol */
        if(tree) {
-               ti = proto_tree_add_item(tree, proto_vnc, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_vnc, tvb, 0, -1, ENC_NA);
                vnc_tree = proto_item_add_subtree(ti, ett_vnc);
        }
 
index bdfc458387c1dc96119af07a795bdeed7cec5d51..9eb60dfdf26abbf97a4b35ab0dd71ac680be99a9 100644 (file)
@@ -113,7 +113,7 @@ dissect_vrrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                guint16 cksum, computed_cksum;
                guint8 auth_buf[VRRP_AUTH_DATA_LEN + 1];
 
-               ti = proto_tree_add_item(tree, proto_vrrp, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_vrrp, tvb, 0, -1, ENC_NA);
                vrrp_tree = proto_item_add_subtree(ti, ett_vrrp);
 
                tv = proto_tree_add_uint_format(vrrp_tree, hf_vrrp_ver_type,
index cadb8136ce2b930437d2bd5ff71720151672b931..912f716716881a48db1aa8b702bfc2af46d358fa 100644 (file)
@@ -144,7 +144,7 @@ dissect_vtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_vtp, tvb, offset, -1,
-                   FALSE);
+                   ENC_NA);
                vtp_tree = proto_item_add_subtree(ti, ett_vtp);
 
                proto_tree_add_item(vtp_tree, hf_vtp_version, tvb, offset, 1,
index 9d121ad0c14781e030717fe432688d13c5f849ec..0b7d7df242099e3a9acec1833cafe675a0b3854d 100644 (file)
@@ -1029,7 +1029,7 @@ dissect_vuze_dht(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   /* clear the info column */
   col_clear( pinfo->cinfo, COL_INFO);
 
-  ti = proto_tree_add_item(tree, proto_vuze_dht, tvb, 0, -1, FALSE);
+  ti = proto_tree_add_item(tree, proto_vuze_dht, tvb, 0, -1, ENC_NA);
   sub_tree = proto_item_add_subtree(ti, ett_vuze_dht);
 
   /*
index be875db6a11cea52516ff702c3d0c90e6336b364..400d8b96be41d28684f23bfd9e44dff8c1570f9c 100644 (file)
@@ -915,7 +915,7 @@ dissect_wassp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        if (tree) {
                /* Header dissection */
                ti = proto_tree_add_item(tree, proto_wassp, tvb, offset, -1,
-                   ENC_BIG_ENDIAN);
+                   ENC_NA);
                wassp_tree = proto_item_add_subtree(ti, ett_wassp);
 
                proto_tree_add_item(wassp_tree, hf_wassp_version, tvb, offset, 1,
index fdee29eb977dcaf3eecba922bd185d2741b19720..12f51637cc5dcd5187f679494820dea495f02668 100644 (file)
@@ -6745,7 +6745,7 @@ dissect_wbxml_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
                /* Add summary to INFO column if it is enabled */
                if (check_col(pinfo->cinfo, COL_INFO))
                        col_append_fstr(pinfo->cinfo, COL_INFO, " (Unknown WBXML version 0x%02x)", version);
-               ti = proto_tree_add_item (tree, proto_wbxml, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item (tree, proto_wbxml, tvb, 0, -1, ENC_NA);
                proto_item_append_text(ti, ", Unknown version 0x%02x", version);
                return;
        }
@@ -6805,7 +6805,7 @@ dissect_wbxml_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
                col_append_fstr(pinfo->cinfo, COL_INFO, " (WBXML %s)", summary);
 
        /* create display subtree for the protocol */
-       ti = proto_tree_add_item (tree, proto_wbxml, tvb, 0, -1, FALSE);
+       ti = proto_tree_add_item (tree, proto_wbxml, tvb, 0, -1, ENC_NA);
        proto_item_append_text(ti, ", Version: %s", summary);
        g_free(summary);
        /*
index 815b454f57a979558c6bd90fdeaba7c1451572b8..a22438f71d6b0e443184df12a68dc4ee8257ba49 100644 (file)
@@ -221,7 +221,7 @@ dissect_wccp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if(tree != NULL) {
                wccp_tree_item = proto_tree_add_item(tree, proto_wccp, tvb, offset,
-                   -1, FALSE);
+                   -1, ENC_NA);
                wccp_tree = proto_item_add_subtree(wccp_tree_item, ett_wccp);
 
                proto_tree_add_uint(wccp_tree, hf_wccp_message_type, tvb, offset,
index 727bf9eeab6a8ba701beee5c5473969dcf223d3c..46534e0271d6f18e01d220a35fe9c44bc262746f 100644 (file)
@@ -326,7 +326,7 @@ static void dissect_wcp( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
        }
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_wcp, tvb, 0, wcp_header_len, FALSE);
+               ti = proto_tree_add_item(tree, proto_wcp, tvb, 0, wcp_header_len, ENC_NA);
 
                wcp_tree = proto_item_add_subtree(ti, ett_wcp);
 
index a94e6dfdee6667a984ebbd4d898b68919d58d2e0..861f4cb4544f77e2f4bbde8c64978b7d68872c05 100644 (file)
@@ -65,7 +65,7 @@ dissect_wfleet_hdlc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   cmd = tvb_get_guint8(tvb, 1);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_wfleet_hdlc, tvb, 0, 2, FALSE);
+    ti = proto_tree_add_item(tree, proto_wfleet_hdlc, tvb, 0, 2, ENC_NA);
     fh_tree = proto_item_add_subtree(ti, ett_wfleet_hdlc);
 
     proto_tree_add_uint(fh_tree, hf_wfleet_hdlc_addr, tvb, 0, 1, addr);
@@ -74,7 +74,7 @@ dissect_wfleet_hdlc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   }
 
   /*
-   * Build a tvb of the piece past the first two bytes and call the 
+   * Build a tvb of the piece past the first two bytes and call the
    * ethernet dissector
    */
 
@@ -115,7 +115,7 @@ proto_reg_handoff_wfleet_hdlc(void)
   wfleet_hdlc_handle = find_dissector("wfleet_hdlc");
   dissector_add_uint("wtap_encap", WTAP_ENCAP_WFLEET_HDLC, wfleet_hdlc_handle);
 
-  /* 
+  /*
    * Find the eth dissector and save a ref to it
    */
 
index a04b7a231d6d7b8b0b4cec9904444e7f070557ef..a93e3570d89bbf47791a2800d1dab64d247117aa 100644 (file)
@@ -106,7 +106,7 @@ dissect_who(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                who_ti = proto_tree_add_item(tree, proto_who, tvb, offset, -1,
-                   FALSE);
+                   ENC_NA);
                who_tree = proto_item_add_subtree(who_ti, ett_who);
        }
 
index 814d0e6dd9064ab18874edea1531cbdc75fcc632..6f4d272d2de3a0d8cdb0f2602966a7a9d64367b7 100644 (file)
@@ -646,7 +646,7 @@ dissect_winsrepl_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
        col_clear(pinfo->cinfo, COL_INFO);
 
        if (parent_tree) {
-               winsrepl_item = proto_tree_add_item(parent_tree, proto_winsrepl, tvb, offset, -1, FALSE);
+               winsrepl_item = proto_tree_add_item(parent_tree, proto_winsrepl, tvb, offset, -1, ENC_NA);
                winsrepl_tree = proto_item_add_subtree(winsrepl_item, ett_winsrepl);
        }
 
index 625c93c1c9a8ac5a62b13f91176dff09909e9e6f..2022878abb7ae60a40f04960aeed209322d06d3c 100644 (file)
@@ -801,7 +801,7 @@ dissect_wlccp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                /* create display subtree for the protocol */
-               ti = proto_tree_add_item(tree, proto_wlccp, tvb, 0, -1, ENC_BIG_ENDIAN);
+               ti = proto_tree_add_item(tree, proto_wlccp, tvb, 0, -1, ENC_NA);
                wlccp_tree = proto_item_add_subtree(ti, ett_wlccp);
 
                proto_tree_add_item(wlccp_tree, hf_wlccp_version,
index 1392c70ea2fcd522b103f282e35c3c5f889cdb43..54aef37072985504f5dbdc76179be3c6a227daac 100644 (file)
@@ -245,7 +245,7 @@ dissect_wol(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
    offset to the end of the packet. */
 
 /* create display subtree for the protocol */
-        ti = proto_tree_add_item(tree, proto_wol, tvb, 0, len, FALSE);
+        ti = proto_tree_add_item(tree, proto_wol, tvb, 0, len, ENC_NA);
         proto_item_append_text(ti, ", MAC: %s (%s)", get_ether_name(mac),
             ether_to_str(mac));
         if ( passwd )
index 0b2b8ffa2ad4d0b04c7da057567bc144a4146e41..3751c4765f861b01e0740d7f2c9828b30bc5b055 100644 (file)
@@ -216,7 +216,7 @@ dissect_wow_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        if(tree) {
-               ti = proto_tree_add_item(tree, proto_wow, tvb, 0, -1, TRUE);
+               ti = proto_tree_add_item(tree, proto_wow, tvb, 0, -1, ENC_NA);
                wow_tree = proto_item_add_subtree(ti, ett_wow);
 
                proto_tree_add_item(wow_tree, hf_wow_command, tvb, offset, 1,
index 999698b8c541b211bd2b8d30da064531bcfbd6a8..95db12ca2d6a0ed687f6652c04e3eafc398ebb7b 100644 (file)
@@ -71,7 +71,7 @@ dissect_wsmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
         if (tree) {
 
                 /* create display subtree for the protocol */
-                ti = proto_tree_add_item(tree, proto_wsmp, tvb, 0, -1, FALSE);
+                ti = proto_tree_add_item(tree, proto_wsmp, tvb, 0, -1, ENC_NA);
 
                 wsmp_tree = proto_item_add_subtree(ti, ett_wsmp);
 
@@ -104,20 +104,20 @@ dissect_wsmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 proto_tree_add_item(wsmp_tree,
                                 hf_wsmp_acmlength, tvb, offset, 1, ENC_BIG_ENDIAN);
                 offset ++;
-                               
+
                 proto_tree_add_item(wsmp_tree, hf_wsmp_acm, tvb, offset, acmlength, ENC_ASCII|ENC_NA);
                 offset +=acmlength;
 
                 wsmlength = tvb_get_letohs( tvb, offset);
                 proto_tree_add_item(wsmp_tree,
                                 hf_wsmp_wsmlength, tvb, offset, 2, ENC_LITTLE_ENDIAN);
-                offset += 2; 
-                
+                offset += 2;
+
                 wsmdata_item = proto_tree_add_text (wsmp_tree, tvb, offset, wsmlength,
                                                     "Wave Short Message");
                 wsmdata_tree = proto_item_add_subtree(wsmdata_item, ett_wsmdata);
 
-                /* TODO: Branch on the application context and display accordingly 
+                /* TODO: Branch on the application context and display accordingly
                  * Default call the data dissector
                  */
                 wsmdata_tvb = tvb_new_subset(tvb, offset,wsmlength, wsmlength);
@@ -135,42 +135,42 @@ dissect_wsmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
 void
 proto_register_wsmp(void)
-{                 
+{
         /* Setup list of header fields  See Section 1.6.1 for details*/
         static hf_register_info hf[] = {
                 { &hf_wsmp_version,
-                        { "Version",           "wsmp.version", FT_UINT8, BASE_DEC, NULL, 0x0,          
+                        { "Version",           "wsmp.version", FT_UINT8, BASE_DEC, NULL, 0x0,
                                 NULL, HFILL }},
 
                 { &hf_wsmp_security,
-                        { "Security",           "wsmp.security", FT_UINT8, BASE_DEC, NULL, 0x0,          
+                        { "Security",           "wsmp.security", FT_UINT8, BASE_DEC, NULL, 0x0,
                                 NULL, HFILL }},
 
                 { &hf_wsmp_channel,
-                        { "Channel", "wsmp.channel", FT_UINT8, BASE_DEC, NULL, 0x0,          
+                        { "Channel", "wsmp.channel", FT_UINT8, BASE_DEC, NULL, 0x0,
                                 NULL, HFILL }},
 
                 { &hf_wsmp_rate,
-                        { "Rate", "wsmp.rate", FT_UINT8, BASE_DEC, NULL, 0x0,          
+                        { "Rate", "wsmp.rate", FT_UINT8, BASE_DEC, NULL, 0x0,
                                 NULL, HFILL }},
 
                 { &hf_wsmp_txpower,
-                        { "Transmit power", "wsmp.txpower", FT_UINT8, BASE_DEC, NULL, 0x0,          
+                        { "Transmit power", "wsmp.txpower", FT_UINT8, BASE_DEC, NULL, 0x0,
                                 NULL, HFILL }},
 
                 { &hf_wsmp_appclass,
-                        { "App class", "wsmp.appclass", FT_UINT8, BASE_DEC, NULL, 0x0,          
+                        { "App class", "wsmp.appclass", FT_UINT8, BASE_DEC, NULL, 0x0,
                                 NULL, HFILL }},
 
                 { &hf_wsmp_acmlength,
-                        { "Acm Length", "wsmp.acmlength", FT_UINT8, BASE_DEC, NULL, 0x0,     
+                        { "Acm Length", "wsmp.acmlength", FT_UINT8, BASE_DEC, NULL, 0x0,
                                 NULL, HFILL }},
 
                 { &hf_wsmp_acm,
                         { "Application Context Data", "wsmp.acm", FT_STRING,
                                 BASE_NONE, NULL, 0x0, "Acm", HFILL }},
                 { &hf_wsmp_wsmlength,
-                        { "WSM Length", "wsmp.wsmlength", FT_UINT16, BASE_DEC, NULL, 0x0,     
+                        { "WSM Length", "wsmp.wsmlength", FT_UINT16, BASE_DEC, NULL, 0x0,
                                 NULL, HFILL }},
         };
 
@@ -180,7 +180,7 @@ proto_register_wsmp(void)
                                &ett_wsmdata,
         };
 
-        /* Register the protocol name and description */ 
+        /* Register the protocol name and description */
         proto_wsmp = proto_register_protocol("Wave Short Message Protocol(IEEE P1609.3)",
                         "WSMP", "wsmp");
 
@@ -191,7 +191,7 @@ proto_register_wsmp(void)
 }
 
 /* If this dissector uses sub-dissector registration add a registration routine.
-   This exact format is required because a script is used to find these routines 
+   This exact format is required because a script is used to find these routines
    and create the code that calls these routines.
  */
 
index b2b759945740bf0861bec863cabbaaa3a3c15ba3..d16fbc6e77bf6424d76f1d639db7b56fa5625244 100644 (file)
@@ -352,7 +352,7 @@ dissect_wtls(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_wtls, tvb, offset_wtls,
-                                -1, ENC_LITTLE_ENDIAN);
+                                -1, ENC_NA);
                wtls_tree = proto_item_add_subtree(ti, ett_wtls);
 
                for (offset_wtls=0; offset_wtls < (tvb_reported_length(tvb)-1);) {
@@ -456,7 +456,7 @@ add_session_id(proto_tree *tree, int hf, int hf_str, tvbuff_t *tvb, int offset)
        guint count;
        guint i;
        guint64 session_id;
-       header_field_info *hfinfo; 
+       header_field_info *hfinfo;
 
        count = tvb_get_guint8(tvb, offset);
        if (count == 0)
index 8354897d2c5104980df61488b2a80d5b2f16589b..7370f63cbfd376cae22b5e49600447f6ae39df66 100644 (file)
@@ -350,7 +350,7 @@ dissect_wtp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
            ti = proto_tree_add_item(tree, proto_wtp,
-                                   tvb, offCur, 1, ENC_LITTLE_ENDIAN);
+                                   tvb, offCur, 1, ENC_NA);
            wtp_tree = proto_item_add_subtree(ti, ett_wtp_sub_pdu_tree);
                proto_item_append_text(ti, ", PDU concatenation");
        }
@@ -467,7 +467,7 @@ dissect_wtp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        fprintf(stderr, "dissect_wtp: cbHeader = %d\n", cbHeader);
 #endif
        /* NOTE - Length will be set when we process the TPI */
-       ti = proto_tree_add_item(tree, proto_wtp, tvb, offCur, 0, ENC_LITTLE_ENDIAN);
+       ti = proto_tree_add_item(tree, proto_wtp, tvb, offCur, 0, ENC_NA);
 #ifdef DEBUG
        fprintf(stderr, "dissect_wtp: (7) Returned from proto_tree_add_item\n");
 #endif
index 18f61c4513e01f571ec9fac2e685d15d992edffd..218fee2bcad04c1ee1d87855f6da5bad93bb5ee2 100644 (file)
@@ -2930,7 +2930,7 @@ static void dissect_x11_initial_conn(tvbuff_t *tvb, packet_info *pinfo,
       guint16 auth_proto_name_length, auth_proto_data_length;
       gint left;
 
-      ti = proto_tree_add_item(tree, proto_x11, tvb, 0, -1, FALSE);
+      ti = proto_tree_add_item(tree, proto_x11, tvb, 0, -1, ENC_NA);
       proto_item_append_text(ti, ", Request, Initial connection request");
       t = proto_item_add_subtree(ti, ett_x11);
 
@@ -2980,7 +2980,7 @@ static void dissect_x11_initial_reply(tvbuff_t *tvb, packet_info *pinfo,
       proto_item *ti;
       proto_tree *t;
 
-      ti = proto_tree_add_item(tree, proto_x11, tvb, 0, -1, FALSE);
+      ti = proto_tree_add_item(tree, proto_x11, tvb, 0, -1, ENC_NA);
       proto_item_append_text(ti, ", Reply, Initial connection reply");
       t = proto_item_add_subtree(ti, ett_x11);
 
@@ -3183,7 +3183,7 @@ static void dissect_x11_request(tvbuff_t *tvb, packet_info *pinfo,
 
       next_offset = offset + length;
 
-      ti = proto_tree_add_item(tree, proto_x11, tvb, 0, -1, FALSE);
+      ti = proto_tree_add_item(tree, proto_x11, tvb, 0, -1, ENC_NA);
       t = proto_item_add_subtree(ti, ett_x11);
 
       if (PACKET_IS_NEW(pinfo))
@@ -4382,7 +4382,7 @@ static void dissect_x11_requests(tvbuff_t *tvb, packet_info *pinfo,
                    * Give up.
                    */
                   ti = proto_tree_add_item(tree, proto_x11, tvb, offset, -1,
-                  FALSE);
+                  ENC_NA);
                   t = proto_item_add_subtree(ti, ett_x11);
                   proto_tree_add_text(t, tvb, offset, -1,
                   "Bogus request length (0)");
@@ -4798,7 +4798,7 @@ dissect_x11_reply(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
       proto_item *ti;
       proto_tree *t;
 
-      ti = proto_tree_add_item(tree, proto_x11, tvb, 0, -1, FALSE);
+      ti = proto_tree_add_item(tree, proto_x11, tvb, 0, -1, ENC_NA);
       t = proto_item_add_subtree(ti, ett_x11);
 
 
@@ -5196,7 +5196,7 @@ dissect_x11_event(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
       proto_item *ti;
       proto_tree *t;
 
-      ti = proto_tree_add_item(tree, proto_x11, tvb, 0, -1, FALSE);
+      ti = proto_tree_add_item(tree, proto_x11, tvb, 0, -1, ENC_NA);
       t = proto_item_add_subtree(ti, ett_x11);
 
       eventcode = tvb_get_guint8(tvb, 0);
@@ -5541,7 +5541,7 @@ dissect_x11_error(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
       proto_item *ti;
       proto_tree *t;
 
-      ti = proto_tree_add_item(tree, proto_x11, tvb, 0, -1, FALSE);
+      ti = proto_tree_add_item(tree, proto_x11, tvb, 0, -1, ENC_NA);
       t = proto_item_add_subtree(ti, ett_x11);
 
       CARD8(error);
index e890ae983c9411ae04f1a0a334030b120df07384..3fc8f58a42b2e83cf3ce679d95cb915d214bffad 100644 (file)
@@ -193,7 +193,7 @@ dissect_x224(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
 
        length = tvb_get_guint8(tvb, offset);
        if (parent_tree) {
-               item = proto_tree_add_item(parent_tree, proto_x224, tvb, offset, length+1, FALSE);
+               item = proto_tree_add_item(parent_tree, proto_x224, tvb, offset, length+1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_x224);
        }
 
index ba10494c901803e6dd5696fd050afe2013f5d4f2..cdd4c176bfa8ed57a64893150c6dc742fe9ba509 100644 (file)
@@ -1676,7 +1676,7 @@ dissect_x25_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
     }
 
     if (tree) {
-        ti = proto_tree_add_item(tree, proto_x25, tvb, 0, x25_pkt_len, FALSE);
+        ti = proto_tree_add_item(tree, proto_x25, tvb, 0, x25_pkt_len, ENC_NA);
         x25_tree = proto_item_add_subtree(ti, ett_x25);
         ti = proto_tree_add_item(x25_tree, hf_x25_gfi, tvb, 0, 2, ENC_BIG_ENDIAN);
         gfi_tree = proto_item_add_subtree(ti, ett_x25_gfi);
@@ -2320,7 +2320,7 @@ dissect_x25_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
                     */
                    frag_key |= 0x10000;
                }
-               fd_head = fragment_add_seq_next(tvb, localoffset, 
+               fd_head = fragment_add_seq_next(tvb, localoffset,
                                                pinfo, frag_key,
                                                x25_segment_table,
                                                x25_reassembled_table,
@@ -2338,14 +2338,14 @@ dissect_x25_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
                        proto_item *frag_tree_item;
 
                        /* This is the last packet */
-                       next_tvb = tvb_new_child_real_data(tvb, fd_head->data, 
+                       next_tvb = tvb_new_child_real_data(tvb, fd_head->data,
                                                     fd_head->len,
                                                     fd_head->len);
                        add_new_data_source(pinfo, next_tvb, "Reassembled X.25");
                         if (x25_tree) {
-                           show_fragment_seq_tree(fd_head, 
-                                                  &x25_frag_items, 
-                                                  x25_tree, 
+                           show_fragment_seq_tree(fd_head,
+                                                  &x25_frag_items,
+                                                  x25_tree,
                                                   pinfo, next_tvb, &frag_tree_item);
                         }
                    }
@@ -2622,35 +2622,35 @@ proto_register_x25(void)
        { &hf_x25_segment_overlap,
          { "Fragment overlap", "x25.fragment.overlap", FT_BOOLEAN, BASE_NONE, NULL, 0x0,
            "Fragment overlaps with other fragments", HFILL }},
-       
+
        { &hf_x25_segment_overlap_conflict,
          { "Conflicting data in fragment overlap",     "x25.fragment.overlap.conflict", FT_BOOLEAN, BASE_NONE, NULL, 0x0,
            "Overlapping fragments contained conflicting data", HFILL }},
-       
+
        { &hf_x25_segment_multiple_tails,
          { "Multiple tail fragments found",    "x25.fragment.multipletails", FT_BOOLEAN, BASE_NONE, NULL, 0x0,
            "Several tails were found when defragmenting the packet", HFILL }},
-       
+
        { &hf_x25_segment_too_long_segment,
          { "Fragment too long",        "x25.fragment.toolongfragment", FT_BOOLEAN, BASE_NONE, NULL, 0x0,
            "Fragment contained data past end of packet", HFILL }},
-       
+
        { &hf_x25_segment_error,
          { "Defragmentation error", "x25.fragment.error", FT_FRAMENUM, BASE_NONE, NULL, 0x0,
            "Defragmentation error due to illegal fragments", HFILL }},
-       
+
        { &hf_x25_segment_count,
          { "Fragment count", "x25.fragment.count", FT_UINT32, BASE_DEC, NULL, 0x0,
            NULL, HFILL }},
-       
+
        { &hf_x25_reassembled_length,
          { "Reassembled X.25 length", "x25.reassembled.length", FT_UINT32, BASE_DEC, NULL, 0x0,
            "The total length of the reassembled payload", HFILL }},
-       
+
        { &hf_x25_segment,
          { "X.25 Fragment", "x25.fragment", FT_FRAMENUM, BASE_NONE, NULL, 0x0,
            "X25 Fragment", HFILL }},
-       
+
        { &hf_x25_segments,
          { "X.25 Fragments", "x25.fragments", FT_NONE, BASE_NONE, NULL, 0x0,
            NULL, HFILL }},
index f355438f670fdfb4115f96227289d93b713ecc24..2a05778f1f333a5223865dd18e236cc2fa05b0c7 100644 (file)
@@ -93,7 +93,7 @@ dissect_x29(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_x29, tvb, offset, -1,
-                   FALSE);
+                   ENC_NA);
                x29_tree = proto_item_add_subtree(ti, ett_x29);
        }
 
index 9145836d33ef957b12f42dbd37f461b0fd0fe873..e07f2ebc8b6def142270ed6709100d5c7435772a 100644 (file)
@@ -32,7 +32,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)
  */
 
@@ -4611,9 +4611,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);
 }
 
@@ -5843,7 +5843,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 0330d67ae54640443a0cdcbbd9443a81ff0d9411..9bdc381ea41caaa1a8dbf220d137efdaeba15f79 100644 (file)
@@ -132,7 +132,7 @@ static void dissect_xcsl_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
     /* Create display tree for the xcsl protocol */
     if (tree) {
         proto_item  *xcsl_item;
-        xcsl_item = proto_tree_add_item(tree, proto_xcsl, tvb, offset, -1, FALSE);
+        xcsl_item = proto_tree_add_item(tree, proto_xcsl, tvb, offset, -1, ENC_NA);
         xcsl_tree = proto_item_add_subtree(xcsl_item, ett_xcsl);
     }
 
index 17f3a6e0af5014b66ee90e1a63b5fba007f79c43..8238b4157b1f5d1c6757876f60916a179d91e371 100644 (file)
@@ -229,7 +229,7 @@ static void dissect_xdmcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   col_clear(pinfo->cinfo, COL_INFO);
 
   if (tree) {
-    ti = proto_tree_add_item(tree, proto_xdmcp, tvb, offset, -1, FALSE);
+    ti = proto_tree_add_item(tree, proto_xdmcp, tvb, offset, -1, ENC_NA);
     xdmcp_tree = proto_item_add_subtree(ti, ett_xdmcp);
 
     proto_tree_add_uint(xdmcp_tree, hf_xdmcp_version, tvb,
index d9b1d3c9de4ecad87faee6c87bcda8747ca0677a..f4d1fe30fdeb18200bd3517544ccdac03f0ac091 100644 (file)
@@ -930,7 +930,7 @@ dissect_xmcp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     }
   }
 
-  ti = proto_tree_add_item(tree, proto_xmcp, tvb, 0, -1, FALSE);
+  ti = proto_tree_add_item(tree, proto_xmcp, tvb, 0, -1, ENC_NA);
   xmcp_tree = proto_item_add_subtree(ti, ett_xmcp);
 
   ti = proto_tree_add_bitmask(xmcp_tree, tvb, 0, hf_xmcp_type, ett_xmcp_type,
index 6e410887d6d6ceac703f8a8aedaa7824262d4f69..529d31b569e5417dddbed31c347b69e9bedab4ab 100644 (file)
@@ -1,7 +1,7 @@
 /* packet-xmpp.c
  * Routines for XMPP packet dissection
  * Copyright 2003, Brad Hards <bradh@frogmouth.net>
- * Heavily based in packet-acap.c, which in turn is heavily based on 
+ * Heavily based in packet-acap.c, which in turn is heavily based on
  * packet-imap.c, Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
  *
  * $Id$
@@ -86,7 +86,7 @@ dissect_xmpp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_xmpp, tvb, offset, -1,
-                   ENC_BIG_ENDIAN) ;
+                   ENC_NA) ;
                xmpp_tree = proto_item_add_subtree(ti, ett_xmpp);
 
                if (is_request) {
index 916a8d626c26e1f77c5d2cf61c487122fe954fe3..9fc0553e9bb5ca4e5a71cec788b8f3c1400eb6bc 100644 (file)
@@ -991,7 +991,7 @@ dissect_xtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
        }
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_xtp, tvb, 0, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_xtp, tvb, 0, -1, ENC_NA);
                /** add summary **/
                proto_item_append_text(ti,
                                ", Key: 0x%016" G_GINT64_MODIFIER "X", xtph->key);
index 20d26e4dd808e538837dc55bd68cf4577a59ddaf..d8f1ef2ee3c5fa2a75110f1f1488830924b72d91 100644 (file)
@@ -75,7 +75,7 @@ dissect_xyplex(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "XYPLEX");
 
        if (tree) {
-         ti = proto_tree_add_item(tree, proto_xyplex, tvb, offset, -1, FALSE);
+         ti = proto_tree_add_item(tree, proto_xyplex, tvb, offset, -1, ENC_NA);
          xyplex_tree = proto_item_add_subtree(ti, ett_xyplex);
        }
 
index 7f128683631fc1d6794166ad6db8cc2792aeee26..35577d3a6eb29091007fc529c96b166940946220 100644 (file)
@@ -208,7 +208,7 @@ dissect_yhoo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_yhoo, tvb, offset, -1,
-                       FALSE);
+                       ENC_NA);
                yhoo_tree = proto_item_add_subtree(ti, ett_yhoo);
 
                proto_tree_add_item(yhoo_tree, hf_yhoo_version, tvb,
index 492fc6c59abaebfcfdbf4144ca2b533fdea794ec..25498940137ef6fc1e473e27daac68dc540ac961 100644 (file)
@@ -160,7 +160,7 @@ enum yahoo_service { /* these are easier to see in hex */
        YAHOO_SERVICE_AUDIBLE = 0xd0,
        YAHOO_SERVICE_Y7_PHOTO_SHARING = 0xd2,
        YAHOO_SERVICE_Y7_CONTACT_DETAILS = 0xd3,/* YMSG13 */
-       YAHOO_SERVICE_Y7_CHAT_SESSION = 0xd4,   
+       YAHOO_SERVICE_Y7_CHAT_SESSION = 0xd4,
        YAHOO_SERVICE_Y7_AUTHORIZATION = 0xd6,  /* YMSG13 */
        YAHOO_SERVICE_Y7_FILETRANSFER = 0xdc,   /* YMSG13 */
        YAHOO_SERVICE_Y7_FILETRANSFERINFO,      /* YMSG13 */
@@ -258,7 +258,7 @@ static const value_string ymsg_service_vals[] = {
        {YAHOO_SERVICE_VOICECHAT, "Voice Chat"},
        {YAHOO_SERVICE_NOTIFY, "Notify"},
        {YAHOO_SERVICE_VERIFY, "Verify"},
-       {YAHOO_SERVICE_P2PFILEXFER, "P2P File Transfer"}, 
+       {YAHOO_SERVICE_P2PFILEXFER, "P2P File Transfer"},
        {YAHOO_SERVICE_PEERTOPEER, "Peer To Peer"},
        {YAHOO_SERVICE_WEBCAM, "WebCam"},
        {YAHOO_SERVICE_AUTHRESP, "Authentication Response"},
@@ -348,7 +348,7 @@ dissect_ymsg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     /* Not a Yahoo Messenger packet. */
     return FALSE;
   }
-  
+
   tcp_dissect_pdus(tvb, pinfo, tree, ymsg_desegment, 8, get_ymsg_pdu_len,
                    dissect_ymsg_pdu);
   return TRUE;
@@ -398,7 +398,7 @@ dissect_ymsg_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        if (tree) {
-               ti = proto_tree_add_item(tree, proto_ymsg, tvb, offset, -1, FALSE);
+               ti = proto_tree_add_item(tree, proto_ymsg, tvb, offset, -1, ENC_NA);
                ymsg_tree = proto_item_add_subtree(ti, ett_ymsg);
 
                offset += 4; /* skip the YMSG string */
@@ -443,20 +443,20 @@ dissect_ymsg_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                        /* Each entry consists of:
                           <key string> <delimiter> <value string> <delimiter>
                        */
-                       
+
                        /* Parse and show each line of the contents */
                        for (;;)
                        {
                                proto_item  *ti_2;
                                proto_tree  *content_line_tree;
-                               
+
                                /* Don't continue unless there is room for another whole item.
                                   (including 2 2-byte delimiters */
                                if (offset >= (headersize+content_len-4))
                                {
                                        break;
                                }
-                               
+
                                /* Get the length of the key */
                                keylen = get_content_item_length(tvb, offset);
                                /* Extract the key */
index 2b485e8dfe57223a928e9e1da2fb83e5eb374dc3..276b5e04e469d03cdaa1ca38e9a5a33941f917ef 100644 (file)
@@ -449,7 +449,7 @@ dissect_zebra(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
        if (tree) {
                ti = proto_tree_add_item(tree, proto_zebra, tvb, offset, -1,
-                       FALSE);
+                       ENC_NA);
                zebra_tree = proto_item_add_subtree(ti, ett_zebra);
                ti = proto_tree_add_boolean(zebra_tree, hf_zebra_request,
                        tvb, offset, 0, request);
index f9b963a9970de45d2a9a0ede1d50847b82fa7d3a..3e75d759145525916cb1d57a61847d5994f684e8 100644 (file)
@@ -221,7 +221,7 @@ dissect_ziop (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) {
                     giop_version_major, giop_version_minor);
       if (tree)
         {
-          ti = proto_tree_add_item (tree, proto_ziop, tvb, 0, -1, FALSE);
+          ti = proto_tree_add_item (tree, proto_ziop, tvb, 0, -1, ENC_NA);
           ziop_tree = proto_item_add_subtree (ti, ett_ziop);
           proto_tree_add_text (ziop_tree, tvb, 4, 2,
                                "Version %u.%u not supported",
@@ -245,7 +245,7 @@ dissect_ziop (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) {
       gboolean little_endian;
       emem_strbuf_t *flags_strbuf = ep_strbuf_new_label("none");
 
-      ti = proto_tree_add_item (tree, proto_ziop, tvb, 0, -1, FALSE);
+      ti = proto_tree_add_item (tree, proto_ziop, tvb, 0, -1, ENC_NA);
       ziop_tree = proto_item_add_subtree (ti, ett_ziop);
 
       proto_tree_add_item(ziop_tree, hf_ziop_magic, tvb, offset, 4, ENC_ASCII|ENC_NA);
index e5d07ccb57294aff5c6878975e9510e5c48c00da..7a0f50261856bc9b6b09321678c4d7ed7ca1521d 100644 (file)
@@ -8,17 +8,17 @@
  * 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.
@@ -380,10 +380,10 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
    proto_item *ti, *anItem;
    proto_tree *ams_tree = NULL, *ams_adstree, *ams_statetree;
    gint offset = 0;
-   guint ams_length = tvb_reported_length(tvb); 
+   guint ams_length = tvb_reported_length(tvb);
    guint16 stateflags = 0;
    guint16 cmdId = 0;
-   
+
    char szText[200];
    int nMax = sizeof(szText)-1;
 
@@ -405,9 +405,9 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   if (tree)
   {
-     ti = proto_tree_add_item(tree, proto_ams, tvb, 0, -1, TRUE);
+     ti = proto_tree_add_item(tree, proto_ams, tvb, 0, -1, ENC_NA);
      ams_tree = proto_item_add_subtree(ti, ett_ams);
-     
+
      NetIdFormater(tvb, offset, szText, nMax);
      proto_tree_add_string(ams_tree, hf_ams_targetnetid, tvb, offset, AmsNetId_Len, szText);
      offset += AmsNetId_Len;
@@ -461,7 +461,7 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
      {
         /* Request */
         switch ( cmdId )
-        {          
+        {
         case ADSSRVID_READ:
            {
               col_append_str(pinfo->cinfo, COL_INFO, "ADS Read Request");
@@ -643,7 +643,7 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
               {
                  /*guint32 cbLength;
                  guint32 nStamps;*/
-                 
+
                  anItem = proto_tree_add_item(ams_tree, hf_ams_adsdnrequest, tvb, offset, ams_length-offset, ENC_NA);
                  if( ams_length-offset >= TAdsDeviceNotificationReq_Len )
                  {
index a9b01617447ff2ce9983a2204f6a04eb8429e264..700bdb935efdb88e8643057e598976c41fb63ada 100644 (file)
@@ -1305,7 +1305,7 @@ static void dissect_ecat_mailbox(tvbuff_t *tvb, packet_info *pinfo, proto_tree *
          if( tree )
          {
             /* Create the mailbox sub tree */
-            anItem = proto_tree_add_item(tree, proto_ecat_mailbox, tvb, 0, ETHERCAT_MBOX_HEADER_LEN+hdr.Length, TRUE);
+            anItem = proto_tree_add_item(tree, proto_ecat_mailbox, tvb, 0, ETHERCAT_MBOX_HEADER_LEN+hdr.Length, ENC_NA);
             ecat_mailbox_tree = proto_item_add_subtree(anItem, ett_ecat_mailbox);
 
             /* Create a mailbox header subtree */
index f1de212f945e7265810ea5958c1c3b2faa0fb37b..e35d073985fe1abda11ea7e70a32171d568024a5 100644 (file)
@@ -190,7 +190,7 @@ dissect_esl_header(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree) {
         {
             guint16 flags;
 
-            ti = proto_tree_add_item(tree, proto_esl, tvb, 0, SIZEOF_ESLHEADER, TRUE);
+            ti = proto_tree_add_item(tree, proto_esl, tvb, 0, SIZEOF_ESLHEADER, ENC_NA);
             esl_header_tree = proto_item_add_subtree(ti, ett_esl);
             offset+=6;
 
index 55b1726cae721777d4dbbaf534204b3dcd6b637b..c69b52735ddb012956e6038b72c3e0375c61cae6 100644 (file)
@@ -490,7 +490,7 @@ static void dissect_ecat_datagram(tvbuff_t *tvb, packet_info *pinfo, proto_tree
    if( tree )
    {
       /* Create the EtherCAT datagram(s) subtree */
-      ti = proto_tree_add_item(tree, proto_ecat_datagram, tvb, 0, -1, TRUE);
+      ti = proto_tree_add_item(tree, proto_ecat_datagram, tvb, 0, -1, ENC_NA);
       ecat_datagrams_tree = proto_item_add_subtree(ti, ett_ecat);
 
       proto_item_append_text(ti,": %s", szText);
index 5db87a90ff94eff565533a7f3ce92ef286dad997..a5556e8fe6cfcee161e7ef5c6cca0c3cf1e2a696 100644 (file)
@@ -8,17 +8,17 @@
  * 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.
@@ -80,7 +80,7 @@ static void dissect_ethercat_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree
 
    if (tree)
    {
-      ti = proto_tree_add_item(tree, proto_ethercat_frame, tvb, offset, EtherCATFrameParserHDR_Len, TRUE);
+      ti = proto_tree_add_item(tree, proto_ethercat_frame, tvb, offset, EtherCATFrameParserHDR_Len, ENC_NA);
       ethercat_frame_tree = proto_item_add_subtree(ti, ett_ethercat_frame);
 
       proto_tree_add_item(ethercat_frame_tree, hf_ethercat_frame_length, tvb, offset, EtherCATFrameParserHDR_Len, ENC_LITTLE_ENDIAN);
index e331039172b124c8bad21c459bf66f25129bc16f..60ae836b9518d7743859522dc3a659c92b73e6cc 100644 (file)
@@ -8,17 +8,17 @@
  * 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.
@@ -60,18 +60,18 @@ static void dissect_ioraw(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
    int nMax = sizeof(szText)-1;
 
    guint ioraw_length = tvb_reported_length(tvb);
-   
+
    col_set_str(pinfo->cinfo, COL_PROTOCOL, "IO-RAW");
 
    col_clear(pinfo->cinfo, COL_INFO);
 
-      
+
    IoRawSummaryFormater(szText, nMax);
    col_append_str(pinfo->cinfo, COL_INFO, szText);
 
-   if (tree) 
-   {      
-      ti = proto_tree_add_item(tree, proto_ioraw, tvb, 0, -1, TRUE);
+   if (tree)
+   {
+      ti = proto_tree_add_item(tree, proto_ioraw, tvb, 0, -1, ENC_NA);
       ioraw_tree = proto_item_add_subtree(ti, ett_ioraw);
 
       proto_item_append_text(ti,": %s",szText);
@@ -79,7 +79,7 @@ static void dissect_ioraw(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
       offset+=IoRawParserHDR_Len;
 
       proto_tree_add_item(ioraw_tree, hf_ioraw_data, tvb, offset, ioraw_length - offset, ENC_NA);
-   }   
+   }
 }
 
 void proto_register_ioraw(void)
index 7490b7e7a82a12f8ac1d4b828998d093b2db00d3..21f0530290a800168cba52d4e8e04ce221d4c4c6 100644 (file)
@@ -8,17 +8,17 @@
  * 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.
@@ -82,11 +82,11 @@ static void NvPublisherFormater(tvbuff_t *tvb, gint offset, char *szText, int nM
       tvb_get_guint8(tvb, nvOffset+2),
       tvb_get_guint8(tvb, nvOffset+3),
       tvb_get_guint8(tvb, nvOffset+4),
-      tvb_get_guint8(tvb, nvOffset+5));    
+      tvb_get_guint8(tvb, nvOffset+5));
 }
 
 static void NvVarHeaderFormater(tvbuff_t *tvb, gint offset, char *szText, int nMax)
-{ 
+{
    g_snprintf ( szText, nMax, "Variable - Id = %d, Length = %d",
       tvb_get_letohs(tvb, offset),
       tvb_get_letohs(tvb, offset+4));
@@ -101,19 +101,19 @@ static void dissect_nv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
    int nMax = sizeof(szText)-1;
 
    gint i;
+
    col_set_str(pinfo->cinfo, COL_PROTOCOL, "TC-NV");
 
    col_clear(pinfo->cinfo, COL_INFO);
-   
+
    NvSummaryFormater(tvb, offset, szText, nMax);
    col_append_str(pinfo->cinfo, COL_INFO, szText);
 
-   if (tree) 
+   if (tree)
    {
       guint16 nv_count;
 
-      ti = proto_tree_add_item(tree, proto_nv, tvb, 0, -1, TRUE);
+      ti = proto_tree_add_item(tree, proto_nv, tvb, 0, -1, ENC_NA);
       nv_tree = proto_item_add_subtree(ti, ett_nv);
       proto_item_append_text(ti,": %s",szText);
 
@@ -158,9 +158,9 @@ static void dissect_nv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
          offset+=sizeof(guint16);
 
          proto_tree_add_item(nv_var_tree, hf_nv_data, tvb, offset, var_length, ENC_NA);
-         offset+=var_length;            
+         offset+=var_length;
       }
-   }   
+   }
 }
 
 void proto_register_nv(void)
@@ -236,6 +236,6 @@ void proto_reg_handoff_nv(void)
 {
    dissector_handle_t nv_handle;
 
-   nv_handle = create_dissector_handle(dissect_nv, proto_nv);  
+   nv_handle = create_dissector_handle(dissect_nv, proto_nv);
    dissector_add_uint("ecatf.type", 4, nv_handle);
 }
index 3d445552a615bd97cdb9ccd8ad98d40196952a01..8f6f9a7ce7d730b2bbba69d8b656617b693fc7ce 100644 (file)
@@ -211,7 +211,7 @@ dissect_gryphon_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
     }
 
     if (!is_msgresp_add) {
-        ti = proto_tree_add_item(tree, proto_gryphon, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_gryphon, tvb, 0, -1, ENC_NA);
         gryphon_tree = proto_item_add_subtree(ti, ett_gryphon);
     } else
         gryphon_tree = tree;
index 8615e5be43edbb4d397b474fe2ff4a6689cd9880..e5264867b599297de95e78bc98a835156041f23e 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., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
@@ -190,7 +190,7 @@ static void dissect_cooked_ircomm(tvbuff_t* tvb, packet_info* pinfo, proto_tree*
     if (root)
     {
         /* create display subtree for the protocol */
-        proto_item* ti   = proto_tree_add_item(root, proto_ircomm, tvb, 0, -1, FALSE);
+        proto_item* ti   = proto_tree_add_item(root, proto_ircomm, tvb, 0, -1, ENC_NA);
         proto_tree* tree = proto_item_add_subtree(ti, ett_ircomm);
 
         proto_tree* ctrl_tree;
@@ -232,7 +232,7 @@ static void dissect_raw_ircomm(tvbuff_t* tvb, packet_info* pinfo, proto_tree* ro
     if (root)
     {
         /* create display subtree for the protocol */
-        proto_item* ti   = proto_tree_add_item(root, proto_ircomm, tvb, 0, -1, FALSE);
+        proto_item* ti   = proto_tree_add_item(root, proto_ircomm, tvb, 0, -1, ENC_NA);
         proto_tree* tree = proto_item_add_subtree(ti, ett_ircomm);
 
         call_dissector(data_handle, tvb, pinfo, tree);
index 4cbb6bb2d74f2bed3299750fc30d95578cd62988..894e06ae32a0765b4dc6811e92c17b7a390d23c9 100644 (file)
@@ -475,7 +475,7 @@ static unsigned dissect_ttp(tvbuff_t* tvb, packet_info* pinfo, proto_tree* root,
     if (root)
     {
         /* create display subtree for the protocol */
-        proto_item* ti   = proto_tree_add_item(root, proto_ttp, tvb, 0, -1, FALSE);
+        proto_item* ti   = proto_tree_add_item(root, proto_ttp, tvb, 0, -1, ENC_NA);
         proto_tree* tree = proto_item_add_subtree(ti, ett_ttp);
 
         if (data)
@@ -610,7 +610,7 @@ static void dissect_iap_request(tvbuff_t* tvb, packet_info* pinfo, proto_tree* r
     if (root)
     {
         /* create display subtree for the protocol */
-        proto_item* ti   = proto_tree_add_item(root, proto_iap, tvb, 0, -1, FALSE);
+        proto_item* ti   = proto_tree_add_item(root, proto_iap, tvb, 0, -1, ENC_NA);
         proto_tree* tree = proto_item_add_subtree(ti, ett_iap);
 
         proto_tree* ctl_tree;
@@ -757,7 +757,7 @@ static void dissect_iap_result(tvbuff_t* tvb, packet_info* pinfo, proto_tree* ro
     if (root)
     {
         /* create display subtree for the protocol */
-        proto_item* ti   = proto_tree_add_item(root, proto_iap, tvb, 0, -1, FALSE);
+        proto_item* ti   = proto_tree_add_item(root, proto_iap, tvb, 0, -1, ENC_NA);
         proto_tree* tree = proto_item_add_subtree(ti, ett_iap);
 
         proto_tree* ctl_tree;
@@ -1070,7 +1070,7 @@ static void dissect_irlmp(tvbuff_t* tvb, packet_info* pinfo, proto_tree* root)
     if (root)
     {
         /* create display subtree for the protocol */
-        proto_item* ti   = proto_tree_add_item(root, proto_irlmp, tvb, 0, -1, FALSE);
+        proto_item* ti   = proto_tree_add_item(root, proto_irlmp, tvb, 0, -1, ENC_NA);
         proto_tree* tree = proto_item_add_subtree(ti, ett_irlmp);
 
         proto_tree* dst_tree;
@@ -1536,7 +1536,7 @@ static void dissect_xid(tvbuff_t* tvb, packet_info* pinfo, proto_tree* root, pro
 
         if (root)
         {
-            ti = proto_tree_add_item(root, proto_irlmp, tvb, offset, -1, FALSE);
+            ti = proto_tree_add_item(root, proto_irlmp, tvb, offset, -1, ENC_NA);
             lmp_tree = proto_item_add_subtree(ti, ett_irlmp);
        }
 
@@ -1666,7 +1666,7 @@ static void dissect_log(tvbuff_t* tvb, packet_info* pinfo, proto_tree* root)
 
     if (root)
     {
-        proto_item* ti   = proto_tree_add_item(root, proto_log, tvb, 0, -1, FALSE);
+        proto_item* ti   = proto_tree_add_item(root, proto_log, tvb, 0, -1, ENC_NA);
         proto_tree* tree = proto_item_add_subtree(ti, ett_log);
 
         if (pinfo->pseudo_header->irda.pkttype == IRDA_MISSED_MSG)
@@ -1727,7 +1727,7 @@ static void dissect_irlap(tvbuff_t* tvb, packet_info* pinfo, proto_tree* root)
         proto_item* addr_item;
 
         /* create display subtree for the protocol */
-        ti   = proto_tree_add_item(root, proto_irlap, tvb, 0, -1, FALSE);
+        ti   = proto_tree_add_item(root, proto_irlap, tvb, 0, -1, ENC_NA);
         tree = proto_item_add_subtree(ti, ett_irlap);
 
         /* create subtree for the address field */
index 98feea3147c61439328488d190e9649716fd9a7b..0ee1b98da54bb7fd94243780b47af66ee7258894 100644 (file)
@@ -190,7 +190,7 @@ static void dissect_m2m(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
 
        {       /* we are being asked for details */
-               m2m_item = proto_tree_add_item(tree, proto_m2m, tvb, 0, -1, FALSE);
+               m2m_item = proto_tree_add_item(tree, proto_m2m, tvb, 0, -1, ENC_NA);
                m2m_tree = proto_item_add_subtree(m2m_item, ett_m2m);
                /* get the tvb reported length */
                length =  tvb_reported_length(tvb);
index 683ed5bfcbe3e4be8272b8959fb2af6f7bb165e5..d50dfeb4d4e89029bf0b43b9d4015e2f0852f567 100644 (file)
@@ -3,15 +3,15 @@
 **
 ** Copyright (C) 2006-2007 ascolab GmbH. All Rights Reserved.
 ** Web: http://www.ascolab.com
-** 
+**
 ** 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 file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-** 
+**
 ** Project: OpcUa Wireshark Plugin
 **
 ** Description: OpcUa Protocol Decoder.
@@ -105,7 +105,7 @@ void proto_register_opcua(void)
         "OpcUa",                 /* short name */
         "opcua"                  /* abbrev */
         );
-  
+
     registerTransportLayerTypes(proto_opcua);
     registerSecurityLayerTypes(proto_opcua);
     registerApplicationLayerTypes(proto_opcua);
@@ -115,7 +115,7 @@ void proto_register_opcua(void)
     registerServiceTypes();
     registerFieldTypes(proto_opcua);
 
-    proto_register_subtree_array(ett, array_length(ett));    
+    proto_register_subtree_array(ett, array_length(ett));
 
     range_convert_str(&global_tcp_ports_opcua, ep_strdup_printf("%u", OPCUA_PORT),  65535);
 
@@ -204,7 +204,7 @@ static void dissect_opcua_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree
     {
         msgtype = MSG_INVALID;
     }
-    
+
     /* Clear out stuff in the info column */
     col_set_str(pinfo->cinfo, COL_INFO, g_szMessageTypes[msgtype]);
 
@@ -217,7 +217,7 @@ static void dissect_opcua_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree
         proto_item *ti = NULL;
         proto_tree *transport_tree = NULL;
 
-        ti = proto_tree_add_item(tree, proto_opcua, tvb, 0, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_opcua, tvb, 0, -1, ENC_NA);
         transport_tree = proto_item_add_subtree(ti, ett_opcua_transport);
 
         /* call the transport message dissector */
@@ -261,9 +261,9 @@ void proto_reg_handoff_opcua(void)
   {
     opcua_handle = create_dissector_handle(dissect_opcua, proto_opcua);
     opcua_initialized = TRUE;
-  } 
-  else 
-  {    
+  }
+  else
+  {
     /* clean up ports and their lists */
     if (tcp_ports_opcua != NULL)
     {
index 9c34ea4430079c69ce6fa24ce248080d440654fb..f820b06cfee949d87c9e4486a0705111ff9a679c 100644 (file)
@@ -1,5 +1,5 @@
 /* packet-pn-mrp.c
- * Routines for PN-MRP (PROFINET Media Redundancy Protocol) 
+ * Routines for PN-MRP (PROFINET Media Redundancy Protocol)
  * packet dissection.
  *
  * $Id$
@@ -7,17 +7,17 @@
  * 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.
@@ -111,7 +111,7 @@ static const value_string pn_mrp_prio_vals[] = {
 
 
 static int
-dissect_PNMRP_Common(tvbuff_t *tvb, int offset, 
+dissect_PNMRP_Common(tvbuff_t *tvb, int offset,
        packet_info *pinfo, proto_tree *tree, proto_item *item)
 {
     guint16 sequence_id;
@@ -133,7 +133,7 @@ dissect_PNMRP_Common(tvbuff_t *tvb, int offset,
 
 
 static int
-dissect_PNMRP_LinkUp(tvbuff_t *tvb, int offset, 
+dissect_PNMRP_LinkUp(tvbuff_t *tvb, int offset,
        packet_info *pinfo, proto_tree *tree, proto_item *item)
 {
     guint8 mac[6];
@@ -165,7 +165,7 @@ dissect_PNMRP_LinkUp(tvbuff_t *tvb, int offset,
 
 
 static int
-dissect_PNMRP_LinkDown(tvbuff_t *tvb, int offset, 
+dissect_PNMRP_LinkDown(tvbuff_t *tvb, int offset,
        packet_info *pinfo, proto_tree *tree, proto_item *item)
 {
     guint8 mac[6];
@@ -197,7 +197,7 @@ dissect_PNMRP_LinkDown(tvbuff_t *tvb, int offset,
 
 
 static int
-dissect_PNMRP_Test(tvbuff_t *tvb, int offset, 
+dissect_PNMRP_Test(tvbuff_t *tvb, int offset,
        packet_info *pinfo, proto_tree *tree, proto_item *item)
 {
     guint16 prio;
@@ -238,7 +238,7 @@ dissect_PNMRP_Test(tvbuff_t *tvb, int offset,
 
 
 static int
-dissect_PNMRP_TopologyChange(tvbuff_t *tvb, int offset, 
+dissect_PNMRP_TopologyChange(tvbuff_t *tvb, int offset,
        packet_info *pinfo, proto_tree *tree, proto_item *item)
 {
     guint16 prio;
@@ -267,7 +267,7 @@ dissect_PNMRP_TopologyChange(tvbuff_t *tvb, int offset,
 
 
 static int
-dissect_PNMRP_Option(tvbuff_t *tvb, int offset, 
+dissect_PNMRP_Option(tvbuff_t *tvb, int offset,
        packet_info *pinfo, proto_tree *tree, proto_item *item, guint8 length)
 {
     guint32 oui;
@@ -276,7 +276,7 @@ dissect_PNMRP_Option(tvbuff_t *tvb, int offset,
     /* OUI (organizational unique id) */
     offset = dissect_pn_oid(tvb, offset, pinfo,tree, hf_pn_mrp_oui, &oui);
     length -= 3;
-       
+
     switch (oui)
        {
        case OUI_SIEMENS:
@@ -308,7 +308,7 @@ dissect_PNMRP_Option(tvbuff_t *tvb, int offset,
 
 
 static int
-dissect_PNMRP_PDU(tvbuff_t *tvb, int offset, 
+dissect_PNMRP_PDU(tvbuff_t *tvb, int offset,
        packet_info *pinfo, proto_tree *tree, proto_item *item)
 {
     guint16 version;
@@ -382,22 +382,22 @@ dissect_PNMRP(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 {
     proto_item *ti = NULL;
     proto_tree *mrp_tree = NULL;
-       
+
     guint32 offset = 0;
 
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "PN-MRP");
-               
+
     /* Clear the information column on summary display */
     col_clear(pinfo->cinfo, COL_INFO);
 
-    if (tree) 
+    if (tree)
     {
-        ti = proto_tree_add_item(tree, proto_pn_mrp, tvb, offset, -1, FALSE);
+        ti = proto_tree_add_item(tree, proto_pn_mrp, tvb, offset, -1, ENC_NA);
         mrp_tree = proto_item_add_subtree(ti, ett_pn_mrp);
     }
 
     dissect_PNMRP_PDU(tvb, offset, pinfo, mrp_tree, ti);
-}      
+}
 
 
 void
index a6dba806365ac5b70d568b572d8263fccd7f2baa..891093a3e19343fa24dc6f9cec6af0e1695eeb39 100644 (file)
@@ -80,7 +80,7 @@ static int hf_pn_rt_frag_status_fragment_number = -1;
 static int hf_pn_rt_frag_data = -1;
 
 
-/* 
+/*
  * Define the trees for pn-rt
  * We need one tree for pn-rt itself and one for the pn-rt data status subtree
  */
@@ -90,8 +90,8 @@ static int ett_pn_rt_sf = -1;
 static int ett_pn_rt_frag = -1;
 static int ett_pn_rt_frag_status = -1;
 
-/* 
- * Here are the global variables associated with  
+/*
+ * Here are the global variables associated with
  * the various user definable characteristics of the dissection
  */
 /* Place summary in proto tree */
@@ -127,10 +127,10 @@ dissect_DataStatus(tvbuff_t *tvb, int offset, proto_tree *tree, guint8 u8DataSta
     proto_item *sub_item;
     proto_tree *sub_tree;
 
-    sub_item = proto_tree_add_uint_format(tree, hf_pn_rt_data_status, 
+    sub_item = proto_tree_add_uint_format(tree, hf_pn_rt_data_status,
         tvb, offset, 1, u8DataStatus,
-        "DataStatus: 0x%02x (Frame: %s and %s, Provider: %s and %s)", 
-        u8DataStatus, 
+        "DataStatus: 0x%02x (Frame: %s and %s, Provider: %s and %s)",
+        u8DataStatus,
         (u8DataStatus & 0x04) ? "Valid" : "Invalid",
         (u8DataStatus & 0x01) ? "Primary" : "Backup",
         (u8DataStatus & 0x20) ? "Ok" : "Problem",
@@ -287,7 +287,7 @@ dissect_FRAG_PDU_heur(tvbuff_t *tvb,
 
 
         /* XXX - should this use u8FragDataLength? */
-        proto_tree_add_none_format(sub_tree, hf_pn_rt_frag_data, tvb, offset, tvb_length(tvb) - offset, 
+        proto_tree_add_none_format(sub_tree, hf_pn_rt_frag_data, tvb, offset, tvb_length(tvb) - offset,
             "FragData: %d bytes", tvb_length(tvb) - offset);
 
         /* note: the actual defragmentation implementation is still missing here */
@@ -347,12 +347,12 @@ dissect_pn_rt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     /* Initialize variables */
     pn_rt_tree = NULL;
     ti = NULL;
-  
+
     /*
      * Set the columns now, so that they'll be set correctly if we throw
      * an exception.  We can set them (or append things) later again ....
      */
-  
+
     col_set_str(pinfo->cinfo, COL_PROTOCOL, "PN-RT");
     col_set_str(pinfo->cinfo, COL_INFO, "PROFINET Real-Time");
 
@@ -629,7 +629,7 @@ dissect_pn_rt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
           ti = proto_tree_add_protocol_format(tree, proto_pn_rt, tvb, 0, pdu_len,
                 "PROFINET %s, %s", pszProtSummary, szFieldSummary);
         } else {
-            ti = proto_tree_add_item(tree, proto_pn_rt, tvb, 0, pdu_len, ENC_BIG_ENDIAN);
+            ti = proto_tree_add_item(tree, proto_pn_rt, tvb, 0, pdu_len, ENC_NA);
         }
         pn_rt_tree = proto_item_add_subtree(ti, ett_pn_rt);
 
@@ -641,23 +641,23 @@ dissect_pn_rt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
             /* add cycle counter */
             proto_tree_add_uint_format(pn_rt_tree, hf_pn_rt_cycle_counter, tvb,
               pdu_len - 4, 2, u16CycleCounter, "CycleCounter: %u", u16CycleCounter);
-            
+
             /* add data status subtree */
             dissect_DataStatus(tvb, pdu_len - 2, tree, u8DataStatus);
 
             /* add transfer status */
             if (u8TransferStatus) {
                 proto_tree_add_uint_format(pn_rt_tree, hf_pn_rt_transfer_status, tvb,
-                    pdu_len - 1, 1, u8TransferStatus, 
+                    pdu_len - 1, 1, u8TransferStatus,
                     "TransferStatus: 0x%02x (ignore this frame)", u8TransferStatus);
             } else {
                 proto_tree_add_uint_format(pn_rt_tree, hf_pn_rt_transfer_status, tvb,
-                    pdu_len - 1, 1, u8TransferStatus, 
+                    pdu_len - 1, 1, u8TransferStatus,
                     "TransferStatus: 0x%02x (OK)", u8TransferStatus);
             }
         }
     }
-        
+
     /* update column info now */
     col_add_str(pinfo->cinfo, COL_INFO, szFieldSummary);
     col_set_str(pinfo->cinfo, COL_PROTOCOL, pszProtShort);
@@ -678,59 +678,59 @@ dissect_pn_rt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
 
 /* Register all the bits needed by the filtering engine */
-void 
+void
 proto_register_pn_rt(void)
 {
   static hf_register_info hf[] = {
     { &hf_pn_rt_frame_id, {
       "FrameID", "pn_rt.frame_id", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }},
-    { &hf_pn_rt_cycle_counter, { 
+    { &hf_pn_rt_cycle_counter, {
         "CycleCounter", "pn_rt.cycle_counter", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }},
-    { &hf_pn_rt_data_status, { 
+    { &hf_pn_rt_data_status, {
         "DataStatus", "pn_rt.ds", FT_UINT8, BASE_HEX, 0, 0x0, NULL, HFILL }},
-    { &hf_pn_rt_data_status_ignore, { 
+    { &hf_pn_rt_data_status_ignore, {
         "Ignore (1:Ignore/0:Evaluate)", "pn_rt.ds_ignore", FT_UINT8, BASE_HEX, 0, 0x80, NULL, HFILL }},
-    { &hf_pn_rt_data_status_subframe_sender_mode, { 
+    { &hf_pn_rt_data_status_subframe_sender_mode, {
         "SubFrameSenderMode", "pn_rt.ds_subframe_sender_mode", FT_UINT8, BASE_HEX, 0, 0x40, NULL, HFILL }},
-    { &hf_pn_rt_data_status_ok, { 
+    { &hf_pn_rt_data_status_ok, {
         "StationProblemIndicator (1:Ok/0:Problem)", "pn_rt.ds_ok", FT_UINT8, BASE_HEX, 0, 0x20, NULL, HFILL }},
-    { &hf_pn_rt_data_status_operate, { 
+    { &hf_pn_rt_data_status_operate, {
         "ProviderState (1:Run/0:Stop)", "pn_rt.ds_operate", FT_UINT8, BASE_HEX, 0, 0x10, NULL, HFILL }},
-    { &hf_pn_rt_data_status_res3, { 
+    { &hf_pn_rt_data_status_res3, {
         "Reserved (should be zero)", "pn_rt.ds_res3", FT_UINT8, BASE_HEX, 0, 0x08, NULL, HFILL }},
-    { &hf_pn_rt_data_status_valid, { 
+    { &hf_pn_rt_data_status_valid, {
         "DataValid (1:Valid/0:Invalid)", "pn_rt.ds_valid", FT_UINT8, BASE_HEX, 0, 0x04, NULL, HFILL }},
-    { &hf_pn_rt_data_status_res1, { 
+    { &hf_pn_rt_data_status_res1, {
         "Reserved (should be zero)", "pn_rt.ds_res1", FT_UINT8, BASE_HEX, 0, 0x02, NULL, HFILL }},
-    { &hf_pn_rt_data_status_primary, { 
+    { &hf_pn_rt_data_status_primary, {
         "State (1:Primary/0:Backup)", "pn_rt.ds_primary", FT_UINT8, BASE_HEX, 0, 0x01, NULL, HFILL }},
     { &hf_pn_rt_transfer_status,
       { "TransferStatus", "pn_rt.transfer_status", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }},
-    { &hf_pn_rt_sf, { 
+    { &hf_pn_rt_sf, {
         "SubFrame", "pn_rt.sf", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL }},
-    { &hf_pn_rt_sf_crc16, { 
+    { &hf_pn_rt_sf_crc16, {
         "CRC16", "pn_rt.sf.crc16", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }},
-    { &hf_pn_rt_sf_position, { 
+    { &hf_pn_rt_sf_position, {
         "Position", "pn_rt.sf.position", FT_UINT8, BASE_DEC, NULL, 0x7F, NULL, HFILL }},
-    { &hf_pn_rt_sf_position_control, { 
+    { &hf_pn_rt_sf_position_control, {
         "Control", "pn_rt.sf.position_control", FT_UINT8, BASE_DEC, VALS(pn_rt_position_control), 0x80, NULL, HFILL }},
-    { &hf_pn_rt_sf_data_length, { 
+    { &hf_pn_rt_sf_data_length, {
         "DataLength", "pn_rt.sf.data_length", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }},
-    { &hf_pn_rt_sf_cycle_counter, { 
+    { &hf_pn_rt_sf_cycle_counter, {
         "CycleCounter", "pn_rt.sf.cycle_counter", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }},
-    { &hf_pn_rt_frag, { 
+    { &hf_pn_rt_frag, {
         "PROFINET Real-Time Fragment", "pn_rt.frag", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL }},
-    { &hf_pn_rt_frag_data_length, { 
+    { &hf_pn_rt_frag_data_length, {
         "FragDataLength", "pn_rt.frag_data_length", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }},
-    { &hf_pn_rt_frag_status, { 
+    { &hf_pn_rt_frag_status, {
         "FragStatus", "pn_rt.frag_status", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL }},
-    { &hf_pn_rt_frag_status_more_follows, { 
+    { &hf_pn_rt_frag_status_more_follows, {
         "MoreFollows", "pn_rt.frag_status.more_follows", FT_UINT8, BASE_HEX, VALS(pn_rt_frag_status_more_follows), 0x80, NULL, HFILL }},
-    { &hf_pn_rt_frag_status_error, { 
+    { &hf_pn_rt_frag_status_error, {
         "Error", "pn_rt.frag_status.error", FT_UINT8, BASE_HEX, VALS(pn_rt_frag_status_error), 0x40, NULL, HFILL }},
-    { &hf_pn_rt_frag_status_fragment_number, { 
+    { &hf_pn_rt_frag_status_fragment_number, {
         "FragmentNumber (zero based)", "pn_rt.frag_status.fragment_number", FT_UINT8, BASE_DEC, NULL, 0x3F, NULL, HFILL }},
-    { &hf_pn_rt_frag_data, { 
+    { &hf_pn_rt_frag_data, {
         "FragData", "pn_rt.frag_data", FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL }},
   };
   static gint *ett[] = {
@@ -740,7 +740,7 @@ proto_register_pn_rt(void)
     &ett_pn_rt_frag,
     &ett_pn_rt_frag_status
   };
-  module_t *pn_rt_module; 
+  module_t *pn_rt_module;
 
   proto_pn_rt = proto_register_protocol("PROFINET Real-Time Protocol",
                        "PN-RT", "pn_rt");
@@ -776,6 +776,6 @@ proto_reg_handoff_pn_rt(void)
   dissector_add_uint("udp.port", 0x8892, pn_rt_handle);
 
   heur_dissector_add("pn_rt", dissect_CSF_SDU_heur, proto_pn_rt);
-  heur_dissector_add("pn_rt", dissect_FRAG_PDU_heur, proto_pn_rt);  
+  heur_dissector_add("pn_rt", dissect_FRAG_PDU_heur, proto_pn_rt);
 }
 
index a834b2c55c2cf8e193d8553ddc5ce58a74afd0e4..f84bafe6a121c4ca697e4503473b00dec00e295b 100644 (file)
@@ -52,7 +52,7 @@ static void dissect_http(tvbuff_t* tvb, packet_info* pinfo _U_, proto_tree* tree
     http_info_value_t* msgdata = ep_alloc0(sizeof(http_info_value_t));
     tvbparse_elem_t* reqresp;
     tpg_parser_data_t* tpg;
-    proto_item* pi = proto_tree_add_item(tree,proto_http,tvb,0,-1,FALSE);
+    proto_item* pi = proto_tree_add_item(tree,proto_http,tvb,0,-1,ENC_NA);
     proto_tree* pt = proto_item_add_subtree(pi,ett_http);
 
     tpg = tpg_start(pt,tvb,0,-1,http_tpg_data.wanted_http_sp, msgdata);
index 72381b9b9fd671d0c0d9dddbe95405e17a196b25..9840d137ce18a22c408ad689a8ee8ebec50eacb5 100644 (file)
@@ -218,7 +218,7 @@ dissect_unistim(tvbuff_t *tvb,packet_info *pinfo,proto_tree *tree){
    col_set_str(pinfo->cinfo, COL_PROTOCOL, "UNISTIM");
    /* Clear out stuff in the info column */
    col_clear(pinfo->cinfo, COL_INFO);
-   ti = proto_tree_add_item(tree,proto_unistim,tvb,offset,-1,FALSE);
+   ti = proto_tree_add_item(tree,proto_unistim,tvb,offset,-1,ENC_NA);
    overall_unistim_tree = proto_item_add_subtree(ti,ett_unistim);
    ti1=proto_tree_add_text(overall_unistim_tree,tvb,offset,5,"Reliable UDP");
    rudpm_tree=proto_item_add_subtree(ti1,ett_unistim);
index 174fd26340d8cd4fefdba6ef321ea43e98d6c619..d29c25f6fe06cfcf616eeb82841d7d2117348558 100644 (file)
@@ -2226,7 +2226,7 @@ dissect_wimaxasncp(
     {
         packet_item = proto_tree_add_item(
             tree, proto_wimaxasncp,
-            tvb, 0, MIN(WIMAXASNCP_HEADER_LENGTH_END, tvb_length(tvb)), FALSE);
+            tvb, 0, MIN(WIMAXASNCP_HEADER_LENGTH_END, tvb_length(tvb)), ENC_NA);
 
         wimaxasncp_tree = proto_item_add_subtree(
             packet_item, ett_wimaxasncp);