guy 2002/02/17 19:08:41 CST
Modified files:
. file.c packet-clnp.c packet-giop.c
packet-icq.c packet-ip.c packet-ipv6.c
packet-smb-pipe.c packet-smb.c
packet-tcp.c packet-vj.c packet-wcp.c
packet-wtp.c print.c tethereal.c
Log:
Don't give tvbuffs names; instead, give data sources names, where a
"data source" has a name and a top-level tvbuff, and frames can have a
list of data sources associated with them.
Use the tvbuff pointer to determine which data source is the data source
for a given field; this means we don't have to worry about multiple data
sources with the same name - the only thing the name does is label the
notebook tab for the display of the data source, and label the hex dump
of the data source in print/Tethereal output.
Clean up a bunch of things discovered in the process of doing the above.
Revision Changes Path
1.261 +5 -12 ethereal/file.c
1.49 +3 -3 ethereal/packet-clnp.c
1.56 +2 -2 ethereal/packet-giop.c
1.39 +3 -4 ethereal/packet-icq.c
1.162 +3 -3 ethereal/packet-ip.c
1.77 +3 -3 ethereal/packet-ipv6.c
1.69 +4 -5 ethereal/packet-smb-pipe.c
1.207 +5 -5 ethereal/packet-smb.c
1.131 +4 -4 ethereal/packet-tcp.c
1.6 +25 -53 ethereal/packet-vj.c
1.21 +6 -6 ethereal/packet-wcp.c
1.27 +4 -4 ethereal/packet-wtp.c
1.41 +15 -11 ethereal/print.c
1.122 +3 -4 ethereal/tethereal.c