Add tvbuff class.
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 11 May 2000 08:18:09 +0000 (08:18 +0000)
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 11 May 2000 08:18:09 +0000 (08:18 +0000)
commitbe84f10d1819ef058061de43e78962f045da55f0
treedb4edef02456a48d0f6d505166ac7d70f6c0f644
parent9faed730f03b0f9dd161698662886cc7702319e4
Add tvbuff class.
Add exceptions routines.
Convert proto_tree_add_*() routines to require tvbuff_t* argument.
Convert all dissectors to pass NULL argument ("NullTVB" macro == NULL) as
the tvbuff_t* argument to proto_tree_add_*() routines.

dissect_packet() creates a tvbuff_t, wraps the next dissect call in
a TRY block, will print "Short Frame" on the proto_tree if a BoundsError
exception is caught.

The FDDI dissector is converted to use tvbuff's.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1939 f5534014-38df-0310-8fa8-9805f1628bb7
132 files changed:
Makefile.am
Makefile.nmake
except.c [new file with mode: 0644]
except.h [new file with mode: 0644]
exceptions.h [new file with mode: 0644]
packet-aarp.c
packet-afs.c
packet-arp.c
packet-ascend.c
packet-atalk.c
packet-atm.c
packet-auto_rp.c
packet-bgp.c
packet-bootp.c
packet-bootparams.c
packet-bpdu.c
packet-cdp.c
packet-cgmp.c
packet-clip.c
packet-clnp.c
packet-data.c
packet-ddtp.c
packet-dns.c
packet-esis.c
packet-eth.c
packet-ethertype.c
packet-fddi.c
packet-fddi.h
packet-ftp.c
packet-giop.c
packet-gre.c
packet-h1.c
packet-hsrp.c
packet-http.c
packet-icmpv6.c
packet-icp.c
packet-icq.c
packet-imap.c
packet-ip.c
packet-ipp.c
packet-ipsec.c
packet-ipv6.c
packet-ipx.c
packet-irc.c
packet-isakmp.c
packet-isis-clv.c
packet-isis-hello.c
packet-isis-lsp.c
packet-isis-snp.c
packet-isis.c
packet-isl.c
packet-l2tp.c
packet-lapb.c
packet-lapd.c
packet-ldap.c
packet-llc.c
packet-lpd.c
packet-mapi.c
packet-mount.c
packet-mpls.c
packet-msproxy.c
packet-nbipx.c
packet-nbns.c
packet-ncp.c
packet-netbios.c
packet-nfs.c
packet-nntp.c
packet-ntp.c
packet-null.c
packet-osi-options.c
packet-ospf.c
packet-pim.c
packet-pop.c
packet-portmap.c
packet-ppp.c
packet-pppoe.c
packet-pptp.c
packet-q2931.c
packet-q931.c
packet-radius.c
packet-raw.c
packet-rip.c
packet-ripng.c
packet-rlogin.c
packet-rpc.c
packet-rsvp.c
packet-rtcp.c
packet-rtp.c
packet-rtsp.c
packet-rx.c
packet-sap.c
packet-sdp.c
packet-smb-browse.c
packet-smb-common.c
packet-smb-common.h
packet-smb-logon.c
packet-smb-mailslot.c
packet-smb-pipe.c
packet-smb.c
packet-sna.c
packet-snmp.c
packet-socks.c
packet-srvloc.c
packet-sscop.c
packet-tacacs.c
packet-tcp.c
packet-telnet.c
packet-tftp.c
packet-time.c
packet-tns.c
packet-tr.c
packet-trmac.c
packet-udp.c
packet-v120.c
packet-vines.c
packet-vlan.c
packet-vrrp.c
packet-vtp.c
packet-wccp.c
packet-who.c
packet-x25.c
packet-yhoo.c
packet-ypserv.c
packet.c
packet.h
plugins/gryphon/packet-gryphon.c
proto.c
proto.h
tvbtest.c [new file with mode: 0644]
tvbuff.c [new file with mode: 0644]
tvbuff.h [new file with mode: 0644]
xdlc.c